ARMV7: OMAP3: Implement relocation for Overo
This patch fixes the build breakage introduced by the recent relocation changes for ARMV7. It is based on the patch for Beagleboard.
---
board/overo/config.mk +1 -1
@@ -26,4 +26,4 @@ # (mem base + reserved) # For use with external or internal boots. -TEXT_BASE = 0x80e80000 +TEXT_BASE = 0x80008000
include/configs/omap3_overo.h +4 -0
@@ -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 */
Dear Steve Sakoman,
Quoted 21 lines · 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 <[email protected]>---
board/overo/config.mk +1
-1@@ -26,4 +26,4 @@ # (mem base + reserved) # For use with external or internal boots. -TEXT_BASE = 0x80e80000 +TEXT_BASE = 0x80008000include/configs/omap3_overo.h +0
-0
include/configs/omap3_overo.h extern unsigned int boot_flash_type; · line 327
Quoted 4 lines
include/configs/omap3_overo.h +1
-0@@ -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
Signature · 5 lines
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"
Quoted 25 lines · Wolfgang Denk
Dear Steve Sakoman,
Quoted 22 lines · 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 <[email protected]>---
board/overo/config.mk +0
-0@@ -26,4 +26,4 @@ ?# (mem base + reserved)?# For use with external or internal boots.
board/overo/config.mk +1
-1-TEXT_BASE = 0x80e80000 +TEXT_BASE = 0x80008000include/configs/omap3_overo.h +0
-0@@ -324,4 +324,8 @@ extern unsigned int boot_flash_type;
Quoted 5 lines
Quoted 3 lines
?#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
Dear Steve Sakoman,
Quoted 3 lines · In message <[email protected]> you…
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
Signature · 5 lines
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