How to make PCI bridge recognized with a imx6q Sabre board?

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

How to make PCI bridge recognized with a imx6q Sabre board?

Jump to solution
3,931 Views
toshihiro_kambe
Contributor II

 I'm trying to use the PCIe bus to communicate with a imx6q Sabre board(2012)

I referred from the sect.40.2.2 Kernel Configurations in i.MX Linux Reference Manual.
And I modified the PCIe and PCI settings of .config.

But I not found the PCI bridge by "lspci" command after boot and login.
I found about PCI in boot log.What do you mean is this error log?

<boot log>

---
imx6q-pcie 1ffc000.pcie: no reserved region node.
imx6q-pcie 1ffc000.pcie: 1ffc000.pcie supply epdev_on not found, using dummy regulator
OF: PCI: host bridge /soc/pcie@1ffc000 ranges:
OF: PCI: IO 0x01f80000..0x01f8ffff -> 0x00000000
OF: PCI: MEM 0x01000000..0x01efffff -> 0x01000000
imx6q-pcie 1ffc000.pcie: phy link never came up
imx6q-pcie 1ffc000.pcie: failed to initialize host
imx6q-pcie 1ffc000.pcie: unable to add pcie port.
imx6q-pcie: probe of 1ffc000.pcie failed with error -110
---

<"lspci" log>

---

root@imx6qsabreauto:~# lspci
root@imx6qsabreauto:~#
---

< i.MX6 Sabre board info >
・Mother board
 fresscale 2011 MCIMXABASEV1
 700-26662 REV A
 SHC-26662 REV B1

・CPU board
 MCIMX6xAICPU1 2012
 SCH-27142 REV B1
 700-27142 REV X4

< Build environment >
Ubuntu 16.04 LTS
branch SUMO (Linux Kernel4.14.78)


I attached the boot to lspci log and config files (by "zcat /proc/config.gz")

Labels (1)
Tags (3)
1 Solution
3,652 Views
igorpadykov
NXP Employee
NXP Employee

Hi 俊大 神戸

 

1. "Kernel 3.10.14" is not supported by nxp. For testing please use official nxp
linux releases from source.codeaurora.org/external/imx/linux-imx  repository :

L4.14.78 (sumo)

L3.10.17_1.0.0 (dora)

linux-imx - i.MX Linux kernel 

Linux nxp documentation

i.MX Software and Development Tools | NXP 

issues with "Kernel 3.10.14" may be posted on meta-fsl-arm mailing list

meta-freescale@lists.yoctoproject.org | Home 

2. for showing the PCIe bridge by lspci.it is necessary to attach pcie card.

Preferably to test several pcie cards.

 

Best regards
igor

View solution in original post

14 Replies
3,653 Views
toshihiro_kambe
Contributor II

Could you please check my recognition?

>In Daisy branch(Kernel 3.10.14), the bridge was displayed by the "lspci" command even if the module is connected or >not.But in SUMO branch(Kernel 4.14.78), the bridge was not visible even if the module is connected or not.

So, in SUMO branch(Kernel 4.14.78) necessary to connect and recognition the PCIe device, for show the PCIe bridge by lspci.

Is this recognition correct?

0 Kudos
3,653 Views
igorpadykov
NXP Employee
NXP Employee

Hi 俊大 神戸

 

1. "Kernel 3.10.14" is not supported by nxp. For testing please use official nxp
linux releases from source.codeaurora.org/external/imx/linux-imx  repository :

L4.14.78 (sumo)

L3.10.17_1.0.0 (dora)

linux-imx - i.MX Linux kernel 

Linux nxp documentation

i.MX Software and Development Tools | NXP 

issues with "Kernel 3.10.14" may be posted on meta-fsl-arm mailing list

meta-freescale@lists.yoctoproject.org | Home 

2. for showing the PCIe bridge by lspci.it is necessary to attach pcie card.

Preferably to test several pcie cards.

 

Best regards
igor

3,653 Views
toshihiro_kambe
Contributor II

Dear igorpadykov-san

Thank you for your response. I resolved it. 

>2. for showing the PCIe bridge by lspci.it is necessary to attach pcie card.

I could found the PCI bridge and QCA Chip made in-house product by "lspci" command.

It is recognition rate of module was very poor.

If don't recognize, doesn't display anything "lspci" command in SUMO branch(Kernel 4.14.78).

Thank you for your support.

0 Kudos
3,653 Views
toshihiro_kambe
Contributor II

Dear igorpadykov-san

My using Sabre board is old type, dose it not matter?

< current imx6 Sabre board in NXP>

MCIMX6Q-SDB-BD.jpg

<My using Sabre board>

RDIMX6SABREAUTO_BD.jpg

Best regards

0 Kudos
3,660 Views
igorpadykov
NXP Employee
NXP Employee

Hi 俊大 神戸

these are two different boards:

first: i.MX6QP Sabre-SD, I see marking sch-28857  rev.A   MCIMX6QP-SDB

second, orange below is Sabre AI, SCH-27142 REV B1

Note these are completely two different boards with different processors:

i.MX6QP and i.MX6Q. So no need to compare them.

Also different images should be used for them.

Best regards
igor

0 Kudos
3,660 Views
toshihiro_kambe
Contributor II

Thank you for your response.

I'm understood. Sabre-SD and Sabre AI are another type.

I using the old(2012) board of Sabre AI.

0 Kudos
3,660 Views
toshihiro_kambe
Contributor II

 Yes, I'm using a conversion connector that PCI mini to PCIe, and connect a Wi-fi module equipped with a QCA Chip made in-house product.

01.png

 In Daisy branch(Kernel 3.10.14), the bridge was displayed by the "lspci" command even if the module is connected or not.But in SUMO branch(Kernel 4.14.78), the bridge was not visible even if the module is connected or not.

 I think that the issue may be due to the difference between the old and new boards.

0 Kudos
3,660 Views
igorpadykov
NXP Employee
NXP Employee

please check on below links supported Sabre AI board revisions

Design files for i.MX 6Quad and i.MX 6DualLite CPU1 Cards

SABRE|Automotive-Infotainment|i.MX6 | NXP 

Recommended to use them. For sumo please try more new L4.14.98

Linux L4.14.98_2.0.0 Documentation

linux-imx - i.MX Linux kernel 

Best regards
igor

3,660 Views
toshihiro_kambe
Contributor II

BTW: I using the old (2012) imx6q Sabre board. NXP released latest Sabre board.

Is latest Sabre board changed the Hardware specification?

I need the change the Device Tree file for old imx6q Sabre board?

Image File: Using imx6q Sabre board(2012)

RDIMX6SABREAUTO_BD.jpg

0 Kudos
3,660 Views
igorpadykov
NXP Employee
NXP Employee

please clarify did you attach any PCIe card to board or not ?

in one message you wrote:"

"I'am using the i.MX6qSabre (refarense) baurd only(Mother and CPU bauad).

I'm not using PCIe module.

in other message you wrote:

"I would like to use the PCe interface in imx6 with SUMO"

Best regards
igor

0 Kudos
3,660 Views
toshihiro_kambe
Contributor II

 Thank you for yor response.

 I would like to use the PCe interface in imx6 with SUMO(Linux Kernel4.14.78) branch for the purpose of using PCIe Wifi module.

 However I can't found the PCI bridge by "lspci" command in bellow setting.

>CONFIG_PCI_IMX6=y
>CONFIG_PCI=y

 Could you please teach me how to make PCI bridge recognized with a imx6q Sabre board with SUMO branch?

0 Kudos
3,660 Views
toshihiro_kambe
Contributor II

 Thank you for your response, igorpadykov-san.

 I checked the your send link. But my issue has not resolution.
I'am using the i.MX6qSabre (refarense) baurd only(Mother and CPU bauad). I'm not using PCIe module.

 I booted old branch(Daisy). (I used the Daisy in past.)
I found the PCI bridge by "lspci"after boot and login in Daisy.

I need to settings other of "Bus support"-->"PCI support" in Kernel config of SUMO?

0 Kudos
3,660 Views
igorpadykov
NXP Employee
NXP Employee

Hi 俊大 神戸 

 

>I'm not using PCIe module.

if you are not using PCIe module, then below not necessary :

CONFIG_PCI_IMX6=y

CONFIG_PCI=y

 

Best regards
igor

0 Kudos
3,660 Views
igorpadykov
NXP Employee
NXP Employee

Hi 俊大 神戸 

the same error description and explanations are provided on

pcie failed with error -110 - Toradex Community 

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

0 Kudos