Project

General

Profile

Actions

Bug #604

open

mb/hp: ProDesk 600 G1 SFF (Haswell / NPCD379) warm boot freezes

Added by Walter Sonius 4 days ago. Updated 2 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
board support
Target version:
Start date:
07/30/2025
Due date:
% Done:

100%

Estimated time:
Affected versions:
Needs backport to:
Affected hardware:
Affected OS:

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

coldboot-fast-dblog.txt (53.1 KB) coldboot-fast-dblog.txt Walter Sonius, 07/30/2025 07:15 PM
coldboot-fast-nri-dblog.txt (58.5 KB) coldboot-fast-nri-dblog.txt Walter Sonius, 07/30/2025 07:15 PM
prodesk-600-g1-oem-autoport-logs.zip (648 KB) prodesk-600-g1-oem-autoport-logs.zip Walter Sonius, 07/30/2025 07:15 PM
warmboot-slow-dblog.txt (634 KB) warmboot-slow-dblog.txt Walter Sonius, 07/30/2025 07:15 PM
warmboot-slow-nri-dblog.txt (164 KB) warmboot-slow-nri-dblog.txt Walter Sonius, 07/30/2025 07:15 PM
pd600g1oemv265-npcd379-superiotool.log (4.49 KB) pd600g1oemv265-npcd379-superiotool.log superio npcd378 with help of patch 82627 Walter Sonius, 07/30/2025 07:26 PM
Actions #2

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.

Actions

Also available in: Atom PDF