AnsweredAssumed Answered

Ethernet interface is not working on LS1012ARDB with default yocto build images

Question asked by srinivas reddy reddy on Apr 13, 2017
Latest reply on Apr 24, 2017 by Peter Vollmer


I am working on NXP board Model: LS1012A RDB Board, RevB. I am using yocto source LS1012A-SDK-SOURCE-20161230-yocto.iso.

I was able to flash and boot yocto kernel.itb and rootfs from SD card. But with the default yocto build images, Ethernet interface is not working. I have changed the configuration in /etc/network/interfaces to enable the eth0 and eth1 interfaces but still the Ethernet interface is not working.  Ethernet interface is working fine with the default image shipped with LS12012ARDB board. Hope hardware point of view, Ethernet interface is fine. Do I need added any .elf file or make any changes to make Ethernet interface work with yocto source code. Complete log file is attached.

 

==================ifconfig command log  =====================

root@ls1012ardb:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:04:9f:04:68:b3
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:1374 (1.3 KiB)

eth1 Link encap:Ethernet HWaddr 00:04:9f:04:70:77
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:742 (742.0 B)

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:65536 Metric:1
RX packets:19 errors:0 dropped:0 overruns:0 frame:0
TX packets:19 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1197 (1.1 KiB) TX bytes:1197 (1.1 KiB)

==================End of ifconfig command log  =====================

 

==================content of /etc/network/interfaces =====================

root@ls1012ardb:~# cat /etc/network/interfaces
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

auto eth1
iface eth1 inet dhcp

 

Original Attachment has been moved to: default_yocto_rfs_kernel_13-04-2017.txt.zip

Outcomes