[U-Boot-Users] Can't Compile u-boot-1.1.5_atmel_1.2!!

25an mans.zigher at gmail.com
Wed Feb 28 12:35:39 CET 2007


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.





More information about the U-Boot mailing list