From mboxrd@z Thu Jan 1 00:00:00 1970 From: 25an Date: Wed, 28 Feb 2007 03:35:39 -0800 (PST) Subject: [U-Boot-Users] Can't Compile u-boot-1.1.5_atmel_1.2!! In-Reply-To: <9185397.post@talk.nabble.com> References: <7cd4d5a30702270049m797cd754h18fa3b3a1c8979c8@mail.gmail.com> <9185397.post@talk.nabble.com> Message-ID: <9202276.post@talk.nabble.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de It worked! 25an wrote: > > 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 > .PHONY : $(SUBDIRS) > > 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#a9202276 Sent from the Uboot - Users mailing list archive at Nabble.com.