How to enable MINI-PCIe port in yocto project in on IMX8M-MINI based DART-MX8M-MINI SOC

cancel
Showing results for 
Search instead for 
Did you mean: 

How to enable MINI-PCIe port in yocto project in on IMX8M-MINI based DART-MX8M-MINI SOC

Jump to solution
324 Views
bhabu_bindu
Contributor I

Hello,

I am using Yocto to build Linux image to run on IMX8M-MINI based DART-MX8M-MINI SOC ,on VAR-DT8M Board.

I booted the board with the fsl-image-gui image copied on SD card, and from log I doubt it is bringing up the PCIe bus.

The build procedure I am following the doc setup guide , and I didn't apply any changes on the Yocto project.

I haven't connected and mini PCIe device but wanted to know from the boot log i received if that is what is expected and if the bus is enabled, the CONFIG parameters for PCI in my dts file seems to be enabled.The boot log I received is:

root@imx8mm-var-dart:~# dmesg | grep -i pci                                     

[    0.522332] PCI: CLS 0 bytes, default 64                                     

[    1.768407] imx6q-pcie 33800000.pcie: 33800000.pcie supply epdev_on not found

[    1.785835] imx6q-pcie 33800000.pcie: host bridge /soc@0/pcie@33800000 range:

[    1.799468] imx6q-pcie 33800000.pcie:    IO 0x1ff80000..0x1ff8ffff -> 0x00000

[    1.814603] imx6q-pcie 33800000.pcie:   MEM 0x18000000..0x1fefffff -> 0x18000

[    1.829011] imx6q-pcie 33800000.pcie: EXT REF_CLK is used!.                  

[    2.952987] imx6q-pcie 33800000.pcie: Phy link never came up                 

[    2.958688] imx6q-pcie 33800000.pcie: failed to initialize host              

[    2.964634] imx6q-pcie 33800000.pcie: unable to add pcie port.

0 Kudos
1 Solution
318 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi bhabu_bindu

 

seems it is enabled, for testing recommended to attach some pcie card, just for reference dts file:

https://github.com/varigit/linux-imx/blob/imx_4.19.35_1.1.0_var01/arch/arm64/boot/dts/freescale/fsl-...

 

Best regards
igor

View solution in original post

0 Kudos
1 Reply
319 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi bhabu_bindu

 

seems it is enabled, for testing recommended to attach some pcie card, just for reference dts file:

https://github.com/varigit/linux-imx/blob/imx_4.19.35_1.1.0_var01/arch/arm64/boot/dts/freescale/fsl-...

 

Best regards
igor

View solution in original post

0 Kudos