aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot
diff options
context:
space:
mode:
authorZoltan Herpai <wigyori@uid0.hu>2015-01-19 00:00:57 +0000
committerZoltan Herpai <wigyori@uid0.hu>2015-01-19 00:00:57 +0000
commita5c36c26eb64063fa5904e70145b1c8550c35bc8 (patch)
tree7fd82af66e4bb5ef150d155592726e21df79c571 /package/boot
parent9e7cc83edcb1bf2d36223423167f09ef06e34201 (diff)
downloadupstream-a5c36c26eb64063fa5904e70145b1c8550c35bc8.tar.gz
upstream-a5c36c26eb64063fa5904e70145b1c8550c35bc8.tar.bz2
upstream-a5c36c26eb64063fa5904e70145b1c8550c35bc8.zip
packages: uboot-sunxi: uEnv is used as a script rather than default env
Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 44048
Diffstat (limited to 'package/boot')
-rw-r--r--package/boot/uboot-sunxi/uEnv.txt11
1 files changed, 6 insertions, 5 deletions
diff --git a/package/boot/uboot-sunxi/uEnv.txt b/package/boot/uboot-sunxi/uEnv.txt
index e4fc0e19bf..e024954516 100644
--- a/package/boot/uboot-sunxi/uEnv.txt
+++ b/package/boot/uboot-sunxi/uEnv.txt
@@ -1,5 +1,6 @@
-fdt_high=ffffffff
-loadkernel=fatload mmc 0 0x46000000 uImage
-loaddtb=fatload mmc 0 0x49000000 dtb
-bootargs=console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait
-uenvcmd=run loadkernel && run loaddtb && bootm 0x46000000 - 0x49000000
+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