Jump to content

hwtools for Mavericks and better, DirectHW for macOS Big Sur, superiotool, mptable, osxpmem, iwleeprom, ectool, msrtool, ifdtool, inteltool, nvramtool, pciutils-3.7.0 and Flashrom-1.2


Andy Vandijck
 Share

21 posts in this topic

Recommended Posts

I updated DirectHW and pciutils-3.7.0 for macOS Big Sur.

 

It has 4 PCI accessor methods:

- default: darwin accessor, requires boot arg debug=0x144 & run as root.

- intel-conf1: DirectHW accessor 1, requires root

- intel-conf2: DirectHW accessor 2, requires root

- dump: read from dump file

* You can set these with the -A flag.

 

DirectHW for macOS Big Sur repo:

https://github.com/vampirecat35/DirectHW-BigSur

 

pciutis-3.7.0 for macOS Big Sur repo:

https://github.com/vampirecat35/pciutils-osx

 

Flashrom-1.2 for macOS Big Sur repo:

https://github.com/vampirecat35/flashrom-osx

 

iwleeprom for macOS Big Sur repo:

https://github.com/vampirecat35/iwleeprom-osx

 

ectool, msrtool, inteltool, ifdtool, superiotool, mptable, osxpmem and nvramtool repo:

https://github.com/vampirecat35/hwtools-osx

 

ECTool for macOS:

Tool to read embedded controller info.

 

nvramtool for macOS:

Tool for nvram info.

 

inteltool for macOS:

Intel CPU/chipset info.

 

msrtool for macOS:

Model Specific Register info.

 

iwleeprom for macOS:

Flashing and reading Intel ROM and Atheros ROM to WiFi card.

 

EDIT: Built a version for Mac OS X 10.9 and above.

It targets Xcode's minimum deployment target (10.9)

It's bundled inside the hwtools zip file.

DirectHW for older targets also attached now (DirectHW-macOS).

Also replaced hwtools zip file (fix kext).

 

EDIT2: Fixed nvramtool for macOS.

Changed /dev/mem to /dev/pmem for Apple.

Needs MacPmem.kext (included in hwtools zip file).

 

EDIT3: Added new AMD+Intel CPU models to msrtool.

Added AMD family 16 and 17.

Added Intel *lake cpu models.

Added sandy bridge cpu models.

 

EDIT4: Fixed nvramtool.

EDIT5: Added superior-tool and ifdtool.

EDIT6: iwleeprom fixes.

EDIT7: New approach to iwleeprom.

 

pciutils-3.7.0-osx.zip

DirectHW-BigSur.zip

flashrom-v1.2-osx.zip

ectool-osx.zip

inteltool-osx.zip

 

DirectHW-macOS.zip

msrtool-osx.zip

nvramtool-osx.zip

OSXPMem.zip

mptable-osx.zip

superiotool-osx.zip

ifdtool-osx.zip

 

iwleeprom-osx.zip hwtools-osx-10.9-and-above.zip

Edited by Andy Vandijck
  • Like 10
  • Thanks 5
Link to comment
Share on other sites

  • Andy Vandijck changed the title to DirectHW for macOS Big Sur, pciutils-3.7.0 and Flashrom-1.2

PCI Utilities output with debug argument 0x144 set and darwin accessor output:

00:00.0 Host bridge: Intel Corporation Broadwell-U Host Bridge -OPI (rev 09)
	Subsystem: Apple Inc. Device 011b
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx-
	Latency: 0
	Capabilities: [e0] Vendor Specific Information: Len=0c <?>

00:02.0 VGA compatible controller: Intel Corporation HD Graphics 6000 (rev 09) (prog-if 00 [VGA controller])
	Subsystem: Apple Inc. Device 011b
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 16
	Region 0: Memory at 7fa0000000 (64-bit, non-prefetchable)
	Region 2: Memory at 7f90000000 (64-bit, prefetchable)
	Region 4: I/O ports at 3000
	Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
		Address: fee00e58  Data: 0000
	Capabilities: [d0] Power Management version 2
		Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [a4] PCI Advanced Features
		AFCap: TP+ FLR+
		AFCtrl: FLR-
		AFStatus: TP-

00:03.0 Audio device: Intel Corporation Broadwell-U Audio Controller (rev 09)
	Subsystem: Apple Inc. Device 011b
	Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Interrupt: pin A routed to IRQ 16
	Region 0: Memory at 7fa1014000 (64-bit, non-prefetchable)
	Capabilities: [50] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit-
		Address: fee00e78  Data: 0000
	Capabilities: [70] Express (v1) Root Complex Integrated Endpoint, MSI 00
		DevCap:	MaxPayload 128 bytes, PhantFunc 0
			ExtTag- RBE- FLReset+
		DevCtl:	CorrErr- NonFatalErr- FatalErr- UnsupReq-
			RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+ FLReset-
			MaxPayload 128 bytes, MaxReadReq 128 bytes
		DevSta:	CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr- TransPend-

00:14.0 USB controller: Intel Corporation Wildcat Point-LP USB xHCI Controller (rev 03) (prog-if 30 [XHCI])
	Subsystem: Intel Corporation Device 7270
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 16
	Region 0: Memory at 7fa1000000 (64-bit, non-prefetchable)
	Capabilities: [70] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0-,D1-,D2-,D3hot+,D3cold+)
		Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
		Address: 00000000fee00e98  Data: 0000

00:15.0 DMA controller: Intel Corporation Wildcat Point-LP Serial IO DMA Controller (rev 03) (prog-if 02 [EISA DMA])
	Subsystem: Intel Corporation Wildcat Point-LP Serial IO DMA Controller
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 256 bytes
	Interrupt: pin B routed to IRQ 20
	Region 0: Memory at c161a000 (32-bit, non-prefetchable)
	Capabilities: [80] Power Management version 3
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-

00:15.4 Serial bus controller [0c80]: Intel Corporation Wildcat Point-LP Serial IO GSPI Controller #1 (rev 03)
	Subsystem: Intel Corporation Wildcat Point-LP Serial IO GSPI Controller #1
	Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Interrupt: pin C routed to IRQ 21
	Region 0: Memory at c1619000 (32-bit, non-prefetchable)
	Capabilities: [80] Power Management version 3
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-

00:16.0 Communication controller: Intel Corporation Wildcat Point-LP MEI Controller #1 (rev 03)
	Subsystem: Intel Corporation Device 7270
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 16
	Region 0: Memory at 7fa1019100 (64-bit, non-prefetchable)
	Capabilities: [50] Power Management version 3
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
		Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [8c] MSI: Enable+ Count=1/1 Maskable- 64bit+
		Address: 00000000fee00eb8  Data: 0000

00:1b.0 Audio device: Intel Corporation Wildcat Point-LP High Definition Audio Controller (rev 03)
	Subsystem: Intel Corporation Device 7270
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 64, Cache Line Size: 256 bytes
	Interrupt: pin A routed to IRQ 22
	Region 0: Memory at 7fa1010000 (64-bit, non-prefetchable)
	Capabilities: [50] Power Management version 3
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
		Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
		Address: 00000000fee00ed8  Data: 0000

