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 Tue, Sep 27, 2022 at 05:14:54PM -0700, Mark Millard wrote:
> On 2022-Sep-27, at 16:29, bob prohaska <[email protected]> wrote:
> 
> > On Tue, Sep 27, 2022 at 03:27:10PM -0700, Mark Millard wrote:
> >> . . .
> > . . .
> > U-Boot> usb reset
> > resetting USB...
> > Bus usb@7e980000: dwc2_usb usb@7e980000: Can't get reset: -2
> > USB DWC2
> > scanning bus usb@7e980000 for devices... 6 USB Device(s) found
> >       scanning usb for storage devices... 1 Storage Device(s) found
> > U-Boot> 
> > 
> > Issuing
> > U-Boot> run bootcmd_usb0
> > 
> > Device 0: 
> > 
> > [tens of seconds pause, looks like u-boot started over]
> > 
> > U-Boot 2022.04 (Sep 27 2022 - 15:47:57 -0700)
> . . .
> 
> Do you have RPi* firmware debug output ennabled such that
> you would see messages from it if the RPi* firmware started
> over?
> 
I do now, enable_uart=1 is set in config.txt

> In other words, can you tell if . . .
> 
> A) The RPi* firmware and then U-Boot both restarted
> vs.
> B) Just U-Boot restarted, not the RPi* firmware?
> 
> If you can tell, which was it?
> 
Looks to me as if A) is the case. After the 

Device 0:

line comes 

Raspberry Pi Bootcode
Read File: config.txt, 239
Read File: start.elf, 2952960 (bytes)
Read File: fixup.dat, 7314 (bytes)
MESS:00:00:21.191824:0: brfs: File read: /mfs/sd/config.txt
MESS:00:00:21.196253:0: brfs: File read: 239 bytes
MESS:00:00:21.252921:0: HDMI0:EDID error reading EDID block 0 attempt 0

The machine is headless, so I think the HDMI errors are normal.
Following the self-inflicted reboot the machine reached multi-user.

I'll see if I can figure out how to apply your patches shortly.

Thank you!

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.