Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Apr 2021 17:05:21 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        bugzilla-noreply@freebsd.org
Cc:        "freebsd-arm@freebsd.org" <freebsd-arm@FreeBSD.org>
Subject:   Re: [Bug 255080] U-Boot build for Raspberry Pi 4 (arm64) does not boot from MicroSD card slot [U-Boot timeframe problem]
Message-ID:  <97783A23-51D7-46EC-B35A-CF52957FF3CB@yahoo.com>
In-Reply-To: <bug-255080-7@https.bugs.freebsd.org/bugzilla/>
References:  <bug-255080-7@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
[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)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?97783A23-51D7-46EC-B35A-CF52957FF3CB>