(SOLVED) ether vs HWaddr for LPCXpresso
Добавлено: 27 май 2014, 11:43
I'm using LPCXpresso ( http://www.lpcware.com/lpcxpresso/downloads/linux ) to develop ARM projects. Unlikely the developers of this system supports only Ubuntu and Fedora Linux distributions so that I can use this IDE in a limited way. Of course at first sight this might seem not o problem of Rosa Linux. Maybe someone has some hint.
To sum up: LPCXpresso IDE is based on Eclipse and uses java. On Rosa Linux the installer works fine. The only tweak needed is to change "run in a terminal" in menu definition. The IDE should be registered to use LPCLink (Debugger Dongle) up to 256K range. Unregistered system uses 8Kbytes to upload and debug. Registering is free and done fine on Rosa Linux. It shows up "fully registered".
But when debugging 'the system' can't find eth0's MAC address and even though it is 256K registered only 8K can be used. IMHO the source of the problem is the difference in the output of "ifconfig" of 'supported' distros and ours'.
ifconfig output of Ubuntu:
ifconfig output of Rosa:
As can be seen MAC address' keyword of Ubuntu is "HWaddr" and Rosa's is "ether".
I wonder why this is different and is there any way to use "HWaddr" in the output in place of "ether" or can be added a line with "HWaddr"?
Sorry I have to ask this question here, wishing to find an answer. Because the developers of LPCXpresso only say "we support only Ubuntu and Fedora" whenever such a question asked to them.
To sum up: LPCXpresso IDE is based on Eclipse and uses java. On Rosa Linux the installer works fine. The only tweak needed is to change "run in a terminal" in menu definition. The IDE should be registered to use LPCLink (Debugger Dongle) up to 256K range. Unregistered system uses 8Kbytes to upload and debug. Registering is free and done fine on Rosa Linux. It shows up "fully registered".
But when debugging 'the system' can't find eth0's MAC address and even though it is 256K registered only 8K can be used. IMHO the source of the problem is the difference in the output of "ifconfig" of 'supported' distros and ours'.
ifconfig output of Ubuntu:
Код: Выделить всё
ubuntu@ubuntu:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 12:34:56:78:9a:bc
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)
Код: Выделить всё
[root@elektronist elektronist]# ifconfig
eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 12:34:56:78:9a:bc txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
I wonder why this is different and is there any way to use "HWaddr" in the output in place of "ether" or can be added a line with "HWaddr"?
Sorry I have to ask this question here, wishing to find an answer. Because the developers of LPCXpresso only say "we support only Ubuntu and Fedora" whenever such a question asked to them.