[U-Boot] Writing to SD partitions from u-boot

Wolfgang Denk wd at denx.de
Fri Feb 28 15:50:54 CET 2014


Dear David,

In message <CADqAesiqEdc41z1zc7nAQJXLaKe5q-cTUbXwi3N_bPJTJeyKaQ at mail.gmail.com> you wrote:
>
> This value is set below if my sd card is a mmc and if version is >= than 4.
>  So, I was all the time using a SD card and not an MMC card, but i double
> checked it and the statement:
> 
> if (!IS_SD(mmc) && (mmc->version >= MMC_VERSION_4)) {
> 
> 
> Wont be true, because:
>  IS_SD(mmc) = 0x20000 and mmc->version = 0x20020
> 
> Apparently I should use a mmc card in order to use the mmc functions, which
> makes perfect sense to me :)

"mmc read" and "mmc write" work just fine on SDcards, too.

> On Fri, Feb 28, 2014 at 12:23 PM, Wolfgang Denk <wd at denx.de> wrote:
> 
> > Dear David,
...
[full quote deleted]

Please stop top-posting / full-quoting.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I see that Microsoft's campaign  to  destroy  all  knowledge  of  any
operating   environment   but  its  own  environment-of-the-year  has
succeeded in creating a generation of users who don't understand  the
concept of a shell...
            -- L. Peter Deutsch in <m0x5jNX-000R2UC at lamp.aladdin.com>


More information about the U-Boot mailing list