Date: Sat, 01 May 2021 12:32:04 +0900 From: Hiroo Ono <hiroo@oikumene.net> To: <freebsd-arm@freebsd.org> Subject: loader.efi does not boot on Lenovo Yoga C630 Message-ID: <bc65d6fe-753c-4c21-9316-4bc6ab817bda@oikumene.net>
next in thread | raw e-mail | index | archive | help
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. diff --git a/stand/efi/loader/efi_main.c b/stand/efi/loader/efi_main.c index fa3c765c3..f5174ec23 100644 --- a/stand/efi/loader/efi_main.c +++ b/stand/efi/loader/efi_main.c @@ -91,6 +91,10 @@ efi_main(EFI_HANDLE image_handle, EFI_SYSTEM_TABLE=20 *system_table) (void)console_control->SetMode(console_control, EfiConsoleControlScreenText); + status =3D ST->ConOut->TestString(ST->ConOut, (CHAR16 *)L"Test\r\n");= + if (status =3D=3D EFI_SUCCESS) + ST->ConOut->OutputString(ST->ConOut, (CHAR16=20 *)L"Test\r\n"); + heapsize =3D 64 * 1024 * 1024; status =3D BS->AllocatePages(AllocateAnyPages, EfiLoaderData, EFI_SIZE_TO_PAGES(heapsize), &heap); For other UEFI applications, grub2 works and UEFI Shell of EDK II does not=20= work. Is there anything I can do to let loader.efi run?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bc65d6fe-753c-4c21-9316-4bc6ab817bda>