qualcomm: adapt firmware and module recipes to be compatible with the ccimx6sbc

This allows the packages to be included in the ccimx6sbc images. While at it,
include the Qualcomm bluez patches in ccimx6 builds. These patches aren't
destructive, they simply add functionality required by the Qualcomm chip, so
they shouldn't have any secondary effects when using the Atheros chip.

https://onedigi.atlassian.net/browse/DEL-7661
https://onedigi.atlassian.net/browse/DEL-7666

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
This commit is contained in:
Gabriel Valcazar 2021-09-16 09:44:12 +02:00
parent 4a54512d64
commit 7ea02c26aa
5 changed files with 9 additions and 9 deletions

View File

@ -1,4 +1,4 @@
# Copyright (C) 2016-2020 Digi International. # Copyright (C) 2016-2021 Digi International.
SUMMARY = "Qualcomm firmware files for Digi's platforms." SUMMARY = "Qualcomm firmware files for Digi's platforms."
SECTION = "base" SECTION = "base"
@ -11,7 +11,7 @@ QUALCOMM_WIFI_DRIVER ?= "proprietary"
# Selects whether to apply the "Deep Sleep + Internal Clock" workaround # Selects whether to apply the "Deep Sleep + Internal Clock" workaround
BT_INTCLOCK_WORKAROUND ?= "0" BT_INTCLOCK_WORKAROUND ?= "0"
BT_INTCLOCK_WORKAROUND_ccimx6ul = "1" BT_INTCLOCK_WORKAROUND_ccimx6ul = "1"
BT_INTCLOCK_WORKAROUND_ccimx6qpsbc = "1" BT_INTCLOCK_WORKAROUND_ccimx6 = "1"
# Bluetooth 5.0 firmware files # Bluetooth 5.0 firmware files
FW_QUALCOMM_BT_5 = " \ FW_QUALCOMM_BT_5 = " \
@ -115,4 +115,4 @@ FILES_${PN}-${QCA_MODEL}-bt = "/lib/firmware/qca"
FILES_${PN}-${QCA_MODEL}-wifi = "/lib/firmware" FILES_${PN}-${QCA_MODEL}-wifi = "/lib/firmware"
PACKAGE_ARCH = "${MACHINE_ARCH}" PACKAGE_ARCH = "${MACHINE_ARCH}"
COMPATIBLE_MACHINE = "(ccimx6qpsbc|ccimx6ul|ccimx8x|ccimx8m)" COMPATIBLE_MACHINE = "(ccimx6$|ccimx6ul|ccimx8x|ccimx8m)"

View File

@ -1,4 +1,4 @@
# Copyright (C) 2016-2020 Digi International. # Copyright (C) 2016-2021 Digi International.
SUMMARY = "Qualcomm's wireless driver for qca65xx" SUMMARY = "Qualcomm's wireless driver for qca65xx"
DESCRIPTION = "qcacld-2.0 module" DESCRIPTION = "qcacld-2.0 module"
@ -82,4 +82,4 @@ FILES_${PN} += " \
${base_libdir}/firmware/wlan/qcom_cfg.ini \ ${base_libdir}/firmware/wlan/qcom_cfg.ini \
" "
COMPATIBLE_MACHINE = "(ccimx6qpsbc|ccimx6ul|ccimx8x|ccimx8m)" COMPATIBLE_MACHINE = "(ccimx6$|ccimx6ul|ccimx8x|ccimx8m)"

View File

@ -1,4 +1,4 @@
# Copyright (C) 2015-2019 Digi International. # Copyright (C) 2015-2021 Digi International.
SRC_URI += " \ SRC_URI += " \
file://bluetooth-init \ file://bluetooth-init \
@ -27,7 +27,7 @@ QCA65XX_COMMON_PATCHES = " \
" "
SRC_URI_append_ccimx6ul = " ${QCA65XX_COMMON_PATCHES}" SRC_URI_append_ccimx6ul = " ${QCA65XX_COMMON_PATCHES}"
SRC_URI_append_ccimx6qpsbc = " ${QCA65XX_COMMON_PATCHES}" SRC_URI_append_ccimx6 = " ${QCA65XX_COMMON_PATCHES}"
inherit update-rc.d inherit update-rc.d

View File

@ -1,4 +1,4 @@
# Copyright (C) 2015-2020 Digi International. # Copyright (C) 2015-2021 Digi International.
FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:${THISDIR}/${BP}:" FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:${THISDIR}/${BP}:"
@ -20,7 +20,7 @@ QCA65XX_COMMON_PATCHES = " \
" "
SRC_URI_append_ccimx6ul = " ${QCA65XX_COMMON_PATCHES}" SRC_URI_append_ccimx6ul = " ${QCA65XX_COMMON_PATCHES}"
SRC_URI_append_ccimx6qpsbc = " ${QCA65XX_COMMON_PATCHES}" SRC_URI_append_ccimx6 = " ${QCA65XX_COMMON_PATCHES}"
SRC_URI_append_ccimx8x = " ${QCA65XX_COMMON_PATCHES}" SRC_URI_append_ccimx8x = " ${QCA65XX_COMMON_PATCHES}"
SRC_URI_append_ccimx8m = " ${QCA65XX_COMMON_PATCHES}" SRC_URI_append_ccimx8m = " ${QCA65XX_COMMON_PATCHES}"