[Buildroot] AVR32 4.1.2 toolchain build issues [was svncommit:trunk/buildroot: target/device target/device/Atmel targetetc...]

Thiago A. Corrêa thiago.correa at gmail.com
Tue Oct 16 11:32:00 UTC 2007


On 10/16/07, Hans-Christian Egtvedt <hcegtvedt at atmel.com> wrote:
> On Tue, 2007-10-16 at 02:46 +0100, Thiago A. Corrêa wrote:
> > Ok.... got it to build... it happens to be that atngw100_defconfig now
> > builds to a dir without nofp sufix, which makes me wonder if ppl have
> > decided weather this thing has or doesn't has an FP, perhaps it's a
> > paradox, or a dogma. You just have to belive it works. *smile*
> >
>
> It does not have an FPU, probably just a bad defconfig.

That was an attempt to pull up a joke, but looks that it wasn't much successful.

>
> The AVR32 fork has the bootloader in target/bootloader/u-boot, and is
> quite different from the one in the Atmel directory.

Different how? Version? If it is still the Das U-Boot, how different can it be?

> > Btw, is there a reason why u-boot is buried into Atmel folder?
> > Shouldn't other archs/chips use it as well?
> >
>
> The AVR32 fork on atmel.no tries to do the bootloader general for all
> archs.

Yes. I've noticed that :)
But I don't see any merges any time soon.... but when one does happen,
that should mean a little bit less effort.
Btw, still on the subject, how about bringing those snapshots a few
hundred revisions up to date? For instance, all the BR_avr32 checks
are backwards in the 2 trees, generating several stupid and avoidable
diffs.... Again, this is more work when/if a merge occurs. And I hope
it does.

> > Hopefully I will come back with patches once more (have a better
> > qtopia building, in a single stage, on the works).
> >
>
> You can't, Qtopia hard codes the path to the libraries inside the
> libraries. I have tried and ended up having to do a two stage build. One
> for staging_dir and one for the target dir.

Yes, I know. But it's mostly used on qmake to generate the project,
and that you should link against the stuff in the staging_dir. It
should also be used for plugin loading, but that can be overridden in
several ways. I have to check on the docs. At the worst case, it
should still be possible to sed qconfig.cpp (which is where the
hardcoded stuff lies), then rebuild from the already built tree, so
it's only 1 file to compile + link of everything else.

Besides, there is a lot of hardcoded configure options in there that I
don't really like, so, I'm adding config options to those in the
kconfig. For one, forcing on libjpeg isn't very nice :)

Friendly Regards,
   Thiago A. Correa



More information about the buildroot mailing list