2012-08-14 14:24:49

by Jesse Sung

[permalink] [raw]
Subject: [RFC][PATCH 0/2] broadcom patchram firmware loader


There is a user space firmware loading tool which can be found at
http://article.gmane.org/gmane.linux.bluez.kernel/17932

This tool requires hci device to do the firmware loading, but this
may cause some race condition between patchram tool and bluetoothd
or something that also works on hci interface.

Also it needs some hooks to make firmware loads after bootup, s3,
s4, rfkill, and device hotplug events. Implement this loader in kernel
module would make things more easier.


Wen-chien Jesse Sung (2):
Implement broadcom patchram firmware loader
Cache firmware images for later use

drivers/bluetooth/btusb.c | 154 ++++++++++++++++++++++++++++++++++++++++++---
1 file changed, 147 insertions(+), 7 deletions(-)

--
1.7.9.5


2012-08-14 14:24:50

by Jesse Sung

[permalink] [raw]
Subject: [RFC][PATCH 1/2] Implement broadcom patchram firmware loader


Signed-off-by: Wen-chien Jesse Sung <[email protected]>
---
drivers/bluetooth/btusb.c | 109 ++++++++++++++++++++++++++++++++++++++++++---
1 file changed, 103 insertions(+), 6 deletions(-)


Attachments:
0001-Implement-broadcom-patchram-firmware-loader.patch (4.98 kB)

2012-08-14 14:24:51

by Jesse Sung

[permalink] [raw]
Subject: [RFC][PATCH 2/2] Cache firmware images for later use


Since request_firmware() may fail when resume from suspend, store
used firmware image in ram to make sure that we can have what we need
on resume.

Signed-off-by: Wen-chien Jesse Sung <[email protected]>
---
drivers/bluetooth/btusb.c | 77 +++++++++++++++++++++++++++++++++++----------
1 file changed, 60 insertions(+), 17 deletions(-)


Attachments:
0002-Cache-firmware-images-for-later-use.patch (4.29 kB)