public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Scott Wood <scottwood@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] YAFFS2 and getting the NAND formatted
Date: Fri, 31 Jul 2009 18:09:36 -0500	[thread overview]
Message-ID: <4A7379B0.7020307@freescale.com> (raw)
In-Reply-To: <17434f2e0907311551t1025e668j578d315872afd454@mail.gmail.com>

J.C. Wren wrote:
> I see references to 'nand write.yaffs2' which looks like it might do what I
> want, but that seems to be non-existent.  Was this replaced by something
> else?

It's not yet supported in mainline.  There have been some patches 
floating around, but none has been formally submitted for merging.

See:
http://git.denx.de/?p=u-boot/u-boot-blackfin.git;a=commitdiff;h=44f07de8cc94836cd3b0fd2fb0cf8b8651461087

> All the solutions that don't involve 'nand write.yaffs2' involve booting to
> Linux and mounting /dev/mtdblockX... Which doesn't really work when you
> don't a root filesystem (No Ethernet, USB doesn't work right yet (can't get
> a kernel to recognize the USB pen drive, although u-boot does quite nicely).

You could try using an initrd/initramfs (attached to the kernel image, 
or loaded by u-boot) which includes the image to be written.

Or you could try using jffs2 to bootstrap things.

Or fix USB. :-)

-Scott

      reply	other threads:[~2009-07-31 23:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-31 22:51 [U-Boot] YAFFS2 and getting the NAND formatted J.C. Wren
2009-07-31 23:09 ` Scott Wood [this message]

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=4A7379B0.7020307@freescale.com \
    --to=scottwood@freescale.com \
    --cc=u-boot@lists.denx.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