This patch set adds basic IPv6 support to U-boot. It is based on Chris's Packham patches (https://lists.denx.de/pipermail/u-boot/2017-January/279366.html) Chris's patches were taken as base. There were efforts to launch it on HiFive SiFive Unmatched board but the board didn't work well. The code was refactored, fixed some bugs as CRC for little-endian, some parts were implemented in our own way, something was taken from Linux. Finally we did manual tests and the board worked well.
Testing was done on HiFive SiFive Unmatched board (RISC-V) Viacheslav Mitrofanov (5): net: ipv6: Add basic IPv6 implementation net: ipv6: enable IPv6 string parser net: tftp: add IPv6 support for tftpboot net: ping6: Add ping6 command net: ping6: Auto enable ping6 option cmd/Kconfig | 7 + cmd/net.c | 47 ++++ include/env_callback.h | 10 + include/env_flags.h | 10 + include/ndisc.h | 65 ++++++ include/net.h | 4 +- include/net6.h | 312 ++++++++++++++++++++++++++ lib/net_utils.c | 122 +++++++++++ lib/vsprintf.c | 11 +- net/Kconfig | 4 + net/Makefile | 3 + net/ndisc.c | 276 +++++++++++++++++++++++ net/net.c | 53 ++++- net/net6.c | 484 +++++++++++++++++++++++++++++++++++++++++ net/ping6.c | 117 ++++++++++ net/tftp.c | 62 +++++- 16 files changed, 1568 insertions(+), 19 deletions(-) create mode 100644 include/ndisc.h create mode 100644 include/net6.h create mode 100644 net/ndisc.c create mode 100644 net/net6.c create mode 100644 net/ping6.c -- 2.25.1