aboutsummaryrefslogtreecommitdiff
path: root/board/nanopi-neo/boot.cmd
diff options
context:
space:
mode:
Diffstat (limited to 'board/nanopi-neo/boot.cmd')
-rw-r--r--board/nanopi-neo/boot.cmd8
1 files changed, 8 insertions, 0 deletions
diff --git a/board/nanopi-neo/boot.cmd b/board/nanopi-neo/boot.cmd
new file mode 100644
index 0000000000..7874057859
--- /dev/null
+++ b/board/nanopi-neo/boot.cmd
@@ -0,0 +1,8 @@
+setenv fdt_high ffffffff
+
+setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait
+
+fatload mmc 0 $kernel_addr_r zImage
+fatload mmc 0 $fdt_addr_r sun8i-h3-nanopi-neo.dtb
+
+bootz $kernel_addr_r - $fdt_addr_r