mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Alexander Aring <alex.aring@googlemail.com>
To: christian.buettner@rafi.de
Cc: barebox@lists.infradead.org
Subject: Re: Re: Create NAND Partition through barebox
Date: Thu, 29 Mar 2012 14:40:48 +0200	[thread overview]
Message-ID: <CAB_54W4aZA1W0yGMtboW-F0CLmfx4et2XNEjExdFdZUE_g4a+g@mail.gmail.com> (raw)
In-Reply-To: <OF21220E76.68770C91-ONC12579D0.004452DB-C12579D0.0044D7C4@o0802.rafi.inhouse>


[-- Attachment #1.1: Type: text/plain, Size: 1781 bytes --]

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@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@eukrea.com>
> 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 é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@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
>
>
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
>
>

[-- Attachment #1.2: Type: text/html, Size: 4059 bytes --]

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  parent reply	other threads:[~2012-03-29 12:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-29 11:55 christian.buettner
2012-03-29 12:03 ` Eric Bénard
2012-03-29 12:32   ` Antwort: " christian.buettner
2012-03-29 12:34     ` Eric Bénard
2012-03-29 12:40     ` Alexander Aring [this message]
2012-03-29 12:59       ` Antwort: Re: " christian.buettner
2012-03-29 13:01         ` Eric Bénard
2012-03-29 13:42           ` Franck Jullien
2012-03-30 12:03           ` Antwort: " christian.buettner
2012-03-29 12:08 ` Alexander Aring
2012-03-29 12:15   ` Antwort: " christian.buettner

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=CAB_54W4aZA1W0yGMtboW-F0CLmfx4et2XNEjExdFdZUE_g4a+g@mail.gmail.com \
    --to=alex.aring@googlemail.com \
    --cc=barebox@lists.infradead.org \
    --cc=christian.buettner@rafi.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox