Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Beaglebone build broken ?
@ 2012-09-07 12:10 Vineet Gupta
  2012-09-07 12:49 ` Frank Hunleth
  0 siblings, 1 reply; 5+ messages in thread
From: Vineet Gupta @ 2012-09-07 12:10 UTC (permalink / raw)
  To: buildroot

Hi,

I'm using the tip of buildroot, to build for beaglebone (using
beaglebone_defconfig) and running into a couple of issues:

1. The hard FPU settings cause uClibc build to break (intermixing of
soft and hard) and an equivalent of below needs to be made to top level
config file.

-BR2_EXTRA_GCC_CONFIG_OPTIONS="--with-fpu=vfpv3 --with-float=hard"
+BR2_EXTRA_GCC_CONFIG_OPTIONS="--with-float=soft"
-# BR2_SOFT_FLOAT is not set
+BR2_SOFT_FLOAT=y

If this is a must, can this be committed to buildroot itself. I can't
propose a patch myself because I'm not sure why it must or must-not be
built with software float.

2. Next, it's failing when trying to get the custom kernel.

Cloning into bare repository
linux-linux-ti33x-psp-3.2-r5a+gitr09e9651bcf2ee8d86685f2a8075bc6557b1d3b91...
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
--2012-09-07 12:54:37-- 
http://sources.buildroot.net//linux-linux-ti33x-psp-3.2-r5a+gitr09e9651bcf2ee8d86685f2a8075bc6557b1d3b91.tar.gz
Resolving sources.buildroot.net... 176.9.16.109
Connecting to sources.buildroot.net|176.9.16.109|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2012-09-07 12:54:38 ERROR 404: Not Found.

A few months back I could successfully build bone image so obviously
this kernel issue was not present then.


Thanks,
Vineet

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] Beaglebone build broken ?
  2012-09-07 12:10 [Buildroot] Beaglebone build broken ? Vineet Gupta
@ 2012-09-07 12:49 ` Frank Hunleth
  2012-09-10 16:35   ` Alexandre Belloni
  0 siblings, 1 reply; 5+ messages in thread
From: Frank Hunleth @ 2012-09-07 12:49 UTC (permalink / raw)
  To: buildroot

Hi Vineet,

Since I originally submitted the patches for the Beaglebone, the
project that I was using this for decided to go with a different
processor. I'll try to post with what I know, but it may be dated.

On Fri, Sep 7, 2012 at 8:10 AM, Vineet Gupta <Vineet.Gupta1@synopsys.com> wrote:
> Hi,
>
> I'm using the tip of buildroot, to build for beaglebone (using
> beaglebone_defconfig) and running into a couple of issues:
>
> 1. The hard FPU settings cause uClibc build to break (intermixing of
> soft and hard) and an equivalent of below needs to be made to top level
> config file.
>
> -BR2_EXTRA_GCC_CONFIG_OPTIONS="--with-fpu=vfpv3 --with-float=hard"
> +BR2_EXTRA_GCC_CONFIG_OPTIONS="--with-float=soft"
> -# BR2_SOFT_FLOAT is not set
> +BR2_SOFT_FLOAT=y
>
> If this is a must, can this be committed to buildroot itself. I can't
> propose a patch myself because I'm not sure why it must or must-not be
> built with software float.

I don't know enough to comment on this one, but it really doesn't seem
like this should have happened. It seems like if you specify hard
float that you should be able to get it. I haven't been following the
list closely enough to know whether the beaglebone_defconfig needed to
be updated to still use hard float.

>
> 2. Next, it's failing when trying to get the custom kernel.
>
> Cloning into bare repository
> linux-linux-ti33x-psp-3.2-r5a+gitr09e9651bcf2ee8d86685f2a8075bc6557b1d3b91...
> fatal: The remote end hung up unexpectedly
> fatal: early EOF
> fatal: index-pack failed
> --2012-09-07 12:54:37--
> http://sources.buildroot.net//linux-linux-ti33x-psp-3.2-r5a+gitr09e9651bcf2ee8d86685f2a8075bc6557b1d3b91.tar.gz
> Resolving sources.buildroot.net... 176.9.16.109
> Connecting to sources.buildroot.net|176.9.16.109|:80... connected.
> HTTP request sent, awaiting response... 404 Not Found
> 2012-09-07 12:54:38 ERROR 404: Not Found.
>
> A few months back I could successfully build bone image so obviously
> this kernel issue was not present then.

I remember having an intermittent issue with getting this kernel a
couple months back and then it went away. This might be transient.

Having said this, the Beaglebone guys changed how they manage their
kernel code. Instead of having the whole kernel on GitHub, they now
just store patches. See
https://github.com/beagleboard/kernel/tree/beaglebone-3.2. I haven't
looked into how this would fit into Buildroot, though. Unfortunately,
once we switched processors, I haven't had time to keep this up to
date.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] Beaglebone build broken ?
  2012-09-07 12:49 ` Frank Hunleth
