I am trying to load uImage
and filesystem
using tftpboot/nfs
. However, I am having the following issue.
In my uboot
I have following settings:
bootargs=mem=128M
ip=dhcp noinitrd console=ttyS0,115200n8 root=/dev/nfs rw
nfsroot=192.168.x.x:/tftpboot,nolock,rsize=1024,wsize=1024
serverip
, gatewayip
and ipaddr
are setup. I can ping target device from the host and vice versa.
I am loading uImage
with the following:
setenv bootnfs 'tftp 0x80000000 uImage; bootm'
run bootnfs
$ cat /etc/exports
/tftpboot *(rw,sync,no_subtree_check,fsid=0,no_root_squash)
In my host under /tftpboot
I have unzipped the file system (nfs.tar.gz)
$ ls /tftpboot
bin boot dev etc home lib linuxrc media mnt nfs.tar.gz proc
sbin srv sys tmp uImage usr var
Notice I also have uImage
under /tftpboot
.
I am not sure where to put uImage.