[Buildroot] Ulf, you broke AVR32, why?

Ulf Samuelsson ulf at atmel.com
Tue May 6 09:57:53 UTC 2008



> On Mon, May 5, 2008 at 6:41 PM, Ulf Samuelsson <ulf.samuelsson at atmel.com> wrote:
>> > You removed something that was working in favor of something that is
>>  > not for no reason.
>>
>>  The Atmel patches adds way too much bloat to the svn.
> 
> Google's entire svn history has 3Mb, including the AVR32 patches plus
> careless local svn mv's. How is that too much bloat?
> 

The AVR32 patches are larger than that, just for one version.
Adding patches for several versions of the toolchain will make this worse.

>>  That is why the external toolchain was added.
>>  Also, IIRC some patches broke other architectures.
>>
> 
> That's why people is working on selectively applying patches based on $ARCH
> 
> From my point of view, those are clutter:
> ./arch-arm/kernel-patches-2.6.24/linux-2.6.24-at91.patch
> ./arch-arm/kernel-patches-2.6.20.4/linux-2.6.20.4-atmel.patch
> ./arch-arm/kernel-patches-2.6.21.1/linux-2.6.21.1-at91.patch
> ./arch-arm/kernel-patches-2.6.21.1/linux-2.6.21.1-at91-1-update.patch
> ./arch-arm/kernel-patches-2.6.21.5/linux-2.6.21.5-at91-1-update.patch
> ./arch-arm/kernel-patches-2.6.21.5/linux-2.6.21.5-at91.patch
> 

Obviously it would be better to download these patches instead
of storing them in the buildroot tree...
They will eventually go away, when I have enough time to fix.

> Not to mention having a separate u-boot, just because the Atmel ARM
> didn't get to get their patches upstream, while AVR32 did.

They were provided to the U-Boot project and were ignored without comments,
so the AT91 team eventually got fed up.
The AT91 team has started resubmitting patches, but it is not in the state
that it is usable for all relevant parts.
Since that is prepatched, we are talking about minimal additions to the buildroot svn.

>>  > On top of that, external toolchain tries to download prepatched
>>  > toochain from a site that you control, but that has no such files to
>>  > download from.
>>
>>  BR2_ATMEL_MIRROR should be ftp://www.at91.com/pub/buildroot/
>>  I see the files in this location.

The defconfigs were wrong, but is now updated.

> 
> There is no gcc 4.2.2 in there. There is no gdb-4.7.1 in there.

The AVR32 team has been working on a new version of the toolchain
but I have been mostly offline for the last two weeks, so I did not check.
I do not think it will take too much time to fix this.

> 
>>  > Please revert your changes asap.
>>  >
>>
>>  No, if there are problems, it should be fixed within the external toolchain
>>  to avoid adding those megabytes, which are of no interest to AVR32 users.
>>  There are hooks to patch the external toolchain if neccessary.
> 
> Then I guess we will all be getting FTP user accounts to your server
> now? So that we can fix things within the external toolchain?
> I'm interested in those few kb (namely 915826 bytes). Last time I
> checked, I was in the universe of AVR32 users.

Why, you can apply patches as usual, but the patches are located
in the target/device/Atmel/toolchain directory.

> 
> You didn't even care to test your changes, and despite protests
> removed the toolchain support anyway. You are taking away our freedom
> to update, fix, do whatever with the toolchain from within buildroot.

If you check above, you see it is not like that.
You can modify the external toolchain by applying patches,
so you have the freedom you want.

If you can find another host where the stuff can be located
then it is easy to move it. I just put it on that server for convenience
and I see only drawbacks that it cannot be updated by other
members of the buildroot community.

> Not to mention breaking things up and making me and a hell lot of
> other people lose their day's or week's work.
> Please revert your changes asap.
> 

As I mentioned, the toolchain breaks other toolchains so this is not a good idea.
You also have the problem that you want to apply some of the buildroot patches
but not all.

> Regards,
>   Thiago A. Correa
>



Best Regards
Ulf Samuelsson




More information about the buildroot mailing list