Skip to contentSkip to conversation

avr32: no selection for Binutils version

Buildroot Bernhard Gödel 2 participants 4 messages Dec 23, 2008

lore
Share & tools
lore
#0 lore raw

Hi,

I'm new to embedded Linux, so I want to apologize for stupid questions in advance. :-)

I've bought the Atmel NGW100 featuring an AVR32 AP7000. Now I'm following the instructions given in the book 'Building embedded Linux Systems' (O'Reilly) to build a Linux system for this platform from scratch.

Therefore I've downloaded the package
http://buildroot.uclibc.org/downloads/snapshots/buildroot-snapshot.tar.bz2
(which points to
http://buildroot.uclibc.org/downloads/snapshots/buildroot-20081221.tar.bz2
currently) in order to build the tool chain.

I used 'make menuconfig' to enter the configuration for my target but I've encountered a problem here. After selecting 'AVR32' as target architecture, I cannot select any Binutils Version from the 'Toolchain' submenu.

I've downloaded an older version
(http://buildroot.uclibc.org/downloads/snapshots/buildroot-20081120.tar.bz2),
which offers Binutils 2.17 for AVR32.

Is this a bug in the newest buildroot package?
I didn't find the location where the available versions are stored, so I couldn't patch it myself...

Yours,
Bernhard

#1 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Bernhard" == Bernhard G?del <[email protected]> writes:

Hi,

Bernhard> Hi, I'm new to embedded Linux, so I want to apologize for Bernhard> stupid questions in advance. :-)

Don't worry ;)

Bernhard> I used 'make menuconfig' to enter the configuration for my Bernhard> target but I've encountered a problem here. After selecting Bernhard> 'AVR32' as target architecture, I cannot select any Bernhard> Binutils Version from the 'Toolchain' submenu.

Sorry, the avr32 stuff is quite special case, and I don't know anything about it. Ulf recently did some changes to it, so maybe you could try either the newest snapshot or a version before his changes (20/12)?

Ulf, comments?

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw
Quoted 5 lines · Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Bernhard" == Bernhard G?del <[email protected]> writes:

Bernhard> I used 'make menuconfig' to enter the configuration for my Bernhard> target but I've encountered a problem here. After selecting Bernhard> 'AVR32' as target architecture, I cannot select any Bernhard> Binutils Version from the 'Toolchain' submenu.

I found the file where it is specified which binutils versions are available for a certain architecture.

It is in /buildroot/toolchain/binutils/config.in

In the older version (allowing to select 2.17) there is:

	config BR2_BINUTILS_VERSION_2_17
		depends on BR2_avr32 || !BR2_nios2 && BR2_DEPRECATED
		depends on BR2_EXT_BINUTILS_VERSION_2_17
		bool "binutils 2.17"

where as in the most recent snapshot it is:

	config BR2_BINUTILS_VERSION_2_17
		depends on BR2_avr32 || !BR2_nios2
		depends on BR2_DEPRECATED && !BR2_avr32
		depends on BR2_EXT_BINUTILS_VERSION_2_17
		bool "binutils 2.17"

The later configuration makes it impossible to select 2.17 as a binutils version for avr32. As there is no other binutils version that is allowed to be selected for avr32, it is simply impossible to select a binutils version at all.
I've replaced this section of the file by the older one and now I can select 2.17 also on the most recent snapshot.

Unfortunately, the problems described in "[Buildroot] avr32: lbipthread problem" remain the same also for the most recent snapshot. I'm stuck in the make process at the generation of libgomp.

Bernhard

#3 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Bernhard" == Bernhard G?del <[email protected]> writes:

Hi,

Bernhard> where as in the most recent snapshot it is:

Bernhard> config BR2_BINUTILS_VERSION_2_17
Bernhard> depends on BR2_avr32 || !BR2_nios2
Bernhard> depends on BR2_DEPRECATED && !BR2_avr32
Bernhard> depends on BR2_EXT_BINUTILS_VERSION_2_17
Bernhard> bool "binutils 2.17"

Yes, depending on BR2_avr32 AND !BR2_avr32 is bad - I already mailed Ulf / the list about this earlier today.

Signature · 1 line
Bye, Peter Korsgaard