Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Torsten Mohr <tmohr@s.netic.de>
To: buildroot@busybox.net
Subject: [Buildroot] u-boot, setup SD card, BeagleBoard-xM
Date: Sun, 13 Mar 2011 21:30:23 +0100	[thread overview]
Message-ID: <201103132130.24022.tmohr@s.netic.de> (raw)

Hello,

i wonder if anybody can give me some hints on how to set up an SD card for
u-boot for my BeagleBoard-xM.

The board came with a card with an Angstrom distro that works fine and fist 
starts u-boot and then uImage.

I've set up a second card using some descriptions i found googling, but don't 
really get any success.

I've set up the second card to:
heads: 255
sectors: 63
cylinders: trunc(size/255/63/512)

---  1st try:

The fist partition is type 0x0c (W95), bootable and formatted using:
mkfs.msdos -F 32 -n "beagle" /dev/sdc1

I created u-boot and a kernel using buildroot-2010.11.

I copied a MLO to the SD card, then u-boo.bint and then uImage.

I created a user.scr from input.scr:
mmc init
setenv console tty0 console=ttyS2,115200n8

I created user.scr from it with:

../host/usr/bin/mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n lassie 
-d input.scr user.scr

I only get weird output.


---  2nd try:
i created an exact copy of the SD card with the Angstrom distro (that works) 
using "dd", that i put on the second SD card.

I then mounted the first partition as /mnt and deleted the u-boot.bin that was 
on the card and copied the same file (exactly the same file) onto the card.

Booting from this card does not work, the OMAP does not find a working u-
boot.bin:

Texas Instruments X-Loader 1.4.4ss (Aug 19 2010 - 02:49:27)
Beagle xM Rev A
Reading boot sector
u-boot.bin not found or blank nand contents - attempting serial boot . . .
## Ready for binary (kermit) download to 0x80008000 at 115200 bps...

I don't understand this, i thought that i only need to copy the files onto the 
SD card.  Is it important where the sectors of each file are on the card?
Do i need to run some other tool (like what was necessary for LILO)?

Can anybody give me a hint on how to set up an SD card?
- Where do i get a MLO?
- Do i need to configure MLO?
- What do i need to do with the files?
- Did i miss an important step during setup of the card?


Thanks for any hints,
Torsten.

             reply	other threads:[~2011-03-13 20:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-13 20:30 Torsten Mohr [this message]
2011-03-14 16:42 ` [Buildroot] u-boot, setup SD card, BeagleBoard-xM Steve Calfee
2011-03-14 21:05   ` Torsten Mohr
2011-03-15 10:22     ` Thomas Petazzoni
2011-03-15 17:29       ` Torsten Mohr
2011-03-15 20:20         ` Torsten Mohr

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=201103132130.24022.tmohr@s.netic.de \
    --to=tmohr@s.netic.de \
    --cc=buildroot@busybox.net \
    /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