Bug #604
openmb/hp: ProDesk 600 G1 SFF (Haswell / NPCD379) warm boot freezes
100%
Description
This board is still WIP code, see review.coreboot.org
Warm boots as in poweron after a previous successful shutdown will hang/freeze
boot after "NMI sources disabled" but before [DEBUG] LynxPoint H PM init?
However reboots and cold boots are not affected:
[INFO ] NMI sources disabled.
... #endless spew repeating following blocks
[NOTE ] coreboot-25.06-77-g812d0e2f626d-dirty Fri Jul 04 13:18:33 UTC 2025 x86_32 smm starting (log level: 7)...
[DEBUG] SMI_STS: GPE0
[DEBUG] GPE0_STS: PME_B0
[NOTE ] coreboot-25.06-77-g812d0e2f626d-dirty Fri Jul 04 13:18:33 UTC 2025 x86_32 smm starting (log level: 7)...
[DEBUG] SMI_STS: GPE0
[DEBUG] GPE0_STS: PME_B0
[NOTE ] coreboot-25.06-77-g812d0e2f626d-dirty Fri Jul 04 13:18:33 UTC 2025 x86_32 smm starting (log level: 7)...
[DEBUG] SMI_STS: GPE0
[DEBUG] GPE0_STS: PME_B0
... #system might never reach the following line as in freeze or is extreme slow, or hangs during booting OS
[DEBUG] LynxPoint H PM init
A shutdown before this failing warm boot looks like this coreboot log:
[NOTE ] coreboot-25.06-77-g812d0e2f626d-dirty Fri Jul 04 13:18:33 UTC 2025 x86_32 smm starting (log level: 7)...
[DEBUG] SMI_STS: PERIODIC SLP_SMI #<----------------------------------------bad shutdown warm boot will freeze
[DEBUG] SMI#: Entering S5 (Soft Power off)
Or like this also bad warm boot after this shutdown
[DEBUG] SMI_STS: SLP_SMI #<-------------------------------------------------also issue on warm boot
[DEBUG] SMI#: Entering S5 (Soft Power off)
A shutdown before a "correct" warm boot looks like this in coreboot log:
[NOTE ] coreboot-25.06-77-g812d0e2f626d-dirty Fri Jul 04 13:18:33 UTC 2025 x86_32 smm starting (log level: 7)...
[DEBUG] SMI_STS: GPE0 PM1
[DEBUG] PWRBTN GPE0_STS: PME_B0 #<------------- initiated with help of pressing power button
[NOTE ] coreboot-25.06-77-g812d0e2f626d-dirty Fri Jul 04 13:18:33 UTC 2025 x86_32 smm starting (log level: 7)...
[DEBUG] SMI_STS: GPE0 SLP_SMI #<------------------------------------------- good shutdown no warm reboot issues
[DEBUG] SMI#: Entering S5 (Soft Power off)
There might be a lot more to this but these are some differences I noticed related to SMI_STS: xxx SLP_SMI where xxx can be GPEO/empty/PERIODIC:
[DEBUG] SMI_STS: GPE0 SLP_SMI == warm boot okay (maybe because powerbutton shutdown?)
[DEBUG] SMI_STS: SLP_SMI
[DEBUG] SMI_STS: PERIODIC SLP_SMI
Any hints welcome, to unblock this port?
Files
Updated by Walter Sonius 4 days ago
Updated by Walter Sonius 2 days ago
- % Done changed from 0 to 100
Thanks to Angel Pons his hint to clear the whole register "gpe0_en_1" = "0x2146"
line in devicetree.cb
warm boots function correct!
More specific setting the first byte to 0 as in "0x0146" has the same effect of fixing warm boots. Shutdown, reboot and wakes are not affected and still function.