On 6/6/24 17:41, Ilias Apalodimas wrote: > Hi Jerome, > > Can we split this in 2 patches instead? > A preparatory one, with split the net-common etc and one that adds wget? Sure, done in v4. > Thanks > /Ilias > > On Thu, 6 Jun 2024 at 16:37, Jerome Forissier > <[email protected]> wrote: >> >> Add support for the wget command with NET_LWIP. >> >> About the small change in cmd/efidebug.c: when the wget command based >> on the lwIP stack is used the wget command has a built-in URL >> validation function since it needs to parse it anyways (in parse_url()). >> Therefore wget_validate_uri() doesn't exist. So, guard the call in >> efidebug.c with CONFIG_CMD_WGET. >> >> Based on code initially developed by Maxim U. >> >> Signed-off-by: Jerome Forissier <[email protected]> >> Co-developed-by: Maxim Uvarov <[email protected]> >> Cc: Maxim Uvarov <[email protected]> >> --- >> cmd/Kconfig | 7 ++ >> cmd/Makefile | 5 +- >> cmd/efidebug.c | 8 +- >> cmd/net-common.c | 115 +++++++++++++++++++++++++++++ >> cmd/net-lwip.c | 12 +++ >> cmd/net.c | 115 ----------------------------- >> include/net-lwip.h | 51 +++++++++++++ >> net-lwip/Makefile | 1 + >> net-lwip/wget.c | 180 +++++++++++++++++++++++++++++++++++++++++++++ >> 9 files changed, 375 insertions(+), 119 deletions(-) >> create mode 100644 cmd/net-common.c >> create mode 100644 net-lwip/wget.c Thanks, -- Jerome
- Re: [PATCH v3 05/12] net-lwip: add ping command Ilias Apalodimas
- Re: [PATCH v3 05/12] net-lwip: add ping comm... Ilias Apalodimas
- Re: [PATCH v3 05/12] net-lwip: add ping ... Jerome Forissier
- [PATCH v3 06/12] net-lwip: add dns command Jerome Forissier
- Re: [PATCH v3 06/12] net-lwip: add dns command Ilias Apalodimas
- Re: [PATCH v3 06/12] net-lwip: add dns command Jerome Forissier
- Re: [PATCH v3 06/12] net-lwip: add dns comma... Ilias Apalodimas
- Re: [PATCH v3 06/12] net-lwip: add dns c... Jerome Forissier
- [PATCH v3 07/12] net-lwip: add wget command Jerome Forissier
- Re: [PATCH v3 07/12] net-lwip: add wget command Ilias Apalodimas
- Re: [PATCH v3 07/12] net-lwip: add wget command Jerome Forissier
- [PATCH v3 08/12] test: dm: dsa, eth: disable tests when C... Jerome Forissier
- [PATCH v3 09/12] cmd: bdinfo: enable -e when CONFIG_CMD_N... Jerome Forissier
- [PATCH v3 10/12] configs: add qemu_arm64_lwip_defconfig Jerome Forissier
- [PATCH v3 11/12] MAINTAINERS: net-lwip: add myself as a m... Jerome Forissier
- [PATCH v3 12/12] CI: add qemu_arm64_lwip to the test matr... Jerome Forissier
- [PATCH v3 01/12] net: introduce alternative implementatio... Jerome Forissier
- [PATCH v3 03/12] net-lwip: add DHCP support and dhcp comm... Jerome Forissier
- Re: [PATCH v3 00/12] Introduce the lwIP network stack Tom Rini
- Re: [PATCH v3 00/12] Introduce the lwIP network stac... Jerome Forissier

