public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Sharp SL Series NAND Driver
@ 2004-11-12 17:38 Richard Purdie
  2004-11-12 22:17 ` John Lenz
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Purdie @ 2004-11-12 17:38 UTC (permalink / raw)
  To: linux-mtd

As mentioned on IRC, I've ported the nand driver for the Sharp SL series to
the current kernel. This first patch adds the driver which supports all the
Zaurus models that use nand flash. (thanks for the pointers in trimming it
down! :)

http://www.rpsys.net/openzaurus/mtd/rp-mtd-sharpsl.patch

I also have some other patches I'd appreciate your views on. Two of these
should be straightforward. The third is more for comments.

http://www.rpsys.net/openzaurus/mtd/rp-mtd-sharpsl-map.patch - maps a ROM on
the device (I think its used to access configuration information?).

http://www.rpsys.net/openzaurus/mtd/rp-jffs2-longfilename.patch - if you try
and create filenames longer than 255 characters, the fs gets corrupted. This
adds a couple of checks to prevent it.

http://www.rpsys.net/openzaurus/mtd/rp-mtd-sharpsl-extra.patch - This is for
comments. The sharp driver uses a smaller eraseblock than the current mtd
code supports so I have to disable a check to get the code to work properly.
I think this is due to a limitation on kmalloc? The code gets around this by
using dma_alloc_coherent. Is there a way I can do this in an acceptable
manner? (I'm assuming the above patch isn't acceptable?)

(NB: The filesystem is written out by an older driver we can't change so we
have to remain compatible with it - changing eraseblock size therefore isn't
an option).

Thanks,

Richard

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-11-12 22:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-12 17:38 Sharp SL Series NAND Driver Richard Purdie
2004-11-12 22:17 ` John Lenz
2004-11-12 22:54   ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox