[U-Boot] Request for Help: How to save data to an SD/MMC card

Ilya Yanok yanok at emcraft.com
Wed Dec 14 00:46:57 CET 2011


Hi Graeme,

On 14.12.2011 03:37, Graeme Russ wrote:
>> Well, it shouldn't be that hard to get the data written to specific
>> blocks on the dev PC using dd command.
> 
> But what about bad blocks?

You don't need to worry much about this. MMC/SD card are not a raw flash
devices they contain FTL that handles this internally. See
http://www.linux-mtd.infradead.org/doc/ubifs.html#L_raw_vs_ftl
for details.

That's why you can use generic filesystems on MMC/SD (neither FAT not
EXT2/3/4 is not designed for raw flash).

Regards, Ilya.



More information about the U-Boot mailing list