public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Ilya Yanok <yanok@emcraft.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Request for Help: How to save data to an SD/MMC card
Date: Wed, 14 Dec 2011 03:46:57 +0400	[thread overview]
Message-ID: <4EE7E3F1.6030905@emcraft.com> (raw)
In-Reply-To: <CALButCLyUu1gWT_n3=Jx+g0x1=7fO=o6wrYrnN-LYksXcX7LwA@mail.gmail.com>

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.

  reply	other threads:[~2011-12-13 23:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-13  5:16 [U-Boot] Request for Help: How to save data to an SD/MMC card Graeme Russ
2011-12-13  8:14 ` Wolfgang Denk
2011-12-13 23:18   ` Graeme Russ
2011-12-13 23:26 ` Ilya Yanok
2011-12-13 23:28   ` Graeme Russ
2011-12-13 23:31     ` Ulf Samuelsson
2011-12-13 23:34     ` Ilya Yanok
2011-12-13 23:37       ` Graeme Russ
2011-12-13 23:46         ` Ilya Yanok [this message]
2011-12-13 23:52           ` Graeme Russ

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4EE7E3F1.6030905@emcraft.com \
    --to=yanok@emcraft.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox