try to build linux kernel to support NVME, got error on NVME driver.
here is the command line of the build:
$ mkdir imx-yocto-bsp
$ cd imx-yocto-bsp
$ repo init -u https://source.codeaurora.org/external/imx/imx-manifest.git -b imx-linux-morty -m imx-4.9.51-8qxp_alpha.xml
$ repo sync
DISTRO=fsl-imx-xwayland MACHINE=imx8qxpmek source fsl-setup-release.sh -b build-xwayland
bitbake core-image-minimal
here is the error i got from the "dmesg":
imx8qxpmek login: root
root@imx8qxpmek:~# dmesg | grep pci
[ 0.947559] libphy: mdio_driver_register: phy-bcm-ns2-pci
[ 1.305244] ehci-pci: EHCI PCI platform driver
[ 1.331497] ohci-pci: OHCI PCI platform driver
[ 2.203659] OF: PCI: host bridge /pcie@0x5f010000 ranges:
[ 2.209098] OF: PCI: No bus range found for /pcie@0x5f010000, using [bus 00-ff]
[ 2.301521] imx6q-pcie 5f010000.pcie: Link up, Gen3
[ 2.307199] imx6q-pcie 5f010000.pcie: PCI host bridge to bus 0000:00
[ 2.313600] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 2.319100] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
[ 2.325295] pci_bus 0000:00: root bus resource [mem 0x70000000-0x7fefffff]
[ 2.332208] pci 0000:00:00.0: [1957:0000] type 01 class 0x060400
[ 2.332229] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x00ffffff]
[ 2.332241] pci 0000:00:00.0: reg 0x38: [mem 0x00000000-0x00ffffff pref]
[ 2.332554] pci 0000:00:00.0: supports D1 D2
[ 2.332562] pci 0000:00:00.0: PME# supported from D0 D1 D2 D3hot
[ 2.332922] pci 0000:01:00.0: [8086:f1a5] type 00 class 0x010802
[ 2.333021] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
[ 2.342118] pci 0000:00:00.0: BAR 0: assigned [mem 0x70000000-0x70ffffff]
[ 2.348934] pci 0000:00:00.0: BAR 6: assigned [mem 0x71000000-0x71ffffff pref]
[ 2.356177] pci 0000:00:00.0: BAR 14: assigned [mem 0x72000000-0x720fffff]
[ 2.363075] pci 0000:01:00.0: BAR 0: assigned [mem 0x72000000-0x72003fff 64bit]
[ 2.370444] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 2.375420] pci 0000:00:00.0: bridge window [mem 0x72000000-0x720fffff]
[ 2.382562] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
[ 2.389537] pci 0000:01:00.0: Signaling PME through PCIe PME interrupt
[ 2.396086] pcie_pme 0000:00:00.0:pcie001: service driver pcie_pme loaded
[ 2.396194] aer 0000:00:00.0:pcie002: service driver aer loaded
[ 2.396535] nvme nvme0: pci function 0000:01:00.0
[ 2.444311] dhd_wifi_platform_load_pcie: pcie_register_driver failed
root@imx8qxpmek:~# [ 62.914072] nvme nvme0: I/O 79 QID 0 timeout, disable controller
[ 63.026157] nvme nvme0: Identify Controller failed (-4)
[ 63.031438] nvme nvme0: Removing after probe failure status: -5
please help.
thanks.
Please use the latest BSP. Here is the document of the BSP. Linux L4.14.78_1.0.0 Documentation