This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Integra tms320c6a8168 Ethernet interfaces

Hello. I work with DSP tms320c6a8168. I need to start up both Ethernet interfaces simultaneously. But I can start only one of the interfaces – eth0 or eth1. But not both at the same time.

 1) When I  plug and unplug Ethernet cable appear the next messages on the console window. So all is ok.

PHY: 0:07 - Link is Up - 1000/Full
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
PHY: 0:07 - Link is Down
PHY: 0:0f - Link is Up - 1000/Full
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
PHY: 0:0f - Link is Down

 2) File interfaces contain the next contents

 # The loopback network interface

auto lo

iface lo inet loopback

 # The primary network interface

auto eth0

iface eth0 inet static

address 192.168.33.198

auto eth1

iface eth1 inet static

address 192.168.33.199

gateway 192.168.33.13

3) After use command ifconfig appear the next contents

root@dm816x-evm:~# ifconfig

eth1      Link encap:Ethernet  HWaddr D4:94:A1:BD:AB:89

          inet addr:192.168.33.199  Bcast:192.168.33.255  Mask:255.255.255.0

          UP BROADCAST MULTICAST  MTU:1500  Metric:1

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

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

          collisions:0 txqueuelen:1000

          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

          Interrupt:44 Base address:0x8000

 

lo        Link encap:Local Loopback

          inet addr:127.0.0.1  Mask:255.0.0.0

          inet6 addr: ::1/128 Scope:Host

          UP LOOPBACK RUNNING  MTU:16436  Metric:1

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

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

          collisions:0 txqueuelen:0

          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@dm816x-evm:~#

So eth0 interface is disappeared.

I need to know what is wrong.

  Thanks.

  •   Hello once more.
    I'd like to say that I use own board on base of 8168 with two VSC8641 PHY.
    Now I get the next log


    eth0      Link encap:Ethernet  HWaddr D4:94:A1:BD:AB:88
              inet addr:192.168.33.198  Bcast:192.168.33.255  Mask:255.255.255.0
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
              Interrupt:43 Base address:0x8000

    eth1      Link encap:Ethernet  HWaddr D4:94:A1:BD:AB:89
              inet addr:192.168.33.199  Bcast:192.168.33.255  Mask:255.255.255.0
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
              Interrupt:44 Base address:0x8000
     
    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

    But it is possible now to ping two IP addresses on the eth0 port!!! When I down eth0 port (ifconfig eth0 down) I can ping two IP addresses on the eth1 port. Both eth0 and eth1 not work at the same time. Today I use the latest linux source code.

  • I'm using EVM8168, have exactly the same problem. Using Wireshark can see either port can response ARP request for both IPs, so one MAC two IP?!!

    Latest EZSDK 5_04_00_11 and PSP04_04_00_01

  • Did a bit research, found out this is actually called "ARP flux", which happened when same box have two or more network interface, and on the same subnet.  I have tried to have eth0 and eth1 on different subnet, then the two act independently.

  •   Hello Ben Yuan1:)

    You help me very much. Now two eth0 and eth1 work independently.

  • Hi, Dmitry, Very happy that you have solved the problem also.  Cheers.