Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Oct 2022 09:33:23 -0700
From:      bob prohaska <fbsd@www.zefox.net>
To:        Mark Millard <marklmi@yahoo.com>
Cc:        freebsd-arm <freebsd-arm@freebsd.org>, freebsd-uboot@freebsd.org
Subject:   Re: u-boot debug, was: Re: U-boot on RPI3, sees disk but won't boot it
Message-ID:  <20221001163323.GB97581@www.zefox.net>
In-Reply-To: <51B729B0-3792-4870-9DEA-3E47F8BCB37F@yahoo.com>
References:  <20220929170927.GB80020@www.zefox.net> <6C5019EC-B4A8-448F-9A85-4A98BC46F7DD@yahoo.com> <20220930002742.GA81169@www.zefox.net> <7A431698-1A8C-44BA-AFA2-EF5BAA69574F@googlemail.com> <924ED901-F9EB-4CFE-8376-1C2653FB6EBE@yahoo.com> <97AB11F6-2F4D-4026-8A96-50FC68B6EF8C@googlemail.com> <20220930214234.GA86711@www.zefox.net> <B25A7647-D109-48C9-AFDB-DE3F5AB08C56@yahoo.com> <20221001152242.GA97581@www.zefox.net> <51B729B0-3792-4870-9DEA-3E47F8BCB37F@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Oct 01, 2022 at 09:12:23AM -0700, Mark Millard wrote:
> On 2022-Oct-1, at 08:22, bob prohaska <fbsd@www.zefox.net> wrote:
> 
> > On Fri, Sep 30, 2022 at 05:51:03PM -0700, Mark Millard wrote:
> >> 
> >> By the way, it looks like having the line:
> >> 
> >> CONFIG_CMD_LOG=y
> >> 
> >> in files/rpi_arm64_fragment would try to build the
> >> log command into U-Boot.
> >> 
> > 
> > Done and working. Now to learn how to use it.
> 
> Good.
> 
> Have you tried the updated patch-common_usb.c that
> has the 3 mdelay(...) adjustments? Does it lead to
> avoiding the problem? Any change in observed
> behavior?
> 
> 
Not yet.

However, with logging enabled (but still not understood)
there are more mountroot failures. Here's a list of tries,
where
S means I issued shutdown -r 
P means I had to powercycle
R means I issued a reset to u-boot
L means the Pi got stuck in a loop
U means usb reset was issued
M means the Pi stopped at mountroot (self-reset)
B means I issued a boot at the loader prompt

The sequence was:
PRSSSSBSSSSULPMSSM

I've placed the log script at
http://nemesis.zefox.com/~fbsd/ with mountroot in the filename.

I'll try your patch next.

Thank you!

bob prohaska



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