[OpenWrt-Devel,2/8] packages: uboot-sunxi: uEnv is used as a script rather than default env
diff mbox

Message ID 20150118233611.GA4412@makrotopia.org
State Superseded
Delegated to: Zoltan HERPAI
Headers show

Commit Message

Daniel Golle Jan. 18, 2015, 11:36 p.m. UTC
---
 package/boot/uboot-sunxi/uEnv.txt | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

Comments

Zoltan HERPAI Jan. 18, 2015, 11:54 p.m. UTC | #1
Hi Daniel,

On Mon, 19 Jan 2015, Daniel Golle wrote:

> ---
> package/boot/uboot-sunxi/uEnv.txt | 11 ++++++-----
> 1 file changed, 6 insertions(+), 5 deletions(-)
>
> diff --git a/package/boot/uboot-sunxi/uEnv.txt b/package/boot/uboot-sunxi/uEnv.txt
> index e4fc0e1..e024954 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

Please add a Signed-off-by: here, otherwise tested and ready to be 
committed.

Thanks,
-w-

Patch
diff mbox

diff --git a/package/boot/uboot-sunxi/uEnv.txt b/package/boot/uboot-sunxi/uEnv.txt
index e4fc0e1..e024954 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