Commit Graph

34 Commits

Author SHA1 Message Date
Mike Engel 9b0f79c02f meta-digi: firmware-qualcomm: add Bluetooth Vulnerability CVE-2019-9506 resolution
This commit adds Bluetooth Vulnerability CVE-2019-9506
resolution to the firmware file.

CVE-2019-9506 is a Bluetooth key negotiation vulnerability.

Signed-off-by: Mike Engel <Mike.Engel@digi.com>

https://onedigi.atlassian.net/browse/DEL-7134
2022-10-03 13:37:10 +02:00
Isaac Hermida 29b008b790 qualcomm wifi: conditionally support using firmware with CCX tags
Co-authored-by: Javier Viguera <javier.viguera@digi.com>

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-09-30 15:28:10 +02:00
Isaac Hermida cad9ab7d1d firmware-qualcomm: fix overrides syntax
Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-09-30 14:47:02 +02:00
Isaac Hermida 6a21f74dd5 firmware-qualcomm: revert back to fw used by driver qcacld-2.0
Reset the FW files to release r00006.3.470144.2a

Verbatim copy of the recipes in DEY-3.2, using command:
git restore -s dey-3.2/master -- meta-digi-arm/recipes-bsp/firmware-qualcomm

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-09-30 14:47:02 +02:00
Javier Viguera 065cf3e9c4 kirkstone migration: general update to the new override syntax
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-06-20 11:39:57 +02:00
Arturo Buzarra 2c111a99f1 firmware-qualcomm: update wireless firmware from r10016.1
This commit updates the wireless firmware in order to work with the new Linux
qcacld-3.0 wireless driver.
Latest release "r10016.1 - Post-CS3 1.0.016.1" updates the following files from
"qca6574au-le-2-2-1_qca_oem" product branch:

    PCIe:
     - athwlan.bin  (b4fd36922625b7303d006581f6c7cd10)
     - utf.bin      (0d70048214fea05d1c40b3034e8107cd)

    SDIO:
     - qwlan30.bin  (342cb50ce5c6ff930a65f341c0dfbc77)
     - utf30.bin    (f94810be89cc2f3e979ab4a57243872b)

https://onedigi.atlassian.net/browse/DEL-7916

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-05-19 13:36:28 +02:00
Francisco Gil afc61dfb83 wifi: add symbolics links needed by the read only filesystem.
Create this symbolics links in build time instead of doing it
in run-time. This simplifies the system and allows it to work
with read only filesystems.

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2021-11-25 12:39:28 +01:00
Francisco Gil 179d4315ef wireless: mac: create symbolic links for the wireless macs
Before this patch the MAC addresses were read from the device
tree in the qualcomm.sh script executed at init, and a creates
a file where the MAC where located.

In 0a92f5d9e8df644de74e74f152ed6ff3dd8d3369 in the qca driver
the support to read these MAC addresses from the filesystem
was added.

This commits creates the simbolic link between the device tree
and the expected path where the MAC addresses where located, and
gets rid of the file with the MAC addresses.

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2021-11-25 11:38:27 +01:00
Gabriel Valcazar 7ea02c26aa 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>
2021-11-03 15:58:53 +01:00
Francisco Gil c29c718827 firmware-qualcomm: bluetooth: allow users to use Bluetooth 4.1
Allow users to select Certified Bluetooth 4.1, rather than
the default not-certified Bluetooth 5, through the use of variable
BT_FW_VERSION="4"

md5sums:

nvm_tlv_3.2.bin ==> 9621f50172f2bfb4f65f8e5c6528b614
rampatch_tlv_3.2.tlv ==> 769e1fc9e5a2061bb3aaa1f32dac3804

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2021-02-22 16:42:58 +01:00
Gonzalo Ruiz be60a8f4e2 firmware-qualcomm: rename pcie UTF firmware file
When loading the wireless driver in test mode, the UTF firmware file
is loaded.

On pcie chips, the UTF file is expected to be named 'utf.bin'.
On sdio chips, the UTF file is expected to be named 'utf30.bin'.

Rename the pcie UTF file to match this requirement.

