mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
ARM: bootscript: For nfsargs only use rootpath (and remove not needed serverip)
The serverip part is provided from DHCP server with 'option root-path "192.168.3.1:/srv/tftp/rootfs";' parameter in dhcpd.conf Signed-off-by: Lukasz Majewski <lukma@denx.de>
This commit is contained in:
parent
7e6bba20f5
commit
97657a8cb4
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ fi"
|
|||
#
|
||||
# Provide 'boot_nfs' command
|
||||
#------------------------------------------------------------
|
||||
setenv nfsargs "setenv bootargs root=/dev/nfs rw nfsroot='${serverip}':'${rootpath}',nolock,nfsvers=3"
|
||||
setenv nfsargs "setenv bootargs root=/dev/nfs rw nfsroot='${rootpath}',nolock,nfsvers=3"
|
||||
setenv addip "setenv bootargs '${bootargs}' ip='${ipaddr}':'${serverip}':'${gatewayip}':'${netmask}':'${hostname}':eth0:on"
|
||||
|
||||
setenv boot_nfs "
|
||||
|
|
Loading…
Reference in a new issue