public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Kenneth Johansson <kenneth.johansson@etx.ericsson.se>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] jffs2 indirect access.
Date: 25 Jul 2003 14:18:59 +0200	[thread overview]
Message-ID: <1059135539.31113.116.camel@spawn> (raw)
In-Reply-To: <FD2AC9A020DDD51194710008C7089B200BEE220B@dlee17.itg.ti.com>

On Thu, 2003-07-24 at 16:20, Woodruff, Richard wrote:
> Hi,
> 
> I had considered doing something similar to support NAND.  After reading
> though Dave's comments as attached below (speed, size, ...) and some other
> reading I decided from my perspective it wasn't worth it.  For the most part
> memory is abundant at the boot loader so copying a moderately sized kernel
> partition doesn't seem that bad, especially given the speed cost.  In my
> board I've added a ram entry flash device array and copy data there.

Yes when you have NAND flash an extra partition or two is not going to
cost you much. And when you are using NOR flash you probably is going to
have a lot more DRAM than flash anyway.

I should mention that most of the work on this patch was done by a
summer intern named Michal Cendrowski I just dotted the i's and crossed
the t's well actually I freed the mallocs and moved some things out of
loops.

It should be possible to change the code in a why that makes it a
compile time option to use the callback function or directly map the
filesystem. I think that would be the only acceptable change as the
overhead otherwise is just to large for situations when copying the
whole thing is not a problem.

hmm That should almost be possible now just changing the jffs2copy
macro.

-- 
Kenneth Johansson	
Ericsson AB                       Tel: +46 8 719 70 20
Tellusborgsv?gen  90              Fax: +46 8 719 29 45
126 25 Stockholm                  ken at switchboard.ericsson.se

  reply	other threads:[~2003-07-25 12:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-24 14:20 [U-Boot-Users] [PATCH] jffs2 indirect access Woodruff, Richard
2003-07-25 12:18 ` Kenneth Johansson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-07-24 12:35 Kenneth Johansson
2003-07-24 13:43 ` Wolfgang Denk

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=1059135539.31113.116.camel@spawn \
    --to=kenneth.johansson@etx.ericsson.se \
    --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