md5sum
----------------------------------------------------------
qca65X4_pcie:	utf.bin	    ->	41cfb4e50613cd0eeb0fa99a005131bd
qca65X4_sdio:	utf30.bin   ->	4743dee015047752e433e69f4db89974

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2020-06-15 20:10:35 +02:00
Gonzalo Ruiz 8cf13e7888 firmware-qualcomm: add bluetooth customizations for CC6Plus
Some CC6Plus units fail to communicate with the Bluetooth chip at a certain
temperature range, as happened on some CC6UL units.

Apply the following customizations to the NVM file so the communication is
maintained regardless of the temperature.

- Disable DEEP_SLEEP
- Enable Internal Clock

These customizations were already performed on the NVM file for the CC6UL.

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
(cherry picked from commit 400b31f652fb98bb1620e03f85a33c231bf6f244)
2020-03-18 10:42:07 +01:00
Gonzalo Ruiz afbc34f04a firmware-qualcomm: generalize bluetooth customizations
Generalize 'Disable Deep Sleep' and 'Enable Internal clock' customizations
so they can be applied on every platform by defining
BT_INTCLOCK_WORKAROUND to '1'.

Disable the customizations by default and enable them for ccimx6ul only.

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
(cherry picked from commit 78ef498178abe587d6e2cb4b1ed8ba5f8979fb4e)
2020-03-18 10:41:53 +01:00
Gonzalo Ruiz f6e4656971 firmware-qualcomm: fix Bluetooth NVM file customization
We are currently applying customizations to the base NVM file on install.
There was an error that introduced the '"\' characters into the NVM file
instead of the intended hex data.

This commit fixes the implementation of this customization.

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
(cherry picked from commit a204a7bfc54fc15aca0d87530c838fb427710a8e)
2020-03-18 10:41:43 +01:00
Gonzalo Ruiz d9cb580976 firmware-qualcomm: remove reference to fakeboar_US.bin
This file does not longer exist. It has been replaced by bdwlan30_US.bin,
which is already included to the community driver option.

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2020-01-22 16:52:11 +01:00
Francisco Gil b6e2a0b710 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>
2020-01-20 08:51:10 +01:00
Francisco Gil f1d994bdc2 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>
2020-01-20 08:51:10 +01:00
Arturo Buzarra 88706035c0 firmware-qualcomm: add support to ccimx8mn platform
Add initial support cloned from ccimx6ul (QCA6564).

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 12:00:51 +01:00
Gonzalo Ruiz 9c392c5b7c firmware-qualcomm: rename BDF to 'fakeboar_US.bin'
Rename board data file loaded on qca6574 wireless chips to 'fakeboar_US.bin'.
A symlink named 'fakeboar.bin' will be created by 'qualcomm.sh' selecting
either this file or the WorlWide variant: 'fakeboar_World.bin'.

- fakeboard_US.bin (e1db4a300b58776f8abd8588beadc09e)

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2019-10-10 16:15:22 +02:00
Hector Palacios e09c58f85b Merge branch 'dey-2.6/master' into dey-2.6/maint
Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-6640
2019-09-03 13:17:56 +02:00
Hector Palacios ee4d39014b firmware-qualcomm: move qca6564 fw files into subfolder
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-09-03 08:19:57 +02:00
Hector Palacios 1204c236d8 firmware-qualcomm: remove 'cd' command from do_install()
The 'do_install()' call was doing a 'cd' command to later do symlinks
more straight forward.
This 'cd' however may affect further 'do_install' appends, that expect to
be working on the ${WORKDIR}.

Remove the 'cd' command and instead supply the correct paths to the 'ln'
commands.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
(cherry picked from commit 54bd1e47ad024515b737aea106dc4fca374c0fb8)
2019-05-23 11:49:15 +02:00
Arturo Buzarra 5eb88b8c5d sumo migration: meta-digi: replace the deprecated base_conditional function
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-01-11 13:26:44 +01:00
Hector Palacios 0bf8936a73 qca6574: add Bluetooth firmware files from r10005.1 tag
Up to now, the ConnectCore 8X was using the Bluetooth firmware
files from model QCA6564 r110059.1.
This commit adds the firmware files from repo 'qca6574au-le-2-2-1_qca_oem'
at tag r10005.1:

  nvm_tlv_3.2.bin: 3de46ea023570b86cabb9502b92a1fed
   based on MD5SUM a97cdfe80e8109cf3574f74cd3c73fc7 but changed
   byte 0x36 (decimal 54) to 0x02 (IBS)

  rampatch_tlv_3.2.tlv: e8cdb0260615e02bd21c3b3fcaf832eb

