Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 869

HATs and other add-ons • PEX8112 PCIe-to-PCI bridge issues

$
0
0
Hello,

There is a PCIe x1 board with a PEX8112 PCIe-to-PCI bridge and a multimedia controller behind it.
This board works fine in PC computers, but there are issues in Raspberry Pi 5 with it.

Can someone help solve this problem?

Here are lspci and dmesg (PC and Raspberry).

dmesg | grep pci
PC:

Code:

0.341561] pci 0000:02:00.0: [10b5:8112] type 01 class 0x060400[    0.341785] pci 0000:02:00.0: supports D1[    0.341786] pci 0000:02:00.0: PME# supported from D0 D1 D3hot[    0.341896] pci 0000:00:1c.6: PCI bridge to [bus 02-03][    0.341901] pci 0000:00:1c.6:   bridge window [io  0x3000-0x3fff][    0.341984] pci_bus 0000:03: extended config space not accessible[    0.342008] pci 0000:03:00.0: [5a5a:0102] type 00 class 0x048000[    0.342043] pci 0000:03:00.0: reg 0x10: [io  0x3000-0x301f][    0.342282] pci 0000:02:00.0: PCI bridge to [bus 03][    0.342289] pci 0000:02:00.0:   bridge window [io  0x3000-0x3fff]
Raspberry Pi 5:

Code:

[    2.304483] pci 0000:01:00.0: [10b5:8112] type 01 class 0x060400 PCIe to PCI/PCI-X bridge[    2.305355] pci 0000:01:00.0: PCI bridge to [bus 00][    2.306221] pci 0000:01:00.0:   bridge window [io  0x0000-0x0fff][    2.307067] pci 0000:01:00.0:   bridge window [mem 0x1b00000000-0x1b000fffff][    2.307965] pci 0000:01:00.0:   bridge window [mem 0x1b00000000-0x1b000fffff pref][    2.308959] pci 0000:01:00.0: supports D1[    2.309688] pci 0000:01:00.0: PME# supported from D0 D1 D3hot[    2.313128] pci 0000:01:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring[    2.317508] pci_bus 0000:02: extended config space not accessible[    2.318097] pci 0000:02:00.0: [5a5a:0102] type 00 class 0x048000 conventional PCI endpoint[    2.456015] pci 0000:02:00.0: BAR 0 [io  0x0000-0x001f][    2.462421] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02[    2.469403] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 02

lspci
PC:

Code:

02:00.0 PCI bridge: PLX Technology, Inc. PEX8112 x1 Lane PCI Express-to-PCI Bridge (rev aa) (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: 64 bytesInterrupt: pin A routed to IRQ 18Bus: primary=02, secondary=03, subordinate=03, sec-latency=32I/O behind bridge: 00003000-00003fff [size=4K]Memory behind bridge: fff00000-000fffff [disabled]Prefetchable memory behind bridge: fff00000-000fffff [disabled]Secondary status: 66MHz+ FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR-BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16+ MAbort- >Reset- FastB2B-PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-Capabilities: [40] Power Management version 2Flags: 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/1 Maskable- 64bit+Address: 0000000000000000  Data: 0000Capabilities: [60] Express (v1) PCI-Express to PCI/PCI-X Bridge, MSI 00DevCap:MaxPayload 128 bytes, PhantFunc 0ExtTag- AttnBtn- AttnInd- PwrInd- RBE- SlotPowerLimit 10.000WDevCtl:CorrErr- NonFatalErr- FatalErr- UnsupReq-RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop- BrConfRtry-MaxPayload 128 bytes, MaxReadReq 512 bytesDevSta:CorrErr- NonFatalErr+ FatalErr- UnsupReq+ AuxPwr- TransPend-LnkCap:Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <1us, L1 <16usClockPM- Surprise- LLActRep- BwNot- ASPMOptComp-LnkCtl:ASPM Disabled; 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-Capabilities: [100 v1] Power Budgeting <?>03:00.0 Multimedia controller: Device 5a5a:0102 (rev 01)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-Region 0: I/O ports at 3000 [size=32]
Raspberry Pi 5:

Code:

0000:01:00.0 PCI bridge: PLX Technology, Inc. PEX8112 x1 Lane PCI Express-to-PCI Bridge (rev aa) (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-Interrupt: pin A routed to IRQ 42Bus: primary=01, secondary=02, subordinate=02, sec-latency=0I/O behind bridge: f000-0fff [disabled] [16-bit]Memory behind bridge: fff00000-000fffff [disabled] [32-bit]Prefetchable memory behind bridge: fff00000-000fffff [disabled] [32-bit]Secondary status: 66MHz+ FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR-BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16- MAbort- >Reset- FastB2B-PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-Capabilities: [40] Power Management version 2Flags: 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/1 Maskable- 64bit+Address: 0000000000000000  Data: 0000Capabilities: [60] Express (v1) PCI-Express to PCI/PCI-X Bridge, MSI 00DevCap:MaxPayload 128 bytes, PhantFunc 0ExtTag- AttnBtn- AttnInd- PwrInd- RBE- SlotPowerLimit 0WDevCtl:CorrErr- NonFatalErr- FatalErr- UnsupReq-RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop- BrConfRtry-MaxPayload 128 bytes, MaxReadReq 512 bytesDevSta:CorrErr- NonFatalErr+ FatalErr- UnsupReq+ AuxPwr- TransPend-LnkCap:Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <1us, L1 <16usClockPM- Surprise- LLActRep- BwNot- ASPMOptComp-LnkCtl:ASPM Disabled; RCB 64 bytes, Disabled- CommClk-ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-LnkSta:Speed 2.5GT/s, Width x1TrErr- Train- SlotClk- DLActive- BWMgmt- ABWMgmt-Capabilities: [100 v1] Power Budgeting <?>0000:02:00.0 Multimedia controller: Device 5a5a:0102 (rev 01)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-

Thanks.

Statistics: Posted by Shura.G — Sun May 05, 2024 12:37 pm



Viewing all articles
Browse latest Browse all 869

Trending Articles