2004-03-03 10:46:32

by Tobias Sprafke

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

Hi all,

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.
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?

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 ... :-)

FYI:
We currenty use:
Axis Devboard 82 (Linux Kernel 2.4.22)
CSR Casira Bluetooth Devboard
(Connected via USB)

We have installed on our computer:
Redhat 9 (with BlueZ)
Cris 1.54
Devboead_82 R1_91



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel


2004-03-03 14:24:32

by Marcel Holtmann

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

Hi Tobias,

> 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.

what are you talking about? What do you have solved?

> 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?

In general it should be enough to set some environment variables like CC
and LD and then call configure with it.

env CC="cris-gcc" LD="cris-ld" ./configure

Regards

Marcel




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2004-08-26 19:20:32

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] Little Hexdump-Patch for hcidump

Hi Till,

> > please send me a patch (diff -u) and adjust a little bit your coding
> > style to match the other sources of hcidump.
> Sorry ... of course .. here you go

with a deeper indentation this output will cross the 78 chars width
marker and so I included it as another dump option. You must use -X to
activate this ext_dump() feature.

Regards

Marcel




-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2004-08-26 18:35:25

by Till Harbaum

[permalink] [raw]
Subject: Re: [Bluez-devel] Little Hexdump-Patch for hcidump

On Thursday 26 August 2004 19:03, Marcel Holtmann wrote:
> please send me a patch (diff -u) and adjust a little bit your coding
> style to match the other sources of hcidump.
Sorry ... of course .. here you go

Ciao,
Till

--
Dr.Ing. Till Harbaum, [email protected]


Attachments:
(No filename) (268.00 B)
hexdump.patch (1.17 kB)
Download all attachments

2004-08-26 17:03:42

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] Little Hexdump-Patch for hcidump

Hi Till,

> in every new release of hcidump i have been replacing the built-in
> hexdump routine with my own one (giving the address and ascii as well).
>
> Perhaps you want to use this replacement in hcidump/parser/parser.c
>
> The hex output is very useful for me and e.g. just being able to see ascii
> strings inside rfcomm payload is something i really often need.
>
> Feel free to include it into the public version if you like to ...

please send me a patch (diff -u) and adjust a little bit your coding
style to match the other sources of hcidump.

Regards

Marcel




-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2004-08-26 16:44:20

by Till Harbaum

[permalink] [raw]
Subject: [Bluez-devel] Little Hexdump-Patch for hcidump

Hi all,

in every new release of hcidump i have been replacing the built-in
hexdump routine with my own one (giving the address and ascii as well).

Perhaps you want to use this replacement in hcidump/parser/parser.c

The hex output is very useful for me and e.g. just being able to see ascii
strings inside rfcomm payload is something i really often need.

Feel free to include it into the public version if you like to ...

Regards,
Till


void hex_dump(int level, struct frame *frm, int num)
{
unsigned char *buf = frm->ptr;
register int i,n,b2c;

if ((num < 0) || (num > frm->len))
num = frm->len;

n = 0;
while(num>0) {
p_indent(level, frm);
printf("%04x: ", n);

b2c = (num>16)?16:num;

for(i=0;i<b2c;i++) printf("%02x ", buf[i]);
for(i=0;i<(16-b2c);i++) printf(" ");
printf(" ");

for(i=0;i<b2c;i++) printf("%c", isprint(buf[i])?buf[i]:'.');
printf("\n");

buf += b2c;
num -= b2c;
n += b2c;
}
}

--
Dr.-Ing. Till Harbaum Tel.: +49 721 4998963
BeeCon GmbH Fax: +49 721 4998962
Haid-und-Neu Strasse 7, 76131 Karlsruhe Mobil: +49 179 9087904
[email protected] http://www.beecon.de



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2004-08-05 12:45:13

by Peter Kjellerstedt

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

The errors below do not look like they have anything to do with
BlueZ, but rather with your DevBoard installation. Try asking
the question again on the correct list (i.e., [email protected])
and provide more information as to what you have changed.=20

Here are some points you can investigate yourself first though:

Make sure the libbluetooth.so library is compiled for CRIS=20
(you can check with 'readelf -h libbluetooth.so.1.0.3').

The error about ld-linux.so.2 indicates that you have built
something (probably the libbluetooth.so library) for glibc
rather than uClibc...

//Peter

> -----Original Message-----
> From: [email protected]=20
> [mailto:[email protected]] On Behalf Of=20
> "Daniel W=FCrfel"
> Sent: 05 August 2004 12:51
> To: [email protected]
> Subject: [Bluez-devel] Bluez on Axis DevBoard 82
>=20
> Hi,
>=20
> I use the kernel 2.4.22 and bluez-utils-2.5 and=20
> bluez-libs-2.4, bacause I have a Makefile for the=20
> bluetooth-directory that should work. But I am not sure. make=20
> install works fine, but when I want to make images, I always=20
> get an error.=20
> I have searched in the archive for hints, but those I found=20
> (including a Makefile) have not solved this problem.
> Can anybody help me?
> Has anybody a better working Makefile for those versions or=20
> even for the latest versions of bluez?
> Thanks,
> Daniel W=FCrfel
>=20
> [root@localhost devboard_82]# make images
> ##### Including needed shared library files #####
> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
> LANGUAGE =3D (unset),
> LC_ALL =3D "CC",
> LC_LANG =3D "CC",
> LANG =3D "CC"
> are supported and installed on your system.
> perl: warning: Falling back to the standard locale ("C").
> strip-cris: Warning: Output file cannot represent=20
> architecture UNKNOWN!
> libbluetooth.so.1 -> libbluetooth.so.1.0.3
> #### No ld-linux.so.2 in=20
> /var/test/axis/devboard_82/target/cris-axis-linux-gnu/usr/lib=20
> /var/test/axis/devboard_82/target/cris-axis-linux-gnu/lib
> make: *** [cramfs.img] Error 1
> [root@localhost devboard_82]#


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. http://www.ostg.com
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel