Hello,
I'm having an issue with coreboot and was wondering if someone could help me.
Starting up with coreboot and SeaBIOS, the screen is completely black for around 30 seconds before my on-disc bootloader (grub2) is loaded and displayed.
I'm assuming SeaBIOS counts down with some timer before launching the on-disc bootloader but I don't see anything.
I want to use coreboot in text-mode so I'm not including a VGA rom.
After the 30 seconds of blackness, my on-disc bootloader becomes visible.
According to lspci (attached), I have two VGA devices:
01:01.0 VGA compatible controller: ASPEED Technology, Inc. ASPEED Graphics Family (rev 10) -> Onboard VGA (Aspeed AST2050 8MB) 05:00.0 VGA compatible controller: NVIDIA Corporation GF110 [GeForce GTX 570] (rev a1) -> PCIe video card (EVGA GTX 570)
However it doesn't look like PCI device 05:00.0 is initialised in the SeaBIOS/cbmem console output: Show all devs... After init. Root Device: enabled 1 CPU_CLUSTER: 0: enabled 1 APIC: 00: enabled 1 DOMAIN: 0000: enabled 1 PCI: 00:18.0: enabled 1 PCI: 00:00.0: enabled 1 PCI: 00:00.1: enabled 0 PCI: 00:00.2: enabled 1 PCI: 00:02.0: enabled 1 PCI: 00:03.0: enabled 0 PCI: 00:04.0: enabled 1 PCI: 00:05.0: enabled 0 PCI: 00:06.0: enabled 0 PCI: 00:07.0: enabled 0 PCI: 00:08.0: enabled 0 PCI: 00:09.0: enabled 1 PCI: 00:0a.0: enabled 1 PCI: 00:0b.0: enabled 1 PCI: 00:0c.0: enabled 1 PCI: 00:0d.0: enabled 1 PCI: 00:11.0: enabled 1 PCI: 00:12.0: enabled 1 PCI: 00:12.1: enabled 1 PCI: 00:12.2: enabled 1 PCI: 00:13.0: enabled 1 PCI: 00:13.1: enabled 1 PCI: 00:13.2: enabled 1 PCI: 00:14.0: enabled 1 I2C: 01:50: enabled 1 I2C: 01:51: enabled 1 I2C: 01:52: enabled 1 I2C: 01:53: enabled 1 I2C: 01:54: enabled 1 I2C: 01:55: enabled 1 I2C: 01:56: enabled 1 I2C: 01:57: enabled 1 I2C: 01:2f: enabled 1 PCI: 00:14.1: enabled 1 PCI: 00:14.2: enabled 1 PCI: 00:14.3: enabled 1 PNP: 002e.0: enabled 0 PNP: 002e.1: enabled 0 PNP: 002e.2: enabled 1 PNP: 002e.3: enabled 1 PNP: 002e.5: enabled 1 PNP: 002e.106: enabled 0 PNP: 002e.107: enabled 0 PNP: 002e.207: enabled 0 PNP: 002e.307: enabled 0 PNP: 002e.407: enabled 0 PNP: 002e.8: enabled 0 PNP: 002e.108: enabled 0 PNP: 002e.9: enabled 0 PNP: 002e.109: enabled 0 PNP: 002e.209: enabled 0 PNP: 002e.309: enabled 0 PNP: 002e.a: enabled 1 PNP: 002e.b: enabled 1 PNP: 002e.c: enabled 0 PNP: 002e.d: enabled 0 PNP: 002e.f: enabled 0 PNP: 004e.0: enabled 1 PCI: 00:14.4: enabled 1 PCI: 08:01.0: enabled 1 PCI: 08:02.0: enabled 1 PCI: 08:03.0: enabled 1 PCI: 00:14.5: enabled 1 PCI: 00:18.1: enabled 1 PCI: 00:18.2: enabled 1 PCI: 00:18.3: enabled 1 PCI: 00:18.4: enabled 1 PCI: 00:18.5: enabled 1 PCI: 00:19.0: enabled 1 PCI: 00:19.1: enabled 1 PCI: 00:19.2: enabled 1 PCI: 00:19.3: enabled 1 PCI: 00:19.4: enabled 1 PCI: 00:19.5: enabled 1 PCI: 00:1a.0: enabled 1 PCI: 00:1a.1: enabled 1 PCI: 00:1a.2: enabled 1 PCI: 00:1a.3: enabled 1 PCI: 00:1a.4: enabled 1 PCI: 00:1a.5: enabled 1 PCI: 00:1b.0: enabled 1 PCI: 00:1b.1: enabled 1 PCI: 00:1b.2: enabled 1 PCI: 00:1b.3: enabled 1 PCI: 00:1b.4: enabled 1 PCI: 00:1b.5: enabled 1 APIC: 01: enabled 1 APIC: 02: enabled 1 APIC: 03: enabled 1 APIC: 04: enabled 1 APIC: 05: enabled 1 APIC: 06: enabled 1 APIC: 07: enabled 1 APIC: 08: enabled 1 APIC: 09: enabled 1 APIC: 0a: enabled 1 APIC: 0b: enabled 1 APIC: 0c: enabled 1 APIC: 0d: enabled 1 APIC: 0e: enabled 1 APIC: 0f: enabled 1 APIC: 20: enabled 1 APIC: 21: enabled 1 APIC: 22: enabled 1 APIC: 23: enabled 1 APIC: 24: enabled 1 APIC: 25: enabled 1 APIC: 26: enabled 1 APIC: 27: enabled 1 APIC: 28: enabled 1 APIC: 29: enabled 1 APIC: 2a: enabled 1 APIC: 2b: enabled 1 APIC: 2c: enabled 1 APIC: 2d: enabled 1 APIC: 2e: enabled 1 APIC: 2f: enabled 1 PCI: 01:00.0: enabled 1 PCI: 01:00.1: enabled 1 PCI: 03:00.0: enabled 1 PCI: 04:00.0: enabled 1 PCI: 07:00.0: enabled 1 PCI: 08:03.1: enabled 1 PCI: 08:03.2: enabled 1 ...
Instead, it looks like coreboot/SeaBIOS uses my onboard VGA according to the cbmem output. But it's using PCI device 08:01.0? I don't see this appearing in my lspci output. ... VGA: PCI: 00:18.0 (aka node 0) link 1 has VGA device ... PCI: 08:01.0 init ... ASpeed AST2050: initializing video device ast_detect_chip: AST 1100 detected ast_detect_chip: VGA not enabled on entry, requesting chip POST ast_detect_chip: Analog VGA only ast_driver_load: dram 1068000000 0 32 00800000 ASpeed VGA text mode initialized PCI: 08:01.0 init finished in 33171 usecs ... Scan for VGA option rom Running option rom at c000:0003 Turning on vga text mode console SeaBIOS (version rel-1.11.0-4-g844b864) ...
Could this be an issue with my config files? I've attached the coreboot and SeaBIOS config files I used.
I got the SeaBIOS config from the last tested commit on the Supported Motherboards page: https://www.coreboot.org/Supported_Motherboards#asus.2Fkgpe-d16
https://review.coreboot.org/cgit/board-status.git/tree/asus/kgpe-d16/4.6-112...
My coreboot VGA related options are as follows:
CONFIG_VGA_BIOS_ID="1a03,2000" # CONFIG_ONBOARD_VGA_IS_PRIMARY is not set # CONFIG_VGA_BIOS is not set CONFIG_MAINBOARD_HAS_NATIVE_VGA_INIT=y CONFIG_MAINBOARD_FORCE_NATIVE_VGA_INIT=y CONFIG_MAINBOARD_DO_NATIVE_VGA_INIT=y # CONFIG_MULTIPLE_VGA_ADAPTERS is not set CONFIG_VGA=y
And my SeaBIOS VGA related options are:
CONFIG_VGAHOOKS=y # VGA ROM CONFIG_NO_VGABIOS=y # CONFIG_VGA_GEODEGX2 is not set # CONFIG_VGA_GEODELX is not set # CONFIG_VGA_COREBOOT is not set # CONFIG_BUILD_VGABIOS is not set CONFIG_VGA_EXTRA_STACK_SIZE=512
System info:
- Coreboot commit: https://review.coreboot.org/cgit/coreboot.git/commit/?id=3f09b0ffef990286ecc... (from last tested commit on Supported Motherboards page)
- SeaBIOS version: rel-1.11.0-4-g844b864
- Motherboard: Asus KGPE-D16
- CPU: 2x AMD Opteron 6272 (2.1 GHz) - Memory: 16x 4 GB = 64 GB Corsair DDR3-1600 SDRAM (CMZ32GX3M8X1600C9) - Video: PCIe EVGA GeForce GTX 570 (128MB)
- Onboard VGA: Aspeed AST2050 (8MB) -> disabled
- Disconnected the ASMB4/KVM/BMC module.
Memory configurations tried per the manual configurations. (does this matter? wouldn't I not be able to boot to my Disc OS if these weren't supported?)
- 16 x 4 GB = 64 GB @ all slots
- 8x 4 GB = 32 GB @ A2, B2, C2, D2, E2, F2, G2, H2 - 6x 4 GB = 24 GB @ A2, B2, C2, E2, F2, G2 - 4x 4 GB = 16 GB @ A2, C2, E2, G2 - 2x 4 GB = 8 GB @ A2, E2
Sorry for the information dump. I'm a bit lost here and want to cover all my bases.
Regards, - Daniel K.