All of lore.kernel.org
 help / color / mirror / Atom feed
From: feng_tian <feng_tian@126.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] How to support fsload in NAND
Date: Thu, 27 Dec 2007 14:31:44 +0800 (CST)	[thread overview]
Message-ID: <19981213.273291198737104702.JavaMail.coremail@bj126app68.126.com> (raw)

Hi, all:
I'm developing with a at91sam9260ek board, os is linux 2.6.20, boot loader is u-boot 1.1.5.
We only have nand flash in the system.
And I want to load kernel from nand flash with jffs2 support, then I enabled fsload by adding some configs in at91sam9260ek.h.
One of those configuration commands is "CFG_CMD_JFFS2".
But it seems that this configuration is for _NOR_FLASH_ not for NAND.
I found another configuration is CONFIG_JFFS2_NAND, I guess this one will support jffs2 in NAND.
But I still can't use _fsload_, because cmd_jffs2.c depends on CFG_CMD_JFFS2. It seems that NAND only supports nand read.jffs2 adr off size
nand write.jffs2 adr off size

So, my question is:
Is there any way to load a file from nand(jffs2), e.g. I've one kernel image in rootfs, then I can use like this: "fsload /boot/uImage"

Any comments or advices are welcome.
Thanks
BR
feng
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20071227/7f16cd82/attachment.htm 

             reply	other threads:[~2007-12-27  6:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-27  6:31 feng_tian [this message]
2007-12-27  8:18 ` [U-Boot-Users] How to support fsload in NAND Wolfgang Denk
2007-12-27 13:35   ` feng_tian at 126.com

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=19981213.273291198737104702.JavaMail.coremail@bj126app68.126.com \
    --to=feng_tian@126.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.