Bug 5183

Summary: [Beagleboard xM] Network interface doesn't work with 3.10 kernel
Product: [Build System, Metadata & Runtime] BSPs Reporter: Yi Zhao <yi.zhao>
Component: bsps-meta-yoctoAssignee: Liming Wang <liming.wang>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: Medium+ CC: bruce.ashfield, dvhart, jukka.rissanen, ke.zou, kec200503, sgw, yi.zhao
Version: 1.5   
Target Milestone: 1.5.1   
Hardware: Beagleboard   
OS: arm   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know
Attachments:
Description Flags
dmesg log none

Description Yi Zhao 2013-09-13 09:51:45 UTC
Created attachment 1496 [details]
dmesg log

Image location: http://autobuilder.yoctoproject.org/pub/releases/1.5_M5.rc1/
Git rev: master/566ca1e4769b4ec7e3f6c6a98bb817db2221cf82

The network interface doesn't with 1.5 M5 rc1 build:
########################
root@beagleboard:~# ifconfig 
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:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:100 (100.0 B)  TX bytes:100 (100.0 B)

root@beagleboard:~# 
root@beagleboard:~# ifconfig eth0 up
ifconfig: SIOCGIFFLAGS: No such device
root@beagleboard:~# 
root@beagleboard:~# 
root@beagleboard:~# ifconfig -a
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:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:100 (100.0 B)  TX bytes:100 (100.0 B)

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:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@beagleboard:~# 
###############


u-boot args:
setenv bootcmd 'mmc rescan; fatload mmc 0:1 0x80300000 zImage; bootz 0x80300000'
setenv bootargs 'console=tty0 console=ttyO2,115200n8 root=/dev/mmcblk0p2 rootwait rootfstype=ext3 ro'
boot
Comment 1 Yi Zhao 2013-11-22 06:17:37 UTC
This network interface can work on 1.6 20131119 build.
git rev: master/215dab864e7cf74394840621ad0754db593708f1
Comment 2 Yi Zhao 2013-12-18 07:50:20 UTC
This issue is fixed in 1.6 M1 and 1.5.1. We can close this bug.

Verified it with 1.6 M1 rc1 build and 1.5.1 rc2 build.
Comment 3 Kevin Cribbs 2014-03-12 23:21:05 UTC
I confirmed that this continues to work in /pub/nightly/20140307-2 poky-abe417e22b1b55c444460f722ca434f9d382ef87.tar.bz2

root@beagleboard:~# ping 192.168.10.10
PING 192.168.10.10 (192.168.10.10): 56 data bytes
64 bytes from 192.168.10.10: seq=0 ttl=64 time=1.191 ms
64 bytes from 192.168.10.10: seq=1 ttl=64 time=1.282 ms
64 bytes from 192.168.10.10: seq=2 ttl=64 time=1.068 ms
64 bytes from 192.168.10.10: seq=3 ttl=64 time=1.220 ms
^C
--- 192.168.10.10 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 1.068/1.190/1.282 ms
root@beagleboard:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 52:5A:94:E4:C4:5A  
          inet addr:192.168.10.20  Bcast:192.168.10.255  Mask:255.255.255.0
          inet6 addr: fe80::505a:94ff:fee4:c45a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:128 errors:0 dropped:0 overruns:0 frame:0
          TX packets:152 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:12637 (12.3 KiB)  TX bytes:33065 (32.2 KiB)

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: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@beagleboard:~# cat /proc/cmdline
console=tty0 console=ttyO2,115200n8 debug consoleblank=0 mpurate=auto buddy=none camera=none vram=16M omapfb.mode=dvi:hd720 omapfb.vram=0:8M
,1:4M,2:4M omapdss.def_disp=dvi root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait
root@beagleboard:~#
Comment 4 Darren Hart 2014-03-13 15:14:58 UTC
This BSP will be replaced with one for the BeagleBone Black. For Beagleboard xM support, the TI BSP should be used instead of this one. Closing as will not fix.