All of lore.kernel.org
 help / color / mirror / Atom feed
From: JPT <j-p-t@gmx.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] problem building uboot
Date: Sun, 07 Apr 2013 21:21:38 +0200	[thread overview]
Message-ID: <kjsgvv$o4i$1@ger.gmane.org> (raw)
In-Reply-To: <kjrgfa$grr$1@ger.gmane.org>


Hi,

I decided to just try a random kirkwood config.
but I've got a problem with linking:

$ make all
...
armv5te-gcc  -g  -Os   -fno-common -ffixed-r8 -msoft-float  -D__KERNEL__ 
-DCONFIG_SYS_TEXT_BASE=0x00600000 
-I/home/jan/src/u-boot-2013.01.01/include -fno-builtin -ffreestanding 
-nostdinc -isystem 
/opt/eldk-5.3/armv5te/sysroots/i686-eldk-linux/usr/lib/armv5te-linux-gnueabi/gcc/arm-linux-gnueabi/4.7.2/include 
-pipe  -DCONFIG_ARM -D__ARM__ -marm -mno-thumb-interwork 
-mabi=aapcs-linux -march=armv5te -Wall -Wstrict-prototypes 
-fno-stack-protector -Wno-format-nonliteral -Wno-format-security 
-fstack-usage     -o cache.o cache.c -c
armv5te-ld.bfd -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed   -r -o 
libkirkwood.o  cpu.o dram.o mpp.o timer.o cache.o
armv5te-ld.bfd: unrecognized option '-Wl,-O1'
armv5te-ld.bfd: use the --help option for usage information
make[1]: *** [libkirkwood.o] Fehler 1
make: *** [arch/arm/cpu/arm926ejs/kirkwood/libkirkwood.o] Fehler 2

$ which armv5te-ld.bfd
/opt/eldk-5.3/armv5te/sysroots/i686-eldk-linux/usr/bin/armv5te-linux-gnueabi/armv5te-ld.bfd

$ armv5te-ld.bfd --version
GNU ld (GNU Binutils) 2.22
Copyright 2011 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later 
version.
This program has absolutely no warranty.

now what?

thanks,

Jan



Am 07.04.2013 12:06, schrieb JPT:
> Hi,
>
> Well, I decided to build uboot myself. To access uboot env in NAND I
> only need working: CPU, NAND, RAM, UART. Correct?
> Could you please give some hints on how to choose the right config?

  reply	other threads:[~2013-04-07 19:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-07 10:06 [U-Boot] which u-boot build config to choose for kirkwood? JPT
2013-04-07 19:21 ` JPT [this message]
2013-04-07 19:31   ` [U-Boot] problem building uboot Wolfgang Denk
2013-04-08  1:03     ` [U-Boot] Question about Automatic Updates TigerLiu at viatech.com.cn
2013-04-08  5:30       ` Wolfgang Denk
2013-04-08 17:40         ` Jagan Teki
2013-04-08 18:28           ` Wolfgang Denk
2013-04-08  9:01 ` [U-Boot] build succeeded, what now? JPT
2013-04-08  9:05 ` [U-Boot] how to troubleshoot when u-boot is stuck JPT

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='kjsgvv$o4i$1@ger.gmane.org' \
    --to=j-p-t@gmx.net \
    --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.