Date: Wed, 06 Nov 2024 12:40:44 +0100 From: Alexander Leidinger <Alexander@Leidinger.net> To: Warner Losh <imp@bsdimp.com> Cc: Current FreeBSD <freebsd-current@freebsd.org> Subject: Re: No valid device tree blob found! Message-ID: <a007694a811d1daa48703236b3eba007@Leidinger.net> In-Reply-To: <CANCZdfr4qGgyt=fN4%2BJiFytthjseNo_2B0LVXHZNH93Y3vqEVg@mail.gmail.com> References: <8cf9adb0e7ca6340460c695ffd64a0df@Leidinger.net> <896b9ce404ffcb126dcdd6008583b117@Leidinger.net> <CANCZdfr4qGgyt=fN4%2BJiFytthjseNo_2B0LVXHZNH93Y3vqEVg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --=_e277f5c271432920d6c950fa8c55c57b Content-Type: multipart/alternative; boundary="=_10124cbb036f15e80b76e9b0def799e4" --=_10124cbb036f15e80b76e9b0def799e4 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8; format=flowed Am 2024-11-02 17:08, schrieb Warner Losh: > On Sat, Nov 2, 2024, 10:03 AM Alexander Leidinger > <Alexander@leidinger.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=282493 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 done 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. Bye, Alexander. -- http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF --=_10124cbb036f15e80b76e9b0def799e4 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset= =3DUTF-8" /></head><body style=3D'font-size: 10pt; font-family: Verdana,Gen= eva,sans-serif'> <div style=3D"font-size: 10pt; font-family: Verdana,Geneva,sans-serif;"> <p id=3D"v1reply-intro">Am 2024-11-02 17:08, schrieb Warner Losh:</p> <blockquote type=3D"cite" style=3D"padding: 0 0.4em; border-left: #1010ff 2= px solid; margin: 0"> <div id=3D"v1replybody1"> <div dir=3D"auto"> <div><br /><br /> <div class=3D"v1v1gmail_quote"> <div class=3D"v1v1gmail_attr" dir=3D"ltr">On Sat, Nov 2, 2024, 10:03=E2=80= =AFAM Alexander Leidinger <<a href=3D"mailto:Alexander@leidinger.net" re= l=3D"noreferrer">Alexander@leidinger.net</a>> wrote:</div> <blockquote class=3D"v1v1gmail_quote" style=3D"margin: 0 0 0 .8ex; border-l= eft: 1px #ccc solid; padding-left: 1ex;">Am 2024-10-30 22:11, schrieb Alexa= nder Leidinger:<br /><br />> WARNING! Trying to fire up the kernel, but = no device tree blob found!<br /><br />For anyone interested, I opened <br /= ><a href=3D"https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282493" tar= get=3D"_blank" rel=3D"noopener noreferrer">https://bugs.freebsd.org/bugzill= a/show_bug.cgi?id=3D282493</a> for this.</blockquote> </div> </div> <div dir=3D"auto"> </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"> </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 />c87b3f0006be9ac5813f= 1ff636f18c9b4a41b08e is the first bad commit<br />commit c87b3f0006be9ac581= 3f1ff636f18c9b4a41b08e (HEAD)<br />Author: Warner Losh <imp@FreeBSD.org&= gt;<br />Date: Mon Oct 14 15:58:10 2024 -0600</p> <p style=3D"padding-left: 40px;"> uart: uart_getenv: check for= NULL class last, not first</p> <p style=3D"padding-left: 40px;"> This allows one to specify d= t:XXXX when the default class isn't compiled<br /> into the ke= rnel. It's not an error to not have a class until we're done<br /> &n= bsp; parsing the spec, so defer checking until then.</p> <p style=3D"padding-left: 40px;"> Sponsored by: = Netflix<br /> Reviewed by: = adrian, andrew, markj<br /> Differe= ntial Revision: https://reviews.freebsd.org/D47078</p> <p style=3D"padding-left: 40px;"> sys/dev/uart/uart_subr.c | 14 ++++++= +-------<br /> 1 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> <p>Bye,<br />Alexander.</p> <div id=3D"v1_rc_sig">-- <br /> <div class=3D"v1pre"><a href=3D"http://www.Leidinger.net" target=3D"_blank"= rel=3D"noopener noreferrer">http://www.Leidinger.net</a> <a href=3D"#NOP">= Alexander@Leidinger.net:</a> PGP 0x8F31830F9F2772BF<br /><a href=3D"http://= www.FreeBSD.org" target=3D"_blank" rel=3D"noopener noreferrer">http://www.F= reeBSD.org</a> <a href=3D"mailto:netchild@FreeBSD.org" rel=3D"= noreferrer">netchild@FreeBSD.org</a> : PGP 0x8F31830F9F2772BF</div> </div> </div> </body></html> --=_10124cbb036f15e80b76e9b0def799e4-- --=_e277f5c271432920d6c950fa8c55c57b Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc; size=833 Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEER9UlYXp1PSd08nWXEg2wmwP42IYFAmcrVcwACgkQEg2wmwP4 2IbOYg/9GTUrOb/+HuNYpItCnbpobhNJCH5uTQBaqOxqWC02OpvBYwZnNdaUEyLK Xa7IGRuAh2IC5ufQ862sfukNTUJUR5xt1A+O9vTr60v1feI9XfgiYor+CkDQoJP9 cfYJ07jiGKRpMNuZ8ykUI3BFfDzve8TzMfK/h+zkzr5xneooomO+Z2cznMetfjxK VZ7i1ikIo4Dla8ZHl23/BCp+bPHA2XCNizvVQXDQlxUiVNLS0G6LASYKIWUSuprN 5HvIrPr51DSehXJ6/qVnBXJkcEv8XM0Gws7601fnuYUeKAIOZBJfnZiY3dxx39Gt yq/d11rD+tp27YP8CY14P1vCIou61GvI1zHmwwi29ezSKobaH08AScCp6EUVcJEk DuP3z2z7jH0hpDhsNGLmlhU2imfezdx/AQu/YWNcEWpgk48wV15x6/TMCZmZMYzu 9cpXcEGHF8dsnShZy4vDQgeNIiXiD6pjbS4lNLg00KM6ocEgOhUQ8+bxOeLbB66H CmS2zVBZV/aWJUNJ5iDhqQfkFHzvmI9SBicyK/9fIiCXjYFcSqPpuonxE8GKoSA3 m3gg1tVq4xST4Zk5dVZFdDtd4tW03XZ+97qu43J4sd0BkmWtdTFfRlRFMlLwt09Q u5VPkuQRbwLf0miOFhPm0AV7b/7F3P4hBOdTv2jWPstU+VSSDXM= =Nh3/ -----END PGP SIGNATURE----- --=_e277f5c271432920d6c950fa8c55c57b--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a007694a811d1daa48703236b3eba007>