Linux bluetooth development
 help / color / mirror / Atom feed
* How to add firmware uploader function to Bluez?
@ 2011-11-02  7:55 Al Cho
  2011-11-02  8:03 ` Andrei Emeltchenko
  2011-11-02 14:15 ` Marcel Holtmann
  0 siblings, 2 replies; 6+ messages in thread
From: Al Cho @ 2011-11-02  7:55 UTC (permalink / raw)
  To: marcel, padovan, linux-bluetooth; +Cc: oneukum, acho, jlee

Hi All,

Broadcom BT4.0 module 0a5c:21e1 and 0a5c:21e3 need firmware
to setup(enable) at the first time we use.
We got the firmware and firmware uploader (brcm_patchram_plus_usb )
( user space tool ) from Broadcom ,the Licence is GPLv2,
would it possible that add those to bluez package?or any idea for this?

please correct me if i got any mistake,thanks.

Sincerely,
        	AL

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

* Re: How to add firmware uploader function to Bluez?
  2011-11-02  7:55 How to add firmware uploader function to Bluez? Al Cho
@ 2011-11-02  8:03 ` Andrei Emeltchenko
  2011-11-02 10:00   ` Al Cho
  2011-11-02 14:15 ` Marcel Holtmann
  1 sibling, 1 reply; 6+ messages in thread
From: Andrei Emeltchenko @ 2011-11-02  8:03 UTC (permalink / raw)
  To: Al Cho; +Cc: marcel, padovan, linux-bluetooth, oneukum, jlee

Hi AL,

On Wed, Nov 02, 2011 at 03:55:50PM +0800, Al Cho wrote:
> Hi All,
> 
> Broadcom BT4.0 module 0a5c:21e1 and 0a5c:21e3 need firmware
> to setup(enable) at the first time we use.
> We got the firmware and firmware uploader (brcm_patchram_plus_usb )
> ( user space tool ) from Broadcom ,the Licence is GPLv2,
> would it possible that add those to bluez package?or any idea for this?

Should firmware come to linux-firmware package?

Description: Firmware for Linux kernel drivers
 This package provides firmware used by Linux kernel drivers.

Do not know about "firmware-loader", probably we need to use available tools.

Best regards 
Andrei Emeltchenko 

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

* Re: How to add firmware uploader function to Bluez?
  2011-11-02  8:03 ` Andrei Emeltchenko
@ 2011-11-02 10:00   ` Al Cho
  2011-11-02 10:17     ` Andrei Emeltchenko
  0 siblings, 1 reply; 6+ messages in thread
From: Al Cho @ 2011-11-02 10:00 UTC (permalink / raw)
  To: Andrei Emeltchenko, Al Cho, marcel, padovan, linux-bluetooth,
	oneukum, jlee

Hi Andrei,

On Wed, Nov 2, 2011 at 4:03 PM, Andrei Emeltchenko
<andrei.emeltchenko.news@gmail.com> wrote:
> Hi AL,
>
> On Wed, Nov 02, 2011 at 03:55:50PM +0800, Al Cho wrote:
>> Hi All,
>>
>> Broadcom BT4.0 module 0a5c:21e1 and 0a5c:21e3 need firmware
>> to setup(enable) at the first time we use.
>> We got the firmware and firmware uploader (brcm_patchram_plus_usb )
>> ( user space tool ) from Broadcom ,the Licence is GPLv2,
>> would it possible that add those to bluez package?or any idea for this?
>
> Should firmware come to linux-firmware package?
>

Yes, I think so,
but 0a5c:21e1 and 0a5c:21e3 use btusb driver,
this firmware use at the first time to enable only,
and that firmware uploader need to use the bluez hci library.
So I guess add those to bluez would be better.

> Description: Firmware for Linux kernel drivers
>  This package provides firmware used by Linux kernel drivers.
>
> Do not know about "firmware-loader", probably we need to use available tools.
>


BR,
    AL

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

* Re: How to add firmware uploader function to Bluez?
  2011-11-02 10:00   ` Al Cho
@ 2011-11-02 10:17     ` Andrei Emeltchenko
  0 siblings, 0 replies; 6+ messages in thread
From: Andrei Emeltchenko @ 2011-11-02 10:17 UTC (permalink / raw)
  To: Al Cho; +Cc: marcel, padovan, linux-bluetooth, oneukum, jlee

Hi AL,

