Create NAND Partition through barebox

Alexander Aring alex.aring at googlemail.com
Thu Mar 29 08:40:48 EDT 2012


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ärz 2012 14:32 schrieb <christian.buettner at rafi.de>:

> This is my current config:
>
> #!/bin/sh
>
> machine=test
>
> kernel_loc=nand
> rootfs_loc=nand
>
> rootfs_type=ubifs
>
> kernel=zImage
> rootfs=rootfs
> envimage=environ.bin
>
> autoboot_timeout=3
>
> nfsroot="/tools/rootfs/test"
>
> console="console=ttymxc0,115200"
>
> bootargs=${console}
>
> nand_parts="256k(barebox)ro,768k(bareboxenv),4M(kernel),-(root)"
> kdev="/dev/nand0.kernel.bb"
> rootfs_mtdblock_nand=3
>
>
>
> But i see no NAND in devinfo
>
> - - Christian
>
>
>
> Von:        Eric Bénard <eric at eukrea.com>
> An:        barebox at lists.infradead.org
> Datum:        29.03.2012 14:04
> Betreff:        Re: Create NAND Partition through barebox
> Gesendet von:        barebox-bounces at lists.infradead.org
> ------------------------------
>
>
>
> Hi,
>
> Le Thu, 29 Mar 2012 13:55:43 +0200,
> christian.buettner at rafi.de a écrit :
> > 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 at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
>
>
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/barebox/attachments/20120329/cbdf5f42/attachment.html>


More information about the barebox mailing list