[Bug 255080] U-Boot build for Raspberry Pi 4 (arm64) does not boot from MicroSD card slot [U-Boot timeframe problem]

Mark Millard marklmi at yahoo.com
Sun Apr 18 00:05:30 UTC 2021


[In essence my Comment #14 material but for a wider audience.]

Comment #5 (the same one that indicates 2711ZPKFSB06C0T as the part)
also reported the earliest mmc0 error message from what I can tell:

QUOTE
scanning bus xhci _pci for devices... 2 USB Device(s) found 
       scanning usb for storage devices... 0 Storage Device(s) found 
Hit any key to stop autoboot: 0 
switch to partitions #0, OK 
mmc0 is current device 
** No partition table - mmc 0**
END QUOTE

That text is from U-Boot, not from RPi firmware, nor from FreeBSD's
loader or FreeBSD's kernel. In other words: U-Boot is having this
initial mmc0 problem. It looks necessary (but possibly not sufficient
overall) to have a U-Boot that knows how to deal with the model of
RPi4B. There is some possibility that the .dtb files from the RPi
firmware contribute to what U-Boot is doing and might also need
updating. (I would not expect this.)

This suggests that testing using 2021.04 U-Boot instead of
the 2020.10 U-Boot would be an appropriate substitution.

Unfortunately, "pkg upgrade" on 13.0-RELEASE will not get the
updated sysutils/u-boot-rpi-arm64 materials in
/usr/local/share/u-boot/u-boot-rpi-arm64/ to copy to the msdos
file system. The updated U-Boot must be created/copied another
way.

So, if someone that has hardware that has the problem and is
also comfortable with getting U-Boot 2021.04 in place on the
microsd card, an attempted boot of such a combination would
indicate if the microsd-card-in-slot boot gets further along
or not just based on the U-Boot update.

===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)



More information about the freebsd-arm mailing list