iMX6Q cannot find my PCIE device during the bringup

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iMX6Q cannot find my PCIE device during the bringup

571 Views
amw
Contributor I

1) iMX6Q cannot find my PCIE device during the bringup,

pci_bus 0000:00: root bus resource [io 0x1000-0xffff]
pci_bus 0000:00: root bus resource [mem 0x01000000-0x01efffff]
pci_bus 0000:00: root bus resource [bus 00-ff]
pci_bus 0000:00: pci_scan_device,vendor=16c3,device=abcd
PCI: bus0: Fast back to back transfers disabled
PCI: bus1: Fast back to back transfers enabled
pci 0000:00:00.0: BAR 0: assigned [mem 0x01000000-0x010fffff]
pci 0000:00:00.0: BAR 6: assigned [mem 0x01100000-0x0110ffff pref]
pci 0000:00:00.0: PCI bridge to [bus 01]

but I login with root,

if echo 11 > /sys/bus/pci/devices/0000\:00\:00.0/rescan, that my pcie device is probed.

[root@XinWei ~]# echo 11 > /sys/bus/pci/devices/0000\:00\:00.0/rescan
pcieport 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
pci_bus 0000:01: pci_scan_device,vendor=17cb,device=306
pcieport 0000:00:00.0: BAR 8: assigned [mem 0x01200000-0x012fffff]
pci 0000:01:00.0: BAR 0: assigned [mem 0x01200000-0x01200fff 64bit]
pci 0000:01:00.0: BAR 2: assigned [mem 0x01201000-0x01201fff 64bit]

2),NXP.LS1043ARDB board can find my PCIE device during the bringup.

How find my PCIE device during the bringup on iMX6 ?

0 Kudos
3 Replies

568 Views
igorpadykov
NXP Employee
NXP Employee

Hi amw

 

what bsp used in the case, please try latest from source.codeaurora.org/external/imx/linux-imx repository
https://source.codeaurora.org/external/imx/linux-imx/tree/?h=imx_5.4.24_2.1.0

Linux documentation

https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applicat...

 

Best regards
igor

0 Kudos

563 Views
amw
Contributor I

thanks for your support.

the board processor is imx6q6avt10ab

I try  to use  zImage-imx6qsabresd.bin & imx6q-sabresd-pcie.dtb from L5.4.24-2.1.0_images_MX6QPDLSOLOX.zip  goto bringup,but not find my pcie device,add pcie host also not probe ok.

it is worse.

0 Kudos

559 Views
igorpadykov
NXP Employee
NXP Employee

could you please try several PCIe cards with i.MX6Q Sabre SD board and Demo Image

 

Best regards
igor

 

0 Kudos