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 14:32:26 +0200	[thread overview]
Message-ID: <20130918143226.13431fa5@e6520eb> (raw)
In-Reply-To: <CAP9ODKpc4FLuVrn8BXnXSMQzQaAMpv6Bq4Cj7Q96OB-kyOK8hQ@mail.gmail.com>

Hi Otavio,

Le Wed, 18 Sep 2013 09:23:22 -0300,
Otavio Salvador <otavio@ossystems.com.br> a écrit :

> On Tue, Sep 17, 2013 at 7:10 PM, Eric Bénard <eric@eukrea.com> wrote:
> > 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.
> 
> Agreed.  I will send a new version of this.
> 
> I had this for loooooong time in my queue and I recall to try it, but
> not lately. I will also extend the commit log and move it to mx28evk
> board.
> 
no these values are wrong as they come from an i.MX35 tutorial so that
won't work on an i.MX28EVK (moreover this board hasn't any NAND
populated by default so the values will depend on the NAND flash the
user puts in the socket - here I tested with 2k and 4k flashes).

So if you can't test it please don't add default values.

Eric


  reply	other threads:[~2013-09-18 12:32 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
2013-09-18 12:23     ` Otavio Salvador
2013-09-18 12:32       ` Eric Bénard [this message]
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=20130918143226.13431fa5@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.