UEFI does not boot on real HW

From: Rozhuk Ivan <rozhuk.im_at_gmail.com>
Date: Thu, 7 Jan 2021 14:51:40 +0300
Hi!


I am trying to migrate from 12/stable to main_at_163f4f1573
and after system (world + kernel + bootloaders) update
UEFI does not work: it reads loader.conf, but a bit strange:
- logo is off - OK
- font colour does not change - not OK
then black screen, no connect via ssh, after h/w reset - no fsck run,
I assume that disk was not mounted.

UEFI loader shows console = serial, even if I disable serial - FAIL to boot.
Legacy loader console = Video - boot OK.


On VirtualBox UEFI uses console = Video, with all same configs - boot OK.
(graphics mode, never seen it before)
12/stable on same H/W and almost same configs boot using UEFI - boot OK
(console = Video, looks like text mode).


HW: APU A10-6700, 5600XT (display connected here).


I allready had try:

1. dd /dev/zero to efi part and run
/usr/src/tools/boot/install-boot.sh -b uefi -f ufs -s gpt ada0
to ensure that latest loader witout artifacts will be used;

2. Remove my loader.conf, loader.conf.local;

3. hw.vga.textmode=“0” - was set in my initial loader.conf;

4. If I copy userboot.so and userboot_lua.so from 12/stable
then UEFI boot OK, but show that console = serial and use
text mode.


My configs:
http://www.netlab.linkpc.net/download/software/os_cfg/FBSD/13/base/boot/loader.conf

http://www.netlab.linkpc.net/download/software/os_cfg/FBSD/13/wks/boot/loader.conf.local

http://www.netlab.linkpc.net/download/software/os_cfg/FBSD/13/base/etc/src.conf

Received on Thu Jan 07 2021 - 10:58:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:26 UTC