bluetooth: update binary files for the new driver

The new driver uses the same files for both platforms (6564,
6574). The specific platform binaries have been removed.

Now the modifications of the nvm_tlv_3.2 to disable the IBS
is done by the recipe.

The disable of the deep sleep and the enable of the internal
clock is done in the recipe only for the CC6UL.

We have used the files from the following repo:
qca6574au-le-2-2-2_qca_oem -> 4d29c6886f2Commit label r00005.1
- CS2.2 0.0.005.1

md5sum
------------------------------------------------------------
nvm_tlv_3.2.bin      -> a97cdfe80e8109cf3574f74cd3c73fc7
rampatch_tlv_3.2.tlv -> 72d28614afd0abe5846c1758099282e3

https://jira.digi.com/browse/DEL-6766

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
This commit is contained in:
Francisco Gil 2020-01-13 17:07:55 +01:00
parent f1d994bdc2
commit b6e2a0b710
5 changed files with 12 additions and 2 deletions

View File

@ -10,8 +10,8 @@ QUALCOMM_WIFI_DRIVER ?= "proprietary"
# Bluetooth firmware files # Bluetooth firmware files
FW_QUALCOMM_BT = " \ FW_QUALCOMM_BT = " \
file://${QCA_MODEL}_bt/nvm_tlv_3.2.bin \ file://qca65X4_bt/nvm_tlv_3.2.bin \
file://${QCA_MODEL}_bt/rampatch_tlv_3.2.tlv \ file://qca65X4_bt/rampatch_tlv_3.2.tlv \
" "
# Firmware files for QCA6564 (Qualcomm proprietary driver) # Firmware files for QCA6564 (Qualcomm proprietary driver)
@ -81,6 +81,16 @@ do_install() {
ln -s otp30.bin ${D}${WIFI_FW_PATH}/athsetup.bin ln -s otp30.bin ${D}${WIFI_FW_PATH}/athsetup.bin
fi fi
fi fi
# Disable IBS over H4 for all the platforms in the bluetooth firmware
printf \"\\x02\" | dd of="${D}${base_libdir}/firmware/qca/nvm_tlv_3.2.bin" bs=1 seek=54 count=1 conv=notrunc,fsync
}
do_install_append_ccimx6ul() {
# Disable DEEP SLEEP in the bluetooth firmware
printf \"\\x00\" | dd of="${D}${base_libdir}/firmware/qca/nvm_tlv_3.2.bin" bs=1 seek=74 count=1 conv=notrunc,fsync
# Enable Internal Clock in the bluetooth firmware
printf \"\\x01\\x00\" | dd of="${D}${base_libdir}/firmware/qca/nvm_tlv_3.2.bin" bs=1 seek=93 count=2 conv=notrunc,fsync
} }
QCA_MODEL ?= "qca6564" QCA_MODEL ?= "qca6564"