hi all
being a newbie in the use of the AT91RM9200-DK, i have to install a linux distrib that support the ethernet connection and use an OSGI on he bord (and after make our selfboard)
so i build the kernel, use a ramdisk
all is right at this time
next, i tried to set up the eth0 interface and i have a problem:
Code:
[root@AT91RM9200DK /root]$ifconfig eth0 172.25.1.100 up
SIOCSIFFLAGS: Cannot assign requested address
SIOCSIFFLAGS: Cannot assign requested address
so i checked with ifconfig -a the interface
Code:
[root@AT91RM9200DK /root]$ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
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:100
Interrupt:24 Base address:0xc000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 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
the interface have a slight problem with its adress Mac
next i checked it up under Uboot and I saw something strange
Code:
Uboot> printenv
bootdelay=3
baudrate=115200
env=ethaddr 01:02:03:04:05
ethaddr=01:02:03:04:05
filesize=5591e6
fileaddr=21100000
bootargs=root=/dev/ram rw initrd=0x21100000,6000000 ramdisk_size=15360 console=ttyS0,115200 mem=32M
serverip=172.25.1.11
ipaddr=172.25.1.100
stdin=serial
stdout=serial
stderr=serial
so
how can i delete "env=ethaddr 01:02:03:04:05" and after configure ethaddr because if i try a setenv on this variable, i have an errore
Code:
Uboot> setenv ethaddr = 00:0E:99:02:02:29
Can't overwrite "ethaddr"
excuse me for my lack of english and thanks for your help
katolecho