[PATCH 1/1] at91sam9xek: fix mtd partition

Sascha Hauer s.hauer at pengutronix.de
Thu Nov 1 11:29:05 EDT 2012


On Wed, Oct 31, 2012 at 04:47:11PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote:
> barebox size is 384KiB
> and for the official atmel release we need to rootfs at 8M
> 
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>

Applied, thanks

Sascha

> ---
>  arch/arm/boards/at91sam9x5ek/env/config |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm/boards/at91sam9x5ek/env/config b/arch/arm/boards/at91sam9x5ek/env/config
> index 19457be..b8cf4e3 100644
> --- a/arch/arm/boards/at91sam9x5ek/env/config
> +++ b/arch/arm/boards/at91sam9x5ek/env/config
> @@ -22,6 +22,7 @@ oftree_loc=nfs
>  # can be either 'jffs2' or 'ubifs'
>  rootfs_type=ubifs
>  rootfsimage=root.$rootfs_type
> +ubiroot=rootfs
>  
>  # The image type of the kernel. Can be uimage, zimage, raw, or raw_lzo
>  kernelimage=zImage
> @@ -30,7 +31,7 @@ kernelimage=zImage
>  #kernelimage=Image.lzo
>  
>  nand_device=atmel_nand
> -nand_parts="256k(at91bootstrap),256k(barebox)ro,128k(bareboxenv),128k(bareboxenv2),128k(oftree),1M(free),4M(kernel),120M(rootfs),-(data)"
> +nand_parts="256k(at91bootstrap),384k(barebox)ro,128k(bareboxenv),128k(bareboxenv2),128k(oftree),1M(free),6M(kernel),120M(rootfs),-(data)"
>  rootfs_mtdblock_nand=7
>  
>  autoboot_timeout=3
> -- 
> 1.7.10.4
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list