[PATCH v2] net: lwip: dhcp: support arguments for TFTP file download

Tom Rini trini at konsulko.com
Sat Nov 23 03:42:06 CET 2024


On Thu, Nov 14, 2024 at 06:20:07PM +0100, Jerome Forissier wrote:

> The dhcp command is supposed to have the following syntax as per
> "help dhcp":
> 
>   dhcp [loadAddress] [[hostIPaddr:]bootfilename]
> 
> In other words, any arguments should be passed to an implicit
> tftpboot command after the DHCP exchange has occurred.
> 
> Add the missing code to the lwIP version of do_dhcp().
> 
> Signed-off-by: Jerome Forissier <jerome.forissier at linaro.org>

Applied to u-boot/master, thanks!

But please note, I believe this is what breaks
test_efi_helloworld_net_http now as we can no longer abuse "wget 200000
EFI/arm64/helloworld.efi" for example:
U-Boot> wget 200000 EFI/arm64/helloworld.efi
invalid uri, no file path
Invalid URL. Use http(s)://
U-Boot>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20241122/7fb5645b/attachment.sig>


More information about the U-Boot mailing list