On Mon, Sep 12, 2016 at 07:11:41PM +0000, Peter Stuge wrote:
[...] It would be interesting to find out more about the state of the ME in this case. Maybe the cleared section isn't part of it's firmware, or maybe it really doesn't care, though that would surprise me.
The $FPT has pointers to various sections or handlers, it seems. I've experimented with clearing additional bits, from 0x3000 to 0x10000 with the same results. If I were really motivated I might binary search how much of the firmware it needs...
ME: Current Working State : Recovery ME: Current Operation State : Bring up ME: Current Operation Mode : Normal ME: Error Code : No Error ME: Progress Phase : BUP Phase
..
ME: Current Working State : Reset ME: Current Operation State : Preboot ME: Current Operation Mode : Normal ME: Error Code : No Error ME: Progress Phase : ROM Phase
How do the above change, if at all, with unchanged flash?
With the firmware partition table restored:
coreboot-4.4-1458-gae58906-heads Fri Sep 9 15:14:17 UTC 2016 romstage starting... Setting up static southbridge registers... done. Disabling Watchdog reboot... done. Setting up static northbridge registers... done. Initializing Graphics... Back from sandybridge_early_initialization() SMBus controller enabled. CPU id(306a9): Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz AES supported, TXT supported, VT supported PCH type: QM77, device id: 1e55, rev id 4 Intel ME early init Intel ME firmware is ready ME: Requested 32MB UMA Starting native Platform init
[...]
ME: FW Partition Table : OK ME: Bringup Loader Failure : NO ME: Firmware Init Complete : NO ME: Manufacturing Mode : NO ME: Boot Options Present : NO ME: Update In Progress : NO ME: Current Working State : Normal ME: Current Operation State : Bring up ME: Current Operation Mode : Normal ME: Error Code : No Error ME: Progress Phase : BUP Phase ME: Power Management Event : Clean Moff->Mx wake ME: Progress Phase State : Waiting for DID BIOS message ME: FWS2: 0x101f012c ME: Bist in progress: 0x0 ME: ICC Status : 0x2 ME: Invoke MEBx : 0x1 ME: CPU replaced : 0x0 ME: MBP ready : 0x1 ME: MFS failure : 0x0 ME: Warm reset req : 0x0 ME: CPU repl valid : 0x1 ME: (Reserved) : 0x0 ME: FW update req : 0x0 ME: (Reserved) : 0x0 ME: Current state : 0x1f ME: Current PM event: 0x0 ME: Progress code : 0x1 PASSED! Tell ME that DRAM is ready ME: FWS2: 0x102c012c ME: Bist in progress: 0x0 ME: ICC Status : 0x2 ME: Invoke MEBx : 0x1 ME: CPU replaced : 0x0 ME: MBP ready : 0x1 ME: MFS failure : 0x0 ME: Warm reset req : 0x0 ME: CPU repl valid : 0x1 ME: (Reserved) : 0x0 ME: FW update req : 0x0 ME: (Reserved) : 0x0 ME: Current state : 0x2c ME: Current PM event: 0x0 ME: Progress code : 0x1 ME: Requested BIOS Action: Continue to boot
[...]
PCI: 00:16.0 init ... ME: FW Partition Table : OK ME: Bringup Loader Failure : NO ME: Firmware Init Complete : NO ME: Manufacturing Mode : NO ME: Boot Options Present : NO ME: Update In Progress : NO ME: Current Working State : Normal ME: Current Operation State : M0 with UMA ME: Current Operation Mode : Normal ME: Error Code : No Error ME: Progress Phase : Host Communication ME: Power Management Event : Clean Moff->Mx wake ME: Progress Phase State : Host communication established ME: BIOS path: Normal ME: Extend SHA-256: 8c94cd28d87dc681a84d1609b718cb63f2bfd68e5ea89afeccc39e0a559269b2 ME: MBP item header 00020103 ME: MBP item header 00050102 ME: MBP item header 00020501 ME: MBP item header 00020201 ME: MBP item header 00020104 ME: unknown mbp item id 0x104! Skipping ME: MBP item header 02030101 ME: MBP item header 02060301 ME: MBP item header 02090401 ME: mbp read OK after 1 cycles ME: found version 8.1.30.1350 ME Capability: Full Network manageability : enabled ME Capability: Regular Network manageability : disabled ME Capability: Manageability : enabled ME Capability: Small business technology : disabled ME Capability: Level III manageability : disabled ME Capability: IntelR Anti-Theft (AT) : enabled ME Capability: IntelR Capability Licensing Service (CLS) : enabled ME Capability: IntelR Power Sharing Technology (MPC) : enabled ME Capability: ICC Over Clocking : enabled ME Capability: Protected Audio Video Path (PAVP) : enabled ME Capability: IPV6 : enabled ME Capability: KVM Remote Control (KVM) : enabled ME Capability: Outbreak Containment Heuristic (OCH) : disabled ME Capability: Virtual LAN (VLAN) : enabled ME Capability: TLS : enabled ME Capability: Wireless LAN (WLAN) : enabled PCI: 00:16.0 init finished in 6954 usecs
Full cbmem console logs are attached.