Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Nov 2024 11:59:18 -0800
From:      Warner Losh <imp@bsdimp.com>
To:        Alexander Leidinger <Alexander@leidinger.net>
Cc:        Current FreeBSD <freebsd-current@freebsd.org>
Subject:   Re: No valid device tree blob found!
Message-ID:  <CANCZdfq%2BUuP7Ya69jz5jnoBB1Cg2Y-sHq1g%2BixsmEvjU7cSipA@mail.gmail.com>
In-Reply-To: <a007694a811d1daa48703236b3eba007@Leidinger.net>
References:  <8cf9adb0e7ca6340460c695ffd64a0df@Leidinger.net> <896b9ce404ffcb126dcdd6008583b117@Leidinger.net> <CANCZdfr4qGgyt=fN4%2BJiFytthjseNo_2B0LVXHZNH93Y3vqEVg@mail.gmail.com> <a007694a811d1daa48703236b3eba007@Leidinger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000897232062658128b
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Wed, Nov 6, 2024 at 3:41=E2=80=AFAM Alexander Leidinger <Alexander@leidi=
nger.net>
wrote:

> Am 2024-11-02 17:08, schrieb Warner Losh:
>
>
>
> On Sat, Nov 2, 2024, 10:03=E2=80=AFAM Alexander Leidinger <Alexander@leid=
inger.net>
> wrote:
>
> Am 2024-10-30 22:11, schrieb Alexander Leidinger:
>
> > WARNING! Trying to fire up the kernel, but no device tree blob found!
>
> For anyone interested, I opened
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282493 for this.
>
>
> Yea. This is a hang or a bad console. The warning is lame and misleading.
>
> Can you bisect?
>
> Found it.
>
> # git bisect bad
> c87b3f0006be9ac5813f1ff636f18c9b4a41b08e is the first bad commit
> commit c87b3f0006be9ac5813f1ff636f18c9b4a41b08e (HEAD)
> Author: Warner Losh <imp@FreeBSD.org>
> Date:   Mon Oct 14 15:58:10 2024 -0600
>
>     uart: uart_getenv: check for NULL class last, not first
>
>     This allows one to specify dt:XXXX when the default class isn't
> compiled
>     into the kernel. It's not an error to not have a class until we're do=
ne
>     parsing the spec, so defer checking until then.
>
>     Sponsored by:           Netflix
>     Reviewed by:            adrian, andrew, markj
>     Differential Revision:  https://reviews.freebsd.org/D47078
>
>  sys/dev/uart/uart_subr.c | 14 +++++++-------
>  1 file changed, 7 insertions(+), 7 deletions(-)
>
> -current as of today without this change boots just fine on the Ampere
> system in the Oracle cloud.
>

what's your loader.conf? this should only matter if something is set
there...

Warner

--000000000000897232062658128b
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">=
<div dir=3D"ltr" class=3D"gmail_attr">On Wed, Nov 6, 2024 at 3:41=E2=80=AFA=
M Alexander Leidinger &lt;<a href=3D"mailto:Alexander@leidinger.net">Alexan=
der@leidinger.net</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote"=
 style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);p=
adding-left:1ex"><div style=3D"font-size:10pt;font-family:Verdana,Geneva,sa=
ns-serif">
<div style=3D"font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<p id=3D"m_33128641647853291v1reply-intro">Am 2024-11-02 17:08, schrieb War=
ner Losh:</p>
<blockquote type=3D"cite" style=3D"padding:0px 0.4em;border-left:2px solid =
rgb(16,16,255);margin:0px">
<div id=3D"m_33128641647853291v1replybody1">
<div dir=3D"auto">
<div><br><br>
<div>
<div dir=3D"ltr">On Sat, Nov 2, 2024, 10:03=E2=80=AFAM Alexander Leidinger =
&lt;<a href=3D"mailto:Alexander@leidinger.net" rel=3D"noreferrer" target=3D=
"_blank">Alexander@leidinger.net</a>&gt; wrote:</div>
<blockquote style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204=
,204,204);padding-left:1ex">Am 2024-10-30 22:11, schrieb Alexander Leidinge=
r:<br><br>&gt; WARNING! Trying to fire up the kernel, but no device tree bl=
ob found!<br><br>For anyone interested, I opened <br><a href=3D"https://bug=
s.freebsd.org/bugzilla/show_bug.cgi?id=3D282493" rel=3D"noopener noreferrer=
" target=3D"_blank">https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282=
493</a> for this.</blockquote>
</div>
</div>
<div dir=3D"auto">=C2=A0</div>
<div dir=3D"auto">Yea. This is a hang or a bad console. The warning is lame=
 and misleading.</div>
<div dir=3D"auto">=C2=A0</div>
<div dir=3D"auto">Can you bisect?</div>
</div>
</div>
</blockquote>
<p>Found it.</p>
<p style=3D"padding-left:40px"># git bisect bad<br>c87b3f0006be9ac5813f1ff6=
36f18c9b4a41b08e is the first bad commit<br>commit c87b3f0006be9ac5813f1ff6=
36f18c9b4a41b08e (HEAD)<br>Author: Warner Losh &lt;imp@FreeBSD.org&gt;<br>D=
ate: =C2=A0 Mon Oct 14 15:58:10 2024 -0600</p>
<p style=3D"padding-left:40px">=C2=A0 =C2=A0 uart: uart_getenv: check for N=
ULL class last, not first</p>
<p style=3D"padding-left:40px">=C2=A0 =C2=A0 This allows one to specify dt:=
XXXX when the default class isn&#39;t compiled<br>=C2=A0 =C2=A0 into the ke=
rnel. It&#39;s not an error to not have a class until we&#39;re done<br>=C2=
=A0 =C2=A0 parsing the spec, so defer checking until then.</p>
<p style=3D"padding-left:40px">=C2=A0 =C2=A0 Sponsored by: =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 Netflix<br>=C2=A0 =C2=A0 Reviewed by: =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0adrian, andrew, markj<br>=C2=A0 =C2=A0 Different=
ial Revision: =C2=A0<a href=3D"https://reviews.freebsd.org/D47078" target=
=3D"_blank">https://reviews.freebsd.org/D47078</a></p>;
<p style=3D"padding-left:40px">=C2=A0sys/dev/uart/uart_subr.c | 14 +++++++-=
------<br>=C2=A01 file changed, 7 insertions(+), 7 deletions(-)</p>
<p>-current as of today without this change boots just fine on the Ampere s=
ystem in the Oracle cloud.</p></div></div></blockquote><div><br></div><div>=
what&#39;s your loader.conf? this should only matter if something is set th=
ere...=C2=A0=C2=A0</div><div><br></div><div>Warner=C2=A0</div></div></div>

--000000000000897232062658128b--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfq%2BUuP7Ya69jz5jnoBB1Cg2Y-sHq1g%2BixsmEvjU7cSipA>