00:1c.0 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #1 (rev e3) (prog-if 00 [Normal decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 256 bytes
	Interrupt: pin A routed to IRQ 16
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	I/O behind bridge: 0000f000-00000fff [disabled]
	Memory behind bridge: fff00000-000fffff [disabled]
	Prefetchable memory behind bridge: fffffffffff00000-00000000000fffff [disabled]
	Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
	BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16- MAbort- >Reset- FastB2B-
		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
	Capabilities: [40] Express (v2) Root Port (Slot-), MSI 00
		DevCap:	MaxPayload 128 bytes, PhantFunc 0
			ExtTag- RBE+
		DevCtl:	CorrErr- NonFatalErr- FatalErr- UnsupReq-
			RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
			MaxPayload 128 bytes, MaxReadReq 128 bytes
		DevSta:	CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr+ TransPend-
		LnkCap:	Port #1, Speed 5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <1us, L1 <4us
			ClockPM- Surprise- LLActRep+ BwNot+ ASPMOptComp-
		LnkCtl:	ASPM Disabled; RCB 64 bytes, Disabled- CommClk-
			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
		LnkSta:	Speed 2.5GT/s (downgraded), Width x0 (downgraded)
			TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
		RootCap: CRSVisible-
		RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna- CRSVisible-
		RootSta: PME ReqID 0000, PMEStatus- PMEPending-
		DevCap2: Completion Timeout: Range ABC, TimeoutDis+ NROPrPrP- LTR+
			 10BitTagComp- 10BitTagReq- OBFF Via WAKE#, ExtFmt- EETLPPrefix-
			 EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-
			 FRS- LN System CLS Not Supported, TPHComp- ExtTPHComp- ARIFwd-
			 AtomicOpsCap: Routing- 32bit- 64bit- 128bitCAS-
		DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR+ OBFF Disabled, ARIFwd-
			 AtomicOpsCtl: ReqEn- EgressBlck-
		LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-
			 Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
			 Compliance De-emphasis: -6dB
		LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete- EqualizationPhase1-
			 EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest-
			 Retimer- 2Retimers- CrosslinkRes: unsupported
	Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
		Address: 00000000  Data: 0000
	Capabilities: [90] Subsystem: Intel Corporation Device 7270
	Capabilities: [a0] Power Management version 3
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
		Status: D3 NoSoftRst+ PME-Enable+ DSel=0 DScale=0 PME-

## 00:1c.0 is a bridge from 00 to 01-01
00:1c.1 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #2 (rev e3) (prog-if 00 [Normal decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 256 bytes
	Interrupt: pin B routed to IRQ 17
	Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
	I/O behind bridge: 0000f000-00000fff [disabled]
	Memory behind bridge: c1400000-c15fffff [size=2M]
	Prefetchable memory behind bridge: 0000007f80000000-0000007f8fffffff [size=256M]
	Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
	BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16- MAbort- >Reset- FastB2B-
		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
	Capabilities: [40] Express (v2) Root Port (Slot+), MSI 00
		DevCap:	MaxPayload 128 bytes, PhantFunc 0
			ExtTag- RBE+
		DevCtl:	CorrErr- NonFatalErr+ FatalErr+ UnsupReq+
			RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
			MaxPayload 128 bytes, MaxReadReq 128 bytes
		DevSta:	CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr+ TransPend-
		LnkCap:	Port #2, Speed 5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <512ns, L1 <16us
			ClockPM- Surprise- LLActRep+ BwNot+ ASPMOptComp-
		LnkCtl:	ASPM Disabled; RCB 64 bytes, Disabled- CommClk+
			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
		LnkSta:	Speed 5GT/s (ok), Width x1 (ok)
			TrErr- Train- SlotClk+ DLActive+ BWMgmt- ABWMgmt-
		SltCap:	AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug- Surprise-
			Slot #1, PowerLimit 10.000W; Interlock- NoCompl+
		SltCtl:	Enable: AttnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq- LinkChg-
			Control: AttnInd Unknown, PwrInd Unknown, Power- Interlock-
		SltSta:	Status: AttnBtn- PowerFlt- MRL- CmdCplt- PresDet+ Interlock-
			Changed: MRL- PresDet+ LinkState+
		RootCap: CRSVisible-
		RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna- CRSVisible-
		RootSta: PME ReqID 0000, PMEStatus- PMEPending-
		DevCap2: Completion Timeout: Range ABC, TimeoutDis+ NROPrPrP- LTR+
			 10BitTagComp- 10BitTagReq- OBFF Not Supported, ExtFmt- EETLPPrefix-
			 EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-
			 FRS- LN System CLS Not Supported, TPHComp- ExtTPHComp- ARIFwd-
			 AtomicOpsCap: Routing- 32bit- 64bit- 128bitCAS-
		DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR+ OBFF Disabled, ARIFwd-
			 AtomicOpsCtl: ReqEn- EgressBlck-
		LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-
			 Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
			 Compliance De-emphasis: -6dB
		LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete- EqualizationPhase1-
			 EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest-
			 Retimer- 2Retimers- CrosslinkRes: unsupported
	Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
		Address: 00000000  Data: 0000
	Capabilities: [90] Subsystem: Intel Corporation Device 7270
	Capabilities: [a0] Power Management version 3
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
		Status: D3 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [100 v0] Null
	Capabilities: [200 v1] L1 PM Substates
		L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+
			  PortCommonModeRestoreTime=40us PortTPowerOnTime=10us
		L1SubCtl1: PCI-PM_L1.2- PCI-PM_L1.1- ASPM_L1.2- ASPM_L1.1-
			   T_CommonMode=0us LTR1.2_Threshold=0ns
		L1SubCtl2: T_PwrOn=10us

