[U-Boot-Users] Help U-Boot NFS filesystem.

muqiyong kylongmu at msn.com
Thu Jun 8 18:34:18 CEST 2006


Hi all,
	I try to mount NFS filesystem onto my AT91RM9200DK board,
But the eth0 device failed, from the boot message it looks that
I didn't set the MAC addr:
at91_ether: Your bootloader did not configure a MAC address.
eth0: Link now 100-FullDuplex
eth0: AT91 ethernet at 0xfefbc000 int=24 100-FullDuplex (00:00:00:00:00:00)
----------------------------------------------------------------------------
	But I've set it in the U-Boot env:
----------------------------------------------------------------------------
U-Boot> printenv
bootdelay=3
baudrate=115200
serverip=192.168.0.182
ipaddr=192.168.0.66
netmask=255.255.255.0
ethaddr=00:10:ec:00:87:73
bootargs=root=/dev/nfs rw nfsroot=${serverip}:${rootpath}
ip=${ipaddr}:${serveri
p}:${gatewayip}:${netmask}:${hostname}::off
rootpath=/opt/eldk_arm/arm
hostname=mqy
gatewayip=192.168.0.182
bootfile=/tftpboot/uImage
bootcmd=bootm 10080000
ok=ok
stdin=serial
stdout=serial
stderr=serial

Environment size: 403/65532 bytes
U-Boot>
---------------------------------------------------------------------------
	And this is full boot message
----------------------------------------------------------------------------
-


U-Boot 1.1.4 (May 29 2006 - 18:53:58)

DRAM:  32 MB
Atmel: ATM_ID_BV322DT (32Mbit)
Flash:  4 MB
In:    serial
Out:   serial
Err:   serial
U-Boot 1.1.4 (May 29 2006 - 18:53:58)

DRAM:  32 MB
Atmel: ATM_ID_BV322DT (32Mbit)
Flash:  4 MB
In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0
## Booting image at 10080000 ...
   Image Name:   Linux-2.6.16
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1103380 Bytes =  1.1 MB
   Load Address: 20008000
   Entry Point:  20008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing
Linux.............................................................
............. done, booting the kernel.
Linux version 2.6.16 (root at second) (gcc version 4.0.0 (DENX ELDK 4.0 4.0.0))
#16
 Thu Jun 8 03:40:10 AQTT 2006
CPU: ARM920Tid(wb) [41129200] revision 0 (ARMv4T)
Machine: Atmel AT91RM9200-DK
Memory policy: ECC disabled, Data cache writeback
Clocks: CPU 179 MHz, master 59 MHz, main 18.432 MHz
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
Built 1 zonelists
Kernel command line: root=/dev/nfs rw nfsroot=${serverip}:${rootpath}
ip=${ipadd
r}:${serverip}:${gatewayip}:${netmask}:${hostname}::off
AT91: 128 gpio irqs in 4 banks
PID hash table entries: 256 (order: 8, 4096 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 32MB = 32MB total
Memory: 30044KB available (1844K code, 402K data, 92K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
usbcore: registered new driver usbfs
usbcore: registered new driver hub
NetWinder Floating Point Emulator V0.97 (double precision)
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
AT91 Real Time Clock driver.
AT91 SPI driver loaded
AT91 Watchdog Timer enabled (5 seconds, nowayout=1)
at91_usart.0: ttyS0 at MMIO 0xfefff200 (irq = 1) is a AT91_SERIAL
at91_usart.1: ttyS1 at MMIO 0xfffc4000 (irq = 7) is a AT91_SERIAL
RAMDISK driver initialized: 16 RAM disks of 32768K size 1024 blocksize
at91_ether: Your bootloader did not configure a MAC address.
eth0: Link now 100-FullDuplex
eth0: AT91 ethernet at 0xfefbc000 int=24 100-FullDuplex (00:00:00:00:00:00)
eth0: Davicom 9196 PHY (Copper)
physmap flash device: 200000 at 10000000
phys_mapped_flash: Found 1 x16 devices at 0x0 in 16-bit bank
 Amd/Fujitsu Extended Query Table at 0x0041
phys_mapped_flash: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
RedBoot partition parsing not available
at91_cf: irqs det #64, io #0
at91_ohci at91_ohci: AT91 OHCI
at91_ohci at91_ohci: new USB bus registered, assigned bus number 1
at91_ohci at91_ohci: irq 23, io mem 0x00300000
usb usb1: Product: AT91 OHCI
usb usb1: Manufacturer: Linux 2.6.16 ohci_hcd
usb usb1: SerialNumber: at91
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
udc: at91_udc version 8 March 2005
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
at91_i2c at91_i2c: AT91 i2c bus driver.
NET: Registered protocol family 2
IP route cache hash table entries: 512 (order: -1, 2048 bytes)
TCP established hash table entries: 2048 (order: 1, 8192 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
IP-Config: Failed to open eth0
IP-Config: No network devices available.
Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "nfs" or unknown-block(2,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(2,0)


Thanks a lot!
KylongMu






More information about the U-Boot mailing list