Commit Graph

1554 Commits

Author SHA1 Message Date
Arturo Buzarra eaa09c940b dtc: backport patch to fix build with GCC v10 on DTC v1.4.5
This commit backports a patch to fix the following build issue with
the GCC v10:
    dtc-parser.tab.c:1069: multiple definition of `yylloc'

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-05-06 15:46:18 +02:00
Arturo Buzarra f67b5c4355 u-boot-dey: disable support to initial environment on v2017.03
Since this feature was introduced in newer versions of U-Boot, we need
to disable it for v2017.03 to avoid several compilation issues.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-05-05 19:18:11 +02:00
Arturo Buzarra 0cacb0c511 dtc: keep version 1.4.5 only for CC6/CC6QP platforms that build U-Boot 2017.X
This version is only required to build U-Boot 2017.X, so since CC6UL was moved
to a new U-Boot version it is not necessary and also fixes a build issue.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-05-05 19:18:11 +02:00
Gonzalo Ruiz 23a5128f57 firmware_qualcomm: ccimx6ul: update BDF calibration
Update US Board Data File to use the new GOLDEN2 calibration.

The new BDF is:

- bdwlan30_US.bin (328f970444b5eaaa48c0188cea1685e3)

https://jira.digi.com/browse/CC6UL-1210

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
(cherry picked from commit 373b3958bad9d0c462349d89ef5832e843624b01)
2021-05-05 19:18:11 +02:00
Arturo Buzarra a26d4661e8 trustfence-cst: fix build warning about a trailing slash in S variable
This commit fixes the following warning:
    WARNING: meta-digi/meta-digi-arm/recipes-bsp/trustfence-cst/trustfence-cst_3.3.1.bb:
    Recipe trustfence-cst sets S variable with trailing slash '/tmp/work/aarch64-dey-linux/trustfence-cst/3.3.1-r0/cst-3.3.1/',
    remove it

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-05-05 19:18:11 +02:00
Arturo Buzarra b7db48e644 gatesgarth migration: optee-imx: Sync with BSP release rel_imx_5.10.9_1.0.0
https://jira.digi.com/browse/DEL-7508

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-05-05 19:18:11 +02:00
Arturo Buzarra 867386c5c8 gatesgarth migration: u-boot-dey: introduce UBOOT_INITIAL_ENV
This default environment is needed by packages like libubootenv.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-05-05 19:18:11 +02:00
Gabriel Valcazar 2388e1b3f6 gatesgarth migration: Remove u-boot-fw-utils files
This package has been entirely replaced with libubootenv

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2021-05-05 19:18:11 +02:00
Gabriel Valcazar 887fcae052 gatesgarth migration: Add support for libubootenv
This is a replacement for u-boot-fw-utils. Adapt the u-boot-fw-utils patches
to this new library and include the same logic as the u-boot-fw-utils recipe
(generate and install the U-Boot environment configuration file in the rootfs)

For now, remove the u-boot-default-env dependency, since the package doesn't
exist in zeus.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2021-05-05 19:18:11 +02:00
Arturo Buzarra 2409de4c6e gatesgarth migration: imx-digi-base: Add the ability to use exclusive recipes for NXP BSP
Commit 4ab569fb("recipes-*: refine restrictions for NXP BSP") from
meta-freescale layer restrict the use of certain recipes and classes to
enforces them to use a NXP BSP. This is done by adding a new MACHINEOVERRIDES
called "use-nxp-bsp"

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-05-05 19:18:11 +02:00
Arturo Buzarra 5175796a14 gatesgarth migration: layer.conf: EULA.txt Update to license v19
Sync with BSP release rel_imx_5.10.9_1.0.0

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-05-05 19:18:11 +02:00
Arturo Buzarra 5eaa4d2d42 gatesgarth migration: imx-boot: Sync with BSP release rel_imx_5.10.9_1.0.0
https://jira.digi.com/browse/DEL-7508

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-05-05 19:18:11 +02:00
Arturo Buzarra 526a0fbcc6 gatesgarth migration: linux-dey: fix do_kernel_localversion() task dependency
Commit ffeb0556("classes: fsl-kernel-localversion: Fix task dependency") in
meta-freescale layer fixes a task dependency issue, so do_preconfigure() was
renamed to do_kernel_localversion().

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-05-05 19:18:11 +02:00
Arturo Buzarra 9ed772d281 gatesgarth migration: imx-vpu-hantro: Upgrade to v1.21.0
Sync with BSP release rel_imx_5.10.9_1.0.0

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-05-05 19:18:11 +02:00
Arturo Buzarra 9b30496cbc gatesgarth migration: imx-m4/m7-demos: Sync with BSP release rel_imx_5.10.9_1.0.0
https://jira.digi.com/browse/DEL-7508

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-05-05 19:18:11 +02:00
Arturo Buzarra 994fc80b27 gatesgarth migration: imx-atf: Upgrade to v2.4
Sync with BSP release rel_imx_5.10.9_1.0.0

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-05-05 19:18:11 +02:00
Arturo Buzarra f6496788a4 gatesgarth migration: firmware-imx: Upgrade to v8.11
Sync with BSP release rel_imx_5.10.9_1.0.0

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-05-05 19:18:11 +02:00
Arturo Buzarra 41e6d7aa4b gatesgarth migration: update meta-digi LAYERSERIES_COMPAT to indicate support with "gatesgarth" release
https://jira.digi.com/browse/DEL-7508

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-04-29 20:07:28 +02:00
Arturo Buzarra 8182824e43 Merge branch 'dey-3.0/maint' into dey-3.0/master
Manually changed recipes to use the master branches instead of the fixed SHA1
from the last release.
2021-04-27 17:18:50 +02:00
Hector Bujanda f6e906b625 New ccimx6 variant:
* Dual-core Consumer, 1GHz
* 4GB eMMC,
* 1GB DDR3,
* Temp grade: -20/+105C

https://jira.digi.com/browse/CCIMX6-973

Signed-off-by: Hector Bujanda <Hector.Bujanda@digi.com>
2021-04-21 11:03:14 +02:00
Hector Palacios f176ce67f3 digi-sc-firmware: update recipe to v1.7.1.1
The new SCFW re-enables "Read DBI deskew configuration"
setting, to support Nanya LPDDR4 chips.

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

https://jira.digi.com/browse/CC8X-297
2021-04-20 16:16:29 +02:00
Arturo Buzarra f1aebd1c8a imx-atf: rework patches to disable Cortex-M debug console
Add a patch series to customize the ATF console for the ConnectCore 8M platforms,
and to disable the Cortex-M debug UART.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-04-16 16:17:29 +02:00
Arturo Buzarra c74360a5c4 imx-boot: add M4 demos to ConnectCore 8M Mini platform
Include in the deploy folder the M4 demos for the ConnectCore 8M Mini platform

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-04-14 15:11:18 +02:00
Gonzalo Ruiz 7227dc728e firmware_qualcomm: ccimx8m: update US Board Data File calibration
Update file:

- bdwlan30_US.bin (93a58f0f8e241bef6600d53d013c3cb2)

  This file was generated by calibrating several v3 CC8MN SOMs and
  merging their resulting BDF files into a new Golden file.
  Target output powers tables and CTL tables remain intact.

Reference calibration file is obtained from 'qca6574au-le-2-2-2_qca_oem' repo
at tag 'r00005.1' under path
'wlanfw/cnss_proc/wlan/fw/target/sdio_dst/qc6174/bdwlan30.bin':

- bdwlan30.bin (8a40d95698825e1718bee640b1f7982a)

Target output powers respect the maximum EVM for every data rate.
CTL limits comply with FCC, CE and TELEC certifications.

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
(cherry picked from commit cceffef831edd10b017aac3006636c98f7baa0a9)
2021-04-06 11:25:43 +02:00
Gonzalo Ruiz 84104cd0b6 firmware_qualcomm: ccimx8m: update US Board Data File calibration
Update file:

- bdwlan30_US.bin (93a58f0f8e241bef6600d53d013c3cb2)

  This file was generated by calibrating several v3 CC8MN SOMs and
  merging their resulting BDF files into a new Golden file.
  Target output powers tables and CTL tables remain intact.

Reference calibration file is obtained from 'qca6574au-le-2-2-2_qca_oem' repo
at tag 'r00005.1' under path
'wlanfw/cnss_proc/wlan/fw/target/sdio_dst/qc6174/bdwlan30.bin':

- bdwlan30.bin (8a40d95698825e1718bee640b1f7982a)

Target output powers respect the maximum EVM for every data rate.
CTL limits comply with FCC, CE and TELEC certifications.

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
(cherry picked from commit cceffef831edd10b017aac3006636c98f7baa0a9)
2021-04-06 11:24:50 +02:00
Hector Palacios 2df009e6a7 machine: ccimx8mm/8mn: fix typo on device tree overlay extension
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2021-03-23 10:35:02 +01:00
Hector Palacios 74aceb2954 machine: ccimx8mn/8mm: add DT overlay for Fusion 10" LCD
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2021-03-16 11:14:04 +01:00
Gabriel Valcazar 4c9546357d meta-digi: revert revisions to AUTOREV
This reverts commit 7728d5f458.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2021-03-08 18:07:48 +01:00
Gabriel Valcazar 7728d5f458 meta-digi: update revisions for dey-3.0-r4.1
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2021-03-08 18:06:59 +01:00
Gabriel Valcazar 8dc46fcaf8 imx-boot: export SRK revocation config when signing i.MX8M imx-boot images
There's a Yocto configuration option that enables this feature in U-Boot, but
since imx-boot images are signed using the scripts in trustfence-sign-tools,
said configuration is lost and the scripts don't take it into account if it's
enabled. Make sure that the configuation carries over to the script.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2021-03-08 10:35:46 +01:00
Gabriel Valcazar 1134e4c07c trustfence-sign-tools: don't encrypt artifacts in ccimx8mn/ccimx8mm projects
Attempting to boot encrypted artifacts on these platforms will result in HAB
events caused by CAAM errors. This is due to the CAAM being configured for
non-secure contexts (in regards to Trustzone) while the HAB expects it to be
configured for secure contexts.

For now, only sign artifacts for these platforms even if the project has the
encryption feature enabled.

https://jira.digi.com/browse/DUB-993

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2021-03-04 13:14:13 +01:00
Francisco Gil f154d811a6 Merge branch 'dey-3.0/master' into fgilmar/merge_to_maint
# Conflicts:
#	meta-digi-dey/recipes-support/opencv/opencv_4.4.0.imx.bb
2021-03-01 16:53:35 +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
Gabriel Valcazar 0095d8c415 imx-seco: Update recipes to new NXP BSP release imx_5.4.70_2.3.1
Update imx-seco to v3.7.5, update imx-seco-libs revision and add a new patch.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2021-02-17 12:01:00 +01:00
Gabriel Valcazar 0bf51d5b7d digi-sc-firmware: update to v1.7.1
This includes NXP's code from the SCFW porting kit v1.7.1

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2021-02-17 12:01:00 +01:00
Hector Palacios e3f6955cc1 ccimx8m: remove quad core device tree overlay
This overlay added cooling devices for all quad cores.
On the latest BSP, the SoC device tree include contains all four
cooling devices and the newest U-Boot is able to delete the nodes
for non-existing cores, so there's no need for this overlay
anymore.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2021-02-17 09:23:07 +01:00
Gabriel Valcazar 358f98dd4f imx-boot: apply ccimx8mn patch to the ccimx8mm as well
Otherwise, mkimage will delete the device trees between imx-boot builds,
causing the build to fail when generating a signed imx-boot.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2021-02-12 11:37:15 +01:00
Gabriel Valcazar daae78b60c trustfence-sign-tools: add ccimx8mm support to the artifact signing script
https://jira.digi.com/browse/DEL-7420

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2021-02-12 11:37:15 +01:00
Gabriel Valcazar a308f02452 digi-sc-firmware: update to v1.7.0
This includes NXP's code from the SCFW porting kit v1.7.0 and a DCD update
using RPA v16.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2021-02-12 11:02:46 +01:00
Mike Engel fa801e1e9f linux: Update kernel sources to new master
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2021-02-09 16:25:07 +01:00
Mike Engel e9c4a09bf0 recipes-security: optee-imx: Update recipes to new BSP release imx_5.4.70_2.3.0
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2021-02-09 15:21:36 +01:00
Mike Engel bd11b26598 recipes-bsp: imx-seco: Update recipes to new BSP release imx_5.4.70_2.3.0
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2021-02-09 15:21:35 +01:00
Mike Engel 968cf3a9ed recipes-bsp: imx-mkimage: Update recipes to new BSP release imx_5.4.70_2.3.0
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2021-02-09 15:21:35 +01:00
Mike Engel ab0722caff recipes-bsp: imx-aft: Update recipes to new BSP release imx-5.4.70-2.3.0.
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2021-02-09 15:21:35 +01:00
Mike Engel 5b15c23ab9 recipes-bsp: firmware-imx: Update recipes to new BSP release imx_5.4.70_2.3.0
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2021-02-09 15:21:35 +01:00
Hector Bujanda 2d0c2c0976 mca-tool: update to v1.23
Includes:
   - add support for ccimx8mm.

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

Signed-off-by: Hector Bujanda <Hector.Bujanda@digi.com>
2021-02-05 09:49:32 +01:00
Arturo Buzarra c939115a2f recipes-bsp: add recipe imx-vpu-hantro to support ConnectCore 8M Mini
ConnectCore 8M Mini has support to VPU but the library used is different than
the used by the i.MX6 processors. This recipe manages the required libraries
to operate with this kind of VPU.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-02-04 13:07:07 +01:00
Arturo Buzarra 98a4733cd0 meta-digi-arm/conf/layer.conf: EULA.txt Update to license v16 and v17
Required for the release rel_imx_5.4.70_2.3.0 based on zeus

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-02-04 13:07:07 +01:00
Arturo Buzarra 52db82f2c7 imx-digi-base: sync with meta-imx branch zeus-5.4.70-2.3.0
Update the MACHINE values with the ones in meta-freescale and meta-imx layer.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-02-04 13:07:07 +01:00
Arturo Buzarra 702382c7e4 imx-digi-base: Simplify preferred providers for graphics
Sync with meta-freescale layer. See commmit f718ae3f
("imx-base.inc: Simplify preferred providers for graphics")

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-02-04 13:07:07 +01:00