## 00:1c.1 is a bridge from 00 to 02-02
00:1c.2 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #3 (rev e3) (prog-if 00 [Normal decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 256 bytes
	Interrupt: pin C routed to IRQ 18
	Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
	I/O behind bridge: 0000f000-00000fff [disabled]
	Memory behind bridge: c1000000-c12fffff [size=3M]
	Prefetchable memory behind bridge: fffffffffff00000-00000000000fffff [disabled]
	Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
	BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16- MAbort- >Reset- FastB2B-
		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
	Capabilities: [40] Express (v2) Root Port (Slot+), MSI 00
		DevCap:	MaxPayload 128 bytes, PhantFunc 0
			ExtTag- RBE+
		DevCtl:	CorrErr- NonFatalErr+ FatalErr+ UnsupReq+
			RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
			MaxPayload 128 bytes, MaxReadReq 128 bytes
		DevSta:	CorrErr+ NonFatalErr- FatalErr- UnsupReq- AuxPwr+ TransPend-
		LnkCap:	Port #3, Speed 5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <512ns, L1 <16us
			ClockPM- Surprise- LLActRep+ BwNot+ ASPMOptComp-
		LnkCtl:	ASPM L0s L1 Enabled; RCB 64 bytes, Disabled- CommClk+
			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
		LnkSta:	Speed 2.5GT/s (downgraded), Width x1 (ok)
			TrErr- Train- SlotClk+ DLActive+ BWMgmt+ ABWMgmt-
		SltCap:	AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug- Surprise-
			Slot #2, PowerLimit 10.000W; Interlock- NoCompl+
		SltCtl:	Enable: AttnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq- LinkChg-
			Control: AttnInd Unknown, PwrInd Unknown, Power- Interlock-
		SltSta:	Status: AttnBtn- PowerFlt- MRL- CmdCplt- PresDet+ Interlock-
			Changed: MRL- PresDet- LinkState-
		RootCap: CRSVisible-
		RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna- CRSVisible-
		RootSta: PME ReqID 0000, PMEStatus- PMEPending-
		DevCap2: Completion Timeout: Range ABC, TimeoutDis+ NROPrPrP- LTR+
			 10BitTagComp- 10BitTagReq- OBFF Not Supported, ExtFmt- EETLPPrefix-
			 EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-
			 FRS- LN System CLS Not Supported, TPHComp- ExtTPHComp- ARIFwd-
			 AtomicOpsCap: Routing- 32bit- 64bit- 128bitCAS-
		DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR+ OBFF Disabled, ARIFwd-
			 AtomicOpsCtl: ReqEn- EgressBlck-
		LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-
			 Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
			 Compliance De-emphasis: -6dB
		LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete- EqualizationPhase1-
			 EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest-
			 Retimer- 2Retimers- CrosslinkRes: unsupported
	Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
		Address: 00000000  Data: 0000
	Capabilities: [90] Subsystem: Intel Corporation Device 7270
	Capabilities: [a0] Power Management version 3
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
		Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [100 v0] Null
	Capabilities: [200 v1] L1 PM Substates
		L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+
			  PortCommonModeRestoreTime=40us PortTPowerOnTime=10us
		L1SubCtl1: PCI-PM_L1.2- PCI-PM_L1.1- ASPM_L1.2- ASPM_L1.1-
			   T_CommonMode=0us LTR1.2_Threshold=0ns
		L1SubCtl2: T_PwrOn=10us

## 00:1c.2 is a bridge from 00 to 03-03
00:1c.4 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #5 (rev e3) (prog-if 00 [Normal decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 256 bytes
	Interrupt: pin A routed to IRQ 16
	Bus: primary=00, secondary=05, subordinate=ff, sec-latency=0
	I/O behind bridge: 00004000-0000dfff [size=40K]
	Memory behind bridge: c1700000-dfffffff [size=489M]
	Prefetchable memory behind bridge: 0000007fa1100000-0000007fffffffff [size=1519M]
	Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
	BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16- MAbort- >Reset- FastB2B-
		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
	Capabilities: [40] Express (v2) Root Port (Slot+), MSI 00
		DevCap:	MaxPayload 128 bytes, PhantFunc 0
			ExtTag- RBE+
		DevCtl:	CorrErr- NonFatalErr+ FatalErr+ UnsupReq+
			RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
			MaxPayload 128 bytes, MaxReadReq 128 bytes
		DevSta:	CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr+ TransPend-
		LnkCap:	Port #5, Speed 5GT/s, Width x4, ASPM L0s L1, Exit Latency L0s <1us, L1 <16us
			ClockPM- Surprise- LLActRep+ BwNot+ ASPMOptComp-
		LnkCtl:	ASPM Disabled; RCB 64 bytes, Disabled+ CommClk-
			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
		LnkSta:	Speed 5GT/s (ok), Width x4 (ok)
			TrErr- Train- SlotClk+ DLActive- BWMgmt+ ABWMgmt-
		SltCap:	AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug- Surprise-
			Slot #4, PowerLimit 25.000W; Interlock- NoCompl+
		SltCtl:	Enable: AttnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq- LinkChg-
			Control: AttnInd Unknown, PwrInd Unknown, Power- Interlock-
		SltSta:	Status: AttnBtn- PowerFlt- MRL- CmdCplt- PresDet+ Interlock-
			Changed: MRL- PresDet- LinkState+
		RootCap: CRSVisible-
		RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna- CRSVisible-
		RootSta: PME ReqID 0000, PMEStatus- PMEPending-
		DevCap2: Completion Timeout: Range ABC, TimeoutDis+ NROPrPrP- LTR+
			 10BitTagComp- 10BitTagReq- OBFF Not Supported, ExtFmt- EETLPPrefix-
			 EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-
			 FRS- LN System CLS Not Supported, TPHComp- ExtTPHComp- ARIFwd-
			 AtomicOpsCap: Routing- 32bit- 64bit- 128bitCAS-
		DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR- OBFF Disabled, ARIFwd-
			 AtomicOpsCtl: ReqEn- EgressBlck-
		LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-
			 Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
			 Compliance De-emphasis: -6dB
		LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete- EqualizationPhase1-
			 EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest-
			 Retimer- 2Retimers- CrosslinkRes: unsupported
	Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
		Address: 00000000  Data: 0000
	Capabilities: [90] Subsystem: Intel Corporation Device 7270
	Capabilities: [a0] Power Management version 3
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
		Status: D3 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [100 v0] Null
	Capabilities: [200 v1] L1 PM Substates
		L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+
			  PortCommonModeRestoreTime=40us PortTPowerOnTime=10us
		L1SubCtl1: PCI-PM_L1.2- PCI-PM_L1.1- ASPM_L1.2- ASPM_L1.1-
			   T_CommonMode=0us LTR1.2_Threshold=0ns
		L1SubCtl2: T_PwrOn=0us

