From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: In-Reply-To: <20120329140303.71c94361@eb-e6520> References: <20120329140303.71c94361@eb-e6520> MIME-Version: 1.0 Message-ID: From: christian.buettner@rafi.de Date: Thu, 29 Mar 2012 14:32:01 +0200 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============7142253252108542453==" Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Antwort: Re: Create NAND Partition through barebox To: =?ISO-8859-1?Q?Eric_B=E9nard?= Cc: barebox@lists.infradead.org, barebox-bounces@lists.infradead.org Dies ist eine mehrteilige Nachricht im MIME-Format. --===============7142253252108542453== Content-Type: multipart/alternative; boundary="=_alternative 0044D7C3C12579D0_=" Dies ist eine mehrteilige Nachricht im MIME-Format. --=_alternative 0044D7C3C12579D0_= Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable This is my current config: #!/bin/sh machine=3Dtest kernel=5Floc=3Dnand rootfs=5Floc=3Dnand rootfs=5Ftype=3Dubifs kernel=3DzImage rootfs=3Drootfs envimage=3Denviron.bin autoboot=5Ftimeout=3D3 nfsroot=3D"/tools/rootfs/test" console=3D"console=3Dttymxc0,115200" bootargs=3D${console} nand=5Fparts=3D"256k(barebox)ro,768k(bareboxenv),4M(kernel),-(root)" kdev=3D"/dev/nand0.kernel.bb" rootfs=5Fmtdblock=5Fnand=3D3 But i see no NAND in devinfo - - Christian Von: Eric B=E9nard An: barebox@lists.infradead.org Datum: 29.03.2012 14:04 Betreff: Re: Create NAND Partition through barebox Gesendet von: barebox-bounces@lists.infradead.org Hi, Le Thu, 29 Mar 2012 13:55:43 +0200, christian.buettner@rafi.de a =E9crit : > i need to create a NAND Partition through the barebox prompt to be able=20 to=20 > flash a kernel image on it. >=20 >.../... >=20 > I tried using > $ nand -a /dev/nand0.* >=20 > Nothing happens.. > What is wrong? >=20 do you have the partition definition in your /env/config file ? Eric =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox --=_alternative 0044D7C3C12579D0_= Content-Type: text/html; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable This is my current config:

#!/bin/sh

machine=3Dtest

kernel=5Floc=3Dnand
rootfs=5Floc=3Dnand

rootfs=5Ftype=3Dubifs

kernel=3DzImage
rootfs=3Drootfs
envimage=3Denviron.bin

autoboot=5Ftimeout=3D3

nfsroot=3D"/tools/rootfs/test&q= uot;

console=3D"console=3Dttymxc0,11= 5200"

bootargs=3D${console}

nand=5Fparts=3D"256k(barebox)ro= ,768k(bareboxenv),4M(kernel),-(root)"
kdev=3D"/dev/nand0.kernel.bb&qu= ot;
rootfs=5Fmtdblock=5Fnand=3D3



But i see no NAND in devinfo

- - Christian



Von:     &= nbsp;  Eric B=E9nard <eric@eukr= ea.com>
An:     &n= bsp;  barebox@lists.infradead.org=
Datum:    =    29.03.2012 14:04
Betreff:   &nbs= p;    Re: Create NAND Partition through barebox
Gesendet von:  =      barebox-bounces@list= s.infradead.org




Hi,

Le Thu, 29 Mar 2012 13:55:43 +0200,
christian.buettner@rafi.de a =E9crit :
> i need to create a NAND Partition through the barebox prompt to be able to
> flash a kernel image on it.
>
>.../...
>
> I tried using
> $ nand -a /dev/nand0.*
>
> Nothing happens..
> What is wrong?
>
do you have the partition definition in your /env/config file ?

Eric

=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
barebox mailing list
barebox@lists.infradead.org
<= tt>http://lists.infradead.org/mailman/listinfo/barebox

--=_alternative 0044D7C3C12579D0_=-- --===============7142253252108542453== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox --===============7142253252108542453==--