From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-ey0-f177.google.com ([209.85.215.177]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1SDEep-0006QA-4W for barebox@lists.infradead.org; Thu, 29 Mar 2012 12:40:52 +0000 Received: by eaak13 with SMTP id k13so1140740eaa.36 for ; Thu, 29 Mar 2012 05:40:49 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <20120329140303.71c94361@eb-e6520> Date: Thu, 29 Mar 2012 14:40:48 +0200 Message-ID: From: Alexander Aring List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============7727996521227446270==" Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: Re: Create NAND Partition through barebox To: christian.buettner@rafi.de Cc: barebox@lists.infradead.org --===============7727996521227446270== Content-Type: multipart/alternative; boundary=f46d04308a28969de104bc610899 --f46d04308a28969de104bc610899 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, is there a /dev/nand0 device? /env/bin/init call "addpart /dev/nand0 $nand_parts" and create these partitions. Or maybe the command is not available? Alex Am 29. M=C3=A4rz 2012 14:32 schrieb : > This is my current config: > > #!/bin/sh > > machine=3Dtest > > kernel_loc=3Dnand > rootfs_loc=3Dnand > > rootfs_type=3Dubifs > > kernel=3DzImage > rootfs=3Drootfs > envimage=3Denviron.bin > > autoboot_timeout=3D3 > > nfsroot=3D"/tools/rootfs/test" > > console=3D"console=3Dttymxc0,115200" > > bootargs=3D${console} > > nand_parts=3D"256k(barebox)ro,768k(bareboxenv),4M(kernel),-(root)" > kdev=3D"/dev/nand0.kernel.bb" > rootfs_mtdblock_nand=3D3 > > > > But i see no NAND in devinfo > > - - Christian > > > > Von: Eric B=C3=A9nard > 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 =C3=A9crit : > > 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 > > _______________________________________________ > barebox mailing list > barebox@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/barebox > > > _______________________________________________ > barebox mailing list > barebox@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/barebox > > --f46d04308a28969de104bc610899 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

is there a /dev/nand0 device?

/env/bin/init call &quo= t;addpart /dev/nand0 $nand_parts" and create these partitions.
Or m= aybe the command is not available?

Alex

Am 29. M=C3=A4rz 2012 14:32 schrieb <christian.buettner@rafi.de>:
This is my current config:

#!/bin/sh

machine=3Dtest

kernel_loc=3Dnand
rootfs_loc=3Dnand

rootfs_type=3Dubifs

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

autoboot_timeout=3D3

nfsroot=3D"/tools/rootfs/test"

console=3D"console=3Dttymxc0,115200"= ;

bootargs=3D${console}

nand_parts=3D"256k(barebox)ro,768k(bareb= oxenv),4M(kernel),-(root)"
kdev=3D"/dev/nand0.kernel.bb"
rootfs_mtdblock_nand=3D3



But i see no NAND in devinfo

- - Christian



Von: =C2=A0 =C2= =A0 =C2=A0 =C2=A0Eric B=C3=A9nard <eric@eukrea.com>
An: =C2=A0 =C2= =A0 =C2=A0 =C2=A0barebox@lists.infradead.org
Datum: =C2=A0 = =C2=A0 =C2=A0 =C2=A029.03.2012 14:04
Betreff: =C2=A0 =C2=A0 =C2=A0 =C2=A0Re: Create NAND Partition through barebox
Gesendet v= on: =C2=A0 =C2=A0 =C2=A0 =C2=A0barebox-bounces@list= s.infradead.org




Hi,

Le Thu, 29 Mar 2012 13:55:43 +0200,
christian.b= uettner@rafi.de a =C3=A9crit :
> 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

_______________________________________________
barebox mailing list
barebox@li= sts.infradead.org
http://lists.infradead.org/mailman/listinfo/ba= rebox


_______________________________________________
barebox mailing list
barebox@lists.infradead.org<= /a>
http://lists.infradead.org/mailman/listinfo/barebox


--f46d04308a28969de104bc610899-- --===============7727996521227446270== 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 --===============7727996521227446270==--