Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Oct 2022 17:50:12 -0700
From:      bob prohaska <fbsd@www.zefox.net>
To:        Mark Millard <marklmi@yahoo.com>
Cc:        Klaus K??chemann <maciphone2@googlemail.com>, freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: EDK2 on RPi3 was: Re: u-boot debug, was: Re: U-boot on RPI3, sees disk but won't boot it
Message-ID:  <20221025005012.GA80394@www.zefox.net>
In-Reply-To: <DBA8B2E1-D596-4664-A6F3-893C43265317@yahoo.com>
References:  <136B9190-4C73-45FB-8B41-FEEF7C38A253@yahoo.com> <3A76826B-B4E6-4837-915E-C9E1172BEA20@yahoo.com> <DC32CA76-5072-4521-BCD8-CDF1512420D4@yahoo.com> <20221021175142.GA62386@www.zefox.net> <B90AA192-17B4-4FE3-8050-1E7889432ED4@yahoo.com> <0697DE1F-C626-4289-894A-4141CDF1B91B@yahoo.com> <71AB9FAC-EB00-48F0-B0DD-0629C2D3C8C0@googlemail.com> <5719632F-8A92-4784-88D8-EAE3F20F2FA3@yahoo.com> <20221024174930.GA79381@www.zefox.net> <DBA8B2E1-D596-4664-A6F3-893C43265317@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 24, 2022 at 11:50:11AM -0700, Mark Millard wrote:
> 
> bootcode.bin is only likely to help stages before
> u-boot.bin starts. If it makes to to u-boot.bin
> starting, bootcode.bin is then likely irrelevant
> from then on.
> 
> In fact bootcoce.bin is what loads the start*.elf
> that is used. If the start*.elf starts, bootcode.bin
> is likely irrelevant past that point.
> 
I've put the console output at
http://www.zefox.net/~fbsd/rpi2/20221024/boot_console
in case it's of interest. There are a surprising number
of what look like complaints/errors, but it boots anyway.

> 
> > The interest I expressed in EDK2 appears to have been misguided,
> > or at least premature. I was hoping it might be a more tractable
> > replacement for u-boot, but it's equally inscrutable to an amateur.
> 
> 
> Was this based on mina ports before vs. after:
> 
> QUOTE
> author	Mark Millard <marklmi26-fbsd@yahoo.com>	2022-10-21 21:47:14 +0000
> committer	Lorenzo Salvadore <salvadore@FreeBSD.org>	2022-10-21 22:00:03 +0000
> 

After. Before it failed in the expected way. After, it succeeded, but
built edk2 for macchiatobin that wasn't useful. I couldn't figure out
how to make poudriere attempt to build the needed rpi3 flavor and didn't
find a flavor for rpi2. This was on a Pi4 running -current. 

It's unclear to me if edk2 offers any advantage over u-boot, at least
when u-boot works. I think HPS's changes to usb probably did help, but
won't know for a while yet given the erratic nature of the troubles. 

Thanks for all your help!

bob prohaska


 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20221025005012.GA80394>