2004-03-08 14:14:33

by Eric Chapman

[permalink] [raw]
Subject: [Bluez-devel] Re: Bluez on Axis DevBoard 82

Hi Tobias,

At your institute we are also trying to use an axis devboard to
experiment with bluetooth applications. One of the primary goals is to
get Bluez running on the board

> we need help to compile and install Bluez on the Axis Devboard 82
with > a cross-compiler.
>
> The DevBoard-Software is running on our computer and we flashed the
> new kernel on the DevBoard successful.
>
> We solved the kernel part of bluez as well, but we don't know, how to
> configure and install the other parts.

I suppose you mean that you made the Kernel USB-ready for a USB
Bluettooth adapter?

> We need the packages bluez-libs, -utils, -sdp and -pan on the
> DevBoard.
>
> Can somebody give as an example for how to compile such a package with
> cris-gcc?

To my knowledge (and according to axis) there is no straightforward way
to do this. The libs, I got to compile, but they do you no good all by
themselves. I for my part have tried to autocompile the libs, utils etc
with no luck for axis (using command-line lib invocation, config.site an
shell parameters the way Marcel suggests). The only way I have found to
work is to manually write a makefile from scratch which will then
compile hciattach, hcitool...
hcid poses a problem because of the need for ybison to parse the conf file.
At this point the trouble is to get these things to compile using the
axis top-level makefile so that the binaries may be flashed to the board
and be used as applications

greets, Eric

--
Eric Chapman

-----------------
Lehrstuhl f?r Nachrichtentechnik
Universit?t des Saarlandes

--
Eric Chapman

-----------------
Lehrstuhl f?r Nachrichtentechnik
Universit?t des Saarlandes
Postfach 15 11 50
D-66041 Saarbr?cken
Tel: +49 681 302 3975
Fax: +49 681 302 3972
Web: http://www.lnt.uni-saarland.de




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel


2004-03-08 17:32:38

by Eric Chapman

[permalink] [raw]
Subject: Re: [Bluez-devel] Re: Bluez on Axis DevBoard 82

This only relates to the kernel sources within the axis devboard=20
developer environment. It seems to me, that this is wanted, because Axis=20
are aware of it, since one of their developers pointed me there.

Tobias' description of the solution is also what I had to do. Speaking=20
of which: Tobias, how did you find the solution?

On an different note, Tobias pointed me to another person who is trying=20
to get a similar hardware config to work. His config freezes up upon=20
doing a hcitool scan (inq works fine). I am using a USB and a serial=20
Bluetooth interface. USB freezes on scan, the serial one doesn't. They=20
are both CSR HCI 16.4

Any Ideas?


Marcel Holtmann wrote:

> Hi Tobias,
>=20
>=20
>>with "kernel part of bluez" I really mean this part of bluez,
>>which could be configured in the linux kernel.
>>After installing the Axis-DevBoard-Software, there isn't a submenu for
>>Bluetooth anymore
>>when running "make xconfig" ...
>=20
>=20
> this must be a bug. What kernel do you use? Maybe it is some Axis OpenB=
T
> specific cruft of the Cris architecture. If so, it must be removed and
> patches are welcome.
>=20
> Regards
>=20
> Marcel
>=20
>=20
>=20

--=20
Eric Chapman

-----------------
Lehrstuhl f=FCr Nachrichtentechnik
Universit=E4t des Saarlandes
Postfach 15 11 50
D-66041 Saarbr=FCcken
Tel: +49 681 302 3975
Fax: +49 681 302 3972
Web: http://www.lnt.uni-saarland.de



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2004-03-08 17:32:07

by Tobias Sprafke

[permalink] [raw]
Subject: AW: [Bluez-devel] Re: Bluez on Axis DevBoard 82

Hi Marcel,

I use the kernel 2.4.22. (This is the latest tested version for the Axis
Devboard 82)


The line
"source net/bluetooth/Config.in"
is missing in the linux/arch/cris/config.in file.


Regards
Tobias Sprafke

Mobile: +49 (0) 177 64 32 313
Fon: +49 (0) 208 75 10 123
E-Mail: [email protected]

Have a lot of fun ... :-)

