Re: loader.efi does not boot on Lenovo Yoga C630
Hiroo Ono via freebsd-arm <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.arm |
|---|---|
| Message-ID | <[email protected]> |
Thank you. On 2021年5月1日土曜日 17時13分32秒 JST, Greg V wrote: > > On May 1, 2021 3:32:04 AM UTC, Hiroo Ono <[email protected]> wrote: >> Hello, >> >> I am trying to install FreeBSD/aarch64 to Lenovo Yoga C630 (81JL0012JP). >> It has Snapdragon 850 as the processor. >> >> 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/de3c440e8a54c201c527b85da7b89d58486ece4d > 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 += -mcmodel=small in stand/efi/loader/Makefile: LDFLAGS+= -Wl,-T${LDSCRIPT},-Bsymbolic,-znotext,-zcommon-page-size=0x1000 -pie But resulting loader_lua.efi and boot1.efi did not run. What else should I do? _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-arm To unsubscribe, send any mail to "[email protected]"