diff options
author | Zoltan HERPAI <wigyori@uid0.hu> | 2015-01-19 00:00:57 +0000 |
---|---|---|
committer | Zoltan HERPAI <wigyori@uid0.hu> | 2015-01-19 00:00:57 +0000 |
commit | 48be4dbd70c0341b3ecdc5ae0d0dff1182c1330d (patch) | |
tree | 5d2f374d639762ceed0ed75580d921d66a593881 /package/boot/uboot-sunxi | |
parent | 311b20a71c0ed5686b255d1e6d88a4f9bfe89d02 (diff) | |
download | master-187ad058-48be4dbd70c0341b3ecdc5ae0d0dff1182c1330d.tar.gz master-187ad058-48be4dbd70c0341b3ecdc5ae0d0dff1182c1330d.tar.bz2 master-187ad058-48be4dbd70c0341b3ecdc5ae0d0dff1182c1330d.zip |
packages: uboot-sunxi: uEnv is used as a script rather than default env
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44048 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/boot/uboot-sunxi')
-rw-r--r-- | package/boot/uboot-sunxi/uEnv.txt | 11 |
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 |