Skip to contentSkip to conversation

dfutool - IBM X23 refuses to update ;)

Bluez-devel Nils Faerber 2 participants 5 messages Oct 21, 2005 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all!
Some time ago I purchased an IBM X23 notebook (nice thing BTW) with Bluetooth. The Bluetooth chip is, of course, a CSR one, labeled as ITSE. IBM offers a Bluetooth firmware upgrade for it to help support of multiple connections.
So I would like to upgrade my firmware using the dfutool. IBM's uprade file can easily be unpacked and what you get is the, I guess, proper DFU file for the upgrade.

Using the dfutool I can nicely backup my firmware to a file - works like charm!
But when I try to flash the new firmware the dfutool waits a couple of seconds at "switching device to dfu mode", then sais "Dowloading firmware" without progress indication and then sais "Can't get status:
Broken pipe (32)".

Pity, so close but yet so far ;)

If it is of help I can provide the original and update firmware files. Here is additonally what hciconfig tells me about my chip:

root@miu:~ # hciconfig hci0 revision
hci0: Type: USB
BD Address: 00:80:98:24:80:BE ACL MTU: 128:8 SCO MTU: 64:8 HCI 11.3
Chip version: BlueCore01b
SCO mapping: HCI

root@miu:~ # hciconfig hci0 version
hci0: Type: USB

        BD Address: 00:80:98:24:80:BE ACL MTU: 128:8  SCO MTU: 64:8
        HCI Ver: 1.1 (0x1) HCI Rev: 0x73 LMP Ver: 1.1 (0x1) LMP Subver: 0x73
        Manufacturer: Cambridge Silicon Radio (10)

And this is the name of the new firmware file

	ITSE_00003_07_IBM_BDC_Firmware128_Rev310.dfu

So, does anyone have an idea how to debug or even fix this? If yes, I would be quite glad ;)

Cheers
nils faerber

- --
kernel concepts Tel: +49-271-771091-12
Dreisbachstr. 24 Fax: +49-271-771091-19
D-57250 Netphen Mob: +49-176-21024535
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDWRRUJXeIURG1qHgRAj9zAJ44uxswEeiI7QGqOs/xTTHzZxWRbgCglEIE bH8E26NDvBvH0gev1KSCMlc=
=XgsB
-----END PGP SIGNATURE-----

-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hmm... I just compared the original DFU and the upgrade DFU using the verify option:

./dfutool verify ITSE_00003_07_IBM_BDC_Firmware128_Rev310.dfu

Filename        ITSE_00003_07_IBM_BDC_Firmware128_Rev310.dfu
Filesize        338168
Checksum        b589a143
DFU suffix      10 03 ff ff ff ff 00 01 55 46 44 10 43 a1 89 b5
idVendor        ffff
idProduct       ffff
bcdDevice       310
bcdDFU          1.0
ucDfuSignature  DFU
bLength         16
dwCRC           b589a143
Firmware type   CSR-dfu1
Firmware check  valid checksum

./dfutool verify org.dfu

Filename        org.dfu
Filesize        320480
Checksum        8c89a52e
DFU suffix      15 01 10 03 bf 04 00 01 55 46 44 10 2e a5 89 8c
idVendor        04bf
idProduct       0310
bcdDevice       115
bcdDFU          1.0
ucDfuSignature  DFU
bLength         16
dwCRC           8c89a52e
Firmware type   CSR-dfu1
Firmware check  valid checksum

Might the missing product and vendor ID be the problem with upgrade file? Can/should I try to change those?

Cheers
nils faerber

- --
kernel concepts Tel: +49-271-771091-12
Dreisbachstr. 24 Fax: +49-271-771091-19
D-57250 Netphen Mob: +49-176-21024535
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDWReOJXeIURG1qHgRAtC7AJ9iAvwadWMke5r0twPZ4G3ypUiUpQCdEPGa wmpwY6FRUXWUpRh8Zopeh4A=
=cx8b
-----END PGP SIGNATURE-----

-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

maintainer
#2 lore raw

Hi Nils,

Quoted 34 lines

Hmm... I just compared the original DFU and the upgrade DFU using the verify option:

./dfutool verify ITSE_00003_07_IBM_BDC_Firmware128_Rev310.dfu

Filename        ITSE_00003_07_IBM_BDC_Firmware128_Rev310.dfu
Filesize        338168
Checksum        b589a143
DFU suffix      10 03 ff ff ff ff 00 01 55 46 44 10 43 a1 89 b5
idVendor        ffff
idProduct       ffff
bcdDevice       310
bcdDFU          1.0
ucDfuSignature  DFU
bLength         16
dwCRC           b589a143
Firmware type   CSR-dfu1
Firmware check  valid checksum

