Commit Graph

157 Commits

Author SHA1 Message Date
Javier Viguera e97e0b9325 imx-atf: update to NXP's lf-6.1.22-2.0.0 release for ccimx93
New NXP's release is based on upstream v2.8. Use this only for ccimx93,
and keep using the previous Kirkstone release (based on upstream v2.6)
for the rest of the platforms.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-07-07 12:22:56 +02:00
Javier Viguera e67f023ecb firmware-imx: update to NXP's lf-6.1.22-2.0.0 release for ccimx93
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-07-07 12:22:56 +02:00
Javier Viguera d0c0c84304 firmware-sentinel: update to NXP's lf-6.1.22-2.0.0 release for ccimx93
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-07-07 12:22:55 +02:00
Javier Viguera 837fbec2ca imx-boot, imx-mkimage: update to NXP's lf-6.1.22-2.0.0 release for ccimx93
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-07-07 12:22:55 +02:00
Gabriel Valcazar d13b42492f Rework ccimx8x imx-boot/u-boot recipes to reduce number of imx-boot artifacts
Now that both U-Boot and the SCFW can autodetect the RAM configuration, we can
simplify the imx-boot build process to generate two binaries (one per SOC
revision) instead of eight. Build "flash_spl" imx-boot images and use only one
global defconfig for u-boot.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2023-06-30 15:00:25 +02:00
Gabriel Valcazar 609028fe66 digi-sc-firmware: update to v1.11.0.1
This update includes automatic RAM configuration detection, and only one SCFW
binary is needed for all ccimx8x variants. Adapt the imx-boot recipe
accordingly.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2023-06-30 15:00:25 +02:00
Gabriel Valcazar 9ce94e4af4 imx-boot: re-add ccimx8x support
Use our custom compile/install/deploy functions from DEY 3.2. NXP's imx-boot
recipe assumes only one U-Boot config and SOC revision, but we have multiple,
so we have to rewrite all of these functions.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2023-06-29 16:25:55 +02:00
Isaac Hermida 92ca458e4f firmware-nxp-wifi: use a more recent FW till it is released
Currenlty, the github FW version is a bit old and some functionality does not
work on latest IW61x batches.
Use this FW binary till it is released on github. This is required to
have WiFi and Bt working simultaneously.

0c6d454ea83b1a78b4e60df16f478f43  sduart_nw61x_v1.bin.se

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2023-06-28 11:54:16 +02:00
Javier Viguera 5e3896d358 optee-os: configure build platform for ccimx93
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-06-20 13:58:46 +02:00
Javier Viguera 0cdde6679f firmware-sentinel: update to NXP's lf-6.1.1_1.0.0 release for ccimx93
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-06-16 16:19:28 +02:00
Javier Viguera 2f94d466c3 firmware-imx: update to NXP's lf-6.1.1_1.0.0 release for ccimx93
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-06-16 16:19:28 +02:00
Javier Viguera fd2f9ea2b2 imx-atf: update to NXP's lf-6.1.1_1.0.0 release for ccimx93
Remove patch file "0001-Makefile-Suppress-array-bounds-error.patch"
for ccimx93, as it is already included in the lf-6.1.1_1.0.0 revision.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-06-16 16:19:28 +02:00
Javier Viguera 88d7cc0a77 imx-boot, imx-mkimage: update to NXP's lf-6.1.1_1.0.0 release for ccimx93
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-06-16 16:19:28 +02:00
Javier Viguera 1662950b57 optee: update to NXP's lf-6.1.1_1.0.0 release for ccimx93
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-06-16 16:19:28 +02:00
Gabriel Valcazar 163b229beb Move Coral-related recipes to dynamic Freescale layer
These are recipes we created to support Google Coral on i.MX platforms. ST's
machine learning layer provides similar recipes, so to avoid conflicts, move
the recipes meant for i.MX platforms to a dynamic layer.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2023-05-08 13:00:59 +02:00
Isaac Hermida 38831535fb ccimx93: iw612: add WiFi support
https://onedigi.atlassian.net/browse/DEL-8346

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2023-03-27 16:34:06 +02:00
Javier Viguera 82dc50b6ef meta-digi: update layer to follow changes in meta-freescale
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-02-22 11:05:08 +01:00
Javier Viguera 0f1dfc3823 meta-digi: recipe updates following changes in meta-freescale
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-02-14 16:43:00 +01:00
Javier Viguera 24f0f6ff79 imx-boot: add trustfence support for ccimx8m
https://onedigi.atlassian.net/browse/DEL-8362

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-02-13 18:38:08 +01:00
Javier Viguera 747dbddf3b meta-digi: more updates and cleanups for NXP's 5.15.71_2.2.0 release
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-02-06 17:37:27 +01:00
Javier Viguera 6a53da20ca ccimx8x: move SECO_FIRMWARE_NAME definition to machine config
This is a machine specific setting, and moving it to the machine config
allows to get rid of the recipe bbappends.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-02-06 17:36:57 +01:00
Javier Viguera cec7cd98a5 meta-digi-arm: update mcore-demos to NXP's release 5.15.71_2.2.0
This is a verbatim copy of the recipes in meta-imx

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-02-06 17:36:26 +01:00
Javier Viguera 38ff495f5b ccimx8mm: update imx-vpu-hantro-daemon recipe
Verbatim copy of the one in meta-imx.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-01-23 15:07:59 +01:00
Javier Viguera 0fbed2bfb6 meta-digi-arm: remove overlayed recipes
meta-freescale started updating the recipes to NXP's
rel_imx_5.15.71_2.2.0 release, so now we have a bunch of overlayed
recipes we can clean up.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-01-10 14:29:48 +01:00
Javier Viguera f13ccfac75 imx-pxp-g2d: new recipe that proves virtual/libg2d for mx93
This is a verbatim copy of the recipe in meta-imx. It is required to
build Wayland based graphical images for ccimx93.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-01-09 16:28:56 +01:00
Javier Viguera 763ddf471b ccimx93: imx-boot: generate properly named boot artifacts
Although in theory, you can use any label to name the different u-boot
build configurations, we have them coupled to machine names in the
boot-artifacts bbclass, and also in the default boot artifact filename
in the firmware installation scripts.

