summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerome Forissier <[email protected]>2025-04-15 23:17:41 +0200
committerJerome Forissier <[email protected]>2025-04-23 10:02:49 +0200
commit1772c85f7afe82d91306a45408fa7529b769e6cc (patch)
treed3733049d38eef19b268f205f0bb75bd9afb9232
parent94289e291f2dfd93ca948295c87c6f7811951870 (diff)
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 <[email protected]> Reviewed-by: Simon Glass <[email protected]>
-rw-r--r--board/sandbox/sandbox.env5
1 files changed, 5 insertions, 0 deletions
diff --git a/board/sandbox/sandbox.env b/board/sandbox/sandbox.env
index a2c19702d64..29197f56e95 100644
--- a/board/sandbox/sandbox.env
+++ b/board/sandbox/sandbox.env
@@ -8,6 +8,11 @@ stderr=serial,vidconsole
ethaddr=02:00:11:22:33:44
eth6addr=02:00:11:22:33:47
ipaddr=192.0.2.1
+ipaddr2=192.0.2.3
+ipaddr3=192.0.2.4
+ipaddr5=192.0.2.6
+ipaddr6=192.0.2.7
+ipaddr7=192.0.2.8
/*
* These are used for distro boot which is not supported. But once bootmethod