All of lore.kernel.org
 help / color / mirror / Atom feed
From: Reinhard Meyer <u-boot@emk-elektronik.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] skip relocation
Date: Mon, 03 Jan 2011 21:34:34 +0100	[thread overview]
Message-ID: <4D2232DA.4000605@emk-elektronik.de> (raw)
In-Reply-To: <201101032041.14919.korgull@home.nl>

Dear Marcel,
> On Monday, January 03, 2011 07:57:33 pm Marcel wrote:
>
> Great, I've got it to boot.
>
> I have no idea why it suddenly works, but I guess after reviewing my config and
> changing a couple of things one of those things must have been the cause.
>
> CONFIG_SYS_TEXT_BASE is 0x7f300000 which is the final jump address as mentioned
> in AT91bootstrap.

If this address is near end of SDRAM, and since u-boot relocates itself to end of SDRAM,
you might risk an overlap, depending on malloc and stack sizes.

I'd advise to have AT91Bootstrap load u-boot to the very SDRAM start (so I did for
our board).

>
> I guess the issue is solved now and I'll certainly check out at91bootstrap to
> create my own low level init in u-boot. It eventually saves time at production
> level I think and I generally like to keep things as simple as possible
> anyways. Since all initialisation code is in at91bootstrap I guess I can just
> move it from there to u-boot (sounds easy, but I guess there's some more to
> it).

It might not be THAT easy. Also be aware that at91bootstrap is not GPL-ed...

Reinhard

  reply	other threads:[~2011-01-03 20:34 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-01 15:31 [U-Boot] {Spam?} skip relocation Marcel
2011-01-01 22:52 ` Albert ARIBAUD
2011-01-02  9:07   ` Marcel
2011-01-02 18:35     ` Marcel
2011-01-02 19:00       ` Marcel
2011-01-02 19:47         ` Marcel
2011-01-02 20:31         ` [U-Boot] " Reinhard Meyer
2011-01-02 20:54           ` Marcel
2011-01-02 21:08             ` Reinhard Meyer
2011-01-03 17:57               ` Marcel
2011-01-03 18:57               ` Marcel
2011-01-03 19:41                 ` Marcel
2011-01-03 20:34                   ` Reinhard Meyer [this message]
2011-01-03 22:16                     ` Marcel

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=4D2232DA.4000605@emk-elektronik.de \
    --to=u-boot@emk-elektronik.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.