All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Andreas Bießmann" <andreas.devel@googlemail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [AVR32] CONFIG_SYS_TEXT_BASE is missing from atngw100mkii board
Date: Fri, 16 May 2014 12:14:44 +0200	[thread overview]
Message-ID: <5375E514.4010405@gmail.com> (raw)
In-Reply-To: <20140516144846.E199.AA925319@jp.panasonic.com>

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

  reply	other threads:[~2014-05-16 10:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-16  5:48 [U-Boot] [AVR32] CONFIG_SYS_TEXT_BASE is missing from atngw100mkii board Masahiro Yamada
2014-05-16 10:14 ` Andreas Bießmann [this message]
2014-05-16 10:38   ` Masahiro Yamada

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=5375E514.4010405@gmail.com \
    --to=andreas.devel@googlemail.com \
    --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.