Commit Graph

4042 Commits

Author SHA1 Message Date
Hector Palacios c21dac88a6 uboot: ccmp1: remove deprecated FIP_UBOOT_CONFIG
This variable was removed from meta-st-stm32mp so we need to get rid of it
in meta-digi, too.

Reported-by: Javier Viguera <javier.viguera@digi.com>
Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://onedigi.atlassian.net/browse/DEL-8268
2023-01-02 17:24:59 +01:00
Javier Viguera 99cdcae9bb ccimx93: add TRUSTFENCE_SIGN_MODE to machine configuration
This is needed to build the "nativesdk-trustfence-cst" package.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-12-23 15:05:11 +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 78269acbe0 build.sh: add ccimx93-dvk new platform
This enables the autobuild of the platform in the buildserver.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-12-22 16:15:51 +01:00
Javier Viguera d905428eb3 ccimx93: fix some bootable artifact variables
For this platform the bootable artifact is imx-boot based, so configure
some variables accordingly.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-12-22 16:14:26 +01:00
Javier Viguera 9713cbaf13 u-boot-dey: enable version 2022.04 for ccimx93
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-12-22 12:37:46 +01:00
Javier Viguera eeb5ffd4d4 u-boot-dey: rework installation of firmware deploying scripts
Rework the "build_uboot_scripts" to prevent changing the templates in
the WORKDIR, as those are part of the SRC_URI. Instead, change the
deployed scripts by using "sed" and redirection.

Also, removed UBOOT_HAS_FASTBOOT altogether, as there is no platform
that does not support fastboot.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-12-22 12:37:46 +01:00
Javier Viguera 9d40092ce5 meta-digi: rework u-boot support
Instead of overriding the whole do_compile function, just to reconfigure
u-boot for Trustfence, create a do_configure pre-function that takes care
of that. This allows the removal of duplicated code.

Also, disable the generation of u-boot environment artifacts. We are
not using them and so many u-boot artifacts in the deploy directory
are confusing.

Finally, adjust the names of the TF u-boot artifacts in the do_deploy
append function.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-12-22 12:37:46 +01:00
Mike Engel 385884473e linux: update kernel master version
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-12-22 09:28:21 +01:00
Mike Engel 3919b650f3 gstreamer: update recipes to STM version v22.11.23
Signed-off-by: Mike Engel <Mike.Engel@digi.com>

https://onedigi.atlassian.net/browse/DEL-8235
2022-12-22 09:26:49 +01:00
Mike Engel d510c9ab72 wayland: update recipes to STM version v22.11.23
Signed-off-by: Mike Engel <Mike.Engel@digi.com>

https://onedigi.atlassian.net/browse/DEL-8235
2022-12-22 09:26:49 +01:00
Francisco Gil 54f3aebd2c ccmp13: dey-examples: update the configuration file for ccmp13
Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2022-12-21 11:01:08 +01:00
Javier Viguera 84aaa4e4e6 linux-dey: use branch v5.15.71/nxp/master for NXP based platforms
Also enable recipe for ccimx93, and pass the correct DTC flags to create
overlays capable DTBs.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-12-20 14:50:54 +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 cfa581c958 meta-digi: add override files for ccimx93
These are just a verbatim copy of the ccimx8mm ones, so the project is
buildable. This file list should be revisited and adapted for the
ccimx93.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-12-20 14:50:54 +01:00
Javier Viguera ab52d0ec12 meta-digi: add new ccimx93-dvk platform
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-12-20 14:50:54 +01:00
Javier Viguera 7e7fba9ba5 meta-digi-arm: machine: do not reset EXTRA_IMAGEDEPENDS
Use += operator to prevent resetting the value of the EXTRA_IMAGEDEPENDS
variable. That is how it's mostly used elsewhere.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-12-19 18:19:51 +01:00
Javier Viguera 7d90e6276b digi-defaults: add default value for HAS_WIFI_VIRTWLANS
This is later overridden in the machine config files, but a default
(not empty) value is needed, to prevent a syntactic error in
init-ifupdown recipe (where it is used).

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-12-19 18:19:21 +01:00
Hector Palacios 6b4bf140aa stm32mp: gstreamer: update bbappends to 1.20.%
The poky recipes were updated on the minor version to 1.20.4
but the bbappends were 1.20.3 specific so they did not apply.
Use a wildcard to have them apply even if the minor version
changes upstream.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
(cherry picked from commit 0c73b31cf5)
2022-12-13 08:53:57 +01:00
Hector Palacios 0c73b31cf5 stm32mp: gstreamer: update bbappends to 1.20.%
The poky recipes were updated on the minor version to 1.20.4
but the bbappends were 1.20.3 specific so they did not apply.
Use a wildcard to have them apply even if the minor version
changes upstream.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2022-12-12 17:32:07 +01:00
Javier Viguera e9ced229a8 meta-digi-arm: add recipe for u-boot v2022.04
At the moment disabled by default (DEFAULT_PREFERENCE = "-1")

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-12-01 16:51:10 +01:00
Javier Viguera f165e77194 u-boot-dey: cosmetic, rename include file
Follow the pattern Yocto uses for most of the include files for recipes.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-12-01 16:51:10 +01:00
Arturo Buzarra a6c570802d ccmp15-dvk: fix instructions for building images
This commit removes any reference to X11, which is not supported on STM
platforms.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-12-01 15:28:06 +01:00
Javier Viguera db5067371e meta-digi: get rid of ccimx8mp-dvk
Platform not supported.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-11-30 18:06:57 +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 e0005b8eb6 imx-digi-base: yet another sync with meta-freescale's imx-base
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-11-30 15:07:22 +01:00
Javier Viguera 83a3aa22e4 Merge tag 'dey-4.0-r1.2' into dey-4.0/master
Digi Embedded Yocto 4.0-r1.2

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-11-30 15:01:06 +01:00
Arturo Buzarra 93a4dd2db5 meta-digi: revert revisions to AUTOREV
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-11-29 16:35:27 +01:00
Arturo Buzarra 2ca5dfe31e meta-digi: update revisions for dey-4.0-r1.2
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-11-29 16:34:56 +01:00
Hector Palacios 2bc468a7e2 readme.md: add ccmp15 known issues RS485 and P2P Wi-Fi concurrency
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2022-11-29 10:57:10 +01:00
Hector Palacios 27ca6138e1 ccmp1/ccimx6ul: move U-Boot env defines to common include file
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2022-11-28 13:40:14 +01:00
Hector Palacios 27121ec4bf ccmp15/13_dvk: define default UART for XBee socket on DVK
Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://onedigi.atlassian.net/browse/DEL-8212
2022-11-28 13:40:14 +01:00
Hector Palacios b689755778 weston-init: add user 'weston' to group 'disk'
This allows the user 'weston', which is running the video
backend, to access files on external media, such as USB
disks and microSD card.

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

https://onedigi.atlassian.net/browse/DEL-8208
2022-11-28 13:40:14 +01:00
Hector Palacios 70a3a11a44 udev-extraconf: remove 'mount.sh' provided by poky
In the past, this file was cloned from poky to skip mounting
an already mounted device. This condition was done on poky's
version so the cloned file is no longer needed.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2022-11-28 13:40:14 +01:00
Javier Viguera 7acf3a58e0 meta-digi: remove some more overlayed recipes
There are new versions of these recipes in meta-freescale.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-11-28 10:40:06 +01:00
Javier Viguera 99a61e12a1 meta-digi: delete outdated opencv bbappend
A new set of meta-freescale updates broke our layer, because they
updated opencv package and our bbappend does not apply anymore.

The build fails at parsing:

ERROR: No recipes in default available for:
  meta-digi/meta-digi-dey/dynamic-layers/freescale-layer/recipes-support/opencv/opencv_4.5.2.imx.bbappend

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-11-28 10:32:53 +01:00
Javier Viguera 1ec9ffd16e imx-digi-base: use weak default values for PREFERRED_VERSION settings
This allows users of the layer to override the value with a different
default. Same change was done in meta-freescale's imx-base file.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-11-25 17:36:16 +01:00
Javier Viguera 9baa0bd658 imx-digi-base: sync with meta-freescale's imx-base config file
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-11-25 17:36:16 +01:00
Tatiana Leon f4ded09351 meta-digi-dey: python3-xbee: add required asyncio python package
This package includes the concurrent module required by the XBee library
(to use ThreadPoolExecutor)

Signed-off-by: Tatiana Leon <Tatiana.Leon@digi.com>
2022-11-25 16:59:45 +01:00
Gonzalo Ruiz 43a68c00de Revert "trustfence-sign-tools: don't encrypt artifacts in ccimx8mn/ccimx8mm projects"
Artifact encryption is now supported for ccimx8mn and ccimx8mm.

This reverts commit 1134e4c07c.

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
(cherry picked from commit 588005bb4b2200e79b180f77671304d9c5bdf509)
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-11-25 12:07:01 +01:00
Hector Palacios 63916b1143 swu-images: fix ccimx6ul ROOTFS extension when read-only enabled
When read-only feature is enabled, the rootfs should be .squashfs
and not .ubifs.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
(cherry picked from commit c32278af74cea8cb38aa81590eaa867be1c739c9)
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-11-25 11:54:45 +01:00
Tatiana Leon 0792b45a80 recovery: add support to update a specific image set
Add a new parameter '-i' to update-firmware to let the user
select a specific image_set of the sw-description file to
use during the swu update.

This allows adding different image_sets on the sw-description
and reduce the number of images to build. It also adds more
future-proof flexibility.

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

https://onedigi.atlassian.net/browse/DEL-8199
2022-11-23 17:19:05 +01:00
Javier Viguera deed93cfb3 recovery-initramfs-init: delete mdev's cold scan
In previous line we are launching the mdev in daemon mode. One of the
first tasks the daemon mode performs is a cold scan, so there is no need
to repeat it afterwards.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-11-23 10:26:00 +01:00
Javier Viguera 8df1b0c246 swupdate: do not run swupdate daemon on non-dualboot devices
On recovery based devices, the swupdate process is executed in the
recovery, so there is no need to have the swupdate daemon running on the
rootfs.

Add a on-target post installation script to disable the swupdate
bootscript on the normal rootfs. This has the side effect of failing in
the recovery initramfs because the initramfs does not have a complete
SysV init system. For that case add a rootfs postprocess function to
delete the postinst script.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-11-23 10:23:25 +01:00
Arturo Buzarra 2d34c34619 README: Update dey-4.0-r1 changelog
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-11-22 17:08:20 +01:00
Gonzalo Ruiz d9563ea54e u-boot-dey: add config to select whether to build the scripts
Add configuration 'BUILD_UBOOT_SCRIPTS' to select whether to build the
boot and install scripts or not, and set it to 'true' by default.

This allows removing the scripts on upper Yocto layers.

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2022-11-22 15:38:49 +01:00