From: Vyacheslav Mitrofanov V <v.v.mitrofanov@yadro.com>
To: Tom Rini <trini@konsulko.com>
Cc: "rfried.dev@gmail.com" <rfried.dev@gmail.com>,
"joe.hershberger@ni.com" <joe.hershberger@ni.com>,
"wd@denx.de" <wd@denx.de>,
"u-boot@lists.denx.de" <u-boot@lists.denx.de>,
"judge.packham@gmail.com" <judge.packham@gmail.com>,
"linux@yadro.com" <linux@yadro.com>,
"sjg@chromium.org" <sjg@chromium.org>
Subject: Re: [PATCH v4 00/17] IPv6 support
Date: Tue, 29 Nov 2022 08:39:36 +0000 [thread overview]
Message-ID: <515924f08eba4a55a4f24e9778966f0b@yadro.com> (raw)
In-Reply-To: <51ed934d189c4f89af2be9f6c28d4a88@yadro.com>
Tom, maybe it is better to change configs add ifdefs or do sth else to exclude them from the build if IPV6 is not configured?
Thanks!
________________________________
От: Vyacheslav Mitrofanov V
Отправлено: 29 ноября 2022 г. 11:35:13
Кому: Tom Rini
Копия: rfried.dev@gmail.com; joe.hershberger@ni.com; wd@denx.de; u-boot@lists.denx.de; judge.packham@gmail.com; linux@yadro.com; sjg@chromium.org
Тема: Re: [PATCH v4 00/17] IPv6 support
Hello Tom!
I tested this problem and I think it is necessary to set CONFIG_IPV6.
Without that option tests fail.
Thanks!
________________________________
От: Tom Rini <trini@konsulko.com>
Отправлено: 28 ноября 2022 г. 18:34:58
Кому: Vyacheslav Mitrofanov V
Копия: rfried.dev@gmail.com; joe.hershberger@ni.com; wd@denx.de; u-boot@lists.denx.de; judge.packham@gmail.com; linux@yadro.com; sjg@chromium.org
Тема: Re: [PATCH v4 00/17] IPv6 support
On Thu, Sep 08, 2022 at 02:58:48PM +0300, Viacheslav Mitrofanov wrote:
> 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)
>
> Signed-off-by: Viacheslav Mitrofanov <v.v.mitrofanov@yadro.com>
> ---
> Changes in v2:
> - Split big patches into smaller
> - If an address in tftpboot is IPv6 than use IPv6 to boot
> - Add tests
>
> Changes in v3:
> - Added functions and structures description in whole patch-series
> - Removed memory allocation in on_ip6addr()
> - Some functions got return code from errno.h
> - Add to string_to_ip6() length parameter to avoid obligatory null termination
> - Add a lot of small decorative cnages
>
> Changes in v4:
> - Fixed funcs and structures style description
> - Added omitted tags
Testing this locally in sandbox I see:
FAILED test/py/tests/test_ut.py::test_ut[ut_dm_dm_test_csum_ipv6_magic] - AssertionError: as...
FAILED test/py/tests/test_ut.py::test_ut[ut_dm_dm_test_ip6_addr_in_subnet] - AssertionError:...
FAILED test/py/tests/test_ut.py::test_ut[ut_dm_dm_test_ip6_make_lladdr] - assert False
FAILED test/py/tests/test_ut.py::test_ut[ut_dm_dm_test_ip6_make_snma] - assert False
FAILED test/py/tests/test_ut.py::test_ut[ut_dm_dm_test_string_to_ip6] - AssertionError: asse...
and this happens in CI as well:
https://source.denx.de/u-boot/u-boot/-/pipelines/14245
https://dev.azure.com/u-boot/u-boot/_build/results?buildId=5432&view=results
If you can't replicate the failures locally you should be able to
trigger CI:
https://u-boot.readthedocs.io/en/latest/develop/ci_testing.html
Thanks for pushing this along!
--
Tom
next prev parent reply other threads:[~2022-11-29 8:39 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-08 11:58 [PATCH v4 00/17] IPv6 support Viacheslav Mitrofanov
2022-09-08 11:58 ` [PATCH 01/17] net: ipv6: Add IPv6 basic primitives Viacheslav Mitrofanov
2022-09-09 14:44 ` Simon Glass
2022-09-08 11:58 ` [PATCH 02/17] net: ipv6: Add IPv6 build options Viacheslav Mitrofanov
2022-09-12 7:34 ` Ramon Fried
2022-09-08 11:58 ` [PATCH 03/17] net: ipv6: Add callbacks declarations to get access to IPv6 variables Viacheslav Mitrofanov
2022-09-12 7:34 ` Ramon Fried
2022-09-08 11:58 ` [PATCH 04/17] net: ipv6: Add Neighbor Discovery Protocol (NDP) Viacheslav Mitrofanov
2022-09-09 14:44 ` Simon Glass
2022-09-11 6:08 ` Vyacheslav Mitrofanov V
2022-09-12 13:34 ` Simon Glass
2022-09-08 11:58 ` [PATCH 05/17] net: ipv6: Add string_to_ip6 converter Viacheslav Mitrofanov
2022-09-09 14:44 ` Simon Glass
2022-09-08 11:58 ` [PATCH 06/17] net: ipv6: Enable IPv6 typeconversion specifier Viacheslav Mitrofanov
2022-09-09 14:44 ` Simon Glass
2022-09-08 11:58 ` [PATCH 07/17] net: ipv6: Add ip6addr, gatewayip6, serverip6 variables callbacks Viacheslav Mitrofanov
2022-09-09 14:44 ` Simon Glass
2022-09-08 11:58 ` [PATCH 08/17] net: ipv6: Add implementation of main IPv6 functions Viacheslav Mitrofanov
2022-09-09 14:44 ` Simon Glass
2022-09-08 11:58 ` [PATCH 09/17] net: ipv6: Incorporate IPv6 support into u-boot net subsystem Viacheslav Mitrofanov
2022-09-09 14:44 ` Simon Glass
2022-09-08 11:58 ` [PATCH 10/17] net: tftp: Add IPv6 support for tftpboot Viacheslav Mitrofanov
2022-09-09 14:44 ` Simon Glass
2022-09-08 11:58 ` [PATCH 11/17] net: ping6: Add ping6 command Viacheslav Mitrofanov
2022-09-09 14:44 ` Simon Glass
2022-09-08 11:59 ` [PATCH 12/17] test: dm: eth: Add string_to_ip6 test Viacheslav Mitrofanov
2022-09-08 11:59 ` [PATCH 13/17] test: dm: eth: Add csum_ipv6_magic test Viacheslav Mitrofanov
2022-09-09 14:44 ` Simon Glass
2022-09-08 11:59 ` [PATCH 14/17] test: dm: eth: Add ip6_addr_in_subnet test Viacheslav Mitrofanov
2022-09-08 11:59 ` [PATCH 15/17] test: dm: eth: Add ip6_make_snma test Viacheslav Mitrofanov
2022-09-08 11:59 ` [PATCH 16/17] test: dm: eth: Add ip6_make_lladdr test Viacheslav Mitrofanov
2022-09-08 11:59 ` [PATCH 17/17] test/py: add a ping6 test Viacheslav Mitrofanov
2022-09-11 6:04 ` [PATCH v4 00/17] IPv6 support Vyacheslav Mitrofanov V
2022-11-28 15:34 ` Tom Rini
2022-11-29 8:35 ` Vyacheslav Mitrofanov V
2022-11-29 8:39 ` Vyacheslav Mitrofanov V [this message]
2022-11-29 13:49 ` Tom Rini
2022-11-29 13:53 ` Vyacheslav Mitrofanov V
2022-12-01 13:03 ` Peter Robinson
2022-12-02 7:13 ` Vyacheslav Mitrofanov V
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=515924f08eba4a55a4f24e9778966f0b@yadro.com \
--to=v.v.mitrofanov@yadro.com \
--cc=joe.hershberger@ni.com \
--cc=judge.packham@gmail.com \
--cc=linux@yadro.com \
--cc=rfried.dev@gmail.com \
--cc=sjg@chromium.org \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=wd@denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox