ARM: bootscript: Replace tftpboot with dhcp when downloading kernel
authorLukasz Majewski <lukma@denx.de>
Fri, 31 Aug 2018 11:58:26 +0000 (13:58 +0200)
committerStefano Babic <sbabic@denx.de>
Fri, 14 Sep 2018 13:22:52 +0000 (15:22 +0200)
commit2d558da0d73af7329592a072bfe2c912af413f74
tree9c42319a6e8b9c9498bdba2fac7dcb67df4dee39
parent21c22db014a7c5d9c182a6da15f365b4d4f26774
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>
board/k+p/bootscripts/tpcboot.cmd