Hi folks,
For some reason, gfx wont init on Sandybridge P8H61-M PRO with i5-2500T on coreboot 4.9
Following a recommendation from Icon in coreboot IRC chat, the following debug was added to check the value of reg16
diff ../core2/src/northbridge/intel/sandybridge/early_init.c ./src/northbridge/intel/sandybridge/early_init.c 86c86 < ---
102a103
printk(BIOS_DEBUG, "%lx\n", (long)reg16);
The serial log shows
coreboot-4.9-1050-gebd8a4f90c-dirty Sat Mar 16 16:22:16 UTC 2019 romstage starting (log level: 7)... Setting up static southbridge registers... done. Disabling Watchdog reboot... done. Setting up static northbridge registers... done. ffff Graphics not supported by this CPU/chipset. Back from sandybridge_early_initialization()
lspci with manufacturers BIOS and linux shows the display controller at 00:02.0 as 8086:0102 . There are no other display controllers connected to the system.
Build log, defconfig, flash log and boot log are attached
Any pointers are greatly appreciated!
Thanks Hellsenberg in IRC chat. This resolves the issue and VGA lights now
$ diff ../core2/src/mainboard/asus/p8h61-m_pro/Kconfig src/mainboard/asus/p8h61-m_pro/Kconfig 24c24 < select NORTHBRIDGE_INTEL_IVYBRIDGE ---
select NORTHBRIDGE_INTEL_SANDYBRIDGE
$ make olddefconfig && make
On 17/03/2019 17:35, Simon Newton wrote:
Hi folks,
For some reason, gfx wont init on Sandybridge P8H61-M PRO with i5-2500T on coreboot 4.9
Following a recommendation from Icon in coreboot IRC chat, the following debug was added to check the value of reg16
diff ../core2/src/northbridge/intel/sandybridge/early_init.c ./src/northbridge/intel/sandybridge/early_init.c 86c86
<
102a103
printk(BIOS_DEBUG, "%lx\n", (long)reg16);
The serial log shows
coreboot-4.9-1050-gebd8a4f90c-dirty Sat Mar 16 16:22:16 UTC 2019 romstage starting (log level: 7)... Setting up static southbridge registers... done. Disabling Watchdog reboot... done. Setting up static northbridge registers... done. ffff Graphics not supported by this CPU/chipset. Back from sandybridge_early_initialization()
lspci with manufacturers BIOS and linux shows the display controller at 00:02.0 as 8086:0102 . There are no other display controllers connected to the system.
Build log, defconfig, flash log and boot log are attached
Any pointers are greatly appreciated!
Hello,
This is Hellsenberg from IRC.
On Sun, Mar 17, 2019, 18:53 Simon Newton <simon@simonnewton.com wrote:
Thanks Hellsenberg in IRC chat. This resolves the issue and VGA lights now
$ diff ../core2/src/mainboard/asus/p8h61-m_pro/Kconfig src/mainboard/asus/p8h61-m_pro/Kconfig 24c24
< select NORTHBRIDGE_INTEL_IVYBRIDGE
select NORTHBRIDGE_INTEL_SANDYBRIDGE
$ make olddefconfig && make
This change is needed because the northbridge setting (the "northbridge" is part of the CPU on SNB/IVB) must match the installed CPU for libgfxinit to work properly. This can be changed on any SNB/IVB board as well.
I hope the libgfxinit patches that fix this issue get merged soon, but for now this workaround will have to do.
Best regards,
Angel Pons