[PATCH 10/17] net: tftp: Add IPv6 support for tftpboot

Simon Glass sjg at chromium.org
Fri Sep 9 16:44:50 CEST 2022


On Thu, 8 Sept 2022 at 05:59, Viacheslav Mitrofanov
<v.v.mitrofanov at yadro.com> wrote:
>
> The command tftpboot uses IPv4 by default. Add the possibility to use IPv6
> instead. If an address in the command is an IPv6 address it will use IPv6
> to boot or if there is a suffix -ipv6 in the end of the command it also
> force using IPv6. All other tftpboot features and parameters are left
> the same.
>
> Signed-off-by: Viacheslav Mitrofanov <v.v.mitrofanov at yadro.com>
> ---
>  cmd/net.c  | 35 ++++++++++++++++++++++++++++++
>  net/net.c  | 17 +++++++++++++--
>  net/tftp.c | 63 +++++++++++++++++++++++++++++++++++++++++++++++-------
>  3 files changed, 105 insertions(+), 10 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list