Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] bluez
@ 2008-11-06 14:12 Michel Benoit
  2008-11-06 16:43 ` Thomas Petazzoni
  0 siblings, 1 reply; 8+ messages in thread
From: Michel Benoit @ 2008-11-06 14:12 UTC (permalink / raw)
  To: buildroot

Has anyone cross compiled bluez-libs and bluez-utils with buildroot?

Michel

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

* [Buildroot] bluez
  2008-11-06 14:12 [Buildroot] bluez Michel Benoit
@ 2008-11-06 16:43 ` Thomas Petazzoni
  2008-11-07 11:06   ` Julien Boibessot
  0 siblings, 1 reply; 8+ messages in thread
From: Thomas Petazzoni @ 2008-11-06 16:43 UTC (permalink / raw)
  To: buildroot

Le Thu, 6 Nov 2008 15:12:02 +0100,
"Michel Benoit" <michel.benoit@sepab.se> a ?crit :

> Has anyone cross compiled bluez-libs and bluez-utils with buildroot?

As far as I can see, we don't have these packages in Buildroot yet, and
there doesn't seem to be anything related to bluez in the bug tracker
(but the search engine looks a bit weird, no sure it works properly).

Back in 2005, some people tried to compile bluez with Buildroot, see
http://osdir.com/ml/bluez.devel/2005-03/msg00089.html.

Anyway, adding support for bluez-libs and bluez-utils to buildroot
should be relatively simple, since they use the classical autotools. A
few lines of .mk and Config.in should do the basic things.

Do you want to provide a patch for these ?

Thanks,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com

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

* [Buildroot] bluez
  2008-11-06 16:43 ` Thomas Petazzoni
@ 2008-11-07 11:06   ` Julien Boibessot
  2008-11-07 11:16     ` Nick.Thompson at infineon.com
  0 siblings, 1 reply; 8+ messages in thread
From: Julien Boibessot @ 2008-11-07 11:06 UTC (permalink / raw)
  To: buildroot

Thomas Petazzoni a ?crit :
> Anyway, adding support for bluez-libs and bluez-utils to buildroot
> should be relatively simple, since they use the classical autotools. A
> few lines of .mk and Config.in should do the basic things.
>
> Do you want to provide a patch for these ?
>   
If it can help, Gumstix guys seem to already have done the job:
http://www.daimi.au.dk/~spider/gumstix/gumstix-buildroot/package/bluez/

Julien

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

* [Buildroot] bluez
  2008-11-07 11:06   ` Julien Boibessot
@ 2008-11-07 11:16     ` Nick.Thompson at infineon.com
  2008-11-10 14:56       ` Matuschka, Sebastian
  0 siblings, 1 reply; 8+ messages in thread
From: Nick.Thompson at infineon.com @ 2008-11-07 11:16 UTC (permalink / raw)
  To: buildroot



> -----Original Message-----
> From: buildroot-bounces at uclibc.org [mailto:buildroot-bounces at uclibc.org]
> On Behalf Of Julien Boibessot
> Sent: Friday, November 07, 2008 11:06 AM
> To: Thomas Petazzoni
> Cc: buildroot at uclibc.org
> Subject: Re: [Buildroot] bluez
>
> Thomas Petazzoni a ?crit :
> > Anyway, adding support for bluez-libs and bluez-utils to buildroot
> > should be relatively simple, since they use the classical autotools. A
> > few lines of .mk and Config.in should do the basic things.
> >
> > Do you want to provide a patch for these ?
> >
> If it can help, Gumstix guys seem to already have done the job:
> http://www.daimi.au.dk/~spider/gumstix/gumstix-buildroot/package/bluez/

Well I'll be damned - I just subscribed to the list 5 mins ago, to offer up my work getting the 3.36 version of bluez added to buildroot. It seems the gumstix guys have 2.24.

3.36 *requires* dbus (and therefore either expat or libxml), 2.24 does not. The 2.x releases are no longer supported. 3.x is in maintenance mode. 4.x is active (and also requires dbus), though they say 3.x is still the most common.

If you want me to submit my stuff, just let me know what format you would like it in and where to send it - I am new here remember :)

I've tested my builds on an ARM926-EJS with a CSR BlueCore4 BT device using BCSP transport.

Nick.

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

* [Buildroot] bluez
  2008-11-07 11:16     ` Nick.Thompson at infineon.com
