On 9 January 2014 21:18, Luc Verhaegen <l...@skynet.be> wrote:
> They should now be actually useful, and the howtos will be updated.
>
> Also, it might be a good idea to add this to the sun4i config as well.
>
> Signed-off-by: Luc Verhaegen <l...@skynet.be>
> ---
>  include/configs/sun5i_a13.h |   16 +++++++++-------
>  1 files changed, 9 insertions(+), 7 deletions(-)
>
> diff --git a/include/configs/sun5i_a13.h b/include/configs/sun5i_a13.h
> index 70c2f0e..06780c5 100644
> --- a/include/configs/sun5i_a13.h
> +++ b/include/configs/sun5i_a13.h
> @@ -182,18 +182,20 @@
>         "bootdelay=3\0" \
>         "bootcmd=run setargs boot_normal\0" \
>         "console=ttyS0,115200\0" \
> -       "nand_root=/dev/nandd\0" \
> -       "mmc_root=/dev/mmcblk0p4\0" \
> +       "nand_root=/dev/nandb\0" \
>         "init=/init\0" \
>         "loglevel=8\0" \
> -       "setargs=setenv bootargs console=${console} root=${nand_root}" \
> +       "setargs=setenv bootargs console=${console} root=${nand_root} 
> rootwait" \
>         "init=${init} loglevel=${loglevel}\0" \
> -       "boot_normal=nand read 50000000 boot; boota 50000000\0" \
> -       "boot_recovery=nand read 50000000 recovery; boota 50000000\0" \
> -       "boot_fastboot=fastboot\0"
> +       "boot_normal=fatload nand 0 0x43000000 script.bin;fatload nand 0 
> 0x48000000 linux/uImage;bootm 0x48000000\0"
> +
>
>  #define CONFIG_BOOTDELAY       1
> -#define CONFIG_BOOTCOMMAND     "nand read 50000000 boot;boota 50000000"
> +#define CONFIG_BOOTCOMMAND     \
> +       "fatload nand 0 0x43000000 script.bin;" \
> +       "fatload nand 0 0x48000000 linux/uImage;" \
> +       "bootm 0x48000000"
> +
>  #define CONFIG_SYS_BOOT_GET_CMDLINE
>  #define CONFIG_AUTO_COMPLETE
>
> --

Did you check that the Android BSPs? The default seems to be geared
towards Android and changing it might further break the already badly
broken Android kits.

Thanks

Michal

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to