add the VGA BIOS. set the PCI IDs correctly. Set coreboot display init to none, and let SeaBIOS run the VBIOS.
Thanks, how to let SeaBIOS run the VBIOS? Do I need to set anything?
The VGA BIOS and the PCI IDs are set like this: [*] Add a VGA BIOS image │ (pci8086,0416.rom) VGA BIOS path and filename │ (8086,0416) VGA device PCI IDs
The 8086,0416 is set by the T440p's port maker I assume it should be right.
A this is my config: CONFIG_CCACHE=y CONFIG_USE_OPTION_TABLE=y CONFIG_USE_BLOBS=y CONFIG_VENDOR_LENOVO=y CONFIG_ONBOARD_VGA_IS_PRIMARY=y CONFIG_VGA_BIOS=y CONFIG_CBFS_SIZE=0x200000 CONFIG_IFD_BIN_PATH="/home/dalao/T440pCorebooting/ifd.bin" CONFIG_ME_BIN_PATH="/home/dalao/T440pCorebooting/me.bin" CONFIG_GBE_BIN_PATH="/home/dalao/T440pCorebooting/gbe.bin" CONFIG_HAVE_IFD_BIN=y CONFIG_BOARD_LENOVO_THINKPAD_T440P=y CONFIG_DRIVERS_PS2_KEYBOARD=y CONFIG_PCIEXP_L1_SUB_STATE=y CONFIG_HAVE_MRC=y CONFIG_MRC_FILE="/home/dalao/T440pCorebooting/mrc.bin" CONFIG_PCIEXP_CLK_PM=y CONFIG_HAVE_ME_BIN=y CONFIG_USE_ME_CLEANER=y CONFIG_HAVE_GBE_BIN=y
But i still can't see the archlinux's start screen... Mar 15, 2020, 10:08 by matt.devillier@gmail.com:
On Sat, Mar 14, 2020 at 8:33 PM Dalao via coreboot coreboot@coreboot.org wrote:
I have just corebooted T440p. Then I noticed some graphic display problems...
Firstly I "Use libgfxinit" with "Legacy VGA text mode", insert a usb disk with archlinux's latest install image iso. I can see a text mode of archlinux's start screen.
But when I hit enter, it shows some log till "Triggering uevents" and then there is no display...
Then I tried "Use libgfxinit" with "Linear "high-resolution" framebuffer". I can see the graphic mode of archlinux's start screen, but again after I hit enter and see some logs, there is no display... Also, the display is not ideal, just at the top left corner not full screen.
Also, under this setting, the nvramcui's display becomes bad.
unfortunately, many legacy bootloaders seem to assume a full array of VESA video modes will be available, and fail less than gracefully when that's not the case. With libgfxinit there is no ability to change video modes -- all that's available is either the native panel resolution (high resolution framebuffer) or VGA text mode.
Next I included pci8086,0416.rom vbios and tried "Run VGA Option ROMs" with "Legacy VGA text mode". This time, I can't see the archlinux start screen as shown above, there is no display at the beginning. But I can hit the enter blindly. Then after a while I can see archlinux is booting and the first line I can see is "Probing EDD (edd=off to disable)...ok" the archlinux starts ok.
Lastly I also tried "Run VGA Option ROMs" with "Set framebuffer graphics resolution" with the default "framebuffer graphics resolution (1024x768 16.8M-color (8:8:8))" (although my T440p's resolution is 1920x1080). Also the Framebuffer mode is changed to "VESA framebuffer". I still can't see archlinux's start screen...
How to make everything work like the vendor BIOS? i.e., I can see both the archlinux's start screen and it's booting.
add the VGA BIOS. set the PCI IDs correctly. Set coreboot display init to none, and let SeaBIOS run the VBIOS.
How to fix the nvramcui under "high-resolution" framebuffer"?
will work properly with above settings
Also, as for now it appears seabios can't boot UEFI media. Tianocore by default can't boot Linux/Windows installed by legacy method (installed when using seabios). my goal is to add UEFI support through tianocore as seabios payload (or through tianocore's CSM compatibility support module? ). So that it can boot both UEFI installed Windows or legacy installed Windows like the vendor bios can do. How to achieve this?
SeaBIOS is a legacy BIOS implementation, so no it can't boot UEFI boot media. Likewise, Tianocore is a pure UEFI implementation, and doesn't boot legacy boot media / legacy installed OSes. There should be a way to use SeaBIOS as a CSM for Tianocore, but currently it's not working / not implemented (I tried briefly awhile back but didn't have any luck).
Personally, given that it's 2020, I'd not bother with legacy-installed OSes (or SeaBIOS) outside of use with emulation or if a special use case demands it. Esp given that it's easy enough to migrate Windows from legacy to UEFI.
coreboot mailing list -- coreboot@coreboot.org To unsubscribe send an email to coreboot-leave@coreboot.org
coreboot mailing list -- coreboot@coreboot.org To unsubscribe send an email to coreboot-leave@coreboot.org