[U-Boot] NFS boot problems !

Cristian Axenie cristian.axenie at gmail.com
Sat Oct 24 10:17:26 CEST 2009


Hi all !

I try to boot the kernel and rootfs using NFS!
Next is my u-boot env:

nfsboot=setenv bootargs root=/dev/nfs rw nfsroot=$serverip:$rootpath
ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off
console=$consoledev,$baudrate $othbootargs;tftp $loadaddr $bootfile;tftp
$fdtaddr $fdtfile;bootm $loadaddr - $fdtaddr
bootdelay=6
baudrate=115200
loads_echo=1
ethaddr=04:00:00:00:00:0A
eth1addr=04:00:00:00:00:0B
netdev=eth0
consoledev=ttyS0
fdtaddr=400000
ethact=eTSEC0
fdtfile=mpc8315erdb_default.dtb
ramdiskfile=rootfs.ext2.gz.uboot
ipaddr=192.168.1.100
othbootargs=ramdisk_size=65535
loadaddr=1000000
ramdiskaddr=2000000
sataboot=setenv bootargs root=/dev/sda1 rw console=ttyS0,115200;bootm
fe500000 - fe700000
ramboot=setenv bootargs root=/dev/ram rw console=$consoledev,$baudrate
$othbootargs;bootm fe500000 fe100000 fe700000
mtdids=nor0=nor,nand0=nand
usbstick=run usbstick_args;bootm fe500000 - fe700000
usbstick_args=setenv bootargs root=/dev/sda1 ro rootdelay=5 rootfstype=ext2
init=/sbin/init console=ttyS0,115200
serverip=192.168.1.103
rootpath=/home/haustiq/development/rootfs
gatewayip=192.168.1.103
netmask=255.255.0.0
macaddr=04000000000A
hostname=haustiq
bootcmd=run nfsboot
stdin=serial
stdout=serial
stderr=serial
bootfile=/home/haustiq/development/uImage

My problem is that when I

run bootcmd

I get :


Speed: 100, full duplex
Using eTSEC0 device
TFTP from server 192.168.1.103; our IP address is 192.168.1.100
Filename '/home/haustiq/development/uImage'.
Load address: 0x1000000
Loading: *
TFTP error: 'Access violation' (2)
Starting again

Any ideas ?

Changing file permissions on the server side shared files didn't helped !

Best !


More information about the U-Boot mailing list