-----Urspr?ngliche Nachricht-----
Von: Marcel Holtmann [mailto:[email protected]]
Gesendet: Montag, 8. M?rz 2004 18:02
An: Tobias Sprafke
Cc: Eric Chapman; BlueZ Mailing List
Betreff: Re: [Bluez-devel] Re: Bluez on Axis DevBoard 82


Hi Tobias,

> with "kernel part of bluez" I really mean this part of bluez,
> which could be configured in the linux kernel.
> After installing the Axis-DevBoard-Software, there isn't a submenu for
> Bluetooth anymore
> when running "make xconfig" ...

this must be a bug. What kernel do you use? Maybe it is some Axis OpenBT
specific cruft of the Cris architecture. If so, it must be removed and
patches are welcome.

Regards

Marcel

2004-03-08 17:01:36

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] Re: Bluez on Axis DevBoard 82

Hi Tobias,

> with "kernel part of bluez" I really mean this part of bluez,
> which could be configured in the linux kernel.
> After installing the Axis-DevBoard-Software, there isn't a submenu for
> Bluetooth anymore
> when running "make xconfig" ...

this must be a bug. What kernel do you use? Maybe it is some Axis OpenBT
specific cruft of the Cris architecture. If so, it must be removed and
patches are welcome.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2004-03-08 15:59:28

by Tobias Sprafke

[permalink] [raw]
Subject: AW: [Bluez-devel] Re: Bluez on Axis DevBoard 82

Hi Eric, hi Marcel,

with "kernel part of bluez" I really mean this part of bluez,
which could be configured in the linux kernel.
After installing the Axis-DevBoard-Software, there isn't a submenu for
Bluetooth anymore
when running "make xconfig" ...


Right, the best way to install bluez, is to write an own
"Bluez-Toplevel-Makefile".
Read more about an example for a Makefile at:
http://mhonarc.axis.se/bluetooth-dev/msg04154.html

Regards
Tobias Sprafke

Mobile: +49 (0) 177 64 32 313
Fon: +49 (0) 208 75 10 123
E-Mail: [email protected]

-----Urspr=FCngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]]Im Auftrag von Eric
Chapman
Gesendet: Montag, 8. M=E4rz 2004 15:15
An: [email protected]
Betreff: [Bluez-devel] Re: Bluez on Axis DevBoard 82


Hi Tobias,

At your institute we are also trying to use an axis devboard to
experiment with bluetooth applications. One of the primary goals is to
get Bluez running on the board

> we need help to compile and install Bluez on the Axis Devboard 82
with > a cross-compiler.
>
> The DevBoard-Software is running on our computer and we flashed the
> new kernel on the DevBoard successful.
>
> We solved the kernel part of bluez as well, but we don't know, how to
> configure and install the other parts.

I suppose you mean that you made the Kernel USB-ready for a USB
Bluettooth adapter?

> We need the packages bluez-libs, -utils, -sdp and -pan on the
> DevBoard.
>
> Can somebody give as an example for how to compile such a package with
> cris-gcc?

To my knowledge (and according to axis) there is no straightforward way
to do this. The libs, I got to compile, but they do you no good all by
themselves. I for my part have tried to autocompile the libs, utils etc
with no luck for axis (using command-line lib invocation, config.site an
shell parameters the way Marcel suggests). The only way I have found to
work is to manually write a makefile from scratch which will then
compile hciattach, hcitool...
hcid poses a problem because of the need for ybison to parse the conf fil=
e.
At this point the trouble is to get these things to compile using the
axis top-level makefile so that the binaries may be flashed to the board
and be used as applications

greets, Eric

--
Eric Chapman

-----------------
Lehrstuhl f=FCr Nachrichtentechnik
Universit=E4t des Saarlandes

--
Eric Chapman

-----------------
Lehrstuhl f=FCr Nachrichtentechnik
Universit=E4t des Saarlandes
Postfach 15 11 50
D-66041 Saarbr=FCcken
Tel: +49 681 302 3975
Fax: +49 681 302 3972
Web: http://www.lnt.uni-saarland.de




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=3D1470&alloc_id=3D3638&op=3Dcli=
ck
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel