IMX6Q pcie ethernet card

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

IMX6Q pcie ethernet card

4,036 Views
zhaosongluo
Contributor I

hi!

I am using INTEL pc82573E(pcie to 1000Gbit ethernet) on our custom IMX6Q board based on SabreSD board. but it seems that could not recognise the devcie properly.

the kernel is Linux 3.0.35-imx,and  we choose board (mx6q_sabresd) on LTIB config.

here is what i have done:

add a star to:

System Type -> Freescale MXC Implementations -> PCI Express support

Bus support -> Message Signaled Interrupts (MSI and MSI-X)

Bus support -> PCI Express Support

Device Drivers -> Network Device support -> Ethernet (1000 Mbit)

Device Drivers -> Network Device support -> Ethernet (1000 Mbit) -> Realtek 8169 gigabit ethernet support

Device Drivers -> Network Device support -> Ethernet (1000 Mbit) -> Intel(R) PRO/1000 Gigabit Ethernet support

Device Drivers -> Network Device support -> Ethernet (1000 Mbit) -> Intel(R) PRO/1000 PCI-Express Gigabit Ethernet support

Device Drivers -> Network Device support -> Ethernet (1000 Mbit) -> IP1000 Gigabit Ethernet support

Device Drivers -> Network Device support -> Ethernet (1000 Mbit) -> Intel(R) 82575/82576 PCI-Express Gigabit Ethernet support

Device Drivers -> Network Device support -> Ethernet (1000 Mbit) -> Intel(R) 82576 Virtual Function Ethernet support

and remove the star from: make menuconfig -> Device Drivers -> Network Device support -> Ethernet (10 or 100Mb)

after compile the kernel i use MfgTool2 to load the uImage to the emmc on board.

After reset the board, here is the log about pcie on system boot:

---------------------------------------------------------------------------

iMX6 PCIe PCIe RC mode imx_pcie_pltfm_probe entering.

PCIE: imx_pcie_pltfm_probe start link up.

IMX PCIe port: link up.

PCI: bus0: Fast back to back transfers disabled

PCI: bus1: Fast back to back transfers enabled

pci 0000:00:00.0: BAR 0: assigned [mem 0x01000000-0x010fffff 64bit pref]

pci 0000:00:00.0: BAR 0: set to [mem 0x01000000-0x010fffff 64bit pref] (PCI address [0x1000000-0x10fffff])

pci 0000:00:00.0: BAR 6: assigned [mem 0x01100000-0x0110ffff pref]

pci 0000:00:00.0: PCI bridge to [bus 01-01]

pci 0000:00:00.0:   bridge window [io  disabled]

pci 0000:00:00.0:   bridge window [mem disabled]

pci 0000:00:00.0:   bridge window [mem pref disabled]

PCI: enabling device 0000:00:00.0 (0000 -> 0003)

IMX usb wakeup probe

add wake up source irq 75

**

**

e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI

e1000: Copyright (c) 1999-2006 Intel Corporation.

e1000e: Intel(R) PRO/1000 Network Driver - 1.3.10-k2

e1000e: Copyright(c) 1999 - 2011 Intel Corporation.

Intel(R) Gigabit Ethernet Network Driver - version 3.0.6-k2

Copyright (c) 2007-2011 Intel Corporation.

Intel(R) Virtual Function Network Driver - version 1.0.8-k0

Copyright (c) 2009 - 2010 Intel Corporation.

-----------------------------------------------------

when i login into the system, i use the ifconfig command,but there is no eth device:

-------------------------

root@freescale ~$ ifconfig

root@freescale ~$

-------------------------

while when i use the lspci,here is the output:

---------------------------------------

root@freescale ~$ lspci

00:00.0 Class 0604: 16c3:abcd

root@freescale ~$ lspci -mk

00:00.0 "Class 0604" "16c3" "abcd" "0000" "0000" "pcieport"

---------------------------------------

