From nobody Tue Feb 04 02:43:59 2025 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 4Yn73y49z6z5n4Tm for ; Tue, 04 Feb 2025 02:44:14 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic317-21.consmr.mail.gq1.yahoo.com (sonic317-21.consmr.mail.gq1.yahoo.com [98.137.66.147]) (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 4Yn73x1sRwz3kBr for ; Tue, 04 Feb 2025 02:44:13 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=OuSchQ4C; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.66.147 as permitted sender) smtp.mailfrom=marklmi@yahoo.com; dmarc=pass (policy=reject) header.from=yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1738637051; bh=W8yBh1yxiOdvhiYecqO34GmZSj1yXn5MSITmX3FOLTE=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=OuSchQ4Cb8WZAHvhqIkSJMkwJyr7R+AvzMs093MZBzQ/1Rv5kWNYu07+SFvB4L1gOYpaUFwX0oLzCeWQTXs5umMthsL7RzO23p74ueAZYzwqubk+/2Np8aEMjT6QrXDLvsGL41qUWpiCO5hRH6K2sal8KyyPfCefKr1xsJhWZ9OxlEyiZb1QwUaQnX3Aq7HDdEP0a59jPudMxYSpe/Gtiajx0MDAppp8e+GIyxXSpD7pld6jQ+Pxx1s0OcmJMyUTDA70shfzD8gq+zvq9cTFL+2moJ0REhOMSYDjRECrpTMrEVF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PAgBpWMcIkeDpWjzdkwQdxDMXJJycCj1IInwgh09UJdGhU4DXDw8YyvQG35DnWsDYlcD 1ArN91.yP4e9rhdRUJ2AxYtrBvw4.0MbEecgrIz8y.nDz.A7iYZQly_8E.6sD_Ukk2BSokXCK9Vw LaJ23MThgFtvVb_8tlbXNfMEXGdBpzTSo66TvhanNkQDcjGCijtJJRaVCO2yHAAE9sY1v3YcWQAM D6J8m4fjJ4jZExWXmsYUXjUOM7dWbiqcPSHs834WlshosXsMD0xK_r8CMAYB4Me5LbQttkqeCGkA Lpcady6AtPud4m57vat1KDL8i01qTwduiOJQpsdhp0U8WIIViv6Iv1sVaZNZSSmkt0HW1FukdBE5 46vphSYRuraA62W1M9Y2_2qQaBR7__G_TvG16FJEoN.pclq5LHny54xAxUD4vfkYoanZN9d3Msj0 521B0QI5DFZKqh3O8B38xZ2q96jNeYBdiGbXt0Gt_K64yUmEXkj3IXEnuVxnGarteTP45IZ9sWwX UNXA7S6dAjscUERyx3lZx04ZntjLb9gC2PmXqE8gW3CFv_jJG7r.hEnSqBkL04UBAI8gVccVAyyQ 0c2OqqY8cRFN.b1inaXmnqyRWN6kE2AcaSSJzYOfKlxtpugbi1_8_.n3ILTyMO7xZ3K5F5E7EXUF jhx3he4bBdkGkr_JXuM0Gl33m9UiNDjrnUY3hObpGCbhs9cITcMbMu.hz9oZqqJOluwBZcaVZVRf sJp4i X-Sonic-MF: X-Sonic-ID: 9c242a44-334b-47d6-afa3-1f53ef7877d6 Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.gq1.yahoo.com with HTTP; Tue, 4 Feb 2025 02:44:11 +0000 Received: by hermes--production-gq1-5dd4b47f46-k4d2j (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 0bb3a4052d4abd9d3b1c0495dfdd7cdd; Tue, 04 Feb 2025 02:44:09 +0000 (UTC) Content-Type: text/plain; charset=utf-8 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 \(3826.300.87.4.3\)) Subject: Re: RPI5 16GB panic on boot [.dtb files] From: Mark Millard In-Reply-To: <4CD66BF7-05C1-47E3-BD74-DD06066D6FF0@yahoo.com> Date: Mon, 3 Feb 2025 18:43:59 -0800 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <953D2D6D-1402-4074-81FC-65FAC87E3091@yahoo.com> References: <10E6E2C2-5A1B-417E-96A7-FA7CCB4FF50D@yahoo.com> <4CD66BF7-05C1-47E3-BD74-DD06066D6FF0@yahoo.com> To: Klaus Cucinauomo X-Mailer: Apple Mail (2.3826.300.87.4.3) X-Spamd-Result: default: False [-3.93 / 15.00]; RBL_SENDERSCORE_REPUT_9(-1.00)[98.137.66.147:from]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.79)[-0.788]; NEURAL_HAM_SHORT(-0.65)[-0.646]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[googlemail.com]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; TO_DN_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.66.147:from]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.66.147:from] X-Spamd-Bar: --- X-Rspamd-Queue-Id: 4Yn73x1sRwz3kBr On Feb 3, 2025, at 17:03, Mark Millard wrote: > On Feb 3, 2025, at 13:11, Klaus Cucinauomo = wrote: >>=20 >>>=20 >>> ) Historically FreeBSD makes no use of the linux-mainline *.dts* = sources >>> for RPi* systems. >>>=20 >>> ) I'm not sure of the RPi folks even publish the *.dts* sources = required >>> to reproduce the binary files that they distribute. >>>=20 >>=20 >> Mark, >>=20 >> I'm sure you'll be a very important troubleshooter/bughunter again = for RPI support, no one does it as well as you :-) >> ... but let us clarify one important thing: >> Every FreeBSD DeviceTreeSource(or compiled dtb) is a Linux(or = RPILinux)-mainline-only source >=20 > Wrong for where/how FreeBSD gets the dtb files for the RPi*'s. > See https://cgit.freebsd.org/ports/tree/sysutils/rpi-firmware and its > Makefile as a start for seeing how /usr/src/release/arm64/RPI.conf > gets the dtb's that are used: release/arm64/RPI.conf uses the > installed materials from sysutils/rpi-firmware . >=20 > The installation of sysutils/rpi-firmware put in place: >=20 > # ls -C1 /usr/local/share/rpi-firmware/*.dtb > /usr/local/share/rpi-firmware/bcm2708-rpi-b-plus.dtb > /usr/local/share/rpi-firmware/bcm2708-rpi-b-rev1.dtb > /usr/local/share/rpi-firmware/bcm2708-rpi-b.dtb > /usr/local/share/rpi-firmware/bcm2708-rpi-cm.dtb > /usr/local/share/rpi-firmware/bcm2708-rpi-zero-w.dtb > /usr/local/share/rpi-firmware/bcm2708-rpi-zero.dtb > /usr/local/share/rpi-firmware/bcm2709-rpi-2-b.dtb > /usr/local/share/rpi-firmware/bcm2709-rpi-cm2.dtb > /usr/local/share/rpi-firmware/bcm2710-rpi-2-b.dtb > /usr/local/share/rpi-firmware/bcm2710-rpi-3-b-plus.dtb > /usr/local/share/rpi-firmware/bcm2710-rpi-3-b.dtb > /usr/local/share/rpi-firmware/bcm2710-rpi-cm3.dtb > /usr/local/share/rpi-firmware/bcm2710-rpi-zero-2-w.dtb > /usr/local/share/rpi-firmware/bcm2710-rpi-zero-2.dtb > /usr/local/share/rpi-firmware/bcm2711-rpi-4-b.dtb > /usr/local/share/rpi-firmware/bcm2711-rpi-400.dtb > /usr/local/share/rpi-firmware/bcm2711-rpi-cm4-io.dtb > /usr/local/share/rpi-firmware/bcm2711-rpi-cm4.dtb >=20 > without compiling any *.dts* files, instead getting > binaries from a RPi specific place (which is not just > mainline linux for RPi* 's): see sysutils/rpi-firmware > for details. >=20 > /usr/src/release/arm64/RPI.conf in turn uses that > port/package and an internal definition: >=20 > DTB_DIR=3D"/usr/local/share/rpi-firmware" >=20 > for forming paths as were to copy the files from for making the > official distribution materials: >=20 > for _DF in ${DTB_FILES}; do > chroot ${CHROOTDIR} cp -p ${DTB_DIR}/${_DF} \ > ${FATMOUNT}/${_DF} > done >=20 >> , and every dts(i) is OpenSourced in RPI-linux and all upcoming = patches are OpenSourced in mailing lists of e.g. the bootloader. >=20 > There may be sources present from the RPi folks but FreeBSD > does not compile them and does not have those sources in > its https://git.FreeBSD.org/src.git . >=20 > The RPi folks instead have things in: >=20 > = https://github.com/raspberrypi/linux/commits/rpi-6.6.y/arch/arm/boot/dts/ >=20 > Note that this area is not a just a copy of the linux mainline. > Nor is it a copy from files from a U-Boot distribution. >=20 >=20 >> Or so: they(torvalds&RPI&u-boot) upstream/downstream whatever they = think is useful, >> there are a lot of experst doing that daily and we should not stay = so far behind them forever. >=20 This is just an extra note about looking up the RPi folks linux source by their own tags, such as the recent stable_20250127 tag: https://github.com/raspberrypi/linux/tags shows the tags and can get to to .zip or .tar.gz files for the sources. Using that tag as an example one can use the likes of: https://github.com/raspberrypi/linux/tree/stable_20250127 to get you to a browser and you can browse into the likes of: = https://github.com/raspberrypi/linux/tree/stable_20250127/arch/arm/boot/dt= s Again: FreeBSD and sysutils/rpi-firmware do not access or compile such sources. The *.dtb files can be browsed to via the likes of: https://github.com/raspberrypi/firmware/ or one of its branches or tags via looking in the cintained boot folder. The README reports, in part: QUOTE =E2=80=A2 boot: =E2=80=A2 start*.elf, fixup*.dat and bootcode.bin are the GPU = firmwares and bootloader. Their licence is described in = boot/LICENCE.broadcom. =E2=80=A2 The kernel.img files are builds of the Linux kernel, = released under the GPL (see boot/COPYING.linux) =E2=80=A2 The dtbs, overlays and associated README are built = from Linux kernel sources, released under the GPL (see = boot/COPYING.linux) END QUOTE There is also https://github.com/raspberrypi/rpi-firmware/ that also has such (without the tags) but is in a smaller repository for cloning (subset): "These are mirrored in a separate repo from the official one, because for updating the firmware, we're only interested in the files in the boot folder of the official repo. Git doesn't provide a way to clone only a single subfolder of a repo, and downloading the entire repo including the sample code and VC libs would take too long." =3D=3D=3D Mark Millard marklmi at yahoo.com