Re: Raimbow screen installing / booting FreeBSD-14.2-RELEASE-arm64-aarch64-RPI.img on the raspberry pi zero 2w
- Reply: Tomek CEDRO : "Re: Raimbow screen installing / booting FreeBSD-14.2-RELEASE-arm64-aarch64-RPI.img on the raspberry pi zero 2w"
- In reply to: Tomek CEDRO : "Re: Raimbow screen installing / booting FreeBSD-14.2-RELEASE-arm64-aarch64-RPI.img on the raspberry pi zero 2w"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 06 Feb 2025 14:03:56 UTC
On Feb 5, 2025, at 23:51, Tomek CEDRO <tomek@cedro.info> wrote:
> On Wed, Feb 5, 2025 at 2:59 AM Mark Millard <marklmi@yahoo.com> wrote:
>> On Feb 4, 2025, at 17:39, Mario Marietto <marietto2008@gmail.com> wrote:
>>> ----> A better alternative experiment would likely be to:
>>> I did :
>>> marietto# cp bcm2710-rpi-3-b.dtb bcm2710-rpi-zero-2-w.dtb
>>> and the board booted wonderfully without one only problem.
>>> I think that it's a good idea to add a note on the bug report that the patches created don't work and that the fix,for the moment is :
>>> marietto# cp bcm2710-rpi-3-b.dtb bcm2710-rpi-zero-2-w.dtb
>>
>> Why not try sysutils/rpi-firmware and copying over the
>> /usr/local/share/rpi-firmware/bcm2710-rpi-zero-2-w.dtb
>> that is actually for the RPi* that you have? It is the
>> same vintage of materials as is on the official media.
>>
>> If it does not work, that would be good to have in the
>> notes as well. Similarly, if it does work it would be
>> good to have that noted.
>
> Yup, I can confirm rpi-firmware/bcm2710-rpi-zero-2-w.dtb works with
> FreeBSD-14.2-RELEASE-arm64-aarch64-RPI.img :-)
FreeBSD-14.2-RELEASE-arm64-aarch64-RPI.img contains the
u-boot from:
/usr/ports/sysutils/u-boot-rpi-arm64
and, so, also contains and should be used with a copy of:
/usr/local/share/rpi-firmware/config_arm64.txt
as config.txt :
# grep -rA1 config_arm64 /usr/src/release/
/usr/src/release/arm64/RPI.conf: chroot ${CHROOTDIR} cp -p ${DTB_DIR}/config_arm64.txt \
/usr/src/release/arm64/RPI.conf- ${FATMOUNT}/config.txt
/usr/local/share/rpi-firmware/config_rpi3.txt is for when:
/usr/ports/sysutils/u-boot-rpi3
is is use instead. No modern snapshot or release uses that:
# grep -r config_config_rpi3 /usr/src/release/
#
/usr/local/share/rpi-firmware/config_rpi_0_w.txt is for when:
/usr/ports/sysutils/u-boot-rpi-0-w
is is use instead. An rpi-0-w is not a arm64 / aarch64 system.
# grep -r config_rpi_0_w /usr/src/release/
#
> One thing to mention too is config_rpi3.txt -> config.txt (not
> config_rpi_0_w.txt) :-)
config_rpi3.txt is likely not fully appropriate and
config_arm64.txt is likely what should be used. But
it was already in place as config.txt in:
FreeBSD-14.2-RELEASE-arm64-aarch64-RPI.img
FreeBSD-14.2-RELEASE-arm64-aarch64-RPI.img is for
all the aarch64 / arm64 RPi*'s that FreeBSD happens
to support. (RPi5's not being supported as stands.)
> Thanks!! :-)
>
> ps/2: pkg does not update because of certificate errors, but
> freebsd-update fetch install went fine to 14.2-RELEASE-p1 o_O
===
Mark Millard
marklmi at yahoo.com