i am a newer to pcie, so i have no idea to locate the problem !

Any advise would be greatful!

Best Regards

geliter

Tags (3)
0 Kudos
7 Replies

1,564 Views
zhaosongluo
Contributor I

i test on my pc,the pcie to 1Gbit ethernet card works well.so the pcie card has no problem.

but now why the kernel could not recognise the INTEL 82573 CARD.

0 Kudos

1,564 Views
igorpadykov
NXP Employee
NXP Employee

Hi zhaosong

it may be suggested to get updated intel driver for that chip or try

more new kernel, which has more devices supported

L3.10.17_1.0.0_IMX6QDLS_BUNDLE : Source Code Download Steps Documentation and Demo Images.

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 Kudos

1,564 Views
zhaosongluo
Contributor I

hi igor!

i could not found the imx-3.10.17-1.0.0-ga-mfg-tools.tar.gz on the internet.

would you please give me a link to that tools,so that i could try the yocto images!

thanks!

Best regards

geliter

0 Kudos

1,564 Views
igorpadykov
NXP Employee
NXP Employee
0 Kudos

1,564 Views
zhaosongluo
Contributor I

hi igor!

sorry for delay reply! my problem is still not resolved.

i have tried the ubuntu system,and could get more information through the lspci -v .

could see any thing is wrong on the information below

i will try other kernels later.

---------------------------------------------------------------------------------------------------

root@linaro-ubuntu-desktop:~# lspci -v

00:00.0 PCI bridge: Device 16c3:abcd (rev 01) (prog-if 00 [Normal decode])

        Flags: fast devsel

        Memory at 01000000 (64-bit, prefetchable) [disabled] [size=1M]

        Bus: primary=00, secondary=00, subordinate=00, sec-latency=0

        I/O behind bridge: 00000000-00000fff

        Memory behind bridge: 00000000-000fffff

        Prefetchable memory behind bridge: 00000000-000fffff

        [virtual] Expansion ROM at 01100000 [disabled] [size=64K]

        Capabilities: [40] Power Management version 3

        Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+

        Capabilities: [70] Express Root Port (Slot-), MSI 00

        Capabilities: [100] Advanced Error Reporting

        Capabilities: [140] Virtual Channel

        Kernel driver in use: pcieport

----------------------------------------------------------------------------------------------------

Best regards

geliter

0 Kudos

1,564 Views
sinanakman
Senior Contributor III

Hi Zhasong, in addition to Igor's suggestions, I just want to add that :

IMX PCIe port: link up

seems to indicate that PCIe is seeing your card properly but

later on when you issue lspci , it doesn't look like it is

listing your card :

root@freescale ~$ lspci

00:00.0 Class 0604: 16c3:abcd

I believe this is the pcie root. Do you ever get your ethernet card's id as

a result of lspci ?

Which kernel version are you using ? You can also try the mainline

kernel if you haven't yet.

Lastly, if this is your custom board, verify the power on

gpio is defined properly for the kernel. Are you able to

use any other pcie card successfully on your custom board ?

Hope this helps

Regards

Sinan Akman

0 Kudos

1,564 Views
zhaosongluo
Contributor I

hi Sinan Akman!

I have not get the ethernet card's id as a result of lspci. unfortunately,i have only this pcie card on my hand.

while the vesion of the kernel is

-------------------------------------------------------------------------

root@linaro-ubuntu-desktop:~# cat /proc/version

Linux version 3.0.35-2666-gbdde708 (root@imx) (gcc version 4.6.2 20110630 (prerelease) (Freescale MAD -- Linaro 2011.07 -- Built at 2011/08/10 09:20) ) #5 SMP PREEMPT Sun Jan 4 18:23:53 CST 2015

-------------------------------------------------------------------------

maybe this kernel is two old.

i will check the power on gpio for the kernel and try more kernel.

Thanks for your suggestion!

Best regards

geliter

0 Kudos