I have the p2041rdb Borad. (P2041RDB-PB)
I got the vxWorks BSP from the WindRiber site.
I read a target.ref file. then compiled the bootrom and kernel.
I can the Tffs, SATA, ..
but I can't Pcie.
shell log ->
****************************************************************************************************************************************
>vxBusShow
Registered Bus Types:
MII_Bus @ 0x002eb1ec
PCI_Bus @ 0x002eae5c
PLB_Bus @ 0x002eae78
Registered Device Drivers:
ppcIntCtlr at 0x002e92c4 on bus PLB_Bus, funcs @ 0x002e92b8
m85xxTimerDev at 0x002eada8 on bus PLB_Bus, funcs @ 0x002ead8c
fslSata at 0x002eb2f8 on bus PLB_Bus, funcs @ 0x002eb2e0
fslDma at 0x002e9f28 on bus PLB_Bus, funcs @ 0x002e9f1c
epic at 0x002ea0bc on bus PLB_Bus, funcs @ 0x002ea068
dtsec at 0x002eb0d0 on bus PLB_Bus, funcs @ 0x002eb000
ns16550 at 0x002ea4a8 on bus PLB_Bus, funcs @ 0x002ea3d8
ns16550 at 0x002ea460 on bus PCI_Bus, funcs @ 0x002ea3d8
dtsecMdio at 0x002eb2a0 on bus PLB_Bus, funcs @ 0x002eb274
genericPhy at 0x002eb234 on bus MII_Bus, funcs @ 0x002eb228
miiBus at 0x002eb1a4 on bus PCI_Bus, funcs @ 0x002eb148
miiBus at 0x002eb164 on bus PLB_Bus, funcs @ 0x002eb148
m85xxPci at 0x002e9e38 on bus PLB_Bus, funcs @ 0x002e9e2c
m85xxCCSR at 0x002ea134 on bus PLB_Bus, funcs @ 0x002ea128
QorIQFman at 0x002ea270 on bus PLB_Bus, funcs @ 0x002ea254
QorIQBman at 0x002ea214 on bus PLB_Bus, funcs @ 0x002ea1f8
fslGpio at 0x002ea1b8 on bus PLB_Bus, funcs @ 0x002ea19c
QorIQQman at 0x002ea350 on bus PLB_Bus, funcs @ 0x002ea32c
QorIQPciEx at 0x002e9edc on bus PLB_Bus, funcs @ 0x002e9e78
QorIQLaw at 0x002ea2ec on bus PLB_Bus, funcs @ 0x002ea2b0
plbCtlr at 0x002eaea0 on bus PLB_Bus, funcs @ 0x002eae94
Busses and Devices Present:
PLB_Bus @ 0x002fe368 with bridge @ 0x002eaee0
Device Instances:
ppcIntCtlr unit 0 on PLB_Bus @ 0x002ff328 with busInfo 0x00000000
epic unit 0 on PLB_Bus @ 0x002ff428 with busInfo 0x00000000
ns16550 unit 0 on PLB_Bus @ 0x002ff628 with busInfo 0x00000000
ns16550 unit 1 on PLB_Bus @ 0x002ff828 with busInfo 0x00000000
ns16550 unit 2 on PLB_Bus @ 0x002ffa28 with busInfo 0x00000000
ns16550 unit 3 on PLB_Bus @ 0x002ffc28 with busInfo 0x00000000
fslGpio unit 0 on PLB_Bus @ 0x002ffe28 with busInfo 0x00000000
QorIQLaw unit 0 on PLB_Bus @ 0x002fff28 with busInfo 0x0
QorIQBman unit 0 on PLB_Bus @ 0x00300028 with busInfo 0x00000000
QorIQQman unit 0 on PLB_Bus @ 0x00300128 with busInfo 0x00000000
QorIQFman unit 0 on PLB_Bus @ 0x00300228 with busInfo 0x00000000
QorIQPciEx unit 1 on PLB_Bus @ 0x0030d328 with busInfo 0x00000000
dtsec unit 0 on PLB_Bus @ 0x0030d628 with busInfo 0x0
dtsec unit 1 on PLB_Bus @ 0x0030d728 with busInfo 0x0
dtsec unit 2 on PLB_Bus @ 0x0030d828 with busInfo 0x0
dtsec unit 3 on PLB_Bus @ 0x0030d928 with busInfo 0x0
dtsec unit 4 on PLB_Bus @ 0x0030da28 with busInfo 0x0
dtsecMdio unit 0 on PLB_Bus @ 0x0030db28 with busInfo 0x00000000
m85xxTimerDev unit 0 on PLB_Bus @ 0x0030dc28 with busInfo 0x00000000
fslSata unit 0 on PLB_Bus @ 0x0030dd28 with busInfo 0x00000000
fslSata unit 1 on PLB_Bus @ 0x0030de28 with busInfo 0x00000000
fslDma unit 0 on PLB_Bus @ 0x0030df28 with busInfo 0x00000000
fslDma unit 1 on PLB_Bus @ 0x0030e028 with busInfo 0x00000000
miiBus unit 0 on PLB_Bus @ 0x0030e128 with busInfo 0x002fefa8
miiBus unit 1 on PLB_Bus @ 0x00312328 with busInfo 0x002fef68
miiBus unit 2 on PLB_Bus @ 0x00312528 with busInfo 0x002fefe8
miiBus unit 3 on PLB_Bus @ 0x00312728 with busInfo 0x002ff028
miiBus unit 4 on PLB_Bus @ 0x00312928 with busInfo 0x002ff068
Orphan Devices:
MII_Bus @ 0x002fefa8 with bridge @ 0x0030e128
Device Instances:
genericPhy unit 0 on MII_Bus @ 0x0030e228 with busInfo 0x00000000
Orphan Devices:
MII_Bus @ 0x002fef68 with bridge @ 0x00312328
Device Instances:
genericPhy unit 1 on MII_Bus @ 0x00312428 with busInfo 0x00000000
Orphan Devices:
MII_Bus @ 0x002fefe8 with bridge @ 0x00312528
Device Instances:
genericPhy unit 2 on MII_Bus @ 0x00312628 with busInfo 0x00000000
Orphan Devices:
MII_Bus @ 0x002ff028 with bridge @ 0x00312728
Device Instances:
genericPhy unit 3 on MII_Bus @ 0x00312828 with busInfo 0x00000000
Orphan Devices:
MII_Bus @ 0x002ff068 with bridge @ 0x00312928
Device Instances:
genericPhy unit 4 on MII_Bus @ 0x00312a28 with busInfo 0x00000000
Orphan Devices:
value = 1 = 0x1
-> pciDeviceShow
value = -1 = 0xffffffff
****************************************************************************************************************************************
I used rcw file that rcw_5g_1500mhz.bin (RR_PH_0x19)
I am having a similar issue one of the PCI slots using WindRiver's vxworks OS as well as the default linux that comes with the p2041rdb.
My goal is to use both PCI slots on the p2041rdb. Using the default RCW that ships with the SDK, I am able to see my PCI card in PCI Slot 1 using both VxWorks and Linux. But no PCI cards are discovered in PCI Slot 2.
With some digging, I have determined that the default SRDS_PRTCL is set to 0x19, which would only mux in PCIe2. I have attempted so use an RCW that enables other SRDS_PRTCL values such as 0x0A (Puts PCIe2 on Bank1 Lanes EFGH, and PCIe3 on Bank2 Lanes ABCD) and 0x16 (Puts PCIe2 on Bank1 Laned EF and PCIe3 on Bank1 Land D). Nonetheless, I am not able to see a PCI card in PCI Slot 2 using 'lspci' in Linux or 'vxBusShow' in vxWorks.
Ko HyunGeun: Can you confirm which PCI slot you are using? Does PCI Slot1 work?
Has anybody been able to get the second PCI slot to work? Is there something I am missing to enable the second PCI slot?