From: <jayv@synth.net>
To: <linux-mtd@lists.infradead.org>
Subject: SmartMedia driver for SMDK2410 Board?
Date: Tue, 10 Aug 2004 09:20:13 +0100 (BST) [thread overview]
Message-ID: <58183.80.135.154.217.1092126013.squirrel@www.synth.net> (raw)
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
next reply other threads:[~2004-08-10 8:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-10 8:20 jayv [this message]
2004-08-10 10:11 ` SmartMedia driver for SMDK2410 Board? David Woodhouse
2004-08-18 23:44 ` Ben Dooks
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=58183.80.135.154.217.1092126013.squirrel@www.synth.net \
--to=jayv@synth.net \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox