sandbox: provide static IP addresses for eth{2, 3, 5, 6, 7}
authorJerome Forissier <jerome.forissier@linaro.org>
Tue, 15 Apr 2025 21:17:41 +0000 (23:17 +0200)
committerJerome Forissier <jerome.forissier@linaro.org>
Wed, 23 Apr 2025 08:02:49 +0000 (10:02 +0200)
commit1772c85f7afe82d91306a45408fa7529b769e6cc
treed3733049d38eef19b268f205f0bb75bd9afb9232
parent94289e291f2dfd93ca948295c87c6f7811951870
sandbox: provide static IP addresses for eth{2, 3, 5, 6, 7}

The tests in test/dm/eth.c and test/dm/dsa.c use interfaces that have
no static IP addresses configured in the board's default environment
file. That will be a problem when NET_LWIP=y because the lwIP stack
refuses to send ICMP packets through an interface that doesn't have an
IP ("no route to host"). Therefore and in preparation for enabling the
sandbox tests with NET_LWIP, provide such addresses in
board/sandbox/sandbox.env.

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
board/sandbox/sandbox.env