x
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Abhishek,
I would say that your bootargs settings are wrong.
This
/tftpboot/$(nfshost):$(rootpath)
looks like you want to set it using u-boot variables but something got wrong. Maybe you switched to a new u-boot which is using ${var} syntax?
Regards
Try to use bellow bootargs commands
setenv bootargs 'mem=80M console=ttyS0,115200n8 noinitrd rw ip="your board ip add" root=/dev/nfs nfsroot="your server ip":rootfs path,nolock '
setenv serverip your server ip
setenv bootfile kernel_image
setenv bootcmd 'tftpboot 0x80000000 kernel_image;bootm'
Abhishek,
I suggest you do a printenv and paste this here.
Regards.
Ok,
this is the changed version already, right? I can't see /tftpboot anymore.
Also I believe u-boot does not evaluate the variables in bootargs but just passes the string to the kernel. I usually have a variable that gets executed ('run') which sets bootargs. This variable may contain others but I assume your u-boot requires ${} as I mentioned before. There are examples in your setup. So try the different syntax or hard code the stuff into bootargs. Then it should work. Never forget the saveenv if you want to keep the environment permanent.
Regards.
Then I don't get it. Either there is an additional u-boot script running (maybe from the SDcard) or you have some other problem. Usually the bootargs passed to the kernel are displayed in the log right after the kernel start. Maybe this can help.
Regards.
Hi,
Did you solve the problem?
may be on the host you may want to edit /etc/hosts.allow to allow network access to the nfs server
and start the portmap and nfslock daemons. I hope below site could help you to solve problem with NFS.
http://wiki.archlinux.org/index.php/NFS
Regards.