Hellow, the question that i can't scan pice device,but uboot has printed 'PCIe4: pcie@3800000 Root Complex: x8 gen3'. Any suggestion to fixted it?
Log as fowllows:
PCIe0: pcie@3400000 Root Complex: no link
PCIe1: pcie@3500000 Root Complex: no link
PCIe2: pcie@3600000 Root Complex: no link
PCIe3: pcie@3700000 Root Complex: no link
PCIe4: pcie@3800000 Root Complex: x8 gen3
PCIe5: pcie@3900000 disabled
SF: Detected gd55lb01ge with page size 256 Bytes, erase size 64 KiB, total 128 MiB
device 0 offset 0x640000, size 0x80000
SF: 524288 bytes @ 0x640000 Read: OK
device 0 offset 0xa00000, size 0x300000
SF: 3145728 bytes @ 0xa00000 Read: OK
device 0 offset 0xe00000, size 0x100000
SF: 1048576 bytes @ 0xe00000 Read: OK
crc32+
fsl-mc: Booting Management Complex ... #[W, PLATFORM] The UART Console is enabled and the commands take longer time. Set CONSOLE_MODE_OFF in DPC file to disable it!
SUCCESS
fsl-mc: Management Complex booted (version: 10.20.4, boot status: 0x1)
Hit any key to stop autoboot: 0
=>
=>
=>
=>
=> pci enum
=> pci 0
Scanning PCI devices on bus 0
BusDevFun VendorId DeviceId Device Class Sub-Class
_____________________________________________________________
00.00.00 0x1957 0x8d90 Bridge device 0x04
=> pci 1
Scanning PCI devices on bus 1
BusDevFun VendorId DeviceId Device Class Sub-Class
_____________________________________________________________
=> pci 2
Scanning PCI devices on bus 2
BusDevFun VendorId DeviceId Device Class Sub-Class
_____________________________________________________________
02.00.00 0x1957 0x8d90 Bridge device 0x04
=> pci 3
Scanning PCI devices on bus 3
BusDevFun VendorId DeviceId Device Class Sub-Class
_____________________________________________________________
=> pci 4
Scanning PCI devices on bus 4
BusDevFun VendorId DeviceId Device Class Sub-Class
_____________________________________________________________
04.00.00 0x1957 0x8d90 Bridge device 0x04
=> pci 5
Scanning PCI devices on bus 5
BusDevFun VendorId DeviceId Device Class Sub-Class
_____________________________________________________________
=> pci 6
Scanning PCI devices on bus 6
BusDevFun VendorId DeviceId Device Class Sub-Class
_____________________________________________________________
06.00.00 0x1957 0x8d90 Bridge device 0x04
It seems that you didn't use u-boot provided in NXP released SDK.
Please use u-boot in LSDK 21.08 or the latest Layerscape Linux Distribution POC release provided in https://www.nxp.com/design/software/embedded-software/linux-software-and-development-tools/layerscap...