summaryrefslogtreecommitdiff
path: root/package/u-boot/files
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-07-23 15:35:59 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2017-07-24 07:38:59 +0200
commitbfeb8323e05852b960c84d49c5c2f34c8049e3e0 (patch)
treedbce0293e34bbfe24f2eec50d643dce43e036fd7 /package/u-boot/files
parent91ea5f2d4db5a30c5d0557a0c0174e5288926a93 (diff)
add sample for orange-pi zero
Diffstat (limited to 'package/u-boot/files')
-rw-r--r--package/u-boot/files/boot.script.opi5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/u-boot/files/boot.script.opi b/package/u-boot/files/boot.script.opi
new file mode 100644
index 000000000..58dbf8fae
--- /dev/null
+++ b/package/u-boot/files/boot.script.opi
@@ -0,0 +1,5 @@
+setenv fdt_high ffffffff
+setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p1 rootwait
+ext4load mmc 0:1 $kernel_addr_r boot/kernel
+ext4load mmc 0:1 $fdt_addr_r boot/sun8i-h2-plus-orangepi-zero.dtb
+bootz $kernel_addr_r - $fdt_addr_r