[Buildroot] AVR32 4.1.2 toolchain build issues [wassvncommit:trunk/buildroot: target/device target/device/Atmeltargetetc...]

Ulf Samuelsson ulf at atmel.com
Tue Oct 16 05:27:26 UTC 2007


link: www.avrfreaks.net
----- Original Message ----- 
From: "don" <don_reid at comcast.net>
To: "Ulf Samuelsson" <ulf at atmel.com>
Cc: "Thiago A. Corr?a" <thiago.correa at gmail.com>; <buildroot at uclibc.org>
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" <don_reid at comcast.net>
>> To: "Ulf Samuelsson" <ulf at atmel.com>
>> Cc: "Thiago A. Corr?a" <thiago.correa at gmail.com>; <buildroot at uclibc.org>
>> 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




More information about the buildroot mailing list