All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] u-boot for SPEAr1310
Date: Fri, 24 Feb 2012 19:46:50 +0100	[thread overview]
Message-ID: <201202241946.50612.sr@denx.de> (raw)
In-Reply-To: <201202241937.45830.marek.vasut@gmail.com>

On Friday 24 February 2012 19:37:45 Marek Vasut wrote:
> > ...it started something. According to gdb it looks like "new" u-boot
> > executes briefly, but fails in C code while processing intialization,
> > and it seems that "old" u-boot takes over. (Some kind of failure and
> > board resets itself?).
> 
> Well yea, loading uboot from uboot isn't supported.

Not officially, yes. But for U-Boot images that are loaded via SPL into 
already configured SDRAM it might work. At least it does for me on SPEAr600:

U-Boot 2011.12-00388-g0166e9b (Feb 24 2012 - 15:28:17)-SPEAr

CPU:   SPEAr600
I2C:   ready
DRAM:  128 MiB
WARNING: Caches not enabled
Flash: 512 KiB
NAND:  128 MiB
Net:   mii0
Hit SPACE in 3 seconds to stop autoboot.
x500> tftp 800040 x500/u-boot.bin
Waiting for PHY auto negotiation to complete... done
ENET Speed is 1000 Mbps - FULL duplex connection
Using mii0 device
TFTP from server 10.0.0.152; our IP address is 10.0.0.246
Filename 'x500/u-boot.bin'.
Load address: 0x800040
Loading: #########################
done
Bytes transferred = 364352 (58f40 hex)
x500> go 800040
## Starting application at 0x00800040 ...


U-Boot 2011.12-00388-g0166e9b (Feb 24 2012 - 19:43:40)-SPEAr

CPU:   SPEAr600
I2C:   ready
DRAM:  128 MiB
WARNING: Caches not enabled
Flash: 512 KiB
NAND:  128 MiB
Net:   mii0
Hit SPACE in 3 seconds to stop autoboot.
x500> 


Important it the load and start address of course.

Now I'm really off for the weekend!
Stefan

  reply	other threads:[~2012-02-24 18:46 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-23 14:17 [U-Boot] u-boot for SPEAr1310 Pavel Machek
2012-02-23 14:42 ` Stefan Roese
2012-02-23 14:49   ` Marek Vasut
2012-02-23 15:22     ` Stefan Roese
2012-02-23 15:24       ` Marek Vasut
2012-02-24 18:16     ` Pavel Machek
2012-02-24 18:36       ` Stefan Roese
2012-02-27  2:34         ` Vipin Kumar
2012-02-24 18:37       ` Marek Vasut
2012-02-24 18:46         ` Stefan Roese [this message]
2012-03-15 11:46           ` Pavel Machek
2012-02-24  2:11   ` Vipin Kumar

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=201202241946.50612.sr@denx.de \
    --to=sr@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.