u-boot/board/sandbox/sandbox.env
Jerome Forissier 1772c85f7a 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>
2025-04-23 10:02:49 +02:00

27 lines
543 B
Bash

stdin=serial
#ifdef CONFIG_SANDBOX_SDL
stdin+=,cros-ec-keyb,usbkbd
#endif
stdout=serial,vidconsole
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
* is provided these will be used again.
*/
bootm_size=0x10000000
kernel_addr_r=0x1000000
fdt_addr_r=0xc00000
ramdisk_addr_r=0x2000000
scriptaddr=0x1000
pxefile_addr_r=0x2000