## 00:1c.4 is a bridge from 00 to 05-ff
00:1c.5 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #6 (rev e3) (prog-if 00 [Normal decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 256 bytes
	Interrupt: pin B routed to IRQ 17
	Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
	I/O behind bridge: 0000f000-00000fff [disabled]
	Memory behind bridge: c1300000-c13fffff [size=1M]
	Prefetchable memory behind bridge: fffffffffff00000-00000000000fffff [disabled]
	Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
	BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16- MAbort- >Reset- FastB2B-
		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
	Capabilities: [40] Express (v2) Root Port (Slot+), MSI 00
		DevCap:	MaxPayload 128 bytes, PhantFunc 0
			ExtTag- RBE+
		DevCtl:	CorrErr- NonFatalErr+ FatalErr+ UnsupReq+
			RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
			MaxPayload 128 bytes, MaxReadReq 128 bytes
		DevSta:	CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr+ TransPend-
		LnkCap:	Port #6, Speed 5GT/s, Width x4, ASPM L0s L1, Exit Latency L0s <512ns, L1 <16us
			ClockPM- Surprise- LLActRep+ BwNot+ ASPMOptComp-
		LnkCtl:	ASPM L1 Enabled; RCB 64 bytes, Disabled- CommClk+
			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
		LnkSta:	Speed 5GT/s (ok), Width x4 (ok)
			TrErr- Train- SlotClk+ DLActive+ BWMgmt+ ABWMgmt-
		SltCap:	AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug- Surprise-
			Slot #5, PowerLimit 25.000W; Interlock- NoCompl+
		SltCtl:	Enable: AttnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq- LinkChg-
			Control: AttnInd Unknown, PwrInd Unknown, Power- Interlock-
		SltSta:	Status: AttnBtn- PowerFlt- MRL- CmdCplt- PresDet+ Interlock-
			Changed: MRL- PresDet- LinkState-
		RootCap: CRSVisible-
		RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna- CRSVisible-
		RootSta: PME ReqID 0000, PMEStatus- PMEPending-
		DevCap2: Completion Timeout: Range ABC, TimeoutDis+ NROPrPrP- LTR+
			 10BitTagComp- 10BitTagReq- OBFF Not Supported, ExtFmt- EETLPPrefix-
			 EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-
			 FRS- LN System CLS Not Supported, TPHComp- ExtTPHComp- ARIFwd-
			 AtomicOpsCap: Routing- 32bit- 64bit- 128bitCAS-
		DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR+ OBFF Disabled, ARIFwd-
			 AtomicOpsCtl: ReqEn- EgressBlck-
		LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-
			 Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
			 Compliance De-emphasis: -6dB
		LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete- EqualizationPhase1-
			 EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest-
			 Retimer- 2Retimers- CrosslinkRes: unsupported
	Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
		Address: 00000000  Data: 0000
	Capabilities: [90] Subsystem: Intel Corporation Device 7270
	Capabilities: [a0] Power Management version 3
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
		Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [100 v0] Null
	Capabilities: [200 v1] L1 PM Substates
		L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+
			  PortCommonModeRestoreTime=40us PortTPowerOnTime=10us
		L1SubCtl1: PCI-PM_L1.2- PCI-PM_L1.1- ASPM_L1.2- ASPM_L1.1-
			   T_CommonMode=0us LTR1.2_Threshold=0ns
		L1SubCtl2: T_PwrOn=10us

## 00:1c.5 is a bridge from 00 to 04-04
00:1f.0 ISA bridge: Intel Corporation Wildcat Point-LP LPC Controller (rev 03)
	Subsystem: Intel Corporation Device 7270
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Capabilities: [e0] Vendor Specific Information: Len=0c <?>

00:1f.3 SMBus: Intel Corporation Wildcat Point-LP SMBus Controller (rev 03)
	Subsystem: Intel Corporation Device 7270
	Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Interrupt: pin C routed to IRQ 18
	Region 0: Memory at 7fa1019000 (64-bit, non-prefetchable)
	Region 4: I/O ports at efa0

00:1f.6 Signal processing controller: Intel Corporation Wildcat Point-LP Thermal Management Controller (rev 03)
	Subsystem: Intel Corporation Device 7270
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin C routed to IRQ 18
	Region 0: Memory at 7fa1018000 (64-bit, non-prefetchable)
	Capabilities: [50] Power Management version 3
		Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
		Address: fee00fd8  Data: 0000

03:00.0 Network controller: Broadcom Inc. and subsidiaries BCM4360 802.11ac Wireless Network Adapter (rev 03)
	Subsystem: Apple Inc. Device 0117
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 256 bytes
	Interrupt: pin A routed to IRQ 18
	Region 0: Memory at c1200000 (64-bit, non-prefetchable)
	Region 2: Memory at c1000000 (64-bit, non-prefetchable)
	Capabilities: [48] Power Management version 3
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
		Status: D0 NoSoftRst+ PME-Enable+ DSel=0 DScale=2 PME-
	Capabilities: [58] MSI: Enable+ Count=1/1 Maskable- 64bit+
		Address: 00000000fee00ef8  Data: 0000
	Capabilities: [68] Vendor Specific Information: Len=44 <?>
	Capabilities: [ac] Express (v2) Endpoint, MSI 00
		DevCap:	MaxPayload 256 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited
			ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 10.000W
		DevCtl:	CorrErr+ NonFatalErr+ FatalErr+ UnsupReq+
			RlxdOrd+ ExtTag- PhantFunc- AuxPwr+ NoSnoop+
			MaxPayload 128 bytes, MaxReadReq 1024 bytes
		DevSta:	CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr+ TransPend-
		LnkCap:	Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <2us, L1 <32us
			ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp+
		LnkCtl:	ASPM L0s L1 Enabled; RCB 64 bytes, Disabled- CommClk+
			ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
		LnkSta:	Speed 2.5GT/s (ok), Width x1 (ok)
			TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
		DevCap2: Completion Timeout: Range ABCD, TimeoutDis+ NROPrPrP- LTR+
			 10BitTagComp- 10BitTagReq- OBFF Via WAKE#, ExtFmt- EETLPPrefix-
			 EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-
			 FRS- TPHComp- ExtTPHComp-
		DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR+ OBFF Disabled,
			 AtomicOpsCtl: ReqEn-
		LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-
			 Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
			 Compliance De-emphasis: -6dB
		LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete- EqualizationPhase1-
			 EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest-
			 Retimer- 2Retimers- CrosslinkRes: unsupported
	Capabilities: [100 v1] Advanced Error Reporting
		UESta:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
		UEMsk:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
		UESvrt:	DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
		CESta:	RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr-
		CEMsk:	RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
		AERCap:	First Error Pointer: 00, ECRCGenCap+ ECRCGenEn- ECRCChkCap+ ECRCChkEn-
			MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap-
		HeaderLog: 00000000 00000000 00000000 00000000
	Capabilities: [13c v1] Device Serial Number 14-c2-00-ff-ff-00-00-01
	Capabilities: [150 v1] Power Budgeting <?>
	Capabilities: [160 v1] Virtual Channel
		Caps:	LPEVC=0 RefClk=100ns PATEntryBits=1
		Arb:	Fixed- WRR32- WRR64- WRR128-
		Ctrl:	ArbSelect=Fixed
		Status:	InProgress-
		VC0:	Caps:	PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
			Arb:	Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
			Ctrl:	Enable+ ID=0 ArbSelect=Fixed TC/VC=ff
			Status:	NegoPending- InProgress-
	Capabilities: [1b0 v1] Latency Tolerance Reporting
		Max snoop latency: 3145728ns
		Max no snoop latency: 3145728ns
	Capabilities: [220 v1] Physical Resizable BAR
		BAR 2: current size: 2MB, supported: 1MB 2MB

