Commit Graph

3864 Commits

Author SHA1 Message Date
Javier Viguera 19d940965d boot-artifacts: fix BOOTABLE_ARTIFACTS for NXP platforms
For platforms that do not define FIP_UBOOT_DTB, the
'd.getVar('FIP_UBOOT_DTB') gets evaluated to None, which is not equal to
"", and thus the code continues in the wrong "if" branch.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-01-10 10:31:14 +01:00
Javier Viguera 9dc6a491ba build.sh: change image to build for ccimx93
Support to build wayland-based graphical images has been added for ccimx93,
so build that image.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-01-09 16:55:37 +01:00
Javier Viguera 7f6bbf14e1 meta-digi-dey: enable wayland-protocols and weston for ccimx93
meta-freescale does not provide the proper overrides for imx93, so add
them here.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-01-09 16:29:21 +01:00
Javier Viguera 3e0d3bd18d qtwayland: update to support ccimx93
Native X11 is not supported for ccimx93 (dropped by NXP), so remove
xcomposite-egl and xcomposite-glx packageconfig options.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-01-09 16:29:09 +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 b7e651c521 ccimx93: update configuration for graphical images
Enable missing configuration parameters to build Wayland/Weston based
graphical images.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-01-09 16:28:44 +01:00
Javier Viguera eb420a72f9 ccimx8m: fix building sdcard image
The sdcard image generation code expects a boot artifact named after
machine's name. On the other hand, u-boot recipe creates symlinks with
the build config's name. So couple machine with build config label to
prevent a failure when building the SD card image.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-01-09 12:18:15 +01:00
Javier Viguera c2da31e0b1 gcnano-userland: fixes for Crank SB engine
Crank storyboard engine has runtime dependencies on libELG.so and
libGLESv2.so, which usually are just symlinks that go to the "-dev"
package. As they are needed at runtime, move the files to the normal
(not -dev) package.

Also add explicit RPROVIDES for those libraries, as otherwise the build
fails with:

QA Issue:
/usr/share/crank/sbengine/plugins/librender-plugin-opengles_2.0.so
contained in package crank-sbengine requires libEGL.so, but no providers
found in RDEPENDS:crank-sbengine? [file-rdeps]

QA Issue:
/usr/share/crank/sbengine/plugins/librender-plugin-opengles_2.0.so
contained in package crank-sbengine requires libGLESv2.so, but no providers
found in RDEPENDS:crank-sbengine? [file-rdeps]

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-01-04 14:45:32 +01:00
Javier Viguera 2a97d8886b xbee: allow creating xbee runtime empty package
All files go to xbee-init package, so by default xbee package is not
created. This leads to a failure when building the SDK:

Error:
 Problem: conflicting requests
  - nothing provides xbee = 1.0-r0.0 needed by xbee-dev-1.0-r0.0.ccimx8mm_dvk

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-01-04 13:46:08 +01:00
Javier Viguera b72a3425b1 wayland: clean up recipe and remove not needed patch files
Cleaned code comes from older yocto versions (not needed anymore), and is
causing a build failure when building the nativesdk package.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-01-04 10:53:45 +01:00
Javier Viguera 60e499f423 u-boot-dey: customize boot script for ccimx93
This was a verbatim copy of the one for the ccimx8mm.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-01-03 18:54:47 +01:00
Javier Viguera d2693a3cfe u-boot-dey: recover git sha1 revision on u-boot banner
This is provided by a class in "meta-freescale" so inherit it only for
NXP based platforms.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-01-03 17:57:24 +01:00
Javier Viguera e5bbc04341 u-boot-dey: define build path for external build
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-01-03 17:53:40 +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 5b92d3fcc3 mkproject: add ccimx8mm-dvk and ccimx8mn-dvk as supported platforms
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-01-03 16:59:56 +01:00
Isaac Hermida 22ccaeaa76 swupdate: change logic for service
The variable dualboot might not be defined or well have an invalid
value. Just keep the service running if it is a dualboot model.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2023-01-03 13:10:56 +01:00
Isaac Hermida 164a5ffc1a pulseaudio: use custom conf file
https://onedigi.atlassian.net/browse/DEL-8264

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2023-01-03 12:59:03 +01:00
Isaac Hermida 7fa82c528b bluez5-init: fix start on systemd
Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2023-01-03 12:59:03 +01:00
Javier Viguera ae792c4a0e meta-digi-arm: delete obsolete BBMASK
imx-atf version 2.4 is no longer available in meta-freescale

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-01-03 11:00:22 +01:00
Javier Viguera a471b71f67 meta-digi-arm: update ccimx8m config to allow building
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-01-03 10:45:53 +01:00
Javier Viguera f8d5d63fcd linux-dey: add ccimx8m compatibility with kernel version 5.15
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-01-03 10:45:53 +01:00
Hector Palacios 7c580a3896 busybox: send resume actions to the background
Make the script send the resume actions to the background
so that console returns to the user without having to wait
for the Wi-Fi module to load and the Bluetooth to attach.

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

https://onedigi.atlassian.net/browse/DEL-8262
2023-01-03 08:33:45 +01:00
Hector Palacios 1417728098 busybox: merge standby related files
The following files were duplicated across platforms but were
identical or almost identical.

Only used on SysVinit (currently only by default on the CC6UL).
- standby
- acpid.map

Only used on SystemD
- standby-actions

Notes:
- The triggering of udev actions are harmless if the interfaces
  don't exist.
- The value of KEY_POWER on acpid.map for CC6/CC6Plus was originally
  0 instead of 1, but this file is not currently used in systemd.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2023-01-03 08:33:33 +01:00
Hector Palacios 856a4a3c70 ccmp1: remove existing common settings and move others to include file
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2023-01-02 17:24:59 +01:00
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
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