aboutsummaryrefslogtreecommitdiff
path: root/board/orangepi/orangepi-pc2/boot.cmd
diff options
context:
space:
mode:
Diffstat (limited to 'board/orangepi/orangepi-pc2/boot.cmd')
-rw-r--r--board/orangepi/orangepi-pc2/boot.cmd6
1 files changed, 6 insertions, 0 deletions
diff --git a/board/orangepi/orangepi-pc2/boot.cmd b/board/orangepi/orangepi-pc2/boot.cmd
new file mode 100644
index 0000000000..4d4fc7bf67
--- /dev/null
+++ b/board/orangepi/orangepi-pc2/boot.cmd
@@ -0,0 +1,6 @@
+setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait
+
+fatload mmc 0 $kernel_addr_r Image
+fatload mmc 0 $fdt_addr_r sun50i-h5-orangepi-pc2.dtb
+
+booti $kernel_addr_r - $fdt_addr_r