@ 2012-09-10 16:35   ` Alexandre Belloni
  2012-09-11  4:19     ` Vineet Gupta
  0 siblings, 1 reply; 5+ messages in thread
From: Alexandre Belloni @ 2012-09-10 16:35 UTC (permalink / raw)
  To: buildroot

Hi,

On Fri, Sep 07, 2012 at 08:49:47AM -0400, Frank Hunleth wrote :
> > 2. Next, it's failing when trying to get the custom kernel.
> >
> > Cloning into bare repository
> > linux-linux-ti33x-psp-3.2-r5a+gitr09e9651bcf2ee8d86685f2a8075bc6557b1d3b91...
> > fatal: The remote end hung up unexpectedly
> > fatal: early EOF
> > fatal: index-pack failed
> > --2012-09-07 12:54:37--
> > http://sources.buildroot.net//linux-linux-ti33x-psp-3.2-r5a+gitr09e9651bcf2ee8d86685f2a8075bc6557b1d3b91.tar.gz
> > Resolving sources.buildroot.net... 176.9.16.109
> > Connecting to sources.buildroot.net|176.9.16.109|:80... connected.
> > HTTP request sent, awaiting response... 404 Not Found
> > 2012-09-07 12:54:38 ERROR 404: Not Found.
> >
> > A few months back I could successfully build bone image so obviously
> > this kernel issue was not present then.
> 
> I remember having an intermittent issue with getting this kernel a
> couple months back and then it went away. This might be transient.
> 
> Having said this, the Beaglebone guys changed how they manage their
> kernel code. Instead of having the whole kernel on GitHub, they now
> just store patches. See
> https://github.com/beagleboard/kernel/tree/beaglebone-3.2. I haven't
> looked into how this would fit into Buildroot, though. Unfortunately,
> once we switched processors, I haven't had time to keep this up to
> date.

We are using the git repo of koen kooi here:

https://github.com/koenkooi/linux.git

If you desire, I can share my buildroot configuration.

Regards,

-- 
Alexandre Belloni

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] Beaglebone build broken ?
  2012-09-10 16:35   ` Alexandre Belloni
@ 2012-09-11  4:19     ` Vineet Gupta
  2012-09-11 23:18       ` Alexandre Belloni
  0 siblings, 1 reply; 5+ messages in thread
From: Vineet Gupta @ 2012-09-11  4:19 UTC (permalink / raw)
  To: buildroot

On Monday 10 September 2012 10:05 PM, Alexandre Belloni wrote:
> We are using the git repo of koen kooi here:
>
> https://github.com/koenkooi/linux.git
>
> If you desire, I can share my buildroot configuration.

That would be handy ! I presume that only top level config file has changed.

BTW not sure if I can/should be suggesting, but is there any reason for
not posting that patch to upstream buildroot itself. As it stands the
current bone support in there is broken !

TIA,
-Vineet

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] Beaglebone build broken ?
  2012-09-11  4:19     ` Vineet Gupta
@ 2012-09-11 23:18       ` Alexandre Belloni
  0 siblings, 0 replies; 5+ messages in thread
From: Alexandre Belloni @ 2012-09-11 23:18 UTC (permalink / raw)
  To: buildroot

Hi,

On Tue, Sep 11, 2012 at 09:49:07AM +0530, Vineet Gupta wrote :
> On Monday 10 September 2012 10:05 PM, Alexandre Belloni wrote:
> > We are using the git repo of koen kooi here:
> >
> > https://github.com/koenkooi/linux.git
> >
> > If you desire, I can share my buildroot configuration.
> 
> That would be handy ! I presume that only top level config file has changed.
> 
> BTW not sure if I can/should be suggesting, but is there any reason for
> not posting that patch to upstream buildroot itself. As it stands the
> current bone support in there is broken !
> 

It is not done yet by lack of time. I'll try to do it ASAP but don't
expect anything before this week end.

Regards,

-- 
Alexandre Belloni

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-09-11 23:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-07 12:10 [Buildroot] Beaglebone build broken ? Vineet Gupta
2012-09-07 12:49 ` Frank Hunleth
2012-09-10 16:35   ` Alexandre Belloni
2012-09-11  4:19     ` Vineet Gupta
2012-09-11 23:18       ` Alexandre Belloni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox