file system over CF flash

Mark Hatle fray at mvista.com
Mon Jun 2 00:40:54 EST 2003


Magnus Damm wrote:
> There is no need for any special Flash file system, the Compact Flash itself keeps
> track of things like wear levelling, sector size and command set of the flash devices.

Just want to point out a common misconception on CF here.  While the unit will
do wear leveling, you MUST power cycle it for that to happen.  Each power cycle
pretty much locks down the sectors it is using.  Bizarre I agree, but you will
burn out a CF disk very quickly if you do not constantly power cycle it.  (We
had a customer experience that exact problem with the CF vendor's response being
"ohh you didn't know that?".)

CF disks are great for read-only, occasional writes, and "consumer devices"..
but are terrible for anything that you would expect long uptimes and moderate
writing.  (In this situation, the little IBM CF hard drive seems to work pretty
good, but I don't have any long term experience with failure/success on one of
those.)

> The exported interface for a Compact Flash is just like any ATA Flash and under
> Linux the standard IDE driver is normally used. The CF needs to be mapped into
> some address space however, and this setup is usually taken care of by the PCMCIA
> layer or the firmware/bootloader of your specific board.

--Mark


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list