Re: rpi4b main-n245392-8423f5d4c12 won't boot due to microsd timeout [FIXED]

tech-lists <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
On Sat, Mar 13, 2021 at 01:04:01PM -0800, Mark Millard wrote:

>If I gather correctly, it works but so does the one found in
>FreeBSD-14.0-CURRENT-arm64-aarch64-RPI-20210311-15565e0a217-257277.img
>? In other words, the material from
>fbsd-rpi4-u-boot2021-04-klaus/files/u-boot.bin/download
>
>works but is not required to make the RPi4B work?

Yes. I have tested it, and it "works" to the extent that it boots
normally and I can't see any issues[1] at first glance.

For clarity, the sha256 of the u-boot provided from the FreeBSD image is
SHA256 (u-boot.bin) =
8fa7d8d0f8d9708f7adecb89ca239a52c2f9b6911c20e27b71e4d99d132dbfc4

The latest u-boot from Klaus is
SHA256 (u-boot.bin) =
48b6d9b3837aabaa7ad9830babe15722f2c46cc03f48f1b64ef40d2c0d0f7529

In both cases, the start4.elf and fixup4.dat that I'm using are 
the same vintage:

% sha256 start4.elf
SHA256 (start4.elf) =
dce1545e7133835b77871295292f692a84101722f6ceecf73f91f2248ba01907

% strings /boot/msdos/start4.elf | grep VC_BUILD_ID_
VC_BUILD_ID_USER: dom
VC_BUILD_ID_TIME: 10:12:47
VC_BUILD_ID_VARIANT: start
VC_BUILD_ID_TIME: Mar 10 2021
VC_BUILD_ID_BRANCH: bcm2711_2
VC_BUILD_ID_HOSTNAME: buildbot
VC_BUILD_ID_PLATFORM: raspberrypi_linux
VC_BUILD_ID_VERSION: 4b9ea44619376439c801684745a12299b45ae2bb (clean)

% sha256 /boot/msdos/fixup4.dat 
SHA256 (/boot/msdos/fixup4.dat) =
0526e9e190fa1f957c3c7e8063116e0adfd9a0eb9c72c2fe67d59140ef84dc1a

These were downloaded from 
https://github.com/raspberrypi/firmware/raw/0591568b29a724de406aa737fc8e13f68c423f3f/boot/start4.elf
and
https://github.com/raspberrypi/firmware/raw/0591568b29a724de406aa737fc8e13f68c423f3f/boot/fixup4.dat

[1] how would I "test" the installed[2] u-boot.bin to make sure it was
working correctly?

[2] the one that was on
FreeBSD-14.0-CURRENT-arm64-aarch64-RPI-20210311-15565e0a217-257277.img

thanks,
-- 
J.
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAmBPmNcACgkQs8o7QhFz
NAUyqhAApI5Mf1n59Z9la1u5BcIV65K2zd3Q48q3pnm7NxjW7DtddciMx2faDkh4
RKepsWob8QV/lE5TrivFyW/ssXVm4x9i1uyU9svXqyhUdE2ysaG0taNlO3+NNZdZ
Vse3Rm0B/g/BPGbH/rzPNMBysFB2HFwvNChdDDkaHKOOqdGcDUJILNY+51kkLhlh
lzZpcQJ49PsieFFFuUQHmwBTXAhF0RhETVEfisQRJTWuRpUgkh5qPdidP4aLOrcJ
53m51430s8BXGeOKNtqTYDF9GSE1734BD0K70ni9JXyfRazxyCsCv30aCkmtDt7e
oa58WNc6/eyCPZp+JKoYp6eItpRnZ01haSiNtPAKnEWfbje/X/lfTa6830mfBrCz
KzFicth41jWJsZKs/JzuWvkLlb1+IzJqzIAUdQddmuqXRQi9nN7dJvK+kLm9lzGu
8zyTGmNbFS5ckbsod9HEbOQlSkN2TdRQnAfGmlPrKinpp14SNXeOatH7SzGW1hd2
bP342RmdAV3z894LurPlTnaBrH0Z3TuCi4pJzTD5URNwj7fWWBDOT1Z8G8m7Cw6n
leFSGkgBq1TE/xDCZq2jVRVXmaHp60yUNP2NGbli9yRQeMspg2J/yGy2PoOfoagq
zxPgqZU4qzzFVC91k7tRiGQiY+NRhnZjhXlIaGVEH303q3KjqjM=
=q3jS
-----END PGP SIGNATURE-----
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.