diff options
author | Lukasz Majewski <lukma@denx.de> | 2018-08-31 13:58:25 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2018-09-14 15:22:52 +0200 |
commit | 21c22db014a7c5d9c182a6da15f365b4d4f26774 (patch) | |
tree | c4e83cec1c910784b1c326a161520ba26285dab9 /board/k+p/bootscripts/tpcboot.cmd | |
parent | df158705a8bf6ce5b6095a82fbf512302597687a (diff) |
ARM: bootscript: Remove hard-coded rootpath from K+P's tpcboot.cmd
The 'rootpath' can be provided by DHCP server. Removing this line prevents
from overwriting it.
To do that on the DHCP server side (isc-dhcp-server) modify dhcpd.conf
and add 'option root-path "192.168.X.Y:/srv/tftp/rootfs";'
Signed-off-by: Lukasz Majewski <lukma@denx.de>
Diffstat (limited to 'board/k+p/bootscripts/tpcboot.cmd')
-rw-r--r-- | board/k+p/bootscripts/tpcboot.cmd | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/board/k+p/bootscripts/tpcboot.cmd b/board/k+p/bootscripts/tpcboot.cmd index 16b93ebe3f..9290317730 100644 --- a/board/k+p/bootscripts/tpcboot.cmd +++ b/board/k+p/bootscripts/tpcboot.cmd @@ -65,7 +65,6 @@ fi" # # Provide 'boot_nfs' command #------------------------------------------------------------ -setenv rootpath "/srv/tftp/KP/rootfs" setenv nfsargs "setenv bootargs root=/dev/nfs rw \ nfsroot=${serverip}:${rootpath},nolock,nfsvers=3" setenv addip "setenv bootargs ${bootargs} \ |