-
-
Save williamfligor/4eff7997d40de2875841570022e32f1a to your computer and use it in GitHub Desktop.
AP6212 Bluetooth Flash and Start
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/etc/init.d/bluetooth start | |
echo 205 > /sys/class/gpio/export # BT-RESET | |
echo 8 > /sys/class/gpio/export # BT-WAKE | |
echo out > /sys/class/gpio/gpio205/direction | |
echo out > /sys/class/gpio/gpio8/direction | |
echo -n " " > /dev/ttyS3 | |
sleep 1 | |
echo 0 > /sys/class/gpio/gpio205/value && echo 1 > /sys/class/gpio/gpio205/value | |
sleep 1 | |
echo -n " " > /dev/ttyS3 | |
cat /proc/tty/driver/serial | |
sleep 1 | |
brcm_patchram_plus -d --patchram /etc/firmware/ap6212/4343A0.hcd --bd_addr 11:22:33:44:55:66 --no2bytes --tosleep 1000 /dev/ttyS3 | |
sleep 1 | |
hciattach /dev/ttyS3 any | |
hciconfig hci0 up |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With dts
haven't been able to get rfkill to do anything