Smartmedia block device code
Hello.
AFAIK, linux-mtd still has no read-write SmartMedia driver.
About a year ago I created a driver that implements a read-write block device for SmartMedia nandflash, for an embedded device with arm processor running Linux 2.2.1 kernel. With this driver, card could be mounted read-write, file interchange with USB card readers was possible; also there is a number of ioctls() for lowlevel card access, and a user-level tool for doing low-level card manipulations.
I'm not interested in this code today (and I don't have hardware). However, maybe someone needs it?
It's attached, and also available from
http://zigzag.lvk.cs.msu.su/~nikita/sm.tar.bz2
It does not use mtd infrastructure (AFAIK there was none in 2.2 kernel), and probably needs some obvious fixes to run on any kernel other than was used on that device. But is should be more or less trivial to port it to recent kernels and MTD infrastructure.
Nikita
P.S.
If you wish to reply, please CC: to [email protected] - I am not on the list.
Quoted 16 lines · Nikita V. Youshchenko
Quoted 11 lines
Hello.
AFAIK, linux-mtd still has no read-write SmartMedia driver.
About a year ago I created a driver that implements a read-write block device for SmartMedia nandflash, for an embedded device with arm processor running Linux 2.2.1 kernel. With this driver, card could be mounted read-write, file interchange with USB card readers was possible; also there is a number of
ioctls()for lowlevel card access, and a user-level tool for doing low-level card manipulations.Quoted 2 lines
I'm not interested in this code today (and I don't have hardware). However, maybe someone needs it?
Quoted 6 lines
That's useful -- thanks.
Quoted 2 lines
It's attached, and also available from
http://zigzag.lvk.cs.msu.su/~nikita/sm.tar.bz2Unfortunately both seem to be an empty tar archive :)
Oh sorry, re-attaching and re-uploading ...