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.

TDA2EVM5777: Linux - eth0 device not found

Part Number: TDA2EVM5777

Hi.

I am trying to set up an NFS shared folder using TDA2EVM5777.

I'm working in a Linux environment, but the eth0 device doesn't appear.
I checked the eth0 device through the "ifconfig -a" and "ls -l /sys/class/net/" commands, but the eth0 device does not exist.

==================================================================================

root@dra7xx-evm:~# ifconfig -a
can0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
NOARP MTU:16 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:10
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:98

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1%132976/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:160 errors:0 dropped:0 overruns:0 frame:0
TX packets:160 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:12160 (11.8 KiB) TX bytes:12160 (11.8 KiB)

sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 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:1
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

root@dra7xx-evm:~# ls -l /sys/class/net/
lrwxrwxrwx 1 root root 0 May 13 19:52 can0 -> ../../devices/platform/44000000.ocp/4ae3c000.can/net/can0
lrwxrwxrwx 1 root root 0 May 13 19:52 lo -> ../../devices/virtual/net/lo
lrwxrwxrwx 1 root root 0 May 13 19:52 sit0 -> ../../devices/virtual/net/sit0

==================================================================================

However, I have confirmed that the network operates with the Ping command in U-Boot.
(I have set up ipaddr, gatewayip, netmask with the setenv command.)


So, there seems to be a problem with Linux settings.

How can I find the eth0 device on Linux?

In addition, I would like to modify the VisionSDK App and build it to update to the NFS shared folder.
Do I simply change the app.out file? Or do I need more work to do?

Regards,

Lee.

  • Hi Lee,

    Based on the information you have provided it looks like probe of Ethernet device failed during linux boot.

    Can you please share linux boot logs and the dts file you are using?

    Thank you

    Regards

    Santhana Bharathi

  • Hi Santhana Bharathi,

    Attach my Linux boot log and dts files.

    5432.boot.zip

    Regards,

    Lee.

  • I resolved this issue.

    It was a problem with the settings in my dts file.
    (ti_components/os_tools/linux/kernel/omap/arch/arm/boot/dts/dra7-evm.dts)

    The mac setting was "disabled", and after changing to "okay", the eth0 device is output normally.

    =============================================================================

    root@dra7xx-evm:~# ifconfig
    eth0 Link encap:Ethernet HWaddr F0:B5:D1:0F:22:0C
    inet addr:192.168.1.150 Bcast:192.168.1.255 Mask:255.255.255.0
    inet6 addr: fe80::f2b5:d1ff:fe0f:220c%132400/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:12 errors:0 dropped:0 overruns:0 frame:0
    TX packets:32 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:1316 (1.2 KiB) TX bytes:3132 (3.0 KiB)
    Interrupt:99

    eth1 Link encap:Ethernet HWaddr F0:B5:D1:0F:22:0D
    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)

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1%132400/128 Scope:Host
    UP LOOPBACK RUNNING MTU:65536 Metric:1
    RX packets:166 errors:0 dropped:0 overruns:0 frame:0
    TX packets:166 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1
    RX bytes:12688 (12.3 KiB) TX bytes:12688 (12.3 KiB)

    =============================================================================

    Regards,

    Lee.