Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - pci-server RPi4: (3 Items)
   
pci-server RPi4  
I have rebuilt our OS image for RPi4 using updated qnxsoftware components, but version 3.0 of pci-server doesn't seem to
 work with my RPi4 BSP (no /dev/pci is found).

I see the Release History which says:

"This component is incompatible with all pre v3.x PCI components"

My new image has libpci.so linked to libpci.so.3.0 but perhaps there is something I should change in the build file for 
the OS image?

Any suggestions welcome!

David Sheinberg
Re: pci-server RPi4  
Of course I should have looked in slog, which clearly indicates the pci_hw-bcm2711-rpi4.so is incompatible:

Dec 31 19:14:21.262              pci_server.372761              pci_log      0  ERROR,0,-2,5 [372761:1]: Module /lib/dll
/pci/pci_hw-bcm2711-rpi4.so, v2.0 failed to load, err: Module Is Incompatible With Current PCI Server or Library Version
 [(PCI_ERR_MOD_COMPAT)]
Dec 31 19:14:21.262           pci_server.372761..0              pci_dbg      0  DEBUG,1,2,5 [372761:1]: probe for B0:D0:
F0  failed, vid = 0x2035, Module Does Not Exist Or Could Not Be Loaded [(PCI_ERR_NO_MODULE)]
Dec 31 19:14:21.262              pci_server.372761              pci_log      0  ERROR,0,0,5 [372761:1]: ** Enumeration 
Aborted, Module Does Not Exist Or Could Not Be Loaded [(PCI_ERR_NO_MODULE)]
Dec 31 19:14:21.262              pci_server.372761              pci_log      0  INFO ,1,0,5 [372761:1]: pci_max_bus = -1

Dec 31 19:14:21.262              pci_server.372761              pci_log      0  INFO ,1,1,5 [372761:1]: 
enumerate_bus_hierarchy(), Module Does Not Exist Or Could Not Be Loaded [(PCI_ERR_NO_MODULE)]
Dec 31 19:14:21.262              pci_server.372761              pci_log      0  INFO ,1,0,5 [372761:1]: ++ enumeration 
only complete, status Module Does Not Exist Or Could Not Be Loaded [(PCI_ERR_NO_MODULE)] ++
Dec 31 19:14:21.262              pci_server.372761              pci_log      0  INFO ,1,-10,5 [372761:1]: + PCI Server 
v3.0 init complete, Module Does Not Exist Or Could Not Be Loaded [(PCI_ERR_NO_MODULE)] +
Dec 31 19:14:21.262              pci_server.372761              pci_log      0  INFO ,1,-10,5 [372761:1]: 

Is there a newer version of this available that I might have missed?
Re: pci-server RPi4 [solved]  
So some searching through qnx software manager made led me to the newer version of pci_hw-bcm2711-rpi4.so.3.0 in the PCI
 HW Module, which I had installed.  The problem was that I had a pci folder in my BSP working directory that was being 
used to pull in 2.0.  This is not in the newer release of the BSP from what I can tell, but I still had the folder 
around.  Once I got rid of it, the version from the target/qnx7/aarch64/lib/dll/pci was used.

Sorry for wasted bandwidth!

-David