mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
ARM: bootscript: Replace tftpboot with dhcp when downloading kernel
The 'dhcp' command is more versatile as it allows working with the DHCP server to obtain serverip, ipaddress and other network parameters. The configuration necessary to obtain the serverip (dhcpd.conf): option option-150 code 150 = ip-address; and in the subnet definition: option option-150 192.168.X.Y; Signed-off-by: Lukasz Majewski <lukma@denx.de>
This commit is contained in:
parent
21c22db014
commit
2d558da0d7
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ fi;"
|
|||
#
|
||||
# Provide 'boot_tftp_kernel' command
|
||||
#------------------------------------------------------------
|
||||
setenv download_kernel "tftpboot ${loadaddr} ${kernel_file}"
|
||||
setenv download_kernel "dhcp ${loadaddr} ${kernel_file}"
|
||||
|
||||
setenv boot_tftp_kernel "
|
||||
if run download_kernel; then
|
||||
|
|
Loading…
Reference in a new issue