From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ulf Samuelsson Date: Tue, 16 Oct 2007 07:27:26 +0200 Subject: [Buildroot] AVR32 4.1.2 toolchain build issues [wassvncommit:trunk/buildroot: target/device target/device/Atmeltargetetc...] References: <02c301c80f72$254d2400$01c4af0a@Glamdring> <20071015221718.GA15524@reid1.localdomain> <059501c80f79$dd1305d0$01c4af0a@Glamdring> <20071015234955.GA18119@reid1.localdomain> Message-ID: <001c01c80fb5$baf25500$01c4af0a@Glamdring> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net link: www.avrfreaks.net ----- Original Message ----- From: "don" To: "Ulf Samuelsson" Cc: "Thiago A. Corr?a" ; Sent: Tuesday, October 16, 2007 1:49 AM Subject: Re: [Buildroot] AVR32 4.1.2 toolchain build issues [wassvncommit:trunk/buildroot: target/device target/device/Atmeltargetetc...] > On Tue, Oct 16, 2007 at 12:22:03AM +0200, Ulf Samuelsson wrote: >> link: www.avrfreaks.net >> ----- Original Message ----- From: "don" >> To: "Ulf Samuelsson" >> Cc: "Thiago A. Corr?a" ; >> Sent: Tuesday, October 16, 2007 12:17 AM >> Subject: Re: [Buildroot] AVR32 4.1.2 toolchain build issues [was >> svncommit:trunk/buildroot: target/device target/device/Atmel >> targetetc...] >> >> >>> On Mon, Oct 15, 2007 at 11:25:52PM +0200, Ulf Samuelsson wrote: >>>>> That commit introduced gcc 4.2.1 to avr32, which builds ok, but the >>>>> compiler still has some bugs, specially the C++ compiler and the >>>>> template engine. >>>> >>>> >>>> I tested with >>>> >>>> make atngw100_defconfig >>>> make >>>> >>>> which manages to build both the linux and the root fs. >>> >>> It failed for me twice. First with the libtool error I posted >>> recently, then in uboot. >>> >>> ... >>> rm -rf >>> /home/dev/AVR32/Buildroot/buildroot/project_build_avr32/atngw100/buildroot-config >>> mkdir -p >>> /home/dev/AVR32/Buildroot/buildroot/project_build_avr32/atngw100 >>> cp -dpRf package/config/buildroot-config >>> /home/dev/AVR32/Buildroot/buildroot/project_build_avr32/atngw100/buildroot-config >>> cp target/device/Atmel/atngw100/u-boot/atngw100.h >>> /home/dev/AVR32/Buildroot/buildroot/build_avr32/u-boot-1.2.0-atmel/include/configs/. >>> cp: cannot stat `target/device/Atmel/atngw100/u-boot/atngw100.h': No >>> such >>> file or directory >>> ... >>> >>> -- >>> Don >> >> >> Don't know why the libtool stuff fails, but the u-boot was never >> supported >> for ngw100. >> It might be as simple as adding the file: >> >> ... >> >> Is U-Boot on by default? >> Maybe I turned it off, before I built it. >> >> There is a later u-boot at the u-boot home page. > > I just did a clean buildroot checkout and then > > make atngw100_defconfig > make > > If U-Boot shouldn't be build for the atngw100_defconfig then that > config should turn it off. > It is not, that it should not build, it is a small matter of adding that file, I have not been aware of that problem for long. The NGW100 support was added and then soon afterwards, the AVR32 toolchain was broken. The default configuration did not include U-boot at that time. Best Regards Ulf Samuelsson ulf at atmel.com Atmel Nordic AB Mail: Box 2033, 174 02 Sundbyberg, Sweden Visit: Kavalleriv?gen 24, 174 58 Sundbyberg, Sweden Phone +46 (8) 441 54 22 Fax +46 (8) 441 54 29 GSM +46 (706) 22 44 57