Hi,
did you boot from nand?
I have the same problem if I boot using a rootfs on the sd-card. (I followed these instructions:
http://plugcomputer.org/plugforum/index.php?topic=1642.msg10489#msg10489)
The MAC is in uboot.
My boot sequence using the SD rootfs is:
U-Boot 2009.11-rc1-00602-g28a9c08-dirty (Feb 09 2010 - 18:15:21)
Marvell-Plug2L
SoC: Kirkwood 88F6281_A0
DRAM: 512 MB
NAND: 512 MiB
In: serial
Out: serial
Err: serial
Net: egiga0, egiga1
88E1121 Initialized on egiga0
88E1121 Initialized on egiga1
Hit any key to stop autoboot: 0
Marvell>> nand read.e 0x6400000 0x100000 0x400000
NAND read: device 0 offset 0x100000, size 0x400000
4194304 bytes read: OK
Marvell>> setenv bootargs console=ttyS0,115200 root=0811 rootdelay=10
Marvell>> bootm 0x6400000
## Booting kernel from Legacy Image at 06400000 ...
Image Name: Linux-2.6.32-00007-g56678ec
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2789756 Bytes = 2.7 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux.............................................................
Linux version 2.6.32-00007-g56678ec (root@msi-linux-build.marvell.com) (gcc ver0
#### deleted some stuff here ####
NET: Registered protocol family 16
Kirkwood: MV88F6281-A1, TCLK=200000000.
#### deleted some stuff here ####
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
NET: Registered protocol family 1
#### deleted some stuff here ####
MV-643xx 10/100/1000 ethernet driver version 1.4
mv643xx_eth smi: probed
net eth0: port 0 with MAC address 00:00:00:00:00:00
net eth1: port 0 with MAC address 00:00:00:00:00:00
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
orion-ehci orion-ehci.0: Marvell Orion EHCI
#### deleted some stuff here ####
TCP cubic registered
NET: Registered protocol family 17
lib80211: common routines for IEEE802.11 drivers
#### deleted some stuff here ####
.udev/ already exists on the static /dev! (warning).
Starting the hotplug events dispatcher: udevd.
Synthesizing the initial hotplug events...done.
Waiting for /dev to be fully populated...Bluetooth: Core ver 2.15
NET: Registered protocol family 31
#### deleted some stuff here ####
Cleaning up ifupdown....
Loading kernel modules...done.
Checking file systems...fsck 1.41.3 (12-Oct-2008)
done.
Setting kernel variables (/etc/sysctl.conf)...done.
Mounting local filesystems...done.
Activating swapfile swap...done.
Setting up networking....
Configuring network interfaces...Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/eth0/00:00:00:00:00:00
Sending on LPF/eth0/00:00:00:00:00:00
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
eth0: link up, 100 Mb/s, full duplex, flow control disabled
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 16
DHCPOFFER from 192.168.2.1
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 192.168.2.1
bound to 192.168.2.25 -- renewal in 360869 seconds.
done.
#### deleted some stuff here ####
Starting Network Interface Plugging Daemon: eth0.
Starting web server: lighttpd.
Starting internet superserver: inetd.
Starting Samba daemons: nmbd smbd.
Starting file alteration monitor: FAM.
Starting Hardware abstraction layer: hald.
Starting periodic command scheduler: crond.
uap_probe: vendor=0x02DF device=0x9104 class=0 function=1
uap_sdio mmc0:0001:1: firmware: requesting mrvl/helper_sd.bin
uap_sdio mmc0:0001:1: firmware: requesting mrvl/sd8688_ap.bin
UAP FW is active
ADDRCONF(NETDEV_UP): uap0: link is not ready
SSID setting successful
BSS started!
ip_tables: (C) 2000-2006 Netfilter Core Team
nf_conntrack version 0.5.0 (8022 buckets, 32088 max)
CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
Starting very small DHCP server: udhcpd (v0.9.9-pre) started
udhcpd.
Starting DNS forwarder and DHCP server: dnsmasq.
Can't get device info: No such device
Can't get device info: No such device
Traceback (most recent call last):
File "/usr/bin/mute-agent", line 77, in <mo>
,
t
)
_
)
r
)
e
)
g
)
s
Debian GNU/Linux 5.0 guru ttyS0
guru login:
However, I have no clue why this happens. If I boot from nand only, I get connected to my network via eth0 without problems. If I boot with SD rootfs I can't connect via eth0. Setting the MAC in dhclient.conf didn't help.
Anybody any idea?
Regards,
Matthias.