AnsweredAssumed Answered

IMX6Q pcie ethernet card

Question asked by zhaosong luo on Dec 29, 2014
Latest reply on Jan 5, 2015 by igorpadykov

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

Outcomes