[Buildroot] [PATCH] u-boot: 2015.07 - fix creation of .config

Alexey Brodkin Alexey.Brodkin at synopsys.com
Mon Aug 17 06:37:29 UTC 2015


Hi Jorg,

On Sun, 2015-08-16 at 23:43 +0200, Jörg Krause wrote:
> Hi Thomas, Alexey,
> 
> On Mi, 2015-08-12 at 10:23 +0200, Thomas Petazzoni wrote:
> > Dear Alexey Brodkin,
> > 
> > On Tue, 11 Aug 2015 12:20:01 +0000, Alexey Brodkin wrote:
> > 
> > > Any chance for this one to be applied?
> > > Note without this change or anything similar U-Boot from
> > > snsp_axs10x_defconfig fails to config.
> > 
> > I haven't had the time to look into this in detail. It would be great
> > if Yann, or Jörg could have a look. I remain unhappy with solving
> > such
> > a problem by using a patch against U-Boot 2015.07, because it means
> > anyone specifying a slightly different U-Boot version (but based on
> > 2015.07) will still have the problem.
> 
> It looks like upstream [1] does not revert this patch but fixes the
> problem with this patch [2]. Alexey, does this patch solves your
> problem?
> 
> Best regards
> Jörg Krause
> 
> 
> [1]
> https://www.mail-archive.com/u-boot@lists.denx.de/msg179681.html 
> 
> [2]
> http://patchwork.ozlabs.org/patch/502793/

The thing is [2] solves problem only for ARM, while other arches are still
affected. And that means ARC is not cured by that patch.

Indeed proper fix is to patch all arches in the same way,
i.e. select default option for each and every architecture in U-Boot.

But speaking about Buildroot that approach has at least 2 downsides:
 1) Not all arches are fixed upstream so in Buildroot we'll have patches
    that are not there in upstream yet.

 2) We'll have quite a few patches in Buildroot for U-boot each fixing
    a separate arch.

If (1) and (2) are OK for Buildroot I'll try to come up with those patches ASAP.

My initial approach was IMHO the cleanest and simplest. But if it doesn't work
we'll do another fix :)

-Alexey


More information about the buildroot mailing list