public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: "Andreas Bießmann" <andreas.devel@googlemail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [TEST] arm:board_init_f(): mirror BSS and check after each	init_fnc()
Date: Wed, 01 Dec 2010 11:05:17 +0100	[thread overview]
Message-ID: <4CF61DDD.3060304@gmail.com> (raw)
In-Reply-To: <4CF6175D.4020702@free.fr>

Dear Albert ARIBAUD,

Am 01.12.2010 10:37, schrieb Albert ARIBAUD:
> Le 01/12/2010 09:10, Andreas Bie?mann a ?crit :

>>   * adopt bss_mirror in arch/arm/lib/board.c:board_init_f()
> 
> What do you mean exactly by this?

this parameter needs to be adopted by SoC/board tester.

In short words, adopt that line to your needs:

--->8---
+	bss_mirror = (uint32_t*)(CONFIG_SYS_SDRAM_BASE + 0x600000);
---8<---

The tester have to place the 'bss_mirror' space to an appropriate value.
at91rm9200ek does have 32MiB of SDRAM, the topmost part is always used
for stack, GD, u-boot after relocation a.s.o. I usually use the RAMBOOT
configuration of at91rm9200ek. In that case TEXT_BASE is SDRAM_BASE +
0x100000. Therefore I use here 0x600000 (u-boot size plus safety).
I can not recommend a proper place for all boards cause this parameter
is highly is board specific.

regards

Andreas Bie?mann

  reply	other threads:[~2010-12-01 10:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-01  8:10 [U-Boot] [TEST] arm:board_init_f(): mirror BSS and check after each init_fnc() Andreas Bießmann
2010-12-01  9:37 ` Albert ARIBAUD
2010-12-01 10:05   ` Andreas Bießmann [this message]
2010-12-01 11:36     ` Albert ARIBAUD
2010-12-01 12:12       ` Andreas Bießmann
2010-12-01 12:27         ` Albert ARIBAUD
2010-12-01 12:35       ` Wolfgang Denk
2010-12-01 12:47         ` Albert ARIBAUD

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=4CF61DDD.3060304@gmail.com \
    --to=andreas.devel@googlemail.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