Re: EDK2 on RPi3 was: Re: u-boot debug, was: Re: U-boot on RPI3, sees disk but won't boot it

bob prohaska <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
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 <[email protected]>	2022-10-21 21:47:14 +0000
> committer	Lorenzo Salvadore <[email protected]>	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
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.