So fix that up for the ccimx93 in the machine config, and create the
proper symlinks in the do_deploy imx-boot recipe.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-01-03 17:53:40 +01:00
Javier Viguera 345306b94c imx-boot, imx-mkimage: update to version lf-5.15.71-2.2.0
Both recipes (imx-boot and imx-mkimage) use the same source code
repository, so update both of them to the new NXP release, by copying
with minimal changes the recipes in meta-imx.

Also convert the original 'imx-mkimage' recipe, which was only for
native class, to a full target, native, nativesdk recipe. We need this
to be able to include the nativesdk one in our toolchain.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-12-23 15:02:53 +01:00
Javier Viguera add03e8464 meta-digi-arm: update support to build imx-boot artifact
For the moment it supports the ccimx93 without Trustfence.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-12-20 14:50:54 +01:00
Javier Viguera 5662ad789d meta-digi: update optee related recipes
Verbatim copy of the recipes in meta-imx

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-12-20 14:50:54 +01:00
Javier Viguera 275b272d4f meta-digi-arm: add firmware-sentinel recipe
Verbatim copy of the recipe from meta-imx.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-12-20 14:50:54 +01:00
Javier Viguera 5cd1870e2b firmware-imx: update to version 8.18
Verbatim copy of the recipes from meta-imx.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-12-20 14:50:54 +01:00
Javier Viguera df49f2ec9e imx-atf: update to version 2.6 and convert to bbappend
Also:
  * Support ccimx93
  * Add all the patches regardless of the platform (remove overrides). The
    patches do not clash, so adding all of them eases the maintanance and
    the migration to new versions of the imx-atf.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-12-20 14:50:54 +01:00
Javier Viguera 2e9528df40 meta-digi: remove outdated overlayed recipes
A new set of meta-freescale updates made these recipes outdated.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-11-30 15:07:52 +01:00
Javier Viguera 272edd8af7 meta-digi: remove obsolete overlayed recipes
Code clean up, remove recipes that have been updated in meta-freescale.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-11-14 11:09:43 +01:00
Javier Viguera e5acc6f84a firmware-imx: make bbappend version agnostic
meta-freescale updated the base recipe and that broke the build:

ERROR: No recipes in default available for:
  meta-digi-arm/dynamic-layers/freescale-layer/recipes-bsp/firmware-imx/firmware-imx_8.16.bbappend

The differences in our bbappend are simple enough that we can make a
version agnostic bbappend.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-11-08 14:07:43 +01:00
Javier Viguera 77c8a448fd meta-digi-arm: remove overlayed firmware-imx recipes
These are available in 'meta-freescale'.

The only difference is that meta-freescale's recipes deletes de SDMA
firmware so the generic one provided by linux-firmware package is used.
We create a minimal bbappend to use the NXP provided SDMA firmware.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-10-03 16:40:11 +02:00
Mike Engel c3b4cfa5d1 swupdate: add u-boot image into SWU update image
Signed-off-by: Mike Engel <Mike.Engel@digi.com>

https://onedigi.atlassian.net/browse/DEL-7853
2022-09-12 14:26:13 +02:00
Javier Viguera 69e961b857 meta-digi-arm: use latest version of IMX firmware
Copied from meta-imx

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-07-12 18:03:53 +02:00
Javier Viguera 8d123d7451 kirkstone migration: delete deprecated or duplicated recipes
Remove deprecated versions of recipes updated in other general layers
(poky, meta-openembedded). Also remove duplicated IMX specific recipes that
are available in other BSP layers (meta-freescale, meta-fsl-demos, etc).

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-06-21 16:49:56 +02:00
Javier Viguera 2452e85a6b kirkstone migration: cosmetic, clean build warnings
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-06-21 16:49:56 +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 3eef2d8d37 imx-boot: fix include path with dynamic layer
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-05-12 17:34:07 +02:00
Mike Engel 97c1732c6c optee: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel 93d956032a linux-fslc: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel 86fb57103d imx-usb-loader: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel ed8cdd92d6 imx-vpu: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel bcbf3edb22 imx-test: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel f8f03a6735 imx-lib: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel f6c3e519b6 isp-imx: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel 7bdfbd3144 imx-vpu-hantro-vc: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel 01bb7fe355 mcore-demos: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel 8f63ae3764 udev: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel 8a72bbd3a6 imx-vpu-hantro: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel 0b198431ee imx-mkimage: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel 494c773286 imx-seco: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel bf2a06e9b5 imx-atf: move recipes into dynamic-layer for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel cd9eb2d093 firmware-imx: move to dynamic-layer
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00