How to enable PCIe in Yocto project on board i.MX6QP-SABRESD?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to enable PCIe in Yocto project on board i.MX6QP-SABRESD?

ソリューションへジャンプ
5,797件の閲覧回数
uncoldice
Contributor II

Hi,

 

I am using Yocto to build Linux image to run on i.mx6qp-sabresd board.

 

I set DISTRO = 'fsl-imx-fb' and built two types images: core-image-base and fsl-image-machine-test.

 

I booted the board with the images copied on SD card, and from log I found both of them not bringing up the PCIe controller.

 

The build procedure I am following the doc 'i.MX_Yocto_Project_User's_Guide.pdf', and I didn't apply any changes on the Yocto project.

 

Please help to inform:

1. If this release Yocto project support PCIe for this board?

2. If yes, how to enable the PCIe in Linux?

 

The Yocto version is 'NXP's 4.1.15-2.1.0 Yocto Project BSP', and I also attach the logs for your check.

 

Thank you very much.

Original Attachment has been moved to: fsl-imx-fb_fsl-image-machine-test.txt.zip

Original Attachment has been moved to: fsl_imx-fb_core-image-base.txt.zip

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
4,465件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi uncoldice

PCIe is supported for this board, please refer to Chapter 40
PCI Express Root Complex Driver, sect.40.2.2 Kernel Configurations

attached Linux Manual. For validation please check

i.MX6Q PCIe EP/RC Validation System 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
返信
5 返答(返信)
4,465件の閲覧回数
uncoldice
Contributor II

Hi igor,

Thanks for your reply.

According to your reply, I enabled the i.MX6 PCIe component in the menuconfig and rebuilt the image.

Now I can see the PCIe initialization message in the log. Unfortunately, it seems failed:

can: raw protocol (rev 20120528)
can: broadcast manager protocol (rev 20120528 t)
can: netlink gateway (rev 20130117) max_hops=1
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11
Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Bluetooth: BNEP filters: protocol multicast
Bluetooth: BNEP socket layer initialized
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
Bluetooth: HIDP socket layer initialized
8021q: 802.1Q VLAN Support v1.8
Key type dns_resolver registered
imx6q-pcie 1ffc000.pcie: phy link never came up
imx6q-pcie 1ffc000.pcie: failed to initialize host
imx6q-pcie: probe of 1ffc000.pcie failed with error -22
dhd_module_init in
input: gpio-keys as /devices/soc0/gpio-keys/input/input8
snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01 00:00:01 UTC (1)
VGEN2: disabling

My board name is : MCIMX6QP-SDB

Please help to check what is the problem.

Thank you very much.

0 件の賞賛
返信
4,465件の閲覧回数
uncoldice
Contributor II

Also attach the log for your reference

0 件の賞賛
返信
4,465件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi uncoldice

please try some other card, one can refer to

sect.40.4 Using PCIe Endpoint and Running Tests

attached Linux Manual for tested cards.

Best regards
igor

0 件の賞賛
返信
4,465件の閲覧回数
uncoldice
Contributor II

Yes it works after attaching a daughter PCIe card. Thanks for your help!

0 件の賞賛
返信
4,466件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi uncoldice

PCIe is supported for this board, please refer to Chapter 40
PCI Express Root Complex Driver, sect.40.2.2 Kernel Configurations

attached Linux Manual. For validation please check

i.MX6Q PCIe EP/RC Validation System 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信