@ 2008-11-10 14:56       ` Matuschka, Sebastian
  2008-11-10 15:10         ` Nick.Thompson at infineon.com
  2008-11-13 10:09         ` Nick.Thompson at infineon.com
  0 siblings, 2 replies; 8+ messages in thread
From: Matuschka, Sebastian @ 2008-11-10 14:56 UTC (permalink / raw)
  To: buildroot

I need bluez for a CSR BlueCore 4 too. It is connected to an Atmel AVR32.
For me it would be nice to see bluez in Buildroot.
I'm getting an error when trying to compile the gumstix version:
   root/usr/lib/libbluetooth.so: cannot execute binary file
Don't know what this means.
I've added these update commands to bluez.mk so it accepts avr32:
$(CONFIG_UPDATE) $(BLUEZ_LIBS_BUILD_DIR)
$(CONFIG_UPDATE) $(BLUEZ_UTILS_BUILD_DIR)
$(CONFIG_UPDATE) $(BLUEZ_HCIDUMP_BUILD_DIR)

Regards
Sebastian

> -----Original Message-----
> From: buildroot-bounces at uclibc.org [mailto:buildroot-bounces at uclibc.org]
> On Behalf Of Nick.Thompson at infineon.com
> Sent: Friday, November 07, 2008 12:16 PM
> To: julien.boibessot at free.fr; thomas.petazzoni at free-electrons.com
> Cc: buildroot at uclibc.org
> Subject: Re: [Buildroot] bluez
> 
> 
> 
> > -----Original Message-----
> > From: buildroot-bounces at uclibc.org [mailto:buildroot-bounces at uclibc.org]
> > On Behalf Of Julien Boibessot
> > Sent: Friday, November 07, 2008 11:06 AM
> > To: Thomas Petazzoni
> > Cc: buildroot at uclibc.org
> > Subject: Re: [Buildroot] bluez
> >
> > Thomas Petazzoni a ?crit :
> > > Anyway, adding support for bluez-libs and bluez-utils to buildroot
> > > should be relatively simple, since they use the classical autotools. A
> > > few lines of .mk and Config.in should do the basic things.
> > >
> > > Do you want to provide a patch for these ?
> > >
> > If it can help, Gumstix guys seem to already have done the job:
> > http://www.daimi.au.dk/~spider/gumstix/gumstix-buildroot/package/bluez/
> 
> Well I'll be damned - I just subscribed to the list 5 mins ago, to offer
> up my work getting the 3.36 version of bluez added to buildroot. It seems
> the gumstix guys have 2.24.
> 
> 3.36 *requires* dbus (and therefore either expat or libxml), 2.24 does
> not. The 2.x releases are no longer supported. 3.x is in maintenance mode.
> 4.x is active (and also requires dbus), though they say 3.x is still the
> most common.
> 
> If you want me to submit my stuff, just let me know what format you would
> like it in and where to send it - I am new here remember :)
> 
> I've tested my builds on an ARM926-EJS with a CSR BlueCore4 BT device
> using BCSP transport.
> 
> Nick.
> _______________________________________________
> buildroot mailing list
> buildroot at uclibc.org
> http://busybox.net/mailman/listinfo/buildroot

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

* [Buildroot] bluez
  2008-11-10 14:56       ` Matuschka, Sebastian
@ 2008-11-10 15:10         ` Nick.Thompson at infineon.com
  2008-11-13 10:09         ` Nick.Thompson at infineon.com
  1 sibling, 0 replies; 8+ messages in thread
From: Nick.Thompson at infineon.com @ 2008-11-10 15:10 UTC (permalink / raw)
  To: buildroot

I'm preparing a patch for the bug system. The port is being tested by Michel Benoit. He is having a few problems building, that I want to see resolved before I submit the patch though.

This will be for BlueZ 3.36 however.

Nick.