04:00.0 SATA controller: Samsung Electronics Co Ltd Device a801 (rev 01) (prog-if 01 [AHCI 1.0])
	Subsystem: Samsung Electronics Co Ltd Device a801
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort+ <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 256 bytes
	Interrupt: pin A routed to IRQ 16
	Region 5: Memory at c1300000 (32-bit, non-prefetchable)
	Capabilities: [40] Power Management version 3
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [50] MSI: Enable+ Count=1/8 Maskable- 64bit+
		Address: 00000000fee01078  Data: 0000
	Capabilities: [70] Express (v2) Endpoint, MSI 00
		DevCap:	MaxPayload 128 bytes, PhantFunc 0, Latency L0s unlimited, L1 unlimited
			ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset+ SlotPowerLimit 25.000W
		DevCtl:	CorrErr- NonFatalErr- FatalErr- UnsupReq-
			RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+ FLReset-
			MaxPayload 128 bytes, MaxReadReq 512 bytes
		DevSta:	CorrErr+ NonFatalErr- FatalErr- UnsupReq+ AuxPwr+ TransPend-
		LnkCap:	Port #0, Speed 8GT/s, Width x4, ASPM L1, Exit Latency L1 <64us
			ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp+
		LnkCtl:	ASPM L1 Enabled; RCB 64 bytes, Disabled- CommClk+
			ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
		LnkSta:	Speed 5GT/s (downgraded), Width x4 (ok)
			TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
		DevCap2: Completion Timeout: Not Supported, TimeoutDis+ NROPrPrP- LTR+
			 10BitTagComp- 10BitTagReq- OBFF Not Supported, ExtFmt- EETLPPrefix-
			 EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-
			 FRS- TPHComp- ExtTPHComp-
		DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR+ OBFF Disabled,
			 AtomicOpsCtl: ReqEn-
		LnkCap2: Supported Link Speeds: 2.5-8GT/s, Crosslink- Retimer- 2Retimers- DRS-
		LnkCtl2: Target Link Speed: 8GT/s, EnterCompliance- SpeedDis-
			 Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
			 Compliance De-emphasis: -6dB
		LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete- EqualizationPhase1-
			 EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest-
			 Retimer- 2Retimers- CrosslinkRes: unsupported
	Capabilities: [100 v2] Advanced Error Reporting
		UESta:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
		UEMsk:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
		UESvrt:	DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
		CESta:	RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
		CEMsk:	RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
		AERCap:	First Error Pointer: 00, ECRCGenCap+ ECRCGenEn- ECRCChkCap+ ECRCChkEn-
			MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap-
		HeaderLog: 00000000 00000000 00000000 00000000
	Capabilities: [148 v1] Device Serial Number 00-00-00-00-00-00-00-00
	Capabilities: [158 v1] Power Budgeting <?>
	Capabilities: [168 v1] Secondary PCI Express
		LnkCtl3: LnkEquIntrruptEn- PerformEqu-
		LaneErrStat: 0
	Capabilities: [188 v1] Latency Tolerance Reporting
		Max snoop latency: 3145728ns
		Max no snoop latency: 3145728ns
	Capabilities: [190 v1] L1 PM Substates
		L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+
			  PortCommonModeRestoreTime=10us PortTPowerOnTime=50us
		L1SubCtl1: PCI-PM_L1.2- PCI-PM_L1.1- ASPM_L1.2- ASPM_L1.1-
			   T_CommonMode=0us LTR1.2_Threshold=0ns
		L1SubCtl2: T_PwrOn=10us


Summary of buses:

00: Primary host bus
	1c.5 Bridge to 04-04
	1c.4 Bridge to 05-ff
	1c.2 Bridge to 03-03
	1c.1 Bridge to 02-02
	1c.0 Bridge to 01-01
03: Entered via 00:1c.2
04: Entered via 00:1c.5

 

Attached are 2 dumps:

- MacBookAir7,2 PCI dump using intel-conf1

- MacBookAir7,2 PCI dump using darwin default accessor and debug=0x144

 

MacBookAir7,2-pci-darwin.txt MacBookAir7,2-pci-intelconf1.txt

  • Like 1
Link to comment
Share on other sites

Error using Xcode 10.1 on High Sierra 10.13.6

 

Last login: Tue Jan 19 14:42:27 on ttys001
ellas-iMac:~ ella$ cd /Users/ella/Desktop/pciutils-osx-master 
ellas-iMac:pciutils-osx-master ella$ make
cd lib && ./configure
Configuring libpci for your system... x86_64--darwin 17.7.0 x86_64 darwin
Looking for access methods... i386-ports dump
Checking for zlib support... yes (auto-detected)
Checking for DNS support... yes (auto-detected)
Checking whether to build a shared library... no (set manually)
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C lib all
gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes   -c -o init.o init.c
gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes   -c -o access.o access.c
gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes   -c -o generic.o generic.c
gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes   -c -o dump.o dump.c
gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes   -c -o names.o names.c
gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes   -c -o filter.o filter.c
gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes   -c -o names-hash.o names-hash.c
gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes   -c -o names-parse.o names-parse.c
gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes   -c -o names-net.o names-net.c
gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes   -c -o names-cache.o names-cache.c
gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes   -c -o names-hwdb.o names-hwdb.c
gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes   -c -o params.o params.c
gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes   -c -o caps.o caps.c
gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes   -c -o i386-ports.o i386-ports.c
In file included from i386-ports.c:18:
./i386-io-darwin.h:19:10: fatal error: 'DirectHW/DirectHW.h' file not found
#include <DirectHW/DirectHW.h>
         ^~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[1]: *** [i386-ports.o] Error 1
make: *** [lib/libpci.a] Error 2
ellas-iMac:pciutils-osx-master ella$ 

 

  • Like 1
Link to comment
Share on other sites

  • Andy Vandijck changed the title to DirectHW for macOS Big Sur, ectool, inteltool, nvramtool, pciutils-3.7.0 and Flashrom-1.2

I've made some more utilities.

- ectool

- inteltool

- nvramtool

- msrtool

 

Enjoy :cat:

Greetz,

Vandijck Andy

 

 

  • Like 3
  • Thanks 1
Link to comment
Share on other sites

  • Andy Vandijck changed the title to DirectHW for macOS Big Sur, iwleeprom, ectool, msrtool, inteltool, nvramtool, pciutils-3.7.0 and Flashrom-1.2

I've made iwleeprom for macOS.

It needs DirectHW.kext installed

Also requires boot-args set to "debug=0x144" and root rights.

For debugging you can add -D 1 to the app.

Output of sudo ./iwleeprom -D 1:

