aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-sunxi/uEnv.txt
diff options
context:
space:
mode:
Diffstat (limited to 'package/boot/uboot-sunxi/uEnv.txt')
-rw-r--r--package/boot/uboot-sunxi/uEnv.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/boot/uboot-sunxi/uEnv.txt b/package/boot/uboot-sunxi/uEnv.txt
new file mode 100644
index 0000000..e024954
--- /dev/null
+++ b/package/boot/uboot-sunxi/uEnv.txt
@@ -0,0 +1,6 @@
+setenv fdt_high ffffffff
+setenv loadkernel fatload mmc 0 \$kernel_addr_r uImage
+setenv loaddtb fatload mmc 0 \$fdt_addr_r dtb
+setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait
+setenv uenvcmd run loadkernel \&\& run loaddtb \&\& bootm \$kernel_addr_r - \$fdt_addr_r
+run uenvcmd