> -----Original Message-----
> From: Matuschka, Sebastian [mailto:Sebastian.Matuschka at gcd-solutions.de]
> Sent: Monday, November 10, 2008 2:56 PM
> To: Thompson Nick (IFGB COM PS CE PLSA CA); julien.boibessot at free.fr;
> thomas.petazzoni at free-electrons.com
> Cc: buildroot at uclibc.org
> Subject: RE: [Buildroot] bluez
>
> I need bluez for a CSR BlueCore 4 too. It is connected to an Atmel AVR32.
> For me it would be nice to see bluez in Buildroot.
> I'm getting an error when trying to compile the gumstix version:
>    root/usr/lib/libbluetooth.so: cannot execute binary file
> Don't know what this means.
> I've added these update commands to bluez.mk so it accepts avr32:
> $(CONFIG_UPDATE) $(BLUEZ_LIBS_BUILD_DIR)
> $(CONFIG_UPDATE) $(BLUEZ_UTILS_BUILD_DIR)
> $(CONFIG_UPDATE) $(BLUEZ_HCIDUMP_BUILD_DIR)
>
> Regards
> Sebastian
>
> > -----Original Message-----
> > From: buildroot-bounces at uclibc.org [mailto:buildroot-bounces at uclibc.org]
> > On Behalf Of Nick.Thompson at infineon.com
> > Sent: Friday, November 07, 2008 12:16 PM
> > To: julien.boibessot at free.fr; thomas.petazzoni at free-electrons.com
> > Cc: buildroot at uclibc.org
> > Subject: Re: [Buildroot] bluez
> >
> >
> >
> > > -----Original Message-----
> > > From: buildroot-bounces at uclibc.org [mailto:buildroot-
> bounces at uclibc.org]
> > > On Behalf Of Julien Boibessot
> > > Sent: Friday, November 07, 2008 11:06 AM
> > > To: Thomas Petazzoni
> > > Cc: buildroot at uclibc.org
> > > Subject: Re: [Buildroot] bluez
> > >
> > > Thomas Petazzoni a ?crit :
> > > > Anyway, adding support for bluez-libs and bluez-utils to buildroot
> > > > should be relatively simple, since they use the classical autotools.
> A
> > > > few lines of .mk and Config.in should do the basic things.
> > > >
> > > > Do you want to provide a patch for these ?
> > > >
> > > If it can help, Gumstix guys seem to already have done the job:
> > > http://www.daimi.au.dk/~spider/gumstix/gumstix-
> buildroot/package/bluez/
> >
> > Well I'll be damned - I just subscribed to the list 5 mins ago, to offer
> > up my work getting the 3.36 version of bluez added to buildroot. It
> seems
> > the gumstix guys have 2.24.
> >
> > 3.36 *requires* dbus (and therefore either expat or libxml), 2.24 does
> > not. The 2.x releases are no longer supported. 3.x is in maintenance
> mode.
> > 4.x is active (and also requires dbus), though they say 3.x is still the
> > most common.
> >
> > If you want me to submit my stuff, just let me know what format you
> would
> > like it in and where to send it - I am new here remember :)
> >
> > I've tested my builds on an ARM926-EJS with a CSR BlueCore4 BT device
> > using BCSP transport.
> >
> > Nick.
> > _______________________________________________
> > buildroot mailing list
> > buildroot at uclibc.org
> > http://busybox.net/mailman/listinfo/buildroot

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

* [Buildroot] bluez
  2008-11-10 14:56       ` Matuschka, Sebastian
  2008-11-10 15:10         ` Nick.Thompson at infineon.com
@ 2008-11-13 10:09         ` Nick.Thompson at infineon.com
  2009-06-28 17:31           ` Julien Boibessot
  1 sibling, 1 reply; 8+ messages in thread
From: Nick.Thompson at infineon.com @ 2008-11-13 10:09 UTC (permalink / raw)
  To: buildroot

I have attached a patch to the bug system at http://busybox.net/bugs/view.php?id=6134 to add bluez-libs and bluez-utils version 3.36 to buildroot.

Please make sure you use the latest patch as the first had an error in it which causes a build failure on release 0.9.29 uClibc platforms (the patch is not required in the latest 0.9.30-RC3 snapshots.)

When you configure dbus, you don't need dbus-glib for bluez - you might want it for other reasons of course. Here's some stuff from my .config which might help:

Nick-> grep DBUS .config
BR2_PACKAGE_DBUS=y
BR2_DBUS_EXPAT=y
# BR2_DBUS_LIBXML2 is not set
# BR2_PACKAGE_DBUS_GLIB is not set
Nick-> grep BLUEZ .config
BR2_PACKAGE_BLUEZ_LIBS=y
BR2_PACKAGE_BLUEZ_UTILS=y

Nick.

> -----Original Message-----
> From: Thompson Nick (IFGB COM PS CE PLSA CA)
>
> I'm preparing a patch for the bug system. The port is being tested by
> Michel Benoit. He is having a few problems building, that I want to see
> resolved before I submit the patch though.
>
> This will be for BlueZ 3.36 however.
>
> Nick.

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

* [Buildroot] bluez
  2008-11-13 10:09         ` Nick.Thompson at infineon.com
@ 2009-06-28 17:31           ` Julien Boibessot
  0 siblings, 0 replies; 8+ messages in thread
From: Julien Boibessot @ 2009-06-28 17:31 UTC (permalink / raw)
  To: buildroot

Hi,

I know this topic is quite old but:

Nick.Thompson at infineon.com a ?crit :
> I have attached a patch to the bug system at http://busybox.net/bugs/view.php?id=6134 to add bluez-libs and bluez-utils version 3.36 to buildroot.
>
> Please make sure you use the latest patch as the first had an error in it which causes a build failure on release 0.9.29 uClibc platforms (the patch is not required in the latest 0.9.30-RC3 snapshots.)
>   
Do somebody know where this bug report has gone ??
(I finally get the hardware to test it ;-) )

Regards,
Julien

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

end of thread, other threads:[~2009-06-28 17:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-06 14:12 [Buildroot] bluez Michel Benoit
2008-11-06 16:43 ` Thomas Petazzoni
2008-11-07 11:06   ` Julien Boibessot
2008-11-07 11:16     ` Nick.Thompson at infineon.com
2008-11-10 14:56       ` Matuschka, Sebastian
2008-11-10 15:10         ` Nick.Thompson at infineon.com
2008-11-13 10:09         ` Nick.Thompson at infineon.com
2009-06-28 17:31           ` Julien Boibessot

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