Thread (10 messages) flat view 10 messages, 2 authors, 2017-06-28

Re: what to do with brcm_patchram_plus?

From: Ian Molton <hidden>
Date: 2017-06-26 12:22:15

On 26/06/17 09:33, Loic Poulain wrote:
Hi Ian,  > >> >> # brcm_patchram_plus --patchram 
/lib/firmware/bcm/bcm43430a1.hcd >> --no2bytes --tosleep 1000 --bd_addr 
<my_addr> /dev/ttymxc1 >> >> >> # hciattach /dev/ttymxc1 any >> >> >> As 
I understand it, brcm_patchram_plus just loads firmware into >> the 
chip, and hciattach is just hooking the hci-uart driver to the >> serial 
port as a line discipline? >> >> Is this the correct approach? is there 
a better way to get the >> firmware loaded? >> > > Actually, yes, 
bcm43xx is now "in-kernel" supported (firmware > loading, gpio 
switching, low power mode...). From user-space, you > only have to 
attach your tty with the bcm line discipline. btattach > is the 
preferred way. $ btattach -B /dev/ttyX -P bcm > > What is your platform, 
do you have ACPI or Device-tree support ? any > entry corresponding to 
your bcm controller ?
Oh, thats bloody fantastic - I did look, but must have missed it somehow.

The platform is i.MX6ul, so its device-tree based.

Thanks very much, thats a big help!

I guess I'm going to have to actually figure out how to build the bluez
userspace now, I managed to get stuck on the glib dependency, for some
reason... (my current userspace doesnt have btattach)

-Ian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help