aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/rockchip/image/nanopi-r4s.bootscript
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/rockchip/image/nanopi-r4s.bootscript')
-rw-r--r--target/linux/rockchip/image/nanopi-r4s.bootscript8
1 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/rockchip/image/nanopi-r4s.bootscript b/target/linux/rockchip/image/nanopi-r4s.bootscript
new file mode 100644
index 0000000000..abe9c24ee3
--- /dev/null
+++ b/target/linux/rockchip/image/nanopi-r4s.bootscript
@@ -0,0 +1,8 @@
+part uuid mmc ${devnum}:2 uuid
+
+setenv bootargs "console=ttyS2,1500000 earlycon=uart8250,mmio32,0xff1a0000 root=PARTUUID=${uuid} rw rootwait"
+
+load mmc ${devnum}:1 ${fdt_addr_r} rockchip.dtb
+load mmc ${devnum}:1 ${kernel_addr_r} kernel.img
+
+booti ${kernel_addr_r} - ${fdt_addr_r}