The recipe has changed to use the variable QCA_MODEL and each firmware
has moved to a folder of its own.

While on it, remove old Bluetooth firmware files 3.0 which were
not used.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-6218
2019-01-10 16:15:07 +01:00
Arturo Buzarra f3e7d66745 firmware-qualcomm: update proprietary firmware and use it by default
This commit updates firmware binaries to tag r10004.2 from
https://stash.digi.com/scm/linux/qca6574au-le-2-2-1_qca_oem.git
and modifies the recipe to use the QCA6574 proprietary driver by default.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-07-23 09:34:17 +02:00
Hector Palacios d6a598020e firmware-qualcomm: add missing utf.bin for QCA6574
Reported-by: Isaac Hermida <isaac.hermida@digi.com>
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-07-03 08:33:31 +02:00
Hector Palacios 9650efe7e0 firmware-qualcomm: add support for QCA6574 in ConnectCore 8X
The firmware-qualcomm recipe now provides the Bluetooh and WiFi firmware
for QCA6564 (CC6UL, CC6PLUS) and QCA6574 (CC8X).

The Bluetooth firmware is the same for both chip models.

Regarding the Wifi firmware:
- If using the QCA6564, the proprietary firmware is used.
- If using the QCA6574, the recipe allows to select between the proprietary
  or the community driver (via QUALCOMM_WIFI_DRIVER), and will install the
  associated firmware. For the community driver, the firmware files have
  been copied from linux-firmware repo at SHA1 7518922bd5b9, except for
  the file 'board.bin' which needs to be substituted with the proprietary
  one by Qualcomm. Default, is to use the community driver.

The do_install() has been improved for re-using the variables with the list
of files.

The package has been renamed basing on the QCA_MODEL variable which can
be set per platform.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-06-12 18:22:09 +02:00
Arturo Buzarra 8c14ae877f meta-digi recipes: adjust machine overrides for new platform
This commit modifies different recipes to support the new platform
ccimx6qpsbc and adapt it to maintain the support to ccimx6sbc.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2017-10-18 09:20:11 +02:00
Mike Engel d7889c28db DIGI_EULA: Update Digi EULA file.
Signed-off-by: Mike Engel <Mike.Engel@digi.com>

https://jira.digi.com/browse/DEL-4859
(cherry picked from commit 86000bb0bb)
2017-08-29 12:23:22 +02:00
Alex Gonzalez 14a7d127f0 meta-digi-arm: Remove worldwide board data file.
https://jira.digi.com/browse/DEL-4291

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2017-06-21 12:30:08 +02:00
Alex Gonzalez 5d2d0011d0 meta-digi-arm: qualcomm: Move cfg.dat and qcom_cfg.ini to module recipe
The firmware configuration and the driver configuration are part of the
driver repository. Stop duplicating the content in meta-digi so they
are updated with the driver itself.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2017-03-31 18:29:00 +02:00
Alex Gonzalez f5dac18ae5 meta-digi-arm: firmware-qualcomm: Match board file and UTF board file.
As discovered during certifications preparation work, calibration changes
applied only on the bdwlan30.bin file do not take effect.

Per QCA guidelines, the bdwlan30.bin and utfbd30.bin files should be the
same for the calibration changes to work.

This commit removes the current utfbd30.bin file, with an md5sum that
matches the original bdwlan30.bin file in QCA's chipcode
qca6564-le-1-0-3_qca_device repository, and creates a symbolic link to the
actual bdwlan30.bin board file used to certify Digi's module internal
antenna.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2017-01-05 14:58:31 +01:00
Isaac Hermida 0b5c74e836 recipes-bsp: firmware-qualcomm: add different firmware files for country regions
We are including two firmware files: one for setting the country to US and the
other one to set it to the World Wide Roaming region (SKU 0060).

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-07-21 18:29:34 +02:00
Isaac Hermida b4c0c0af9a ccimx6ul: Add recipe support for firmware-qualcomm
https://jira.digi.com/browse/DEL-2581

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-05-31 08:20:51 +02:00