On Wed, Nov 02, 2011 at 06:00:48PM +0800, Al Cho wrote:
> Hi Andrei,
> 
> On Wed, Nov 2, 2011 at 4:03 PM, Andrei Emeltchenko
> <andrei.emeltchenko.news@gmail.com> wrote:
> > Hi AL,
> >
> > On Wed, Nov 02, 2011 at 03:55:50PM +0800, Al Cho wrote:
> >> Hi All,
> >>
> >> Broadcom BT4.0 module 0a5c:21e1 and 0a5c:21e3 need firmware
> >> to setup(enable) at the first time we use.
> >> We got the firmware and firmware uploader (brcm_patchram_plus_usb )
> >> ( user space tool ) from Broadcom ,the Licence is GPLv2,
> >> would it possible that add those to bluez package?or any idea for this?
> >
> > Should firmware come to linux-firmware package?
> >
> 
> Yes, I think so,
> but 0a5c:21e1 and 0a5c:21e3 use btusb driver,
> this firmware use at the first time to enable only,
> and that firmware uploader need to use the bluez hci library.

IMO the standard way is to use request_firmware like for ath3k:

request_firmware(&firmware, "ath3k-1.fw", &udev->dev)

> So I guess add those to bluez would be better.

Most probably that "firmware loader" might be implemented in module as for
other devices as it is usually just a sequence of HCI commands.

Have a look at other BCM modules in drivers/bluetooth/bcm*

Best regards 
Andrei Emeltchenko 

> 
> > Description: Firmware for Linux kernel drivers
> >  This package provides firmware used by Linux kernel drivers.
> >
> > Do not know about "firmware-loader", probably we need to use available tools.
> >


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

* Re: How to add firmware uploader function to Bluez?
  2011-11-02  7:55 How to add firmware uploader function to Bluez? Al Cho
  2011-11-02  8:03 ` Andrei Emeltchenko
@ 2011-11-02 14:15 ` Marcel Holtmann
  2011-11-15  3:18   ` Al Cho
  1 sibling, 1 reply; 6+ messages in thread
From: Marcel Holtmann @ 2011-11-02 14:15 UTC (permalink / raw)
  To: Al Cho; +Cc: padovan, linux-bluetooth, oneukum, jlee

Hi Al,

> Broadcom BT4.0 module 0a5c:21e1 and 0a5c:21e3 need firmware
> to setup(enable) at the first time we use.
> We got the firmware and firmware uploader (brcm_patchram_plus_usb )
> ( user space tool ) from Broadcom ,the Licence is GPLv2,
> would it possible that add those to bluez package?or any idea for this?
> 
> please correct me if i got any mistake,thanks.

can you post these firmware loader as a patch to this mailing list? Then
we can discuss on how to integrate it best.

Regards

Marcel



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

* Re: How to add firmware uploader function to Bluez?
  2011-11-02 14:15 ` Marcel Holtmann
@ 2011-11-15  3:18   ` Al Cho
  0 siblings, 0 replies; 6+ messages in thread
From: Al Cho @ 2011-11-15  3:18 UTC (permalink / raw)
  To: Marcel Holtmann, padovan, linux-bluetooth; +Cc: oneukum, jlee

Hi All,

Would anyone could give me help kindly?
I have sent the firmware uploader source code as a patch to this mailing list,
named: "How to add firmware uploader function to Bluez? (Broadcom
firmware uploader)"
There are Make file and source code "brcm_patchram_plus_usb.c" in this patch.
If you want to compiler this use "make" and need bluez-devel package
for bluetooth.h,
hci.h , and hci_lib.h..

I don't have enough knowledge about Bluez tool rules ,please correct
me if i got any mistake.

Sincerely,
              AL


On Wed, Nov 2, 2011 at 10:15 PM, Marcel Holtmann <marcel@holtmann.org> wrote:
> Hi Al,
>
>> Broadcom BT4.0 module 0a5c:21e1 and 0a5c:21e3 need firmware
>> to setup(enable) at the first time we use.
>> We got the firmware and firmware uploader (brcm_patchram_plus_usb )
>> ( user space tool ) from Broadcom ,the Licence is GPLv2,
>> would it possible that add those to bluez package?or any idea for this?
>>
>> please correct me if i got any mistake,thanks.
>
> can you post these firmware loader as a patch to this mailing list? Then
> we can discuss on how to integrate it best.
>
> Regards
>
> Marcel
>
>
>



-- 
Al Yu-Chen Cho
Software Engineer
Room B, 26/F, No. 216 Tun-Hwa S. Road, Sec. 2
Taipei, 106
+8862-2376-0010 X20031
acho@suse.com
SUSE

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

end of thread, other threads:[~2011-11-15  3:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-02  7:55 How to add firmware uploader function to Bluez? Al Cho
2011-11-02  8:03 ` Andrei Emeltchenko
2011-11-02 10:00   ` Al Cho
2011-11-02 10:17     ` Andrei Emeltchenko
2011-11-02 14:15 ` Marcel Holtmann
2011-11-15  3:18   ` Al Cho

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