Re: RPi4b 8GB 13.0-Current, XHCI broken, wrong U-Boot ?

Andy McClements <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
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

_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-arm
To unsubscribe, send any mail to "[email protected]"
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.