From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Sun, 03 Oct 2010 13:06:33 +0200 Subject: [U-Boot] denx/master is not building for OMAP3 platforms except Beagle In-Reply-To: <19F8576C6E063C45BE387C64729E739404AA21C49A@dbde02.ent.ti.com> References: <19F8576C6E063C45BE387C64729E739404AA21C49A@dbde02.ent.ti.com> Message-ID: <4CA863B9.5090204@free.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Le 03/10/2010 12:50, Hiremath, Vaibhav a ?crit : > Hi All, > > I think the current denx/matser is broken and is not building up for OMAP3 platforms except Beagle board. > > The error message on build is - > > board.c: In function '__dram_init_banksize': > board.c:468: error: 'CONFIG_SYS_SDRAM_BASE' undeclared (first use in this function) > board.c:468: error: (Each undeclared identifier is reported only once > board.c:468: error: for each function it appears in.) > board.c: In function 'board_init_f': > board.c:514: error: 'CONFIG_SYS_INIT_SP_ADDR' undeclared (first use in this function) > board.c:547: error: 'CONFIG_SYS_SDRAM_BASE' undeclared (first use in this function) > make[1]: *** [board.o] Error 1 > make[1]: Leaving directory `/home/devel/git-work/denx-uboot/arch/arm/lib' > make: *** [arch/arm/lib/libarm.a] Error 2 > > > The root-cause is- > > +#undef CONFIG_SYS_ARM_WITHOUT_RELOC > +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 > +#define CONFIG_SYS_INIT_SP_ADDR (LOW_LEVEL_SRAM_STACK - CONFIG_SYS_GBL_DATA_SIZE) > > > The above definition is missing in all (zoom1, zoom2, evm, am3517evm, sdp3430, overo, Pandora) config files. > > Am I missing something here? Just wanted to cross-check before posting patch to the list. This is due to the introduction of relocation on ARM platforms -- see Wolfgang's recent release announcement. Note that adding the definition may not be sufficient to get relocation working. Amicalement, -- Albert.