summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-10-21 21:08:47 -0600
committerTom Rini <trini@konsulko.com>2021-11-16 14:35:08 -0500
commitf501bb4c2aa8ba6dd6260f961e788eb46c0a36b3 (patch)
tree6dadd857d824b58f2a1f964dd023fbcf5a85eea4 /board
parent86b9c3e4e48ba47ef28781d06b97846aca74bc8e (diff)
downloadu-boot-f501bb4c2aa8ba6dd6260f961e788eb46c0a36b3.tar.gz
u-boot-f501bb4c2aa8ba6dd6260f961e788eb46c0a36b3.tar.bz2
u-boot-f501bb4c2aa8ba6dd6260f961e788eb46c0a36b3.zip
sandbox: Use a text-based environment
Use a text file for the environment instead of the #define settings. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Marek BehĂșn <marek.behun@nic.cz>
Diffstat (limited to 'board')
-rw-r--r--board/sandbox/sandbox.env25
1 files changed, 25 insertions, 0 deletions
diff --git a/board/sandbox/sandbox.env b/board/sandbox/sandbox.env
new file mode 100644
index 0000000000..0f8d95b8db
--- /dev/null
+++ b/board/sandbox/sandbox.env
@@ -0,0 +1,25 @@
+stdin=serial
+#ifdef CONFIG_SANDBOX_SDL
+stdin+=,cros-ec-keyb,usbkbd
+#endif
+stdout=serial,vidconsole
+stderr=serial,vidconsole
+
+ethaddr=00:00:11:22:33:44
+eth2addr=00:00:11:22:33:48
+eth3addr=00:00:11:22:33:45
+eth4addr=00:00:11:22:33:48
+eth5addr=00:00:11:22:33:46
+eth6addr=00:00:11:22:33:47
+ipaddr=1.2.3.4
+
+/*
+ * 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