All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Eric Bénard" <eric@eukrea.com>
To: Otavio Salvador <otavio@ossystems.com.br>
Cc: meta-freescale Mailing List <meta-freescale@yoctoproject.org>
Subject: Re: [meta-fsl-arm PATCH 4/4] mxs-base.inc: Add default settings for UBI filesystem generation
Date: Wed, 18 Sep 2013 00:10:51 +0200	[thread overview]
Message-ID: <20130918001051.4d944914@e6520eb> (raw)
In-Reply-To: <1379453434-28794-5-git-send-email-otavio@ossystems.com.br>

Hi Otavio,

Le Tue, 17 Sep 2013 18:30:34 -0300,
Otavio Salvador <otavio@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@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


  reply	other threads:[~2013-09-17 22:11 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-17 21:30 [meta-fsl-arm PATCH 0/4] Ready to merge patches Otavio Salvador
2013-09-17 21:30 ` [meta-fsl-arm PATCH 1/4] linux-imx (3.0.35): Add defconfig file for i.MX6 Solo SoCs Otavio Salvador
2013-09-17 22:19   ` Fabio Estevam
2013-09-18  2:17     ` Otavio Salvador
2013-09-18  2:27       ` Fabio Estevam
2013-09-18  2:45         ` Otavio Salvador
2013-09-18  2:48           ` Fabio Estevam
2013-09-18  2:52             ` Otavio Salvador
2013-09-17 21:30 ` [meta-fsl-arm PATCH 2/4] linux-imx (3.0.35): Update to 4.1.0 based branch Otavio Salvador
2013-09-17 21:30 ` [meta-fsl-arm PATCH 3/4] linux-fslc: Update to a318c1dd revision Otavio Salvador
2013-09-17 21:30 ` [meta-fsl-arm PATCH 4/4] mxs-base.inc: Add default settings for UBI filesystem generation Otavio Salvador
2013-09-17 22:10   ` Eric Bénard [this message]
2013-09-18 12:23     ` Otavio Salvador
2013-09-18 12:32       ` Eric Bénard
2013-09-18 12:58         ` Daiane Angolini
2013-09-18 13:23           ` Otavio Salvador
2013-09-18 13:33           ` Eric Bénard
2013-09-18 13:43             ` Otavio Salvador
2013-09-18 14:06               ` Eric Bénard
2013-09-18  1:43 ` [meta-fsl-arm PATCH 0/4] Ready to merge patches Daiane Angolini
2013-09-18  2:41   ` Otavio Salvador

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130918001051.4d944914@e6520eb \
    --to=eric@eukrea.com \
    --cc=meta-freescale@yoctoproject.org \
    --cc=otavio@ossystems.com.br \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.