Hi Ilias,
On Thu, 14 Sept 2023 at 21:52, Ilias Apalodimas
wrote:
>
> Kojima-san
>
> [...]
>
> > }
> > +
> > +#if (IS_ENABLED(CONFIG_CMD_DNS))
> > +int wget_with_dns(ulong dst_addr, char *uri)
> > +{
> > + int ret;
> > + char *s, *host_name, *file_name, *str_copy;
> > +
> > + /*
> > +
Kojima-san
[...]
> }
> +
> +#if (IS_ENABLED(CONFIG_CMD_DNS))
> +int wget_with_dns(ulong dst_addr, char *uri)
> +{
> + int ret;
> + char *s, *host_name, *file_name, *str_copy;
> +
> + /*
> + * Download file using wget.
> + *
> + * U-Boot wget takes the target uri in thi
Current wget takes the target uri in this format:
":" e.g.) 192.168.1.1:/bar
The http server ip address must be resolved before
calling wget.
This commit adds the utility function runs wget with dhs.
User can call wget with the uri like "http://foo/bar";.
Signed-off-by: Masahisa Kojima
---
in
3 matches
Mail list logo