All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] SD card support for U-boot 1.3.4
Date: Wed, 02 Dec 2009 20:35:11 +0100	[thread overview]
Message-ID: <20091202193511.0B6874C025@gemini.denx.de> (raw)
In-Reply-To: <a9bbcd260912020831n4254a317ycc7582165d8f6cba@mail.gmail.com>

Dear Jimmy Shergill,

In message <a9bbcd260912020831n4254a317ycc7582165d8f6cba@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

      reply	other threads:[~2009-12-02 19:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-01 20:50 [U-Boot] SD card support for U-boot 1.3.4 Jimmy Shergill
2009-12-01 21:22 ` Tom
2009-12-01 21:56 ` Wolfgang Denk
2009-12-02 16:31   ` Jimmy Shergill
2009-12-02 19:35     ` Wolfgang Denk [this message]

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=20091202193511.0B6874C025@gemini.denx.de \
    --to=wd@denx.de \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.