aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mvebu/image/generic-arm64.bootscript
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/mvebu/image/generic-arm64.bootscript')
-rw-r--r--target/linux/mvebu/image/generic-arm64.bootscript10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/mvebu/image/generic-arm64.bootscript b/target/linux/mvebu/image/generic-arm64.bootscript
new file mode 100644
index 0000000000..f395590f84
--- /dev/null
+++ b/target/linux/mvebu/image/generic-arm64.bootscript
@@ -0,0 +1,10 @@
+setenv bootargs "root=PARTUUID=@ROOT@-02 rw rootwait"
+
+if test -n "${console}"; then
+ setenv bootargs "${bootargs} ${console}"
+fi
+
+load mmc 0:1 ${fdt_addr} @DTB@.dtb
+load mmc 0:1 ${kernel_addr} Image
+
+booti ${kernel_addr} - ${fdt_addr}