Re: what to do with brcm_patchram_plus?
From: Loic Poulain <hidden>
Date: 2017-06-26 08:33:56
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 ?
Regards,
Loic