[U-Boot] [PATCH] OMAP3: SDP3430: Fix ARM relocation support

Paulraj, Sandeep s-paulraj at ti.com
Tue Nov 30 04:25:26 CET 2010



> 
> Signed-off-by: Dirk Behme <dirk.behme at googlemail.com>
> ---
> 
> Compile tested only.
> 
>  board/ti/sdp3430/config.mk      |    2 +-
>  include/configs/omap3_sdp3430.h |    6 ++++++
>  2 files changed, 7 insertions(+), 1 deletion(-)
> 
> Index: u-boot.git/board/ti/sdp3430/config.mk
> ===================================================================
> --- u-boot.git.orig/board/ti/sdp3430/config.mk
> +++ u-boot.git/board/ti/sdp3430/config.mk
> @@ -30,4 +30,4 @@
>  # (mem base + reserved)
> 
>  # For use with external or internal boots.
> -CONFIG_SYS_TEXT_BASE = 0x80e80000
> +CONFIG_SYS_TEXT_BASE = 0x80008000
> Index: u-boot.git/include/configs/omap3_sdp3430.h
> ===================================================================
> --- u-boot.git.orig/include/configs/omap3_sdp3430.h
> +++ u-boot.git/include/configs/omap3_sdp3430.h
> @@ -309,6 +309,12 @@
>  #define CONFIG_STACKSIZE_FIQ	(4 << 10) /* FIQ stack */
>  #endif
> 
> +#define CONFIG_SYS_SDRAM_BASE		PHYS_SDRAM_1
> +#define CONFIG_SYS_INIT_RAM_ADDR	0x4020f800
> +#define CONFIG_SYS_INIT_RAM_SIZE	0x800
> +#define CONFIG_SYS_INIT_SP_ADDR		(CONFIG_SYS_INIT_RAM_ADDR + \
> +					 CONFIG_SYS_INIT_RAM_SIZE - \
> +					 GENERATED_GBL_DATA_SIZE)
>  /*
>   * SDRAM Memory Map


Dirk,

All 3 of your patches have the same issue.

Wolfgang, sent a patch some days back (it has not yet been applied and when it does it will be in the next branch) that moves the definition of CONFIG_SYS_TEXT_BASE to the config.h header file.

Regards,
Sandeep


More information about the U-Boot mailing list