Date: Thu, 04 Feb 2021 21:28:00 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 253253] stable/13: efi boot always defaults to cons: serial Message-ID: <bug-253253-227-zEX1udxKKu@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-253253-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253253 --- Comment #5 from sirdice@gmail.com --- Did this: root@molly:/usr/src/stand/efi/loader # git diff diff --git a/stand/efi/loader/main.c b/stand/efi/loader/main.c index ca41cd4a261..9d81003acc4 100644 --- a/stand/efi/loader/main.c +++ b/stand/efi/loader/main.c @@ -735,6 +735,9 @@ parse_uefi_con_out(void) how = 0; sz = sizeof(buf); rv = efi_global_getenv("ConOut", buf, &sz); + if (rv != EFI_SUCCESS) { + rv = efi_global_getenv("ConOutDev", buf, &sz); + } if (rv != EFI_SUCCESS) { /* If we don't have any ConOut default to serial */ how = RB_SERIAL; Build is good. root@molly:/usr/src/stand/efi/loader # cp /usr/obj/usr/src/amd64.amd64/stand/efi/loader/loader_lua.efi /boot/efi/EFI/BOOT/bootx64.efi Then rebooted. Yes! That works. Cons: is now video by default. I even got the cool graphics loader :) -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253253-227-zEX1udxKKu>
