* [Buildroot] AVR32 is broken (toolchain)
2010-07-22 15:10 ` Thomas Petazzoni
@ 2010-07-22 16:35 ` Thiago A. Corrêa
2010-07-23 19:12 ` Thiago A. Corrêa
` (2 subsequent siblings)
3 siblings, 0 replies; 14+ messages in thread
From: Thiago A. Corrêa @ 2010-07-22 16:35 UTC (permalink / raw)
To: buildroot
Hi,
On Thu, Jul 22, 2010 at 12:10 PM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Ok, the patch that Gustavo has posted on Busybox at 3:50 PM today fixes
> the problem. So with my patch on the toolchain + Gustavo's patch on
> Busybox, I've been able to build an AVR32 toolchain, BusyBox, DirectFB
> and a sample DirectFB application. However, I don't have any hardware
> to test.
Thanks for the fast reply. I don't have any standard kit here, but I
can test on my own hardware.
> BTW, if there are people working at Atmel on this list, it'd be great
> if Atmel could put online updated version of gcc, binutils and gdb for
> the AVR32 architecture. Currently, we are stuck at gcc 4.2.x and
> binutils 2.18.
>
I don't work for Atmel, but would it be too bad to get the patches
back into buildroot? That's what OpenWRT is doing, and they have
updated to gcc 4.2.4 and binutils 2.19
I could make the changes and post a pull request.
Kind Regards,
Thiago A. Correa
^ permalink raw reply [flat|nested] 14+ messages in thread* [Buildroot] AVR32 is broken (toolchain)
2010-07-22 15:10 ` Thomas Petazzoni
2010-07-22 16:35 ` Thiago A. Corrêa
@ 2010-07-23 19:12 ` Thiago A. Corrêa
2010-07-23 21:18 ` Thomas Petazzoni
2010-07-27 20:39 ` Peter Hüwe
2010-07-31 0:50 ` Bjørn Forsman
3 siblings, 1 reply; 14+ messages in thread
From: Thiago A. Corrêa @ 2010-07-23 19:12 UTC (permalink / raw)
To: buildroot
Hi Thomas,
On Thu, Jul 22, 2010 at 12:10 PM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
>
> Ok, the patch that Gustavo has posted on Busybox at 3:50 PM today fixes
> the problem. So with my patch on the toolchain + Gustavo's patch on
> Busybox, I've been able to build an AVR32 toolchain, BusyBox, DirectFB
> and a sample DirectFB application. However, I don't have any hardware
> to test.
>
I can't find his patch in the archives. Could you forward his patch
or provide a link?
Your patch worked fine for me and now I'm able to build the toolchain.
Kind Regards,
Thiago A. Correa
^ permalink raw reply [flat|nested] 14+ messages in thread* [Buildroot] AVR32 is broken (toolchain)
2010-07-23 19:12 ` Thiago A. Corrêa
@ 2010-07-23 21:18 ` Thomas Petazzoni
2010-07-27 1:14 ` Peter Hüwe
0 siblings, 1 reply; 14+ messages in thread
From: Thomas Petazzoni @ 2010-07-23 21:18 UTC (permalink / raw)
To: buildroot
On Fri, 23 Jul 2010 16:12:56 -0300
Thiago A. Corr?a <thiago.correa@gmail.com> wrote:
> I can't find his patch in the archives. Could you forward his patch
> or provide a link?
It's already in Git (committed yesterday)
http://git.buildroot.net/buildroot/commit/?id=d8a41bb5364461dd62a96fbc384649edd259c485
> Your patch worked fine for me and now I'm able to build the
> toolchain.
Great!
I will make some more testing with my patch and I'll push it soon.
Thanks,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Buildroot] AVR32 is broken (toolchain)
2010-07-23 21:18 ` Thomas Petazzoni
@ 2010-07-27 1:14 ` Peter Hüwe
2010-07-27 15:17 ` Thomas Petazzoni
0 siblings, 1 reply; 14+ messages in thread
From: Peter Hüwe @ 2010-07-27 1:14 UTC (permalink / raw)
To: buildroot
Am Freitag 23 Juli 2010 23:18:50 schrieb Thomas Petazzoni:
> Thiago A. Corr?a <thiago.correa@gmail.com> wrote:
> > Your patch worked fine for me and now I'm able to build the
> > toolchain.
>
> Great!
>
> I will make some more testing with my patch and I'll push it soon.
Hi Thomas,
I just tried to compile the atngw100_defconfig using your patch and the latest
git repo but unfortunately it fails while building host-lzo
>>> host-lzo 2.03 Configuring
...
configure: loading cache /avr/buildroot/output/build/host-config.cache
configure: Configuring LZO 2.03
checking build system type... (cached) x86_64-unknown-linux-gnu
checking host system type... (cached) x86_64-unknown-linux-gnu
checking target system type... config.sub: missing argument
Try `config.sub --help' for more information.
configure: error: /bin/sh autoconf/config.sub failed
make: *** [/avr/buildroot/output/build/host-lzo-2.03/.stamp_configured] Error
1
You can find the whole log at http://dpaste.com/hold/222214/
Do you think this is related to the original problem?
I'm running buildroot on a 64-bit gentoo installation -
gcc: x86_64-pc-linux-gnu-4.1.2
Es werden eingebaute Spezifikationen verwendet.
Ziel: x86_64-pc-linux-gnu
Konfiguriert mit: /var/tmp/portage/sys-
devel/gcc-4.1.2/work/gcc-4.1.2/configure --prefix=/usr --bindir=/usr/x86_64-
pc-linux-gnu/gcc-bin/4.1.2 --includedir=/usr/lib/gcc/x86_64-pc-linux-
gnu/4.1.2/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.2 --
mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.2/man --
infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.2/info --with-gxx-include-
dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4 --host=x86_64-pc-
linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --enable-nls --
without-included-gettext --with-system-zlib --disable-checking --disable-
werror --enable-secureplt --enable-multilib --enable-libmudflap --disable-
libssp --enable-java-awt=gtk --enable-languages=c,c++,java,treelang,fortran --
enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-
clocale=gnu
Thread-Modell: posix
gcc-Version 4.1.2 (Gentoo 4.1.2 p1.3)
Thanks,
Peter
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Buildroot] AVR32 is broken (toolchain)
2010-07-27 1:14 ` Peter Hüwe
@ 2010-07-27 15:17 ` Thomas Petazzoni
0 siblings, 0 replies; 14+ messages in thread
From: Thomas Petazzoni @ 2010-07-27 15:17 UTC (permalink / raw)
To: buildroot
Hello Peter,
On Tue, 27 Jul 2010 03:14:14 +0200
Peter H?we <PeterHuewe@gmx.de> wrote:
> I just tried to compile the atngw100_defconfig using your patch and
> the latest git repo but unfortunately it fails while building host-lzo
>
> >>> host-lzo 2.03 Configuring
host-lzo is built for the host, so it's quite unlikely that any AVR32
change can have an impact on it.
> configure: loading cache /avr/buildroot/output/build/host-config.cache
> configure: Configuring LZO 2.03
> checking build system type... (cached) x86_64-unknown-linux-gnu
> checking host system type... (cached) x86_64-unknown-linux-gnu
> checking target system type... config.sub: missing argument
> Try `config.sub --help' for more information.
It sounds like the autoconf host-config.cache has been filled with an
empty value for --target.
Can you show the contents
of /avr/buildroot/output/build/host-config.cache after the failure, and
can you post the *full* build log somewhere ?
Thanks,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Buildroot] AVR32 is broken (toolchain)
2010-07-22 15:10 ` Thomas Petazzoni
2010-07-22 16:35 ` Thiago A. Corrêa
2010-07-23 19:12 ` Thiago A. Corrêa
@ 2010-07-27 20:39 ` Peter Hüwe
2010-07-31 0:50 ` Bjørn Forsman
3 siblings, 0 replies; 14+ messages in thread
From: Peter Hüwe @ 2010-07-27 20:39 UTC (permalink / raw)
To: buildroot
Am Donnerstag 22 Juli 2010 17:10:35 schrieb Thomas Petazzoni:
> BTW, if there are people working at Atmel on this list, it'd be great...
Maybe CC or write to avr32 at atmel.com ?
> On the Atmel website, it is possible to download a single zip file that
> contains tarballs for gcc, gdb, binutils and newlib. Having that in a
> single zip file is very unpractical for build systems like Buildroot.
Yeah. But since I guess it is all gpl licenced software, wouldn't it be
possible for the buildroot team to download the zip, repack it in single zips
and host/mirror them on the buildroot mirrors? Or atleast the toolchain parts
of the zip?
I know it's not a good option, but maybe it would ease the life of the
buildroot devs (i.e. you and peter :P)
>Moreover, having to register on the website (name, address, phone
> number and all the stuff) is even more inconvenient.
I know that form, and even if it looks like it is mandatory, it is not, just
click continue - even hotlinking would be possible.
Thanks,
Peter
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Buildroot] AVR32 is broken (toolchain)
2010-07-22 15:10 ` Thomas Petazzoni
` (2 preceding siblings ...)
2010-07-27 20:39 ` Peter Hüwe
@ 2010-07-31 0:50 ` Bjørn Forsman
2010-07-31 4:58 ` Thiago A. Corrêa
3 siblings, 1 reply; 14+ messages in thread
From: Bjørn Forsman @ 2010-07-31 0:50 UTC (permalink / raw)
To: buildroot
Hi all,
On 22 July 2010 17:10, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> BTW, if there are people working at Atmel on this list, it'd be great
> if Atmel could put online updated version of gcc, binutils and gdb for
> the AVR32 architecture. Currently, we are stuck at gcc 4.2.x and
> binutils 2.18.
>
> On the Atmel website, it is possible to download a single zip file that
> contains tarballs for gcc, gdb, binutils and newlib. Having that in a
> single zip file is very unpractical for build systems like Buildroot.
> Moreover, having to register on the website (name, address, phone
> number and all the stuff) is even more inconvenient.
>
> Would it be possible to just drop the individual tarballs at some
> public location, with no registration required ? Or even better, get
> the AVR32 support merged in the respective upstream projects :-)
FYI: Atmel are eol'ing the AVR32AP7000 device. It is currently "Not
recommended for new design" [1].
So...I guess AVR32 Linux is kind of a dead end now... or use uClinux
on AVR32 UC3 devices...
Best regards,
Bj?rn Forsman
[1]: http://www.atmel.com/dyn/products/product_card.asp?part_id=3903
^ permalink raw reply [flat|nested] 14+ messages in thread* [Buildroot] AVR32 is broken (toolchain)
2010-07-31 0:50 ` Bjørn Forsman
@ 2010-07-31 4:58 ` Thiago A. Corrêa
0 siblings, 0 replies; 14+ messages in thread
From: Thiago A. Corrêa @ 2010-07-31 4:58 UTC (permalink / raw)
To: buildroot
Hi,
2010/7/30 Bj?rn Forsman <bjorn.forsman@gmail.com>:
> Hi all,
>
>
> FYI: Atmel are eol'ing the AVR32AP7000 device. It is currently "Not
> recommended for new design" [1].
They have said in forums and other communications that they would EOL
because it reached the middle of it's expected life time. They still
produce them and would continue to do so for sometime.
> So...I guess AVR32 Linux is kind of a dead end now... or use uClinux
> on AVR32 UC3 devices...
But that's not an option for existing products that needs support. For
new development, people would probably look for arms or mips. We are
in the process of migrating to an ARM device from Samsung, but still
we need to be able to support the hardware that is out there. The next
batch will be our last with AP7000 but warranties, support, etc still
goes on.
Kind Regards,
Thiago A. Correa
^ permalink raw reply [flat|nested] 14+ messages in thread