From: Tom <Tom.Rix@windriver.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] SD card support for U-boot 1.3.4
Date: Tue, 01 Dec 2009 15:22:00 -0600 [thread overview]
Message-ID: <4B1588F8.4000206@windriver.com> (raw)
In-Reply-To: <a9bbcd260912011250n52ee1943o4b114d78049ed04e@mail.gmail.com>
Jimmy Shergill wrote:
> Hello All,
>
> I am a new user of U-boot and Linux. Please bear with me. I have Atmel
> AT91SAM9263-EK (ARM based) and have U-boot 1.3.4 running on it. Currently
> U-boot, Linux Kernel and jffs2 root filesystem, all are in NAND flash and
> work fine. We need to boot the evaluation kit from SD Card.
>
> 1. Does U-boot 1.3.4 supprt SD Card? If not, how can I make it supprot SD
> Card or do I need more recent versions of U-boot?
> 2. Once SD card is supported by U-boot, how can I make it boot Linux and
> load root filesystem from SD card.
>
> Help will be greatly appreciated.
> Many Thanks for your time and help.
>
Please beware this is omap specific.
On omap, the sd card is partitioned to have a fat partition and then
a ext2/3 partition. The kernel is filed called 'uImage' in the fat partition.
The rootfs is on the 2nd ext2/3 parition
By ext2/3 I mean whatever you want it to be usually I use ext3 but
have in the past used ext2.
The environment I use is
----
bootdelay 10
bootargs console=ttyS3,115200n8 root=/dev/mmcblk0p2 rw rootdelay=1 init=/sbin/init
bootcmd mmcinit; fatload mmc 1 81000000 uImage; bootm 81000000
----
root=/dev/mmcblk0p2 = the root partition, likely you need to change this
Depending on your vintage of u-boot your mmc init command may be
'mmcinit' or maybe 'mmc init'. If you do not have an mmc init command,
likely you are in trouble and should look at the latest release of u-boot.
Tom
> Jimmy.
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
next prev parent reply other threads:[~2009-12-01 21:22 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 [this message]
2009-12-01 21:56 ` Wolfgang Denk
2009-12-02 16:31 ` Jimmy Shergill
2009-12-02 19:35 ` Wolfgang Denk
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=4B1588F8.4000206@windriver.com \
--to=tom.rix@windriver.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