Re: what to do with brcm_patchram_plus?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux