MTD on a USB SmartMedai Reader
Hello,
I want to access a SmartMedia card on a USB adapter with JFFS2 filesystem. The USB reader is recognized fine and seems to detect the card correctly. My question is how can I direct the MTD subsystem to use the USB adapter? Is this supported?
Thanks,
Sid
Quoted 5 lines · Sid Gluckman
Hello,
I want to access a SmartMedia card on a USB adapter with JFFS2 filesystem. The USB reader is recognized fine and seems to detect the card correctly. My question is how can I direct the MTD subsystem to use the USB adapter?
I suspect that you don't. Although SmartMedia is basically just NAND flash, the USB 'cardreader' will probably be hiding all that from you and presenting itself USB mass storage device. Turn on CONFIG_SCSI and CONFIG_USB_STORAGE.
Signature · 1 line
dwmw2
Quoted 8 lines · David Woodhouse
Quoted 6 lines · Sid Gluckman
Hello,
I want to access a SmartMedia card on a USB adapter with JFFS2 filesystem. The USB reader is recognized fine and seems to detect the card correctly. My question is how can I direct the MTD subsystem to use the USB adapter?
Quoted 4 lines
I suspect that you don't. Although SmartMedia is basically just NAND flash, the USB 'cardreader' will probably be hiding all that from you and presenting itself USB mass storage device. Turn on
CONFIG_SCSIandCONFIG_USB_STORAGE.
It depends on the card reader.
Some of them look like a USB mass storage device (which would not work with mtd as NAND). Some send read/write/erase commands over the USB link - these could be made visible as NAND under mtd.
-- CHarles