From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Andreas_Bie=DFmann?= Date: Fri, 16 May 2014 12:14:44 +0200 Subject: [U-Boot] [AVR32] CONFIG_SYS_TEXT_BASE is missing from atngw100mkii board In-Reply-To: <20140516144846.E199.AA925319@jp.panasonic.com> References: <20140516144846.E199.AA925319@jp.panasonic.com> Message-ID: <5375E514.4010405@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Masahiro, On 05/16/2014 07:48 AM, Masahiro Yamada wrote: > Hi Andreass, > > > I noticed by chance atngw100mkii board does not define > CONFIG_SYS_TEXT_BASE, although the other AVR32 boards define it. > > Is this your intention, or mistake? oups. I can't remember why this is missing. Maybe cause the CONFIG_SYS_TEXT_BASE is set to 0x0 implicitly? abiessmann at punisher % PATH=$AVR32_PATH:$PATH make atngw100mkii_config Configuring for atngw100mkii board... abiessmann at punisher % PATH=$AVR32_PATH:$PATH make V=1 -j16 CROSS_COMPILE=avr32-linux- | grep CONFIG_SYS_TEXT_BASE avr32-linux-gcc -x c -DDO_DEPS_ONLY -M -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -Os -fno-stack-protector -g -Wno-format-nonliteral -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x00000000 -DCONFIG_AVR32 -ffixed-r5 -fPIC -mno-init-got -mrelax -ffunction-sections -fdata-sections -mcpu=ap7000 -pipe -Iinclude -I/home/abiessmann/src/u-boot/arch/avr32/include -nostdinc -isystem /opt/OSELAS.Toolchain-2011.11.0/avr32-linux/gcc-4.4.7-uclibc-0.9.33.2-binutils-2.20.1a-kernel-2.6.39-sanitized/lib/gcc/avr32-linux/4.4.7/include -MQ include/autoconf.mk /home/abiessmann/src/u-boot/include/common.h > include/autoconf.mk.dep || rm include/autoconf.mk.dep ... 0x0 is the correct address for avr32 devices, so presumably the CONFIG_SYS_TEXT_BASE parameter was forgotten when writing the atngw100mkii header file. I'll prepare a patch to add it. Best regards Andreas