./dfutool verify org.dfu

Filename        org.dfu
Filesize        320480
Checksum        8c89a52e
DFU suffix      15 01 10 03 bf 04 00 01 55 46 44 10 2e a5 89 8c
idVendor        04bf
idProduct       0310
bcdDevice       115
bcdDFU          1.0
ucDfuSignature  DFU
bLength         16
dwCRC           8c89a52e
Firmware type   CSR-dfu1
Firmware check  valid checksum
Quoted 2 lines

Might the missing product and vendor ID be the problem with upgrade file? Can/should I try to change those?

no, because dfutool simply ignores them.

Regards

Marcel

-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#3 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 1 line · Marcel Holtmann

Hi Nils,

Hi!

Too bad ... so I really have to install Windows to do this!? Too bad too bad ;)

Thanks, anyway!

Cheers
nils

Quoted 47 lines
Quoted 34 lines

Hmm... I just compared the original DFU and the upgrade DFU using the verify option:

./dfutool verify ITSE_00003_07_IBM_BDC_Firmware128_Rev310.dfu

Filename        ITSE_00003_07_IBM_BDC_Firmware128_Rev310.dfu
Filesize        338168
Checksum        b589a143
DFU suffix      10 03 ff ff ff ff 00 01 55 46 44 10 43 a1 89 b5
idVendor        ffff
idProduct       ffff
bcdDevice       310
bcdDFU          1.0
ucDfuSignature  DFU
bLength         16
dwCRC           b589a143
Firmware type   CSR-dfu1
Firmware check  valid checksum

./dfutool verify org.dfu

Filename        org.dfu
Filesize        320480
Checksum        8c89a52e
DFU suffix      15 01 10 03 bf 04 00 01 55 46 44 10 2e a5 89 8c
idVendor        04bf
idProduct       0310
bcdDevice       115
bcdDFU          1.0
ucDfuSignature  DFU
bLength         16
dwCRC           8c89a52e
Firmware type   CSR-dfu1
Firmware check  valid checksum
Quoted 2 lines

Might the missing product and vendor ID be the problem with upgrade file? Can/should I try to change those?

no, because dfutool simply ignores them.

Regards

Marcel

Quoted 8 lines

-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

Viele Grüße
nils faerber

- --
kernel concepts Tel: +49-271-771091-12
Dreisbachstr. 24 Fax: +49-271-771091-19
D-57250 Netphen Mob: +49-176-21024535
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDWR3VJXeIURG1qHgRAsiZAKCe50SQCTqK7N733LaAuyaOjhyG4ACeP33m NR1erickKwba7mi0aHURGAg=
=6FB8
-----END PGP SIGNATURE-----

-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

maintainer
#4 lore raw
In reply to Nils Faerber

Hi Nils,

Quoted 7 lines

Some time ago I purchased an IBM X23 notebook (nice thing BTW) with Bluetooth. The Bluetooth chip is, of course, a CSR one, labeled as ITSE. IBM offers a Bluetooth firmware upgrade for it to help support of multiple connections.
So I would like to upgrade my firmware using the dfutool. IBM's uprade file can easily be unpacked and what you get is the, I guess, proper DFU file for the upgrade.

you can use "verify" to see if the DFU file is at least valid.

Quoted 6 lines

Using the dfutool I can nicely backup my firmware to a file - works like charm!
But when I try to flash the new firmware the dfutool waits a couple of seconds at "switching device to dfu mode", then sais "Dowloading firmware" without progress indication and then sais "Can't get status:
Broken pipe (32)".

The dfutool is not perfect. I only tested it with a small bunch of devices and most of them were BlueCore02 or later.

Quoted 9 lines

If it is of help I can provide the original and update firmware files. Here is additonally what hciconfig tells me about my chip:

root@miu:~ # hciconfig hci0 revision
hci0: Type: USB
BD Address: 00:80:98:24:80:BE ACL MTU: 128:8 SCO MTU: 64:8 HCI 11.3
Chip version: BlueCore01b
SCO mapping: HCI

This is a very old firmware and maybe the boot loader on the chip is even older. Maybe it is broken and need some special tweaks to make it working. Sometimes increasing the timeouts inside the code might help, but you can also render your device useless.

Regards

Marcel

-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel