PCIE network card

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

PCIE network card

1,112 Views
carmilili
Contributor III

I plug a mPCIe network card on the board IMX6Q-SDB.

The mPCIE card is RTL8111e or RTL8111f.The code is r8168-8.038.00.

It only work well when use the command of ping,tftp iperf and ssh run failure.

PCIE: imx_pcie_pltfm_probe start link up.

IMX PCIe port: link up.

pci 0000:00:00.0: [16c3:abcd] type 1 class 0x000604

pci 0000:00:00.0: reg 10: [mem 0x00000000-0x000fffff 64bit pref]

pci 0000:00:00.0: reg 38: [mem 0x00000000-0x0000ffff pref]

pci 0000:00:00.0: supports D1

pci 0000:00:00.0: PME# supported from D0 D1 D3hot D3cold

pci 0000:00:00.0: PME# disabled

PCI: bus0: Fast back to back transfers disabled

pci 0000:01:00.0: [10ec:8168] type 0 class 0x000200

pci 0000:01:00.0: reg 10: [io  0x0000-0x00ff]

pci 0000:01:00.0: reg 18: [mem 0x00000000-0x00000fff 64bit pref]

pci 0000:01:00.0: reg 20: [mem 0x00000000-0x00003fff 64bit pref]

pci 0000:01:00.0: supports D1 D2

pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold

pci 0000:01:00.0: PME# disabled

PCI: bus1: Fast back to back transfers disabled

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 addr

ess [0x1000000-0x10fffff])

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

pci 0000:00:00.0: BAR 6: assigned [mem 0x01200000-0x0120ffff pref]

pci 0000:00:00.0: BAR 7: assigned [io  0x1e00000-0x1e00fff]

pci 0000:01:00.0: BAR 4: assigned [mem 0x01100000-0x01103fff 64bit pref]

pci 0000:01:00.0: BAR 4: set to [mem 0x01100000-0x01103fff 64bit pref] (PCI addr

ess [0x1100000-0x1103fff])

pci 0000:01:00.0: BAR 2: assigned [mem 0x01104000-0x01104fff 64bit pref]

pci 0000:01:00.0: BAR 2: set to [mem 0x01104000-0x01104fff 64bit pref] (PCI addr

ess [0x1104000-0x1104fff])

pci 0000:01:00.0: BAR 0: assigned [io  0x1e00000-0x1e000ff]

pci 0000:01:00.0: BAR 0: set to [io  0x1e00000-0x1e000ff] (PCI address [0x1e0000

0-0x1e000ff])

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

pci 0000:00:00.0:   bridge window [io  0x1e00000-0x1e00fff]

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

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

(1)

root@freescale /app/net$ifconfig

eth0      Link encap:Ethernet  HWaddr 00:04:9F:02:6E:25

          inet addr:192.168.2.67  Bcast:192.168.2.255  Mask:255.255.255.0

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:109724 errors:0 dropped:903 overruns:0 frame:0

          TX packets:7501 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:17633802 (16.8 MiB)  TX bytes:1108875 (1.0 MiB)

eth1      Link encap:Ethernet  HWaddr 00:13:3B:0E:D1:10

          inet addr:10.0.0.1  Bcast:10.255.255.255  Mask:255.0.0.0

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:18112 errors:0 dropped:142 overruns:0 frame:0

          TX packets:23 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:1537208 (1.4 MiB)  TX bytes:1494 (1.4 KiB)

          Interrupt:155 Base address:0xe000

lo        Link encap:Local Loopback

          inet addr:127.0.0.1  Mask:255.0.0.0

          UP LOOPBACK RUNNING  MTU:16436  Metric:1

          RX packets:14 errors:0 dropped:0 overruns:0 frame:0

          TX packets:14 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0

          RX bytes:1136 (1.1 KiB)  TX bytes:1136 (1.1 KiB)

(2)

root@freescale /app/net$ ping 10.0.0.2

PING 10.0.0.2 (10.0.0.2): 56 data bytes

64 bytes from 10.0.0.2: seq=0 ttl=64 time=10.165 ms

64 bytes from 10.0.0.2: seq=1 ttl=64 time=0.230 ms

......

It is ok.

(3)

When I use the commad tftp ssh and iperf to test it ,all to be  failure.

root@freescale /app/net$ ssh -v root@10.0.0.2

OpenSSH_4.3p2, OpenSSL 1.0.1c 10 May 2012

debug1: Reading configuration data /etc/ssh/ssh_config

debug1: Connecting to 10.0.0.2 [10.0.0.2] port 22.

debug1: Connection established.

debug1: permanently_set_uid: 0/0

debug1: identity file /root/.ssh/identity type -1

debug1: identity file /root/.ssh/id_rsa type -1

debug1: identity file /root/.ssh/id_dsa type -1

debug1: Remote protocol version 2.0, remote software version OpenSSH_5.3

debug1: match: OpenSSH_5.3 pat OpenSSH*

debug1: Enabling compatibility mode for protocol 2.0

debug1: Local version string SSH-2.0-OpenSSH_4.3

debug1: SSH2_MSG_KEXINIT sent

debug1: SSH2_MSG_KEXINIT received

debug1: kex: server->client aes128-cbc hmac-md5 none

debug1: kex: client->server aes128-cbc hmac-md5 none

debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent

debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP

It  stops  here.

Labels (3)
0 Kudos
3 Replies

701 Views
Oceanblue
Contributor III

Hi Carmili,

     I have met the similar issue to you, have you solved the problem? please share if solved, thanks.


0 Kudos

701 Views
carmilili
Contributor III

Hi,

     It is only in the test now.

0 Kudos

701 Views
igorpadykov
NXP Employee
NXP Employee

Hi Carmili

I would suggest to upgrade RTL8111 driver or

try to use more new kernel.

L3.10.17_1.0.0_IMX6QDLS_BUNDLE : Source Code

Best regards

chip

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

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

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

0 Kudos