[U-Boot] SD card support for U-boot 1.3.4

Wolfgang Denk wd at denx.de
Wed Dec 2 20:35:11 CET 2009


Dear Jimmy Shergill,

In message <a9bbcd260912020831n4254a317ycc7582165d8f6cba at mail.gmail.com> you wrote:
>
> Thanks for your reply. As suggested, I have downloaded version 2009.08 and
> built it like this (please tell me if thats correct)
> 
> # make at91sam9263ek_config
> ... with environment variable in SPI DATAFLASH CS0
> Configuring for at91sam9263ek board...
> # make all CROSS_COMPILE=arm-none-linux-gnueabi-

This is one of the valid ways to compile U-Boot.

> I do have u-boot.bin now. My next questions are:

...and your "u-boot.bin" is configured for the "at91sam9263ek" target,
with  environment variables in SPI DATAFLASH CS0.

> 1. Can I just rename it boot.bin and put it in the root folder of SD card

You can do this, but ...

> and try to use it on the board? I am confused by the message after make

...I don;t think it will do what you expect.

> at91sam9263ek_config command. Does it mean it can be used only with
> Dataflash card or I can use it in SD card too.

Note that there are several configurations of U-Boot available for
this board (see Makefile):

...
2808 at91sam9263ek_norflash_config \
2809 at91sam9263ek_norflash_boot_config \
2810 at91sam9263ek_nandflash_config \
2811 at91sam9263ek_dataflash_config \
2812 at91sam9263ek_dataflash_cs0_config \
2813 at91sam9263ek_config    :       unconfig
...

You probably want to read the AT91SAM9263EK entry in the
documentation (file doc/README.at91).

> 2. I am using bootstrap from Atmel's
> http://www.at91.com/linux4sam/bin/view/Linux4SAM/AT91Bootstrap . The
> bootstraps are only available for DataFlash and Nand Flash. Please advise,
> which bootstrap do I use to have bootstrap and U-boot on SD Card only.

Maybe there is no such option available for this board?

> Content-Type: text/html; charset=ISO-8859-1
> Content-Transfer-Encoding: quoted-printable

Please *never* post HTML to this list. Never, ever!

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
Pig: An animal (Porcus omnivorous) closely allied to the  human  race
by  the splendor and vivacity of its appetite, which, however, is in-
ferior in scope, for it balks at pig.                - Ambrose Bierce


More information about the U-Boot mailing list