public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] ARMV7: OMAP3: Implement relocation for Overo
@ 2010-09-30 17:31 Steve Sakoman
  2010-09-30 17:52 ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: Steve Sakoman @ 2010-09-30 17:31 UTC (permalink / raw)
  To: u-boot

This patch fixes the build breakage introduced by the recent relocation
changes for ARMV7. It is based on the patch for Beagleboard.

Signed-off-by: Steve Sakoman <steve@sakoman.com>
---

diff --git a/board/overo/config.mk b/board/overo/config.mk
index d372fd9..59b651f 100644
--- a/board/overo/config.mk
+++ b/board/overo/config.mk
@@ -26,4 +26,4 @@
 # (mem base + reserved)
 
 # For use with external or internal boots.
-TEXT_BASE = 0x80e80000
+TEXT_BASE = 0x80008000
diff --git a/include/configs/omap3_overo.h b/include/configs/omap3_overo.h
index daa4515..49a0b95 100644
--- a/include/configs/omap3_overo.h
+++ b/include/configs/omap3_overo.h
@@ -324,4 +324,8 @@ extern unsigned int boot_flash_type;
 
 #endif /* (CONFIG_CMD_NET) */
 
+#undef CONFIG_SYS_ARM_WITHOUT_RELOC /* This board is tested with relocation support */
+#define CONFIG_SYS_SDRAM_BASE		PHYS_SDRAM_1
+#define CONFIG_SYS_INIT_SP_ADDR		(LOW_LEVEL_SRAM_STACK - CONFIG_SYS_GBL_DATA_SIZE)
+
 #endif				/* __CONFIG_H */

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

* [U-Boot] ARMV7: OMAP3: Implement relocation for Overo
  2010-09-30 17:31 [U-Boot] ARMV7: OMAP3: Implement relocation for Overo Steve Sakoman
@ 2010-09-30 17:52 ` Wolfgang Denk
  2010-09-30 20:13   ` Steve Sakoman
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Denk @ 2010-09-30 17:52 UTC (permalink / raw)
  To: u-boot

Dear Steve Sakoman,

In message <1285867914.4705.145.camel@quadra> you wrote:
> This patch fixes the build breakage introduced by the recent relocation
> changes for ARMV7. It is based on the patch for Beagleboard.
> 
> Signed-off-by: Steve Sakoman <steve@sakoman.com>
> ---
> 
> diff --git a/board/overo/config.mk b/board/overo/config.mk
> index d372fd9..59b651f 100644
> --- a/board/overo/config.mk
> +++ b/board/overo/config.mk
> @@ -26,4 +26,4 @@
>  # (mem base + reserved)
>  
>  # For use with external or internal boots.
> -TEXT_BASE = 0x80e80000
> +TEXT_BASE = 0x80008000
> diff --git a/include/configs/omap3_overo.h b/include/configs/omap3_overo.h
> index daa4515..49a0b95 100644
> --- a/include/configs/omap3_overo.h
> +++ b/include/configs/omap3_overo.h
> @@ -324,4 +324,8 @@ extern unsigned int boot_flash_type;
>  
>  #endif /* (CONFIG_CMD_NET) */
>  
> +#undef CONFIG_SYS_ARM_WITHOUT_RELOC /* This board is tested with relocation support */

Please remove this line.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Morality is one thing.  Ratings are everything."
- A Network 23 executive on "Max Headroom"

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

* [U-Boot] ARMV7: OMAP3: Implement relocation for Overo
  2010-09-30 17:52 ` Wolfgang Denk
@ 2010-09-30 20:13   ` Steve Sakoman
  2010-09-30 21:07     ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: Steve Sakoman @ 2010-09-30 20:13 UTC (permalink / raw)
  To: u-boot

On Thu, Sep 30, 2010 at 10:52 AM, Wolfgang Denk <wd@denx.de> wrote:
> Dear Steve Sakoman,
>
> In message <1285867914.4705.145.camel@quadra> you wrote:
>> This patch fixes the build breakage introduced by the recent relocation
>> changes for ARMV7. It is based on the patch for Beagleboard.
>>
>> Signed-off-by: Steve Sakoman <steve@sakoman.com>
>> ---
>>
>> diff --git a/board/overo/config.mk b/board/overo/config.mk
>> index d372fd9..59b651f 100644
>> --- a/board/overo/config.mk
>> +++ b/board/overo/config.mk
>> @@ -26,4 +26,4 @@
>> ?# (mem base + reserved)
>>
>> ?# For use with external or internal boots.
>> -TEXT_BASE = 0x80e80000
>> +TEXT_BASE = 0x80008000
>> diff --git a/include/configs/omap3_overo.h b/include/configs/omap3_overo.h
>> index daa4515..49a0b95 100644
>> --- a/include/configs/omap3_overo.h
>> +++ b/include/configs/omap3_overo.h
>> @@ -324,4 +324,8 @@ extern unsigned int boot_flash_type;
>>
>> ?#endif /* (CONFIG_CMD_NET) */
>>
>> +#undef CONFIG_SYS_ARM_WITHOUT_RELOC /* This board is tested with relocation support */
>
> Please remove this line.

OK.  I copied it from the Beagle example.  I'll submit a cleanup patch
to remove it from there too.

Steve

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

* [U-Boot] ARMV7: OMAP3: Implement relocation for Overo
  2010-09-30 20:13   ` Steve Sakoman
@ 2010-09-30 21:07     ` Wolfgang Denk
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2010-09-30 21:07 UTC (permalink / raw)
  To: u-boot

Dear Steve Sakoman,

In message <AANLkTik25K_fjcY027-oYGfkfH0tLzubFy2=O+NLup1c@mail.gmail.com> you wrote:
>
> OK.  I copied it from the Beagle example.  I'll submit a cleanup patch
> to remove it from there too.

Thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Some programming languages manage to  absorb  change,  but  withstand
progress.          -- Epigrams in Programming, ACM SIGPLAN Sept. 1982

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

end of thread, other threads:[~2010-09-30 21:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-30 17:31 [U-Boot] ARMV7: OMAP3: Implement relocation for Overo Steve Sakoman
2010-09-30 17:52 ` Wolfgang Denk
2010-09-30 20:13   ` Steve Sakoman
2010-09-30 21:07     ` Wolfgang Denk

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