[U-Boot] Build failures with older toolchain

Wolfgang Denk wd at denx.de
Mon Nov 29 12:29:35 CET 2010


Dear "Premi, Sanjeev",

can you *please* quote only _relevant_ parts of previous messages?
Thanks.

In message <B85A65D85D7EB246BE421B3FB0FBB5930247A0A9D4 at dbde02.ent.ti.com> you wrote:
>
>      I had been holding this patch until until the problem is
>      really solved - just in case there was a relation.

You mean you are complaining about problems with code you have
modified locally, and then expect us to diagnose your problems without
even telling us 1) that you changed the code and 2) what exactly you
changed?

This not exactly a useful approach.

> [patch]
> diff --git a/include/configs/omap3_evm.h b/include/configs/omap3_evm.h
> index aeb45c6..c93f689 100644
> --- a/include/configs/omap3_evm.h
> +++ b/include/configs/omap3_evm.h
> @@ -348,7 +348,9 @@ extern unsigned int boot_flash_type;
>   * Support for relocation
>   */
>  #define CONFIG_SYS_SDRAM_BASE          PHYS_SDRAM_1
> -#define CONFIG_SYS_INIT_SP_ADDR                (LOW_LEVEL_SRAM_STACK - CONFIG_SYS_GBL_D
> +#define CONFIG_SYS_INIT_SP_ADDR                (LOW_LEVEL_SRAM_STACK \
> +                                               - GENERATED_GBL_DATA_SIZE)
> +

This patch is corrupted.and does not apply.  Please see
http://www.denx.de/wiki/U-Boot/Patches


I have no idea if it results in a running system (as I have no
hardware to test it), but I can confirm that a patch like this:

diff --git a/include/configs/omap3_evm.h b/include/configs/omap3_evm.h
index 84b2986..f3df8de 100644
--- a/include/configs/omap3_evm.h
+++ b/include/configs/omap3_evm.h
@@ -330,7 +330,7 @@ extern unsigned int boot_flash_type;
  * Support for relocation
  */
 #define CONFIG_SYS_SDRAM_BASE		PHYS_SDRAM_1
-#define CONFIG_SYS_INIT_SP_ADDR		(LOW_LEVEL_SRAM_STACK - CONFIG_SYS_GBL_DATA_SIZE)
+#define CONFIG_SYS_INIT_SP_ADDR		(LOW_LEVEL_SRAM_STACK - GENERATED_GBL_DATA_SIZE)
 
 /*
  * Define the board revision statically

will result in a clean build:

$ ./MAKEALL omap3_evm
Configuring for omap3_evm board...
   text    data     bss     dec     hex filename
 247396   10384  257384  515164   7dc5c /work/wd/tmp-arm/u-boot

--------------------- SUMMARY ----------------------------
Boards compiled: 1
----------------------------------------------------------




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
Brain fried - Core dumped


More information about the U-Boot mailing list