packages: uboot-sunxi: uEnv is used as a script rather than default env
authorZoltan Herpai <wigyori@uid0.hu>
Mon, 19 Jan 2015 00:00:57 +0000 (00:00 +0000)
committerZoltan Herpai <wigyori@uid0.hu>
Mon, 19 Jan 2015 00:00:57 +0000 (00:00 +0000)
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 44048

package/boot/uboot-sunxi/uEnv.txt

index e4fc0e19bf8ec1b9bfc99ac332101bbe48da0067..e024954516c8601fa6852e4ab4552e8fc881aef7 100644 (file)
@@ -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