Date: Mon, 03 May 2021 07:23:15 +0900 From: Hiroo Ono <hiroo@oikumene.net> To: Greg V <greg@unrelenting.technology> Cc: <freebsd-arm@freebsd.org> Subject: Re: loader.efi does not boot on Lenovo Yoga C630 Message-ID: <6fbe3662-d8f6-48ac-b4de-80bcc3f16a39@oikumene.net> In-Reply-To: <EB9B0A6F-3DAD-4580-935F-7D3772F9FFBE@unrelenting.technology> References: <bc65d6fe-753c-4c21-9316-4bc6ab817bda@oikumene.net> <EB9B0A6F-3DAD-4580-935F-7D3772F9FFBE@unrelenting.technology>
next in thread | previous in thread | raw e-mail | index | archive | help
Thank you. On 2021=E5=B9=B45=E6=9C=881=E6=97=A5=E5=9C=9F=E6=9B=9C=E6=97=A5 17=E6=99=8213= =E5=88=8632=E7=A7=92 JST, Greg V wrote: > > On May 1, 2021 3:32:04 AM UTC, Hiroo Ono <hiroo@oikumene.net> wrote: >> Hello, >>=20 >> I am trying to install FreeBSD/aarch64 to Lenovo Yoga C630 (81JL0012JP). >> It has Snapdragon 850 as the processor. >>=20 >> I tried the 13.0R image, the UEFI BIOS recognizes the EFI partition, >> but loader.efi does not start at all. The screen stays blank. >> I added the following code to efi_main(), but still there is no text >> output. > > Qualcomm firmware has an alignment requirement, see > > https://lists.gnu.org/archive/html/grub-devel/2018-12/msg00055.html > https://github.com/tianocore/edk2/commit/de3c440e8a54c201c527b85da7b89d5848= 6ece4d > I understand what needs to be done, but I still do not know how to do it. I changed the following: in stand/defs.mk: CFLAGS.clang +=3D -mcmodel=3Dsmall in stand/efi/loader/Makefile: LDFLAGS+=3D =20 -Wl,-T${LDSCRIPT},-Bsymbolic,-znotext,-zcommon-page-size=3D0x1000 -pie But resulting loader_lua.efi and boot1.efi did not run. What else should I do?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6fbe3662-d8f6-48ac-b4de-80bcc3f16a39>