[PATCH 3/5] net: tftp: add IPv6 support for tftpboot

Vyacheslav Mitrofanov V v.v.mitrofanov at yadro.com
Fri Aug 19 13:30:03 CEST 2022


On Fri, 2022-08-19 at 14:00 +0300, Ramon Fried wrote:
> On Fri, Aug 19, 2022 at 11:10 AM Viacheslav Mitrofanov
> <v.v.mitrofanov at yadro.com> wrote:
> > The command tftpboot uses IPv4 by default, to use IPv6 instead add
> > -ipv6
> > as the last argument. All other tftpboot features and parameters
> > are left
> > the same.
> > 
> In my opinion, we should be able to detect if a user has provided or
> set an IPv6 server IP address and only use IPv6 then.
I tried to save tftboot semantics. I mean if we set -ipv6 option the
command will check server address in args if it is empty check
environmental variable and if it is not set then terminate it. It works
the same way as it works now. If I didn't get you, please, clarify it a
little bit more.
Thanks!


More information about the U-Boot mailing list