opicm4: Wifi updated to ap6256
This commit is contained in:
parent
58dc150128
commit
50d9ccad68
|
|
@ -2,8 +2,6 @@
|
|||
BOARD_NAME="OPI CM4"
|
||||
BOARDFAMILY="rockchip-rk356x"
|
||||
BOOTCONFIG="orangepi-cm4-rk3566_defconfig"
|
||||
MODULES="sprdbt_tty sprdwl_ng"
|
||||
MODULES_BLACKLIST_LEGACY="bcmdhd"
|
||||
KERNEL_TARGET="legacy"
|
||||
BOOT_LOGO="desktop"
|
||||
BOOT_SUPPORT_SPI="yes"
|
||||
|
|
|
|||
|
|
@ -302,11 +302,14 @@ prepare_board() {
|
|||
amixer -c 0 cset name='Playback Path' HP > /dev/null 2>&1
|
||||
amixer -c 0 cset name='Capture MIC Path' 'Main Mic' > /dev/null 2>&1
|
||||
|
||||
if [[ $BOARD == orangepi3b ]]; then
|
||||
rfkill unblock all
|
||||
/usr/bin/hciattach_opi -n -s 1500000 /dev/ttyBT0 sprd &
|
||||
#rfkill unblock all
|
||||
#brcm_patchram_plus --bd_addr_rand --enable_hci --no2bytes --use_baudrate_for_download --tosleep 200000 \
|
||||
# --baudrate 1500000 --patchram /lib/firmware/cyw43455/BCM4345C0.hcd /dev/ttyS1 &
|
||||
elif [[ $BOARD == orangepicm4 ]]; then
|
||||
rfkill unblock all
|
||||
brcm_patchram_plus --bd_addr_rand --enable_hci --no2bytes --use_baudrate_for_download --tosleep 200000 \
|
||||
--baudrate 1500000 --patchram /lib/firmware/BCM4345C0.hcd /dev/ttyS1 &
|
||||
fi
|
||||
;;
|
||||
|
||||
esac
|
||||
|
|
|
|||
Loading…
Reference in New Issue