From: 25an <mans.zigher@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Can't Compile u-boot-1.1.5_atmel_1.2!!
Date: Tue, 27 Feb 2007 08:09:12 -0800 (PST) [thread overview]
Message-ID: <9185397.post@talk.nabble.com> (raw)
In-Reply-To: <7cd4d5a30702270049m797cd754h18fa3b3a1c8979c8@mail.gmail.com>
Ok I managed to compile u-boot-1.1.5_armel_1.2 with ELDK 4.1 and gcc 4.0.
I solved it by the editing the following files.
In the main Makefile at line 228 i removed the example
from:
SUBDIRS = tools \
examples \
post \
post/cpu
to:
SUBDIRS = tools \
post \
post/cpu
.PHONY : $(SUBDIRS)
then I edit in the file cpu/arm926ejs/at91sam926x/config.mk
from:
PLATFORM_CPPFLAGS += -mapcs-32 -march=armv5te -mtune=arm926ejs
to:
PLATFORM_CPPFLAGS += -march=armv5te -Wa,-mapcs-32 -mtune=arm926ej-s
and then in the file cpu/arm926ejs/at91sam926x/usb_ohci.c at line 1659
from:
writel (gohci.hc_control = OHCI_USB_RESET, &gohci.regs->control);
to:
gohci.hc_control = OHCI_USB_RESET;
writel (gohci.hc_control, &gohci.regs->control);
now I passed the compilation but I have not yet tried it on the board but I
will let you know if it worked or not.
I you have the same problem try this or compile it with ELDK 3.1 which is
using gcc 3.3.3
--
View this message in context: http://www.nabble.com/Can%27t-Compile-u-boot-1.1.5_atmel_1.2%21%21-tf3299277.html#a9185397
Sent from the Uboot - Users mailing list archive at Nabble.com.
next prev parent reply other threads:[~2007-02-27 16:09 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-27 8:49 [U-Boot-Users] Can't Compile u-boot-1.1.5_atmel_1.2!! Måns Zigher
2007-02-27 9:44 ` Daniel Hobi
2007-02-27 14:23 ` 25an
2007-02-27 15:15 ` Daniel Hobi
2007-02-27 15:41 ` 25an
2007-02-27 16:09 ` 25an [this message]
2007-02-28 11:35 ` 25an
-- strict thread matches above, loose matches on Subject: below --
2007-02-27 8:54 25an
2007-02-27 15:21 Daniel Hobi
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=9185397.post@talk.nabble.com \
--to=mans.zigher@gmail.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.