From nobody Sun Aug 13 06:20:18 2023 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RNnTK3YqBz4q3tZ for ; Sun, 13 Aug 2023 06:20:37 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic310-20.consmr.mail.gq1.yahoo.com (sonic310-20.consmr.mail.gq1.yahoo.com [98.137.69.146]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4RNnTK0gyrz4FpD for ; Sun, 13 Aug 2023 06:20:37 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1691907635; bh=ZgVllKGPBuew0AqJguCMXpr9ujwfYODs6xUGD14m5g4=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=eqYg2tHtcQAHUu88EcKXcHRODIKdXbcKju7CnyVNb0Iz08g5EwcRtqv0pMqdkcvtdJhfsSQmpHmDLPfOjD5+SuVV/keSERxDs1sZzdEWwm5cvRKHJeFwZMlqtI3uczk7rJHiusiSEc5gWhZftqYwEulJnOaU3KR3v+wvN6Lo1CRPosVOX1mfl/JrxnGf34XZmcY0BmyuQooZ1m8P7+Bd8A02NDrBBsHTbvcOZSulnogGd1OasO6VqbkPjWX/ywdzf4uQj9xOSHDWWyW+1Pv32FIHsKiINFy3Zg8I+Xi3gB6+PyESRtoStH0Mm7ZBOS1y0oJRdrm0jsrrwGsgA/XWxw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1691907635; bh=+Cp4wLZh2YlnxdPADFpj1etB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egxWDZX_WiHPRjHhvd9eQc6pIcTEg6tKtLZrebv4GMv150a8mhmsHm TL4VEcIYjlPgvbQtJjhuqcSOKdV_uDLXV4YATzLFxGAa3VmcRhGWy4SqDq1bXEOvgbEiZ0YzSHJ8 lFnre9KwNJqd0_Zl5o7NMTyuAfVedPszV0ae8g3dMGj_w4525.3a1YWOj8Sd9JtGCfjN2Z0R71Ii NUgWP4wC6zHmT4z6oRZ7bO88Hk1sWCl0ib70Fmrt82ThK_nFgqlJCZ5WSeLoONGe5pc0mCWVMYe5 JfxsbbzHEYagRzZq4ucZ.s.3N4zuzkVV66NK2.d8DUP2eezlHCvRUcS7n_9H6d7E7m6mIS8l7oWu KVVnxvghNgvJIKFe_LinZakbs.8_ztPEI9rJNlC6gUSefRs2Gtk2jwsm7hUKB2ITwqbNzYvr5upv N27YwVJpzTXAU.e83KLKoIYyJfFWcA4m6szlQ2wLD7mn8.mZaYHqWyBYd.ryPQ8vlCXDvWS.odx9 3nOFYnBy7IlzLBX3xUxA.tIlWOU84fdycsYkEymOPprrtfyxls3Bmh5XmC1EzRVgi8U6lZ7WVC7p cQ8cl3wlJrg-- X-Sonic-MF: X-Sonic-ID: 419d05b5-3c08-4898-9018-cb9be0cd3f71 Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.gq1.yahoo.com with HTTP; Sun, 13 Aug 2023 06:20:35 +0000 Received: by hermes--production-ne1-7b767b77cc-27nt8 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 4166754b57ba07cfe9b74ad3eccdabc9; Sun, 13 Aug 2023 06:20:29 +0000 (UTC) Content-Type: text/plain; charset=us-ascii List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) Subject: Re: ALPHA1 on Raspberry Pi 3B+ (& RPi4B) [found where bcm2835_firmware turned into ofw_firmware, making bcm2835_firmware not found] From: Mark Millard In-Reply-To: Date: Sat, 12 Aug 2023 23:20:18 -0700 Cc: freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: <8314B51C-5E4D-4F05-8FC8-CFCF3AAD6150@yahoo.com> References: To: Mike Karels , "manu@freebsd.org" X-Mailer: Apple Mail (2.3731.700.6) X-Rspamd-Queue-Id: 4RNnTK0gyrz4FpD X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US] On Aug 12, 2023, at 17:42, Mike Karels wrote: > . . . >=20 > Two other failures: >=20 > bcm2835_cpufreq0: on cpu0 > bcm2835_cpufreq0: Unable to find firmware device > device_attach: bcm2835_cpufreq0 attach returned 6 > . . . > I'll append the full dmesg.boot. >=20 > Mike >=20 > ---<>--- > . . . > ofwbus0: > simplebus0: on ofwbus0 > ofw_firmware0: on simplebus0 The above line does not match the historical identification: simplebus3: on ofwbus0 simple_mfd0: mem = 0x7d5d2000-0x7d5d2eff on simplebus0 bcm2835_firmware0: on simplebus0 ofw_clkbus1: on bcm2835_firmware0 The modern result outputs no line like: bcm2835_firmware0: on simplebus0 The older result did not output a line like: ofw_firmware0: on simplebus0 In other words the RPi* support was broken by the following change effectively disabling having bcm2835_firmware to be found by bcm2835_cpufreq: author Emmanuel Vadot 2022-12-06 10:57:37 +0000 committer Emmanuel Vadot 2023-08-08 13:13:31 +0000 commit fdfd3a90b6ceba838a40c3c51472883e7de8a440 (patch) . . . ofw: Add a ofw_firmware driver Some SoCs have an external firmware doing power management, clock and = other stuffs. (Xilinx, ARM Juno etc ...) The way it is represent in the = DTB is usually having a 'firmware' node under the root node and have = some nodes under it with the correct compatible strings. The firmware = node itself doesn't have any compatible strings. This driver is simple = subclassed from simplebus and attaches at BUS_PASS_BUS + = BUS_PASS_ORDER_MIDDLE so early drivers (like clock drivers) can still = have a change to attach early. Reviewed by: andrew Sponsored by: Beckhoff Automation GmbH & Co. KG=20 Differential Revision: https://reviews.freebsd.org/D37612 > ofw_clkbus0: on ofw_firmware0 > ofw_clkbus1: on ofwbus0 > clk_fixed0: on ofw_clkbus1 > clk_fixed1: on ofw_clkbus1 . . . =3D=3D=3D Mark Millard marklmi at yahoo.com