debug level: 1
PCI devices:
    Intel Corporation Wildcat Point-LP Thermal Management Controller: class 0006   id 8086:9ca4   subid 8086:7270
    Intel Corporation Wildcat Point-LP SMBus Controller: class 0003   id 8086:9ca2   subid 8086:7270
    Intel Corporation Wildcat Point-LP LPC Controller: class 0007   id 8086:9cc3   subid 8086:7270
    Samsung Electronics Co Ltd Device a801: class 0406   id 144d:a801   subid 144d:a801
    Intel Corporation Wildcat Point-LP PCI Express Root Port #6: class 0007   id 8086:9c9a   subid 0000:0000
    Intel Corporation Wildcat Point-LP PCI Express Root Port #5: class 0007   id 8086:9c98   subid 007f:0000
    Broadcom Inc. and subsidiaries BCM4360 802.11ac Wireless Network Adapter: class 0406   id 14e4:43a0   subid 106b:0117
    Intel Corporation Wildcat Point-LP PCI Express Root Port #3: class 0007   id 8086:9c94   subid 0000:0000
    Intel Corporation Wildcat Point-LP PCI Express Root Port #2: class 0007   id 8086:9c92   subid 007f:0000
    Intel Corporation Wildcat Point-LP PCI Express Root Port #1: class 0007   id 8086:9c90   subid 0000:0000
    Intel Corporation Wildcat Point-LP High Definition Audio Controller: class 0406   id 8086:9ca0   subid 8086:7270
    Intel Corporation Wildcat Point-LP MEI Controller #1: class 0406   id 8086:9cba   subid 8086:7270
    Intel Corporation Wildcat Point-LP Serial IO GSPI Controller #1: class 0002   id 8086:9ce6   subid 8086:9ce6
    Intel Corporation Wildcat Point-LP Serial IO DMA Controller: class 0406   id 8086:9ce0   subid 8086:9ce0
    Intel Corporation Wildcat Point-LP USB xHCI Controller: class 0406   id 8086:9cb1   subid 8086:7270
    Intel Corporation Broadwell-U Audio Controller: class 0402   id 8086:160c   subid 106b:011b
    Intel Corporation HD Graphics 6000: class 0407   id 8086:1626   subid 106b:011b
    Intel Corporation Broadwell-U Host Bridge -OPI: class 0006   id 8086:1604   subid 106b:011b
Supported devices detected: 
  NONE

Unfortunately I don't have an Atheros or Intel WiFi card so I can't test reading and writing but it should work.

If somebody could test and give me a report.

:cat:

 

It is precompiled for macOS Big Sur.

For building it under older OS versions you need pciutils-3.7.0 libpci.a and headers under /usr/local/include/pci/

Also needed is DirectHW headers and library (libDirectHW.a and headers under /usr/local/include/DirectHW/DirectHW.h)

The tool is also extensible.

So if anybody has the routines for writing Broadcom cards I could expand the tool (let me know).

EDIT: Did minor bug fix, should work correct now.

Edited by Andy Vandijck
  • Thanks 1
Link to comment
Share on other sites

On 1/19/2021 at 7:45 AM, ellaosx said:

Error using Xcode 10.1 on High Sierra 10.13.6

 






Last login: Tue Jan 19 14:42:27 on ttys001
ellas-iMac:~ ella$ cd /Users/ella/Desktop/pciutils-osx-master 
ellas-iMac:pciutils-osx-master ella$ make
cd lib && ./configure
Configuring libpci for your system... x86_64--darwin 17.7.0 x86_64 darwin
Looking for access methods... i386-ports dump
Checking for zlib support... yes (auto-detected)
Checking for DNS support... yes (auto-detected)
Checking whether to build a shared library... no (set manually)
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C lib all
gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes   -c -o init.o init.c
gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes   -c -o access.o access.c
gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes   -c -o generic.o generic.c
gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes   -c -o dump.o dump.c
gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes   -c -o names.o names.c
gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes   -c -o filter.o filter.c
gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes   -c -o names-hash.o names-hash.c
gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes   -c -o names-parse.o names-parse.c
gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes   -c -o names-net.o names-net.c
gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes   -c -o names-cache.o names-cache.c
gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes   -c -o names-hwdb.o names-hwdb.c
gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes   -c -o params.o params.c
gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes   -c -o caps.o caps.c
gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes   -c -o i386-ports.o i386-ports.c
In file included from i386-ports.c:18:
./i386-io-darwin.h:19:10: fatal error: 'DirectHW/DirectHW.h' file not found
#include <DirectHW/DirectHW.h>
         ^~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[1]: *** [i386-ports.o] Error 1
make: *** [lib/libpci.a] Error 2
ellas-iMac:pciutils-osx-master ella$ 

 

You need to build DirectHW using the Xcode project.

You need DirectHW.h in /usr/local/include/DirectHW/DirectHW.h

You also need libDirectHW.a in /usr/local/lib/libDirectHW.a

patch Makefile to do -lDirectHW instead of -framework DirectHW

Then it will build fine.

If you plan to build the other tools:

Copy libpci.a to /usr/local/lib

