summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorPaweł Anikiel <pan@semihalf.com>2023-02-21 18:17:02 +0300
committerMarek Vasut <marex@denx.de>2023-02-22 02:28:39 +0300
commit0f3c8fe392618fca29f2093be3ce771401bc6d56 (patch)
treee6aa6e043cfdb359adce82c1f22586893418991a /board
parent8f1b3334574bbc1a9a46db92a798f0aed968e858 (diff)
downloadu-boot-0f3c8fe392618fca29f2093be3ce771401bc6d56.tar.xz
socfpga: chameleonv3: Move environment to a text file
Move the environment to an easily editable text file in the boot partition Signed-off-by: Paweł Anikiel <pan@semihalf.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board')
-rw-r--r--board/google/chameleonv3/environment.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/board/google/chameleonv3/environment.txt b/board/google/chameleonv3/environment.txt
new file mode 100644
index 0000000000..52aedbb90a
--- /dev/null
+++ b/board/google/chameleonv3/environment.txt
@@ -0,0 +1,13 @@
+# MMC boot command
+bootcmd_mmc=load mmc 0:1 ${loadaddr} kernel.itb; bootm
+
+# Network boot command and vars
+bootcmd_net=dhcp; tftpboot ${loadaddr} kernel.itb; bootm
+autoload=no
+serverip=192.168.0.1
+
+# U-Boot will run this after loading this file
+bootcmd_txt=run bootcmd_mmc
+
+# Kernel cmdline
+bootargs=cma=256M console=ttyS1,115200 root=/dev/mmcblk0p3 rootflags=subvol=root rw rootwait