[meta-freescale] [meta-fsl-arm PATCH 4/4] mxs-base.inc: Add default settings for UBI filesystem generation

Eric Bénard eric at eukrea.com
Tue Sep 17 15:10:51 PDT 2013


Hi Otavio,

Le Tue, 17 Sep 2013 18:30:34 -0300,
Otavio Salvador <otavio at ossystems.com.br> a écrit :

>  physical eraseblock size = 256KiB
>  logical eraseblock size = 258048
>  smallest flash I/O unit = 2048
>  VID header offset = 2048
>  available PEB = 966
> 
> For a more detailed howto, please see
> https://community.freescale.com/docs/DOC-1579
> 
> Change-Id: I7f6d74064f62e53d21a66417fef95c22e9996d4d
> Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
> ---
>  conf/machine/include/mxs-base.inc | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/conf/machine/include/mxs-base.inc b/conf/machine/include/mxs-base.inc
> index c0681f7..9d16d20 100644
> --- a/conf/machine/include/mxs-base.inc
> +++ b/conf/machine/include/mxs-base.inc
> @@ -25,4 +25,7 @@ XSERVER = "xserver-xorg \
>  # Ship kernel modules
>  MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"
>  
> +MKUBIFS_ARGS = "-m 2048 -e 129024 -c 2030"
> +UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512"
> +
Did you really test this on a mxs based board ?
If yes with which CPU and which NAND flash ?

At least one parameter (-s 512) is not synchronous with the log you
provide in the comment.

Moreover these settings are CPU and NAND flash dependent so I don't
think they belong to mxs-base.inc but to each board file according to
the flash which is populated.

Best regards,
Eric



More information about the meta-freescale mailing list