From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp5-g21.free.fr (smtp5-g21.free.fr [212.27.42.5]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id ACC18E01530 for ; Wed, 18 Sep 2013 05:32:35 -0700 (PDT) Received: from e6520eb (unknown [88.170.243.169]) (Authenticated sender: eukrea) by smtp5-g21.free.fr (Postfix) with ESMTPSA id 3806FD48161; Wed, 18 Sep 2013 14:32:27 +0200 (CEST) Date: Wed, 18 Sep 2013 14:32:26 +0200 From: Eric =?ISO-8859-1?B?QuluYXJk?= To: Otavio Salvador Message-ID: <20130918143226.13431fa5@e6520eb> In-Reply-To: References: <1379453434-28794-1-git-send-email-otavio@ossystems.com.br> <1379453434-28794-5-git-send-email-otavio@ossystems.com.br> <20130918001051.4d944914@e6520eb> Organization: =?ISO-8859-1?B?RXVrculh?= Electromatique X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Cc: meta-freescale Mailing List Subject: Re: [meta-fsl-arm PATCH 4/4] mxs-base.inc: Add default settings for UBI filesystem generation X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Sep 2013 12:32:38 -0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Otavio, Le Wed, 18 Sep 2013 09:23:22 -0300, Otavio Salvador a =E9crit : > On Tue, Sep 17, 2013 at 7:10 PM, Eric B=E9nard wrote: > > Hi Otavio, > > > > Le Tue, 17 Sep 2013 18:30:34 -0300, > > Otavio Salvador a =E9crit : > > > >> physical eraseblock size =3D 256KiB > >> logical eraseblock size =3D 258048 > >> smallest flash I/O unit =3D 2048 > >> VID header offset =3D 2048 > >> available PEB =3D 966 > >> > >> For a more detailed howto, please see > >> https://community.freescale.com/docs/DOC-1579 > >> > >> Change-Id: I7f6d74064f62e53d21a66417fef95c22e9996d4d > >> Signed-off-by: Otavio Salvador > >> --- > >> 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 =3D "xserver-xorg \ > >> # Ship kernel modules > >> MACHINE_EXTRA_RRECOMMENDS =3D "kernel-modules" > >> > >> +MKUBIFS_ARGS =3D "-m 2048 -e 129024 -c 2030" > >> +UBINIZE_ARGS =3D "-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. >=20 > Agreed. I will send a new version of this. >=20 > 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. >=20 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