aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mvebu/image/armada-macchiatobin.bootscript
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/mvebu/image/armada-macchiatobin.bootscript')
-rw-r--r--target/linux/mvebu/image/armada-macchiatobin.bootscript10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/mvebu/image/armada-macchiatobin.bootscript b/target/linux/mvebu/image/armada-macchiatobin.bootscript
new file mode 100644
index 0000000000..ae9fdca92d
--- /dev/null
+++ b/target/linux/mvebu/image/armada-macchiatobin.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 1:1 ${fdt_addr} armada-8040-mcbin.dtb
+load mmc 1:1 ${kernel_addr} Image
+
+booti ${kernel_addr} - ${fdt_addr}