LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This 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


Reply
  Search this Thread
Old 11-18-2014, 08:54 AM   #1
ayyasprings
Member
 
Registered: Aug 2014
Posts: 118

Rep: Reputation: Disabled
Is Compact Flash supported by MTD subsystem?


Hi,

Is Compact Flash supported by MTD subsystem?

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?

Please reply!
 
Old 11-18-2014, 11:44 AM   #2
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,281

Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
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.
 
Old 11-18-2014, 03:47 PM   #3
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by ayyasprings View Post
Is Compact Flash supported by MTD subsystem?

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.

[X] Doc CPU
 
Old 11-18-2014, 07:50 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,981

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
Most CF disks are really wired like an ide drive.

"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. "

http://processors.wiki.ti.com/index.php/MTD_Utilities

Last edited by jefro; 11-18-2014 at 07:53 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
MTD flash lock and unlock yuvarajragupathi Linux - Kernel 2 11-15-2012 11:26 PM
Filesystem supported but MTD not mounted littlebigman Linux - Software 2 02-17-2011 03:24 AM
MTD flash lock and unlock yuvarajragupathi Linux - Embedded & Single-board computer 0 07-20-2010 11:25 PM
flash base and flash size in MTD driver ashok449 Linux - Kernel 1 05-21-2010 06:58 PM
How do you duplicate a 512 Meg Compact flash to a 1 GB compact flash using dd??? allen00860 Linux - Newbie 5 05-23-2009 08:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 09:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration