public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* SmartMedia driver for SMDK2410 Board?
@ 2004-08-10  8:20 jayv
  2004-08-10 10:11 ` David Woodhouse
  0 siblings, 1 reply; 3+ messages in thread
From: jayv @ 2004-08-10  8:20 UTC (permalink / raw)
  To: linux-mtd

Hi All,

November last year, this message was posted to linux-mtd:

--- quote ---------
Subject: smartmedia block driver
Luca Contini luca.contini at mediaenabling.com
Wed Nov 19 11:18:02 GMT 2003
Previous message: Suggested patch for mtdchar.c
Next message: smartmedia block driver

Hi all,
I've successfully completed the "read" part of a smartmedia driver for the
Samsung board smdk2410.
The Linux kernel is 2.4.18 (mandatory for this board)
The driver is composed by 3 modules:
s3c2410nand.o
smdk2410.o
mtdblock.o

I've modified these sources in order to read the smartmedia and build up the
logical to physical block address map.
Now I am able to mount a vfat filesystem on the smartmedia:
mount -t vfat /dev/mtdblock0 /mnt/smartmedia

My problem is that I have no idea about how to write sectors to smartmedia.
I have already the low level function nand_write_ecc, but I need help from
the logical side.
When the mtdblock needs a logical sector (req->sector), I just use my table
to translate the logical block address to physical block address (the low
level driver module s3c2410nand.o reads only physical sectors) and pass this
physical address to the nand_read_ecc function.
I suppose that when I write, a new logical or physical address must be
written in the OOB area of the requested block, but which is the logic?

is anybody able to help me?

regards

Luca
--- end quote -----

I've been unable to contact Luca to see what sort of state the SD driver
for SMDK2410is now in, almost a year later ... does anyone have any details?

I have an SMDK2410 which I'd like to press into development work, but the
only large'ishmedia I have for it is a 512Meg SD Card, which I'd like to put all the dev
tools on ... is thispossible?  Maybe someone has a working SD driver for SMDK2410?  (linux
kernel 2.4.18)
;
--
Jay Vaughan

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

* Re: SmartMedia driver for SMDK2410 Board?
  2004-08-10  8:20 SmartMedia driver for SMDK2410 Board? jayv
@ 2004-08-10 10:11 ` David Woodhouse
  2004-08-18 23:44   ` Ben Dooks
  0 siblings, 1 reply; 3+ messages in thread
From: David Woodhouse @ 2004-08-10 10:11 UTC (permalink / raw)
  To: jayv; +Cc: linux-mtd

On Tue, 2004-08-10 at 09:20 +0100, jayv@synth.net wrote:
> I've been unable to contact Luca to see what sort of state the SD driver
> for SMDK2410is now in, almost a year later ... does anyone have any details?
> 
> I have an SMDK2410 which I'd like to press into development work, but the
> only large'ishmedia I have for it is a 512Meg SD Card, which I'd like to put all the dev
> tools on ... is thispossible?  Maybe someone has a working SD driver for SMDK2410?  (linux
> kernel 2.4.18)

Join the IRC channel #mtd on irc.freenode.net; it's being discussed
there.

-- 
dwmw2

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

* Re: SmartMedia driver for SMDK2410 Board?
  2004-08-10 10:11 ` David Woodhouse
@ 2004-08-18 23:44   ` Ben Dooks
  0 siblings, 0 replies; 3+ messages in thread
From: Ben Dooks @ 2004-08-18 23:44 UTC (permalink / raw)
  To: David Woodhouse; +Cc: linux-mtd

On Tue, Aug 10, 2004 at 11:11:53AM +0100, David Woodhouse wrote:
> On Tue, 2004-08-10 at 09:20 +0100, jayv@synth.net wrote:
> > I've been unable to contact Luca to see what sort of state the SD driver
> > for SMDK2410is now in, almost a year later ... does anyone have any details?
> > 
> > I have an SMDK2410 which I'd like to press into development work, but the
> > only large'ishmedia I have for it is a 512Meg SD Card, which I'd like to put all the dev
> > tools on ... is thispossible?  Maybe someone has a working SD driver for SMDK2410?  (linux
> > kernel 2.4.18)
> 
> Join the IRC channel #mtd on irc.freenode.net; it's being discussed
> there.

I've had smartmedia/nand working on our EB2410ITX under 2.4.26

-- 
Ben (ben@fluff.org, http://www.fluff.org/)

  'a smiley only costs 4 bytes'

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

end of thread, other threads:[~2004-08-19  3:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-10  8:20 SmartMedia driver for SMDK2410 Board? jayv
2004-08-10 10:11 ` David Woodhouse
2004-08-18 23:44   ` Ben Dooks

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