iMX6QSABRESD board PCIe with 5.4.70 cannot detect PCIe.

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

iMX6QSABRESD board PCIe with 5.4.70 cannot detect PCIe.

788 Views
HiroakiOkoshi
Contributor III

Hi All

I am trying to operate the PCIe bus board on the IMX6QSABRESD board by referring to i.MX Yocto Project User's Guide (Rev. L5.4.70_2.3.0 — 31 December 2020). However, it does not detect the PCI bus. If it is an old environment, it is detected as (* 2). I thought that the Kernel Config setting was insufficient, so I tried to modify the setting with "bitbake virtual / kernel -c menuconfig", but it was not detected. Please tell me the settings.

An excerpt of the settings at the time of kernel build is posted in (* 3).

Attach the config file.

Best Regards

Hiroaki Okoshi

Kernel 5.4.70 Log(*1)

root@imx6qsabresd:~# uname -a
Linux imx6qsabresd 5.4.70-2.3.0+g4f2631b022d8 #1 SMP PREEMPT Wed Jan 27 09:32:30 UTC 2021 armv7l GNU/Linux
root@imx6qsabresd:~# lspci
root@imx6qsabresd:~# lspci --version
lspci version 3.6.2
root@imx6qsabresd:~# dmesg | grep PCI
[ 0.185030] PCI: CLS 0 bytes, default 64
[ 1.715928] ehci-pci: EHCI PCI platform driver

Kernel 4.14.98 Log(*2)

root@imx6qsabresd:~# uname -a
Linux imx6qsabresd 4.14.98-imx_4.14.98_2.0.0_ga+g5d6cbeafb80c #1 SMP PREEMPT Thu Jan 7 23:18:46 UTC 2021 armv7l GNU/Linux
root@imx6qsabresd:~# lspci
00:00.0 PCI bridge: Synopsys, Inc. Device abcd (rev 01)
01:00.0 Network controller: Broadcom Limited Device 43ef (rev 05)
root@imx6qsabresd:~# lspci --version
lspci version 3.5.6

Build Setting 

user@RZ3900:~/tmp/work/imx6qsabresd-poky-linux-gnueabi/linux-imx/5.4-r0$ grep IMX defconfig
CONFIG_SOC_IMX50=y
CONFIG_SOC_IMX51=y
CONFIG_SOC_IMX53=y
CONFIG_SOC_IMX6Q=y
CONFIG_SOC_IMX6SL=y
CONFIG_SOC_IMX6SLL=y
CONFIG_SOC_I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COTP=y
user@RZ3900:~/tmp/work/imx6qsabresd-poky-linux-gnueabi/linux-imx/5.4-r0$ grep PCI defconfig
CONFIG_PCI=y
CONFIG_PCI_MSI=y
CONFIG_PCI_IMX6_HOST=y
CONFIG_PCI_IMX6_EP=y
CONFIG_PCI_ENDPOINT=y
CONFIG_PCI_ENDPOINT_CONFIGFS=y
CONFIG_PCI_EPF_TEST=y
CONFIG_PCI_ENDPOINT_TEST=y

 

0 Kudos
4 Replies

750 Views
HiroakiOkoshi
Contributor III

In the original environment, I replaced the dtb file and it worked. Is it the only way to copy it manually?

0 Kudos

753 Views
HiroakiOkoshi
Contributor III

Thanks

0 Kudos

779 Views
igorpadykov
NXP Employee
NXP Employee

Hi HiroakiOkoshi

 

one can try with Demo Image :  i.MX 6QuadPlus, i.MX 6Quad, i.MX 6DualLite, i.MX 6SoloX Boards​

also recommended to test with several pcie cards.

 

Best regards
igor

0 Kudos

754 Views
HiroakiOkoshi
Contributor III

I was able to do it, but I failed to POST many times, so I lost the desire to POST.

0 Kudos