Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jan 2021 11:43:27 +0000
From:      Andy McClements <ajm@ip-ether.net>
To:        freebsd-arm@freebsd.org
Cc:        =?UTF-8?Q?Klaus_K=c3=bcchemann?= <maciphone2@googlemail.com>, Robert Crowston <crowston@protonmail.com>, Emmanuel Vadot <manu@freebsd.org>
Subject:   Re: RPi4b 8GB 13.0-Current, XHCI broken, wrong U-Boot ?
Message-ID:  <6610c9a3-1e61-b7e5-c537-3080dd7ee8ae@ip-ether.net>
In-Reply-To: <26D146B8-0362-4008-9A1F-A6CD6B1479BB@googlemail.com>
References:  <007c8658-b7b6-6852-536c-9c36af64506b@ip-ether.net> <D22EDD0F-8A8E-466C-BCEC-C8E2B3EA9A6B@googlemail.com> <aaefd44f-9dfd-be08-b446-d85c1df185a9@ip-ether.net> <5B626DCC-6F7C-4554-803C-F488A1ED9BEB@googlemail.com> <56d10ea4-3284-3e4c-9521-8bf1008caa2b@ip-ether.net> <26D146B8-0362-4008-9A1F-A6CD6B1479BB@googlemail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 02/01/2021 19:39, Klaus Küchemann wrote:

> thanks a lot, I could reproduce the issue you have with
> their firmware files datestamped 27/12/2020
>  , it seems that they have mixed up something
> @ the rpi-org since I`ve got the following files from them earlier...
>
> Could you please  overwrite  on msdos-partition with these files :
> https://sourceforge.net/projects/d26853-bcm2711-rpi-4-b-dtb/files/rpi4_pack_freebsd.zip/download
> I’m quite sure, that this will fix the SD-card-issue ,
> So  it should boot directly from USB/SSD.
> You can begin with only : start4.elf & fixup4.dat ,
> If that doesn`t work you can also apply u-boot.bin.

I've done some further tests using the three previous RPI firmware 
releases to the current 20201227 release which does not work for me. 
Again, my environment is:

HW: RPi4b 8GB, late 2020 purchase, Sept 3rd EEPROM
OS: 
FreeBSD-13.0-CURRENT-arm64-aarch64-RPI-20201224-3cc0c0d66a0-255241.img.xz
Boot device: 128GB USB3 SSD

Releases tested:
https://github.com/raspberrypi/firmware/archive/1.20201022.zip
https://github.com/raspberrypi/firmware/archive/1.20201126.zip
https://github.com/raspberrypi/firmware/archive/1.20201201.zip

I am happy to say that, WITH PATCH D26853, all of these will 
successfully allow FreeBSD 20201224 to boot from USB SSD. Also that the 
vanilla 20201224 img (which I have checked includes the 20201201 
firmware) also works fine, WITH PATCH D26853.

I have also double-checked that the current firmware release, 20201227, 
with the patch, DOES NOT WORK. As previously reported, I just see a 
crash-loop in U-boot, if attempting to boot from USB SSD.

With hindsight it was unfortunate that I made the assumption that my 
initial problem was due to not having the latest firmware.

Test details, including dmesgs:

Test #9

128GB USB3.0 SSD
FreeBSD-13.0-CURRENT-arm64-aarch64-RPI-20201224-3cc0c0d66a0-255241.img.xz
20201224 U-Boot
RPI firmware refreshed from firmware-1.20201022.zip
bcm2711-rpi-4-b-dtb replaced with D26853 patched version

Result: Boots OK. XHCI all working.

Dmesg: https://dmesgd.nycbug.org/index.cgi?do=view&id=5856

Test #10

128GB USB3.0 SSD
FreeBSD-13.0-CURRENT-arm64-aarch64-RPI-20201224-3cc0c0d66a0-255241.img.xz
20201224 U-Boot
RPI firmware refreshed from firmware-1.20201126.zip
bcm2711-rpi-4-b-dtb replaced with D26853 patched version

Result: Boots OK. XHCI all working.

Dmesg: https://dmesgd.nycbug.org/index.cgi?do=view&id=5857


Test #11

128GB USB3.0 SSD
FreeBSD-13.0-CURRENT-arm64-aarch64-RPI-20201224-3cc0c0d66a0-255241.img.xz
20201224 U-Boot
RPI firmware refreshed from firmware-1.20201201.zip
bcm2711-rpi-4-b-dtb replaced with D26853 patched version

Result: Boots OK. XHCI all working.

Dmesg: https://dmesgd.nycbug.org/index.cgi?do=view&id=5858




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6610c9a3-1e61-b7e5-c537-3080dd7ee8ae>