qca: update wireless driver

Update the wireless driver to a newer version that supports both
chips (qca6574 and qca6564).

We keep the same bdwlan30_US.bin files as the previous version
of the driver (or fakeboard_US for the qca6474).

Rename directories to qca65X4_driver_interface.

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
----------------------------------------------------------
qca65X4_pcie:	otp30.bin   ->	9d1cf03473904bd8b97fa30bc92b4a16
		qwlan30.bin ->	794f7a6f12ef3e6f8db6257b3a6f896f
		utf30.bin   ->	41cfb4e50613cd0eeb0fa99a005131bd
qca65X4_sdio:   otp30.bin   ->	e018e7b629b055dc4616c7e88c615b41
		qwlan30.bin ->	fe37bc043132ecf21e504eb33f46b846
		utf30.bin   ->	4743dee015047752e433e69f4db89974

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:38 +01:00
parent c18a39ab55
commit f1d994bdc2
10 changed files with 19 additions and 29 deletions

View File

@ -15,27 +15,28 @@ FW_QUALCOMM_BT = " \
"
# Firmware files for QCA6564 (Qualcomm proprietary driver)
FW_QCA6564_WIFI_PROPRIETARY = " \
FW_QCA65X4_SDIO_PROPRIETARY = " \
file://bdwlan30_US.bin \
file://LICENCE.atheros_firmware \
file://qca6564_proprietary/otp30.bin \
file://qca6564_proprietary/qwlan30.bin \
file://qca6564_proprietary/utf30.bin \
file://qca65X4_sdio_proprietary/otp30.bin \
file://qca65X4_sdio_proprietary/qwlan30.bin \
file://qca65X4_sdio_proprietary/utf30.bin \
"
# Firmware files for QCA6574 (Qualcomm proprietary driver)
FW_QCA6574_WIFI_PROPRIETARY = " \
FW_QCA65X4_PCIE_PROPRIETARY = " \
file://bdwlan30_US.bin \
file://LICENCE.atheros_firmware \
file://qca6574_proprietary/qwlan30.bin \
file://qca6574_proprietary/fakeboar_US.bin \
file://qca6574_proprietary/otp.bin \
file://qca6574_proprietary/utf.bin \
file://qca65X4_pcie_proprietary/otp30.bin \
file://qca65X4_pcie_proprietary/qwlan30.bin \
file://qca65X4_pcie_proprietary/utf30.bin \
"
# Firmware files for QCA6574 (Qualcomm community driver)
# NOTE: the community file 'board.bin' must be substituted by proprietary
# 'fakeboar_US.bin'
# 'bdwlan30_US.bin'
FW_QCA6574_WIFI_COMMUNITY = " \
file://bdwlan30_US.bin \
file://qca6574_community/board-2.bin \
file://qca6574_community/firmware-4.bin \
file://qca6574_community/firmware-6.bin \
@ -44,8 +45,8 @@ FW_QCA6574_WIFI_COMMUNITY = " \
file://qca6574_proprietary/fakeboar_US.bin \
"
FW_QUALCOMM_WIFI ?= "${FW_QCA6564_WIFI_PROPRIETARY}"
FW_QUALCOMM_WIFI_ccimx8x = "${@oe.utils.conditional('QUALCOMM_WIFI_DRIVER', 'community', '${FW_QCA6574_WIFI_COMMUNITY}', '${FW_QCA6574_WIFI_PROPRIETARY}', d)}"
FW_QUALCOMM_WIFI ?= "${FW_QCA65X4_SDIO_PROPRIETARY}"
FW_QUALCOMM_WIFI_ccimx8x = "${@oe.utils.conditional('QUALCOMM_WIFI_DRIVER', 'community', '${FW_QCA6574_WIFI_COMMUNITY}', '${FW_QCA65X4_PCIE_PROPRIETARY}', d)}"
SRC_URI = " \
${FW_QUALCOMM_BT} \
@ -72,12 +73,12 @@ do_install() {
install -m 0644 ${FW_WIFI_FILES} ${D}${WIFI_FW_PATH}
if [ "${QUALCOMM_WIFI_DRIVER}" = "community" ]; then
# If using community driver, create symlink 'board.bin' to
# proprietary 'fakeboar_US.bin'
ln -s fakeboar_US.bin ${D}${WIFI_FW_PATH}/board.bin
# proprietary 'bdwlan30_US.bin'
ln -s bdwlan30_US.bin ${D}${WIFI_FW_PATH}/board.bin
else
if [ "${FW_QUALCOMM_WIFI}" = "${FW_QCA6574_WIFI_PROPRIETARY}" ]; then
if [ "${FW_QUALCOMM_WIFI}" = "${FW_QCA65X4_PCIE_PROPRIETARY}" ]; then
ln -s qwlan30.bin ${D}${WIFI_FW_PATH}/athwlan.bin
ln -s otp.bin ${D}${WIFI_FW_PATH}/athsetup.bin
ln -s otp30.bin ${D}${WIFI_FW_PATH}/athsetup.bin
fi
fi
}

View File

@ -6,11 +6,9 @@ LICENSE = "ISC"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/ISC;md5=f3b90e78ea0cffb20bf5cca7947a896d"
# Reference Qualcomm tag/version
PV = "v4.2.89.63"
PV_ccimx8x = "v4.0.11.208Q"
PV = "v4.0.11.213X"
SRCBRANCH = "qca6564/master"
SRCBRANCH_ccimx8x = "qca6574/master"
SRCBRANCH = "qca65X4/master"
SRCREV = "${AUTOREV}"
QCOM_GIT_URI = "${@oe.utils.conditional('DIGI_INTERNAL_GIT', '1' , '${DIGI_MTK_GIT}linux/qcacld-2.0.git;protocol=ssh', '${DIGI_GITHUB_GIT}/qcacld-2.0.git;protocol=https', d)}"

View File

@ -109,15 +109,6 @@ esac
BDATA_WW="bdwlan30_World.bin"
BDATA_LINK="bdwlan30.bin"
UTFBDATA_LINK="utfbd30.bin"
elif [ -f "fakeboar_US.bin" ] || [ -f "fakeboar_World.bin" ]; then
BDATA_US="fakeboar_US.bin"
BDATA_WW="fakeboar_World.bin"
# Use different links for propietary and community drivers
if [ -f "board.bin" ]; then
BDATA_LINK="board.bin"
else
BDATA_LINK="fakeboar.bin"
fi
else
log "5" "[ERROR] Could not locate board data files"
exit 1