Under /usr/local/include/pci copy everything from lib/*.h to /usr/local/include/pci/

#!/bin/sh
#
# DirectHW
sudo mkdir /usr/local/include/DirectHW/
sudo cp -Rf "${HOME}/Downloads/DirectHW-BigSur/DirectHW/DirectHW.h" /usr/local/include/DirectHW/
sudo cp -Rf "${HOME}/Downloads/DirectHW-BigSur/DirectHW/build/Release/libDirectHW.a" /usr/local/lib/
#
# Libpci
sudo mkdir /usr/local/include/pci/
sudo cp -Rf  "${HOME}/Downloads/pciutils-osx/lib/*.h" /usr/local/include/pci/
sudo cp -Rf  "${HOME}/Downloads/pciutils-osx/lib/libpci.a" /usr/local/lib/

 

Edited by Andy Vandijck
  • Thanks 1
Link to comment
Share on other sites

On 1/22/2021 at 1:47 AM, protocold said:

would this work also on Catalina? 

If you recompile the projects: yes.

Watch post above for info on needed libraries

Link to comment
Share on other sites

Added versions for Mac OS X 10.9 (Mavericks) and above.

They are bundled inside the hwtools zip file.

:cat: :cards:

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

  • Andy Vandijck changed the title to hwtools for Mavericks and better, DirectHW for macOS Big Sur, iwleeprom, ectool, msrtool, inteltool, nvramtool, pciutils-3.7.0 and Flashrom-1.2

Built kext using older SDK (MacOSX10.9.sdk).

It should now work on Mavericks and above.

It still has compatibility with Big Sur too.

I used new Xcode with old SDK for the kext.

Edited by Andy Vandijck
  • Like 1
Link to comment
Share on other sites

I loaded your DirectHW.kext and tested ectool, flashrom, inteltool, iwleeprom, lspci, msrtool, nvramtool on 10.13.  All mostly working! (as discussed in PM). :)

 

I'll try on BigSur when I can....

 

EDIT:

Tested ectool, flashrom, ifdtool, inteltool, iwleeprom, lspci, mptable, msrtool, nvramtool, osxpmem superiotool on BigSur and all working except:

 

inteltool shows segmentation fault after RCBA

============= RCBA ==============


Error(IOConnectMapMemory): system 0x38 subsystem 0x0 code 0x2c2 physical 0x               0[0x4000]
Invalid argument.
RCBA = 0x00000000 (MEM)

zsh: segmentation fault  sudo ./inteltool -a

 

nvramtool gave me similar output to what I saw on High Sierra where only -x option worked, otherwise

% sudo ./nvramtool -d
nvramtool: coreboot table not found.  coreboot does not appear to
        be installed on this system.  Scanning for the table produced the
        following results:

            0 valid signatures were found with bad header checksums.
            0 valid headers were found with bad table checksums.

All working except I couldn't get anything from osxpmem

% kmutil showloaded | grep rekall
No variant specified, falling back to release
  177    0 0xffffff7fa240e000 0x2000     0x2000     com.rekall.driver (1) D19ED361-50D5-340D-AF77-985BA5DE1A74 <8 6 5 3 1>

% ls /dev/pmem
/dev/pmem

sudo ./osxpmem -d
Cannot load kext ./pmem.kext
display_mmap(789): Failed to load kext (No such file or directory)

I have results saved to discuss maybe tomorrow.

Edited by blackosx
Link to comment
Share on other sites

  • Andy Vandijck changed the title to hwtools for Mavericks and better, DirectHW for macOS Big Sur, superiotool, mptable, osxpmem, iwleeprom, ectool, msrtool, ifdtool, inteltool, nvramtool, pciutils-3.7.0 and Flashrom-1.2

Did anybody test iwleeprom (reading/writing) with an Atheros card?

Please, give a report and output and dump.

Thanks! :cat:

Link to comment
Share on other sites

Hi Andy

 

On an iMac11,3 running 10.13.6 I see

 

en1:

  Card Type: AirPort Extreme  (0x168C, 0x8F)

  Firmware Version: Atheros 9280: 4.0.74.0-P2P

$ uname -a
Darwin iMac.local 17.7.0 Darwin Kernel Version 17.7.0: Fri Oct 30 13:34:27 PDT 2020; root:xnu-4570.71.82.8~1/RELEASE_X86_64 x86_64

 

$ sudo ./iwleeprom -D 1
debug level: 1
PCI devices:
    Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem: class 0000   id 8086:3b32   subid 8086:0000
    Intel Corporation 5 Series/3400 Series Chipset SMBus Controller: class 0001   id 8086:3b30   subid 8086:7270
    Intel Corporation 5 Series/3400 Series Chipset 6 port SATA AHCI Controller: class 0007   id 8086:3b22   subid 8086:7270
    Intel Corporation P55 Chipset LPC Interface Controller: class 0007   id 8086:3b02   subid 8086:7270
    Intel Corporation 82801 PCI Bridge: class 0007   id 8086:244e   subid 0000:0000
    Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller: class 0006   id 8086:3b34   subid 8086:7270
    Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller: class 0000   id 8086:3b36   subid 8086:7270
    Texas Instruments XIO2213A/B/XIO2221 IEEE-1394b OHCI Controller [Cheetah Express]: class 0006   id 104c:823f   subid 0000:0000
    Texas Instruments XIO2213A/B/XIO2221 PCI Express to PCI Bridge [Cheetah Express]: class 0017   id 104c:823e   subid 0000:0000
    Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 3: class 0007   id 8086:3b46   subid 0000:0000
    Qualcomm Atheros AR928X Wireless Network Adapter (PCI-Express): class 0147   id 168c:002a   subid 106b:008f [RW, ath9k] AR928X Wireless Adapter (PCI-E) 
    Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2: class 0007   id 8086:3b44   subid 0000:0000
    Broadcom Inc. and subsidiaries NetXtreme BCM5764M Gigabit Ethernet PCIe: class 0406   id 14e4:1684   subid 14e4:1684
    Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1: class 0007   id 8086:3b42   subid 0000:0000
    Intel Corporation 5 Series/3400 Series Chipset High Definition Audio: class 0406   id 8086:3b56   subid 8086:7270
    Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller: class 0006   id 8086:3b3c   subid 8086:7270
    Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller: class 0000   id 8086:3b3b   subid 8086:7270
    Intel Corporation Core Processor QPI Routing and Protocol Registers: class 0000   id 8086:d151   subid 0000:0000
    Intel Corporation Core Processor QPI Link: class 0000   id 8086:d150   subid 0000:0000
    Intel Corporation Core Processor Miscellaneous Registers: class 0000   id 8086:d158   subid 0000:0000
    Intel Corporation Core Processor System Control and Status Registers: class 0000   id 8086:d157   subid 0000:0000
    Intel Corporation Core Processor Semaphore and Scratchpad Registers: class 0000   id 8086:d156   subid 0000:0000
    Intel Corporation Core Processor System Management Registers: class 0000   id 8086:d155   subid 0000:0000
    Advanced Micro Devices, Inc. [AMD/ATI] Juniper HDMI Audio [Radeon HD 5700 Series]: class 0406   id 1002:aa58   subid 106b:aa58
    Advanced Micro Devices, Inc. [AMD/ATI] Broadway PRO [Mobility Radeon HD 5850]: class 0407   id 1002:68a1   subid 106b:00cc
    Intel Corporation Core Processor PCI Express Root Port 1: class 0147   id 8086:d138   subid 000f:0000
    Intel Corporation Core Processor DMI: class 0000   id 8086:d131   subid 8086:0000
Supported devices detected: 
Segmentation fault: 11
$ sudo ./iwleeprom -o dump
Password:
Supported devices detected: 
Segmentation fault: 11

 

EDIT:

This is using the files from your hwtools-osx-10.9-and-above.zip

I also see the same using the binary in iwleeprom-osx.zip

 

 

Edited by blackosx
Link to comment
Share on other sites

On 1/30/2021 at 2:16 PM, blackosx said:

Hi Andy

 

On an iMac11,3 running 10.13.6 I see

 

en1:

  Card Type: AirPort Extreme  (0x168C, 0x8F)

  Firmware Version: Atheros 9280: 4.0.74.0-P2P


$ uname -a
Darwin iMac.local 17.7.0 Darwin Kernel Version 17.7.0: Fri Oct 30 13:34:27 PDT 2020; root:xnu-4570.71.82.8~1/RELEASE_X86_64 x86_64

 


$ sudo ./iwleeprom -D 1
debug level: 1
PCI devices:
    Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem: class 0000   id 8086:3b32   subid 8086:0000
    Intel Corporation 5 Series/3400 Series Chipset SMBus Controller: class 0001   id 8086:3b30   subid 8086:7270
    Intel Corporation 5 Series/3400 Series Chipset 6 port SATA AHCI Controller: class 0007   id 8086:3b22   subid 8086:7270
    Intel Corporation P55 Chipset LPC Interface Controller: class 0007   id 8086:3b02   subid 8086:7270
    Intel Corporation 82801 PCI Bridge: class 0007   id 8086:244e   subid 0000:0000
    Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller: class 0006   id 8086:3b34   subid 8086:7270
    Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller: class 0000   id 8086:3b36   subid 8086:7270
    Texas Instruments XIO2213A/B/XIO2221 IEEE-1394b OHCI Controller [Cheetah Express]: class 0006   id 104c:823f   subid 0000:0000
    Texas Instruments XIO2213A/B/XIO2221 PCI Express to PCI Bridge [Cheetah Express]: class 0017   id 104c:823e   subid 0000:0000
    Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 3: class 0007   id 8086:3b46   subid 0000:0000
    Qualcomm Atheros AR928X Wireless Network Adapter (PCI-Express): class 0147   id 168c:002a   subid 106b:008f [RW, ath9k] AR928X Wireless Adapter (PCI-E) 
    Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2: class 0007   id 8086:3b44   subid 0000:0000
    Broadcom Inc. and subsidiaries NetXtreme BCM5764M Gigabit Ethernet PCIe: class 0406   id 14e4:1684   subid 14e4:1684
    Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1: class 0007   id 8086:3b42   subid 0000:0000
    Intel Corporation 5 Series/3400 Series Chipset High Definition Audio: class 0406   id 8086:3b56   subid 8086:7270
    Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller: class 0006   id 8086:3b3c   subid 8086:7270
    Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller: class 0000   id 8086:3b3b   subid 8086:7270
    Intel Corporation Core Processor QPI Routing and Protocol Registers: class 0000   id 8086:d151   subid 0000:0000
    Intel Corporation Core Processor QPI Link: class 0000   id 8086:d150   subid 0000:0000
    Intel Corporation Core Processor Miscellaneous Registers: class 0000   id 8086:d158   subid 0000:0000
    Intel Corporation Core Processor System Control and Status Registers: class 0000   id 8086:d157   subid 0000:0000
    Intel Corporation Core Processor Semaphore and Scratchpad Registers: class 0000   id 8086:d156   subid 0000:0000
    Intel Corporation Core Processor System Management Registers: class 0000   id 8086:d155   subid 0000:0000
    Advanced Micro Devices, Inc. [AMD/ATI] Juniper HDMI Audio [Radeon HD 5700 Series]: class 0406   id 1002:aa58   subid 106b:aa58
    Advanced Micro Devices, Inc. [AMD/ATI] Broadway PRO [Mobility Radeon HD 5850]: class 0407   id 1002:68a1   subid 106b:00cc
    Intel Corporation Core Processor PCI Express Root Port 1: class 0147   id 8086:d138   subid 000f:0000
    Intel Corporation Core Processor DMI: class 0000   id 8086:d131   subid 8086:0000
Supported devices detected: 
Segmentation fault: 11

$ sudo ./iwleeprom -o dump
Password:
Supported devices detected: 
Segmentation fault: 11

 

EDIT:

This is using the files from your hwtools-osx-10.9-and-above.zip

I also see the same using the binary in iwleeprom-osx.zip

 

 

I need crash reporter output to locate the problem.

Would you please attach this?

Link to comment
Share on other sites

On 1/31/2021 at 5:31 PM, blackosx said:

Okay. Next time I get access to that machine I'll get it for you.

 

EDIT: Sent in PM

I fixed iwleeprom.

It should work now.

If you would be so kind to also attach the ROM dump and program output.

  • Like 1
Link to comment
Share on other sites

I changed the iwleeprom approach.

New version available.

Link to comment
Share on other sites

  • 4 months later...

I have been recently attempting to use setpci to force PCIe 2.0 speeds for an NVMe installed in slot 2 of my MacPro3,1 with Catalina and OpenCore.

It only seems to work with SIP disabled. With SIP enables ApplePlatformExpert cannot be opened despite “debug=0x144. Since SIP is not mentioned here or in threads at macrumors.com I am starting to wonder, if I have some other issues  with the system or OpenCore.

Any suggestions where to start looking ?

 

Update: ALLOW_KERNEL_DEBUGGER in SIP fixes it.

csr-active-config needs to be set to <08000000>

Edited by Inspector42
  • Like 1
Link to comment
Share on other sites

  • 10 months later...
Posted (edited)

EDIT: I'm leaving my observations below after determining that msrtool does not appear to have the definition of MSR address 0x610 for my rig.  Using the addr argument to msrtool, I am able to read MSR at address 0x610 and find that this value is consistent with the value reported by Hackintool. 

 

1287533983_ScreenShot2022-05-03at2_09_17PM.png.d78866153a88c2e55ad79de7cbec3ee8.png

 

Now I just need to figure out how to modify the MSR value...

 

=====================================

 

Andy - thank you for your hard work!  I have successfully built msrtool on my Coffee Lake rig running Big Sur 11.6.5 (full system details below).  Should msrtool be expected to work on Coffee Lake platforms?  More details below.  Thank you.

 

EDIT: Here is the output when I run "msrtool -k".  I thought you added *lake architectures, but I don't see any listed here.

Spoiler
Known systems:
linux: Linux with /dev/cpu/*/msr
darwin: Mac OS X with DirectHW
freebsd: FreeBSD with /dev/cpuctl*

