Skip to contentSkip to conversation

MTD on a USB SmartMedai Reader

DISCUSSION Sid Gluckman 3 participants 3 messages Apr 21, 2003 – Apr 23, 2003 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
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
#2 lore raw
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_SCSI and CONFIG_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