AnsweredAssumed Answered

HP 110T PCIe Network card (Intel 82572EI) with iMX6Q SABRE SD

Question asked by Paul Jefferson on Sep 18, 2014
Latest reply on Sep 24, 2014 by Sinan Akman

Hi everyone,

 

I am currently using the Freescale SABRE SD board to evaluate the suitability of the iMX6Q chip for an upcoming project. I am trying out both buildroot and yocto to create the kernel and root filesystem.

 

I am trying to get the board working with an HP 110T PCIe network card. This card is based on an Intel 82572EI chip which can be used with the e1000e driver. I am able to see the network card ith the following kernel configurations:

 

#

# PCI host controller drivers  

#

CONFIG_PCIE_DW=y          

CONFIG_PCI_IMX6=y      

# CONFIG_EP_MODE_IN_EP_RC_SYS is not set

# CONFIG_RC_MODE_IN_EP_RC_SYS is not set

# CONFIG_PCCARD is not set


CONFIG_E1000E=y      

 

But when I try and bring the interface up I am unable to communicate with the outside world.

 

Network interface configuration:

iface eth1 inet dhcp

 

Output from iup eth1:

udhcpc (v1.22.1) started

Sending discover...

Sending discover...

Sending discover...

No lease, failing

 

I have taken a look through the community questions related to setting up PCIe devices, but haven't managed to find any information that has helped me to get this working. Has anyone had experience getting a network card of this type working with the SABRE SD board?

 

I should mention I am running the standard imx6qsabresd configuration with Yocto 1.6.

 

uname -a:

Linux imx6qsabresd 3.10.17-1.0.1_ga+gdac46dc #5 SMP PREEMPT Wed Sep 17 14:30:17 BST 2014 armv7l GNU/Linux

 

Any help/comments/suggestions gratefully welcomed!

 

Paul

 

 

Below I will add information that may be useful in determining what the problem may be.

 

Output from lspci:

00:00.0 PCI bridge: Device 16c3:abcd (rev 01)

01:00.0 Ethernet controller: Intel Corporation 82572EI Gigabit Ethernet Controller (Copper) (rev 06)

 

Output for Ethernet controller from lspci -vv:

01:00.0 Ethernet controller: Intel Corporation 82572EI Gigabit Ethernet Controller (Copper) (rev 06)

        Subsystem: Hewlett-Packard Company HP 110T PCIe Gigabit Server Adapter

        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B- DisINTx-

        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx+

        Latency: 0, Cache Line Size: 64 bytes

        Interrupt: pin A routed to IRQ 155

        Region 0: Memory at 01100000 (32-bit, non-prefetchable) [size=128K]

        Region 1: Memory at 01120000 (32-bit, non-prefetchable) [size=128K]

        Region 2: I/O ports at 1000 [disabled] [size=32]

        [virtual] Expansion ROM at 01200000 [disabled] [size=128K]

        Capabilities: [c8] Power Management version 2

                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)

                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=1 PME-

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

                Address: 0000000038219000  Data: 0000

        Capabilities: [e0] Express (v1) Endpoint, MSI 00

                DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s <512ns, L1 <64us

                        ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-

                DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-

                        RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+

                        MaxPayload 128 bytes, MaxReadReq 512 bytes

                DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-

                LnkCap: Port #4, Speed 2.5GT/s, Width x1, ASPM L0s, Exit Latency L0s <4us, L1 <64us

                        ClockPM- Surprise- LLActRep- BwNot-

                LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- CommClk-

                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-

                LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-

        Capabilities: [100 v1] Advanced Error Reporting

                UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-

                UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-

                UESvrt: DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-

                CESta:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-

                CEMsk:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-

                AERCap: First Error Pointer: 00, GenCap- CGenEn- ChkCap- ChkEn-

        Capabilities: [140 v1] Device Serial Number 00-18-71-ff-ff-ec-2c-ee

        Kernel driver in use: e1000e

 

PCI related boot messages:

PCI host bridge to bus 0000:00

pci_bus 0000:00: root bus resource [io  0x1000-0x10000]

pci_bus 0000:00: root bus resource [mem 0x01000000-0x01efffff]

pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]

PCI: bus0: Fast back to back transfers disabled

PCI: bus1: Fast back to back transfers disabled

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

pci 0000:00:00.0: BAR 8: assigned [mem 0x01100000-0x011fffff]

pci 0000:00:00.0: BAR 9: assigned [mem 0x01200000-0x012fffff pref]

pci 0000:00:00.0: BAR 6: assigned [mem 0x01300000-0x0130ffff pref]

pci 0000:00:00.0: BAR 7: assigned [io  0x1000-0x1fff]

pci 0000:01:00.0: BAR 0: assigned [mem 0x01100000-0x0111ffff]

pci 0000:01:00.0: BAR 1: assigned [mem 0x01120000-0x0113ffff]

pci 0000:01:00.0: BAR 6: assigned [mem 0x01200000-0x0121ffff pref]

pci 0000:01:00.0: BAR 2: assigned [io  0x1000-0x101f]

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

pci 0000:00:00.0:   bridge window [io  0x1000-0x1fff]

pci 0000:00:00.0:   bridge window [mem 0x01100000-0x011fffff]

pci 0000:00:00.0:   bridge window [mem 0x01200000-0x012fffff pref]

 

e1000e related boot messages:

e1000e: Intel(R) PRO/1000 Network Driver - 2.3.2-k

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

e1000e 0000:01:00.0: Disabling ASPM  L1

PCI: enabling device 0000:01:00.0 (0140 -> 0142)

e1000e 0000:01:00.0: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode

e1000e 0000:01:00.0 eth1: (PCI Express:2.5GT/s:Width x1) 00:18:71:ec:2c:ee

e1000e 0000:01:00.0 eth1: Intel(R) PRO/1000 Network Connection

e1000e 0000:01:00.0 eth1: MAC: 1, PHY: 4, PBA No: D70413-003

Outcomes