[meta-intel] [yocto] jasperforest ethtool package usage

Eddy Lai GMail eddy.lai.tw at gmail.com
Thu Jan 24 04:35:14 PST 2013


Hi

I use yocto 1.3 with jasperforest BSP, on my target Xeon board there's 
Intel 82580DB gigabit ethernet controller,
have add the "CORE_IMAGE_EXTRA_INSTALL += "ethtool"" in my local.conf , 
build and boot the image from USB flash disk,
but got "Bad address" error when I try to use "ethtool -E" command, the 
EEPROM on my board is ST25256
will the "ethtool" need to be ported for using on different size EEPROM? 
or should I made modification to igb driver?
------------------------------------------------------------------------------------------------------
root at jasperforest:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:a0:c9:00:00:00
           inet addr:10.10.67.241  Bcast:10.10.67.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)
           Memory:fba80000-fbb00000

eth1      Link encap:Ethernet  HWaddr 00:a0:c9:00:00:01
           inet addr:192.168.1.156  Bcast:0.0.0.0  Mask:255.255.255.0
           inet6 addr: fe80::2a0:c9ff:fe00:1/64 Scope:Link
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:1275 errors:0 dropped:0 overruns:0 frame:0
           TX packets:801 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:125925 (122.9 KiB)  TX bytes:141857 (138.5 KiB)
           Memory:fba00000-fba80000

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:26 errors:0 dropped:0 overruns:0 frame:0
           TX packets:26 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:1820 (1.7 KiB)  TX bytes:1820 (1.7 KiB)

root at jasperforest:~# ethtool -e eth0 offset 0 length 6
Offset          Values
------          ------
0x0000:         00 a0 c9 00 00 00
root at jasperforest:~# ethtool -E eth0 offset 5 length 1 value 1
Cannot set EEPROM data: Bad address
root at jasperforest:~#




More information about the meta-intel mailing list