Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Mar 2021 18:50:02 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        tech-lists <tech-lists@zyxst.net>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: rpi4b main-n245392-8423f5d4c12 won't boot due to microsd timeout [FIXED]
Message-ID:  <79EB88DA-0144-4A12-B716-3CF5011F16C4@yahoo.com>
In-Reply-To: <YE%2BY4HsI5KxfTLxG@ceres.zyxst.net>
References:  <A2A5B0EA-3BEA-4721-9E65-83D4FBF56724.ref@yahoo.com> <A2A5B0EA-3BEA-4721-9E65-83D4FBF56724@yahoo.com> <YE%2BY4HsI5KxfTLxG@ceres.zyxst.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2021-Mar-15, at 10:26, tech-lists <tech-lists at zyxst.net> wrote:

> On Sat, Mar 13, 2021 at 01:04:01PM -0800, Mark Millard wrote:
>=20
>> 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
>>=20
>> works but is not required to make the RPi4B work?
>=20
> 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.

So there would seem to be no urgent aspect of
existing RPi[34] u-boot ports vs. Klaus K.'s
build(s) to lead Klaus to put up reviews on
Phabricator for updates to:

sysutils/u-boot-rpi-arm64
sysutils/u-boot-rpi3
sysutils/u-boot-rpi4

> For clarity, the sha256 of the u-boot provided from the FreeBSD image =
is
> SHA256 (u-boot.bin) =3D
> 8fa7d8d0f8d9708f7adecb89ca239a52c2f9b6911c20e27b71e4d99d132dbfc4
>=20
> The latest u-boot from Klaus is
> SHA256 (u-boot.bin) =3D
> 48b6d9b3837aabaa7ad9830babe15722f2c46cc03f48f1b64ef40d2c0d0f7529
>=20
> In both cases, the start4.elf and fixup4.dat that I'm using are the =
same vintage:
>=20
> % sha256 start4.elf
> SHA256 (start4.elf) =3D
> dce1545e7133835b77871295292f692a84101722f6ceecf73f91f2248ba01907
>=20
> % 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)

Good to know, thanks.

It may be that the Mar 10 2021 build/release is only
a fix relative to the Mar 5 2021 release and not
relative to the Feb 25 2021 build/release.

(I'm not sure that builds and releases are always
the same day. But it does happen frequently as
I understand.)

> % sha256 /boot/msdos/fixup4.dat SHA256 (/boot/msdos/fixup4.dat) =3D
> 0526e9e190fa1f957c3c7e8063116e0adfd9a0eb9c72c2fe67d59140ef84dc1a
>=20
> These were downloaded from =
https://github.com/raspberrypi/firmware/raw/0591568b29a724de406aa737fc8e13=
f68c423f3f/boot/start4.elf
> and
> =
https://github.com/raspberrypi/firmware/raw/0591568b29a724de406aa737fc8e13=
f68c423f3f/boot/fixup4.dat
>=20
> [1] how would I "test" the installed[2] u-boot.bin to make sure it was
> working correctly?

I was thinking of whatever criteria you used when you
wrote:

QUOTE
. . .
> =
https://sourceforge.net/projects/fbsd-rpi4-u-boot2021-04-klaus/files/u-boo=
t.bin/download

Pleased to report this new u-boot works perfectly! thank you
END QUOTE

I had not quizzed you about what it takes to have the
status "works perfectly". (I would expect that "works
perfectly" has to involve how the combination of u-boot
and RPi* firmware operate together in making the
judgment.)

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

[2] has both a different u-boot and a different
group of RPi* firmware files.

There would seem to be no urgent aspect of the
existing sysutils/rpi-firmware port vs. the
Mar 10 2021 RPI* materials to lead anyone to
put up a review on Phabricator for updating:

sysutils/rpi-firmware


=3D=3D=3D
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?79EB88DA-0144-4A12-B716-3CF5011F16C4>