Skip to content

Commit 584cca2

Browse files
authored
Update start_service.sh
fix error
1 parent 76995be commit 584cca2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

build-armbian/armbian-files/common-files/etc/custom_service/start_service.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,12 @@ ophub_release_file="/etc/ophub-release"
4747

4848
# For smart-am60(rk3588) board Bluetooth contrl
4949
[[ "${BOARD_FDT}" == "rk3588-smart-am60.dtb" ]] && {
50+
rfkill block all
51+
chmod a+x /lib/firmware/ap6276p/brcm_patchram_plus1
52+
sleep .5
5053
rfkill unblock all
51-
bash /lib/firmware/ap6276p/ap6276p_bt.sh
54+
/lib/firmware/ap6276p/brcm_patchram_plus1 --enable_hci --no2bytes --use_baudrate_for_download --tosleep 200000 --baudrate 1500000 --patchram /lib/firmware/ap6276p/ /dev/ttyS9 &
55+
5256
echo "[$(date +"%Y.%m.%d.%H:%M:%S")] Bluetooth firmware successfully download on Smart-am60(rk3588)." >>${custom_log}
5357
}
5458

0 commit comments

Comments
 (0)