On 6/24/24 08:26, Jon Humphreys wrote: > Subject: [PATCH] net-lwip: Add message if not using http:// for wget > > U-Boot's wget only supports http://, so give the user a clue if they don't > use it. > > Signed-off-by: Jonathan Humphreys <j-humphr...@ti.com> > --- > net-lwip/wget.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/net-lwip/wget.c b/net-lwip/wget.c > index 63b19b99112..6b9c953ef51 100644 > --- a/net-lwip/wget.c > +++ b/net-lwip/wget.c > @@ -35,8 +35,10 @@ static int parse_url(char *url, char *host, u16 *port, > char **path) > long lport; > > p = strstr(url, "http://"); > - if (!p) > + if (!p) { > + log_err("only http:// is supported\n"); > return -EINVAL; > + } > > p += strlen("http://"); > I am folding that into "net-lwip: add wget command" if you don't mind. Thanks! -- Jerome
- [PATCH v4 06/14] net-lwip: add TFTP support and tftpboot ... Jerome Forissier
- [PATCH v4 07/14] net-lwip: add ping command Jerome Forissier
- [PATCH v4 08/14] net-lwip: add dns command Jerome Forissier
- [PATCH v4 09/14] net: split cmd/net.c into cmd/net.c and ... Jerome Forissier
- [PATCH v4 10/14] net-lwip: add wget command Jerome Forissier
- Re: [PATCH v4 10/14] net-lwip: add wget command Jon Humphreys
- Re: [PATCH v4 10/14] net-lwip: add wget command Jerome Forissier
- Re: [PATCH v4 10/14] net-lwip: add wget command Jon Humphreys
- Re: [PATCH v4 10/14] net-lwip: add wget comm... Jerome Forissier
- Re: [PATCH v4 10/14] net-lwip: add wget command Jon Humphreys
- Re: [PATCH v4 10/14] net-lwip: add wget comm... Jerome Forissier
- [PATCH v4 11/14] cmd: bdinfo: enable -e when CONFIG_CMD_N... Jerome Forissier
- [PATCH v4 12/14] configs: add qemu_arm64_lwip_defconfig Jerome Forissier
- Re: [PATCH v4 12/14] configs: add qemu_arm64_lwip_de... Ilias Apalodimas
- [PATCH v4 13/14] MAINTAINERS: net-lwip: add myself as a m... Jerome Forissier
- [PATCH v4 14/14] CI: add qemu_arm64_lwip to the test matr... Jerome Forissier
- [PATCH v4 02/14] net: introduce alternative implementatio... Jerome Forissier
- Re: [PATCH v4 02/14] net: introduce alternative impl... Tom Rini
- Re: [PATCH v4 02/14] net: introduce alternative ... Jerome Forissier
- Re: [PATCH v4 00/14] Introduce the lwIP network stack Tom Rini
- Re: [PATCH v4 00/14] Introduce the lwIP network stac... Ilias Apalodimas