[SOLVED] Is Compact Flash supported by MTD subsystem?
Linux - Embedded & Single-board computerThis forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Can the MTD subsytem commands for formatting, partitioning, erasing, reading, writing,etc,.. be performed in Compact Flash like we do in NOR flash/Nand flash?
Compact Flash is not a MTD device. It has own Flash Translation Layer like USB sticks and mtd driver doesn't known how to communicate with this. Use normal tools, designed for hard drives for accessing CF.
Can the MTD subsytem commands for formatting, partitioning, erasing, reading, writing,etc,.. be performed in Compact Flash like we do in NOR flash/Nand flash?
I don't know what you mean by MTD. But AFAIK, the Compact Flash cards have their own controller onboard. They have an interface that is compatible to good old IDE/PATA. That's why you can connect CF memory cards directly to an IDE/PATA controller with nothing but a passive adapter in between. So you treat a CF card exactly like an IDE hard disk.
"MTD subsystem does not deal with block devices like MMC, eMMC, SD, CompactFlash, etc. These devices are not raw flashes but they have a Flash Translation layer inside, which makes them look like block devices. These devices are the subject of the Linux block subsystem, not MTD. "
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.