All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Hawkins <a.hawkins@cabletime.com>
To: linux-mtd@lists.infradead.org
Subject: Large flash concatenation
Date: 28 May 2004 10:41:29 +0100	[thread overview]
Message-ID: <1085737289.5617.3.camel@adh> (raw)

Hi,

I'm trying to add support to the kernel for concatenating a number of
large flash devices (1Gb Samsung K9F1G08).

I've added the following line to nand_ids.c:

	{"NAND 1GiB 3,3V", 0xf1, 30, 0x4000, 0},

and the devices are correctly detected (I've also written the required
code in drivers/mtd/nand), showing a size of 0x40000000 for each device.
However, when I concatenate 15 of these devices, I end up with a
partition of size 0xc000000. I assume that this is because the total
size is stored in 32 bits, and as such is overflowing.

I want to be able to use these multiple chips as a single flash
filesystem (probably JFFS2).

Can anyone help as to how I can do this?

Many thanks.

Andy

             reply	other threads:[~2004-05-28  9:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-28  9:41 Andy Hawkins [this message]
2004-05-28 10:27 ` Large flash concatenation Thomas Gleixner
2004-05-28 10:42   ` Andy Hawkins
2004-05-28 10:44     ` Thomas Gleixner
2004-05-28 10:58       ` Andy Hawkins
2004-05-28 11:15         ` Thomas Gleixner
2004-05-28 13:14       ` David Woodhouse
2004-05-28 11:20     ` Thomas Gleixner
2004-05-28 10:28 ` David Woodhouse

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=1085737289.5617.3.camel@adh \
    --to=a.hawkins@cabletime.com \
    --cc=linux-mtd@lists.infradead.org \
    /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.