Re: Raimbow screen installing / booting FreeBSD-14.2-RELEASE-arm64-aarch64-RPI.img on the raspberry pi zero 2w

Marco Devesas Campos <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
The problem isn’t the fix — it’s that there is simply no appropriate device tree for the zero-2 that is bundled with the image so the board has no idea how to boot.

So, while not perfect, until someone from the projects adds a zero 2 dtb, I’m guessing copying one of the pi-3 images is your best bet (I just tried it and it works — well, boots, at least).

Best,
Marco

> On 4 Feb 2025, at 22:57, Mario Marietto <[email protected]> wrote:
> 
> Hello.
> I've dd'ed FreeBSD 14.2 RELEASE on a sd card and I tried to boot it with my Raspberry Pi zero 2 w :
> 
> # dd if=FreeBSD-14.2-RELEASE-arm64-aarch64-RPI.img of=/dev/sdf
> 
> but unfortunately when I turned on the board I got the rainbow screen :
> 
> https://ibb.co/cXKFCtvJ
> 
> According with this but report :
> 
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261147
> 
> I should apply this fix :
> 
> https://cgit.freebsd.org/src/commit/?id=9873b171697033f9f19608d98bcd1c16cacb92af
> 
> but I see that it has already been applied :
> 
> <Screenshot_2025-02-04_23-47-23.png>
> 
> but I get the rainbow screen anyway. I would like to understand why,where is the error,how can I fix it ?
> 
> Thanks.
> 
> On Tue, Feb 4, 2025 at 8:31 PM Mario Marietto <[email protected] <mailto:[email protected]>> wrote:
>> > If I recall correctly, it’s enough to copy  bcm2710-rpi-3-b-plus.dtb to bcm2710-rpi-zero-2.dtb (in the msdos partition).
>> 
>> It seems to be the wrong approach :
>> 
>> Emmanuel Vadot <mailto:[email protected]>     2022-01-24 08:09:30 UTC
>> (In reply to david.elliott3040 from comment #5 <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261147#c5>)
>> 
>> This is a wrong approach, while they have the same SoC and most of the peripherals are 
>> the same they are not the same board and this can only lead to problems.
>> 
>> source :
>> 
>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261147
>> 
>> On Tue, Feb 4, 2025 at 8:19 PM Marco Devesas Campos <[email protected] <mailto:[email protected]>> wrote:
>>> If I recall correctly, it’s enough to copy  bcm2710-rpi-3-b-plus.dtb to bcm2710-rpi-zero-2.dtb (in the msdos partition).
>>> 
>>> Best,
>>> Marco
>>> 
>>> 
>>>> On 4 Feb 2025, at 17:35, Mario Marietto <[email protected] <mailto:[email protected]>> wrote:
>>>> 
>>>> Hello.
>>>> 
>>>> I've dd'ed FreeBSD 14.2 RELEASE on a sd card and I tried to boot it with my Raspberry Pi zero 2 w :
>>>> 
>>>> # dd if=FreeBSD-14.2-RELEASE-arm64-aarch64-RPI.img of=/dev/sdf
>>>> 
>>>> but unfortunately when I turned on the board I got the rainbow screen :
>>>> 
>>>> https://ibb.co/cXKFCtvJ
>>>> 
>>>> So I suppose that the fix hasn't been upstreamed for FreeBSD 14.2-RELEASE. 
>>>> 
>>>> What can I do to bypass the bug ?
>>>> 
>>>> --
>>>> Mario.
>>> 
>> 
>> 
>> 
>> --
>> Mario.
> 
> 
> 
> --
> Mario.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.