Known targets:
geodegx2: AMD Geode(tm) GX2
geodelx: AMD Geode(tm) LX
cs5536: AMD Geode(tm) CS5536
K8: AMD K8 Family
via_c7: VIA Esther processor, C7
intel_pentium3_early: Intel Pentium III family
intel_pentium3: Intel Pentium III Xeon Processor, Intel Pentium III Processor
intel_core1: Intel Core Duo, Intel Core Solo processors
intel_core2_early: Intel Xeon Processor 3000, 3200, 5100, 5300, 7300 series, Intel Core 2 Quad processor 6000 series, Intel Core 2 Extreme 6000	series, Intel Core 2 Duo 4000, 5000, 6000, 7000 series processors, Intel Pentium dual-core processors
intel_core2_later: Intel Xeon Processor 5200, 5400 series, Intel Core 2 Quad	processors 8000, 9000 series
intel_pentium4_early: Intel Xeon Processor, Intel Xeon Processor MP, Intel Pentium 4 processors
intel_pentium4_later: Intel Xeon Processor, Intel Xeon Processor MP, Intel Pentium 4, Pentium D processors
intel_pentium_d: Intel Pentium D processors
intel_nehalem: Intel Core i5, i7 Processors, Intel Xeon Processor 3400, 3500, 5500, based on Nehalem architecture
intel_atom: Intel Atom Processors, N450

 

 

More details...

I was hoping to use msrtool to modify package power limits which I can see with Hackintool / AppleIntelInfo.kext as follows:

 

1919240600_ScreenShot2022-05-03at9_21_42AM.png.eda23af5fa1f43c3c450e1098a239009.png

 

 I ran msrtool with argument "-l" and do not see package power limits listed in the known MSR fields.  I also noticed that the detected target is intel_nehalem even though my rig is Coffee Lake.  If I don't see the desired MSR fields in msrtool's -l listing, is there a way to view / modify package power limits with msrtool?  If I'm interpreting the Hackintool output correctly , the MSR address is 0x610.  The last MSR address listed by "msrtool -kl" appears to be 0x600:

 

1521732356_ScreenShot2022-05-03at2_04_07PM.png.1dbfc3cd58e5754e5f387e1c55f6979b.png

 

 

 

Thank you.

 

 System details:

  • HP EliteDesk 800 G4 Mini 65W, Q370 Chipset, i5-8600 CPU / UHD630
  • Open Core 0.8.0
  • Big Sur 11.6.5

 

 

I am using the following from your first post to build msrtool:

  • pciutils-3.7.0-osx.zip
  • msrtool-osx.zip
  • hwtools-osx10.9-and-above.zip
Edited by deeveedee
Link to comment
Share on other sites

 Share

×
×
  • Create New...