Date: Mon, 5 Dec 2022 14:11:06 -0700 From: Warner Losh <imp@bsdimp.com> To: hiroo.ono+freebsd@gmail.com Cc: "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org> Subject: Re: Succeeded to boot on Lenovo Yoga C630 Message-ID: <CANCZdfr22MLaH6bWvHyvhqZmVTcrmX3LZFq2B2Ma6oSRR0JZmQ@mail.gmail.com> In-Reply-To: <CANtk6SgUoqC_Jgdtu=CZnFvnLzqP445MQqfwhV5%2BBgX_%2BVFUZA@mail.gmail.com> References: <CANtk6SgUoqC_Jgdtu=CZnFvnLzqP445MQqfwhV5%2BBgX_%2BVFUZA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000e12dfa05ef1b23a9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Dec 5, 2022, 10:40 AM Hiroo Ono (=E5=B0=8F=E9=87=8E=E5=AF=9B=E7=94= =9F) <hiroo.ono+freebsd@gmail.com> wrote: > Hello, > > I cannot find the original mail in my mailbox, but it is continued > from this mail. > > https://freebsd-arm.freebsd.narkive.com/dBBAi0yX/loader-efi-does-not-boot= -on-lenovo-yoga-c630 > > FreeBSD's bootaa64.efi that is distributed officially does not boot on > Lenovo Yoga C630. > OpenBSD 7.2's bootaa64.efi booted fine on Yoga C630, so I merged > OpenBSD's start.S and ldscript.arm64. > boot1.efi booted fine, but loader_lua.efi still needed to be tweaked. > > It seems that probing on serial console freezes the loader. > Commenting out serialconsole made the loader_lua.efi to boot the kernel. > And then, the kernel stopped and complained that it cannot find the > device tree blob. > > So my questions are: > 1. Can I disable loader from probing comconsole by some configuration? > (without tweaking the source.) > 2. How should I make the loader or kernel to find the dtb file? > There are some BIOSes that hate our serial code. So far it has just been in the cloud. But I'd just disable serial to confirm it's the same problem. Also, the kernel is weird with both DTB and ACPI right now. You have to pick one and it defaults to dtb... and I have systems that require manually setting this to ACPI. Warner Thank you. > > Hiroo Ono > > --000000000000e12dfa05ef1b23a9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"auto"><div><br><br><div class=3D"gmail_quote"><div dir=3D"ltr" = class=3D"gmail_attr">On Mon, Dec 5, 2022, 10:40 AM Hiroo Ono (=E5=B0=8F=E9= =87=8E=E5=AF=9B=E7=94=9F) <<a href=3D"mailto:hiroo.ono%2Bfreebsd@gmail.c= om">hiroo.ono+freebsd@gmail.com</a>> wrote:<br></div><blockquote class= =3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd= ing-left:1ex">Hello,<br> <br> I cannot find the original mail in my mailbox, but it is continued<br> from this mail.<br> <a href=3D"https://freebsd-arm.freebsd.narkive.com/dBBAi0yX/loader-efi-does= -not-boot-on-lenovo-yoga-c630" rel=3D"noreferrer noreferrer" target=3D"_bla= nk">https://freebsd-arm.freebsd.narkive.com/dBBAi0yX/loader-efi-does-not-bo= ot-on-lenovo-yoga-c630</a><br> <br> FreeBSD's bootaa64.efi that is distributed officially does not boot on<= br> Lenovo Yoga C630.<br> OpenBSD 7.2's bootaa64.efi booted fine on Yoga C630, so I merged<br> OpenBSD's start.S and ldscript.arm64.<br> boot1.efi booted fine, but loader_lua.efi still needed to be tweaked.<br> <br> It seems that probing on serial console freezes the loader.<br> Commenting out serialconsole made the loader_lua.efi to boot the kernel.<br= > And then, the kernel stopped and complained that it cannot find the<br> device tree blob.<br> <br> So my questions are:<br> 1. Can I disable loader from probing comconsole by some configuration?<br> (without tweaking the source.)<br> 2. How should I make the loader or kernel to find the dtb file?<br></blockq= uote></div></div><div dir=3D"auto"><br></div><div dir=3D"auto">There are so= me BIOSes that hate our serial code. So far it has just been in the cloud. = But I'd just disable serial to confirm it's the same problem.</div>= <div dir=3D"auto"><br></div><div dir=3D"auto">Also, the kernel is weird wit= h both DTB and ACPI right now. You have to pick one and it defaults to dtb.= .. and I have systems that require manually setting this to ACPI.</div><div= dir=3D"auto"><br></div><div dir=3D"auto">Warner=C2=A0</div><div dir=3D"aut= o"><br></div><div dir=3D"auto"><div class=3D"gmail_quote"><blockquote class= =3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd= ing-left:1ex"> Thank you.<br> <br> Hiroo Ono<br> <br> </blockquote></div></div></div> --000000000000e12dfa05ef1b23a9--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfr22MLaH6bWvHyvhqZmVTcrmX3LZFq2B2Ma6oSRR0JZmQ>