From: Albert ARIBAUD <albert.aribaud@free.fr>
To: u-boot@lists.denx.de
Subject: [U-Boot] denx/master is not building for OMAP3 platforms except Beagle
Date: Sun, 03 Oct 2010 13:06:33 +0200 [thread overview]
Message-ID: <4CA863B9.5090204@free.fr> (raw)
In-Reply-To: <19F8576C6E063C45BE387C64729E739404AA21C49A@dbde02.ent.ti.com>
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.
next prev parent reply other threads:[~2010-10-03 11:06 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-03 10:50 [U-Boot] denx/master is not building for OMAP3 platforms except Beagle Hiremath, Vaibhav
2010-10-03 11:06 ` Albert ARIBAUD [this message]
2010-10-03 13:46 ` Hiremath, Vaibhav
2010-10-03 18:37 ` Wolfgang Denk
2010-10-04 5:08 ` Hiremath, Vaibhav
2010-10-04 6:00 ` Heiko Schocher
2010-10-04 6:40 ` Rogan Dawes
2010-10-04 8:06 ` Heiko Schocher
2010-10-04 12:43 ` Detlev Zundel
2010-10-04 12:50 ` Wolfgang Denk
2010-10-04 12:56 ` Heiko Schocher
2010-10-05 11:46 ` Detlev Zundel
2010-10-05 12:34 ` Bas Mevissen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4CA863B9.5090204@free.fr \
--to=albert.aribaud@free.fr \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.