mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] at91sam9g45: fix ARCH_TEXT_BASE
@ 2011-01-18 15:11 Jean-Christophe PLAGNIOL-VILLARD
  2011-01-18 20:36 ` Peter Korsgaard
  0 siblings, 1 reply; 3+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2011-01-18 15:11 UTC (permalink / raw)
  To: barebox

it's 0x73f00000 not 0x23f00000 as the other at91

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
 arch/arm/mach-at91/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
index 4d35ebe..efaa256 100644
--- a/arch/arm/mach-at91/Kconfig
+++ b/arch/arm/mach-at91/Kconfig
@@ -2,6 +2,7 @@ if ARCH_AT91
 
 config ARCH_TEXT_BASE
 	hex
+	default 0x73f00000 if ARCH_AT91SAM9G45
 	default 0x23f00000
 
 config BOARDINFO
-- 
1.7.2.3


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] at91sam9g45: fix ARCH_TEXT_BASE
  2011-01-18 15:11 [PATCH] at91sam9g45: fix ARCH_TEXT_BASE Jean-Christophe PLAGNIOL-VILLARD
@ 2011-01-18 20:36 ` Peter Korsgaard
  2011-01-19  7:05   ` Jean-Christophe PLAGNIOL-VILLARD
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Korsgaard @ 2011-01-18 20:36 UTC (permalink / raw)
  To: Jean-Christophe PLAGNIOL-VILLARD; +Cc: barebox

>>>>> "Jean-Christophe" == Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> writes:

 Jean-Christophe> it's 0x73f00000 not 0x23f00000 as the other at91
 Jean-Christophe> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
 Jean-Christophe> ---
 Jean-Christophe>  arch/arm/mach-at91/Kconfig |    1 +
 Jean-Christophe>  1 files changed, 1 insertions(+), 0 deletions(-)

 Jean-Christophe> diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
 Jean-Christophe> index 4d35ebe..efaa256 100644
 Jean-Christophe> --- a/arch/arm/mach-at91/Kconfig
 Jean-Christophe> +++ b/arch/arm/mach-at91/Kconfig
 Jean-Christophe> @@ -2,6 +2,7 @@ if ARCH_AT91
 
 Jean-Christophe>  config ARCH_TEXT_BASE
 Jean-Christophe>  	hex
 Jean-Christophe> +	default 0x73f00000 if ARCH_AT91SAM9G45
 Jean-Christophe>  	default 0x23f00000

It can be 0x2xxxxxxx if the 2nd DDR controller is used.

I don't know the code, but how does this this work on boards with less
than 64MB RAM?
 
-- 
Bye, Peter Korsgaard

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] at91sam9g45: fix ARCH_TEXT_BASE
  2011-01-18 20:36 ` Peter Korsgaard
@ 2011-01-19  7:05   ` Jean-Christophe PLAGNIOL-VILLARD
  0 siblings, 0 replies; 3+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2011-01-19  7:05 UTC (permalink / raw)
  To: Peter Korsgaard; +Cc: barebox

On 21:36 Tue 18 Jan     , Peter Korsgaard wrote:
> >>>>> "Jean-Christophe" == Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> writes:
> 
>  Jean-Christophe> it's 0x73f00000 not 0x23f00000 as the other at91
>  Jean-Christophe> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
>  Jean-Christophe> ---
>  Jean-Christophe>  arch/arm/mach-at91/Kconfig |    1 +
>  Jean-Christophe>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
>  Jean-Christophe> diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
>  Jean-Christophe> index 4d35ebe..efaa256 100644
>  Jean-Christophe> --- a/arch/arm/mach-at91/Kconfig
>  Jean-Christophe> +++ b/arch/arm/mach-at91/Kconfig
>  Jean-Christophe> @@ -2,6 +2,7 @@ if ARCH_AT91
>  
>  Jean-Christophe>  config ARCH_TEXT_BASE
>  Jean-Christophe>  	hex
>  Jean-Christophe> +	default 0x73f00000 if ARCH_AT91SAM9G45
>  Jean-Christophe>  	default 0x23f00000
> 
> It can be 0x2xxxxxxx if the 2nd DDR controller is used.
> 
> I don't know the code, but how does this this work on boards with less
> than 64MB RAM?
the soc start on 0x7xxxxxxx so we use it
if your board is less DRR you have to adjust it

today we do not detect the ddr size but we may later

Best Regards,
J.

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-01-19  7:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-18 15:11 [PATCH] at91sam9g45: fix ARCH_TEXT_BASE Jean-Christophe PLAGNIOL-VILLARD
2011-01-18 20:36 ` Peter Korsgaard
2011-01-19  7:05   ` Jean-Christophe PLAGNIOL-VILLARD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox