Commit Graph

238 Commits

Author SHA1 Message Date
Javier Viguera 3ec533efb7 build-github.sh: bring back ccimx6 supported platforms
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit 81bfa24ca4)
2025-12-19 14:06:07 +01:00
Javier Viguera 3b6796e233 build.sh: enable dey-image-chromium for ccimx95-dvk
https://onedigi.atlassian.net/browse/DEL-9838

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-11-21 14:41:54 +01:00
Gabriel Valcazar 5b0c835076 build.sh: add "--ignore-missing" flag to "repo forall" commands
If a previously existing workspace is missing some repos due to "repo sync"
errors, any builds re-using that workspace will fail silently when attempting
to run "git clean -fdx" on all repos via "repo forall".

Ignore missing repos to prevent these situations.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-11-17 11:38:02 +01:00
Hector Palacios 0eb9d5a506 cc95: add support for dey-image-flutter
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2025-11-06 17:18:40 +01:00
Gonzalo Ruiz 7888fe3b22 mkproject: ignore meta-digi-arm dir when other layer is selected
Default value of 'MKP_CONFIGPATH' points to a config path in the
meta-digi/meta-digi-arm layer.

When mkproject.sh is called with the '-m' argument, another layer is
provided to build the project from. In this layer the conf/templates
new structure must be respected, but it is likely it does not contain a
meta-digi-arm directory on top.

Keep the 'meta-digi-arm' directory in the config path by default, but
remove it when a different layer is provided through an argument.

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2025-10-24 10:34:57 +02:00
Javier Viguera 81c09b151e build.sh: enable wic image generation and minor cleanups
* generate SD card image using wic
* remove ZIP_INSTALLER_CFG since DEY_IMAGE_INSTALLER="1" is now the default
* drop purge_sstate

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-10-23 12:33:30 +02:00
Javier Viguera 08eec741c2 lvgl-demo: add support for ccimx95
This allows to build dey-image-lvgl for ccimx95-dvk.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-10-10 10:12:02 +02:00
Javier Viguera a5d5cf86f1 meta-digi-arm: add ConnectCore 95 DVK platform
https://onedigi.atlassian.net/browse/DEL-9781

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-09-29 12:52:13 +02:00
Javier Viguera 87cbca9693 build.sh: allow externally configuring sstate cache path
Define YOCTO_SSTATE_DIR honoring DY_SSTATE if configured in Jenkins,
otherwise use the previous default value.

While on it, quote YOCTO_INST_DIR expansion to prevent word splitting.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-09-17 13:56:14 +02:00
Arturo Buzarra 84636fa715 mkproject: add ccimx6sbc and ccimx6qpsbc as supported platforms
https://onedigi.atlassian.net/browse/DEL-9758

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-09-03 09:03:19 +02:00
Arturo Buzarra 51e97057c9 ccmp15-dvk: enable support for dey-image-flutter
This commit enables building dey-image-flutter for the ConnectCore MP15
platform. It integrates the necessary configurations to support Flutter-based
graphical applications on this platform.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-07-03 14:33:39 +02:00
Arturo Buzarra b460485771 Merge branch 'dey-5.0/master' into dey-5.0/maint
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-07-02 12:53:57 +02:00
Hector Palacios bd71ef76e5 build scripts: limit sdcard image to platforms that support it
The CC6UL SOM doesn't support booting from the SD card.
The STM based SOMs use a wic template to generate the SD card
image.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2025-06-17 16:58:18 +02:00
Hector Palacios 57f0575ad0 machine: remove 'sdcard.gz' image from default IMAGE_FSTYPES
The generation of the sdcard image takes time and resources, and
it's not involved in the Get Started.
This can be easily re-enabled by appending the variable in the
project local.conf.

Append the variable in the build scripts, to facilitate its usage
on release builds.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2025-06-16 08:35:19 +02:00
Arturo Buzarra 185651e6f0 mkproject: re-insert ccmp1 platforms into build system
The CCMP1 platforms were integrated as part of DEY-5.0, and this commit
restores their support in the mkproject build system.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-05-05 15:51:22 +02:00
Arturo Buzarra 724c9492ec build: Start a build release environment from scratch
The release build should ensure it starts from a fresh environment to avoid
potential mismatches with old code.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-04-22 12:53:37 +02:00
Arturo Buzarra 758cae2e19 build.sh: add dey-image-flutter image
https://onedigi.atlassian.net/browse/DEL-9380

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-04-15 15:35:13 +02:00
Javier Viguera ee8075bfa7 build-github.sh: remove not supported platforms
These platforms are not officially supported in the first DEY-5.0 release.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-04-07 11:39:47 +02:00
Isaac Hermida 70942f21a0 mkproject: add build support for ccimx8m platforms
Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2025-03-19 10:26:06 +01:00
Gabriel Valcazar 161f6fbe9a sdk: build.sh: parametize vigiles config file path with Yocto codename
We need separate config files for different DEY versions, so store each file
set in a folder named after the corresponding Yocto codename.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-03-12 15:49:37 +01:00
Hector Palacios 293f0c5ab7 dey: remove support for dey-image-crank
We're dropping support for dey-image-crank images.

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

https://onedigi.atlassian.net/browse/DEL-9508
https://onedigi.atlassian.net/browse/DEL-9509
2025-02-26 11:37:37 +01:00
Javier Viguera d9668c0ba4 mkproject: add not supported platforms
These platforms are not officially supported in the first DEY-5.0 release.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-02-18 12:11:34 +01:00
Gabriel Valcazar 248c3c7f4f sdk: build.sh: only build dey-toolchain when building SDKs
Instead of having one toolchain per image, we now provide one per platform.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-11-26 18:36:34 +01:00
Gabriel Valcazar b9f46a9100 sdk: move templates to conf/templates in preparation for Yocto 5.0 (Scarthgap)
Starting in poky commit 8791c77a4098d62080ecad09d94718eccd7f1a47, there is
now a check to make sure TEMPLATECONF follows specific rules. If we don't abide
by them, an error will occur when creating a project with our mkproject.sh
script. Move the templates to the place they're supposed to be in and reflect
the change in mkproject.sh.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-10-17 11:28:26 +02:00
Gabriel Valcazar ef26e935d0 sdk: bblayers.conf.sample: remove GUI-related layers from headless devices
Qt5/Qt6 and Webkit layers are specifically for functionality related with GUIs,
which aren't available for these platforms. For the moment, leave meta-webkit
in the ccimx91's bblayers, since our dynamic selinux layer has a spurious
dependency with our dey-image-webkit recipe.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-09-18 12:44:27 +02:00
Hector Palacios d545fe0a14 ccmp25-dvk: default to use dey-image-webkit on installers
This image is the one that contains the Get Started demo.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2024-09-17 16:27:29 +02:00
Arturo Buzarra bf183f4093 build.sh: add support for ConnectCore 91 DVK platform
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-07-23 10:17:30 +02:00
Arturo Buzarra 9d5ce6c707 meta-digi-arm: add support for ConnectCore MP25 DVK platform
https://onedigi.atlassian.net/browse/DEL-8995

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-07-22 17:12:33 +02:00
Hector Palacios 22238772ee Merge tag 'dey-4.0-r6.1' into dey-4.0/master
Digi Embedded Yocto 4.0-r6.1

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2024-07-19 13:35:27 +02:00
Mike Engel d11b291f9a meta-digi: add new CCMX91 platform into DEY
This commits adds the CCMX91 platform to the DEY
build system. Furthermore, it creates generic ccimx9
support to be used for the CCiMX91 and CCiMX93
platform.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2024-07-19 07:32:00 +02:00
Javier Viguera 18c0c69314 Merge branch 'dey-4.0/master' into dey-4.0/maint
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2024-06-21 14:44:59 +02:00
Javier Viguera c1fa1190d3 build-github.sh: pre-fetch source packages before building
We have intermittent build failures due to fetch errors of some large
source packages (like linux.git).

This commit tries to workaround those failures by downloading all the
source packages, with a retries mechanism, before starting the build.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2024-04-25 16:43:12 +02:00
Gabriel Valcazar 8ce2fddc7f build.sh: fix error when applying CVE layer
In our previous commit, we changed the CVE scan class from "vigiles" to
"digi_ccss" if we plan on building images with the CVE layer. However, we
make this change in conf/local.conf and then run "bitbake-layers add-layer" to
add said layer. Since the bbclass is exclusive to the CVE layer, bitbake isn't
able to recognize it and fails.

Add the CVE layer to the project before adding the Vigiles configuration
template to conf/local.conf.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-03-12 11:07:39 +01:00
Gabriel Valcazar 190e7a8df1 build.sh: change name of class used for CVE scan depending on layers used
Our CVE layer now includes a new bbclass that extends the logic of the
"vigiles" bbclass. Use this new class if we are building images with the CVE
layer.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-03-11 18:08:31 +01:00
Gabriel Valcazar 4db0703a6b build.sh: don't build dey-image-crank for the ccimx6sbc and ccimx6qpsbc
The crank engine hasn't been fully tested on these platforms yet, so remove
the image from our default build.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-01-30 11:23:08 +01:00
Arturo Buzarra a1a176f091 dey-image-lvgl: remove x11 graphical support for ccimx6ul platform
LVGL graphical library has support for different backends, in the case of the
ccimx6ul we use the fbdev directly, so we don't need the x11 support.
This commit removes x11 support for the ccimx6ul platform for the
dey-image-lvgl image.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-01-24 17:12:31 +01:00
Arturo Buzarra 62fa660d05 Merge branch 'dey-4.0/master' into dey-4.0/maint
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-01-19 11:46:55 +01:00
Gabriel Valcazar b7ce8d4997 build.sh: add support to build dey-image-lvgl images daily
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2023-11-23 13:20:31 +01:00
Javier Viguera 6a7fc990b0 build-github.sh: remove not supported platform ccimx8x_sbc_express
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-11-21 18:19:50 +01:00
Gabriel Valcazar 2a015f3f87 Add support for dey-image-lvgl images
LVGL is a free and open-source embedded graphics library that is able to run
in environments with limited resources.

This image includes a desktop environment and an LVGL widget demo (lvgl_demo)

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2023-11-16 11:39:03 +01:00
Arturo Buzarra 94a865cc0e build scripts: sync internal and Github build scripts
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2023-10-09 16:50:11 +02:00
Arturo Buzarra 5956782ac3 build.sh: support dey-image-webkit on ccimx6sbc/ccimx6qpsbc platforms
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2023-10-09 16:50:06 +02:00
Javier Viguera 0b4b0a4867 build.sh: minor optimize DY_MACHINES_LAYER variable usage
DY_MACHINES_LAYER is an optional variable only used once. Use bash's
"alternate value" expansion and get rid of the intermediate MACHINES_LAYER
variable.

While on it, remove the DY_BUILD_VARIANTS reference in the script header
as that was removed long ago.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-08-16 10:25:18 +02:00
Gonzalo Ruiz 151636c404 sdk: build.sh add DY_MANIFEST parameter
DY_MANIFEST parameter allows to do a 'repo init' with a specific
manifest file contained in the manifest repository. For example,
'manufacturing.xml' for building manufacturing projects.

By default no manifest file parameter is provided, so the 'repo init'
command will initialize based on the 'default.xml' manifest file.

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
(cherry picked from commit c38b4fc4f2c565ab9db20c082016401341e78ce5)
2023-08-08 09:12:21 +02:00
Javier Viguera 5fa9e0a319 ccimx93-dvk: conf-notes: remove webkit image from notes template
Webkit image is not supported on ccimx93.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-07-28 12:40:38 +02:00
Gabriel Valcazar 0c5b5ff75e bblayers: replace meta-qt5 with meta-qt6 in ccimx8x platforms
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2023-07-05 11:37:19 +02:00
Gabriel Valcazar 82ba959324 mkproject.sh: remove i.MX8X platforms from blacklist
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2023-06-29 16:24:29 +02:00
Gabriel Valcazar fbe44ac1c6 bblayers: replace meta-qt5 with meta-qt6 for ccimx6/6qp
https://onedigi.atlassian.net/browse/DEL-8542

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2023-06-06 10:26:41 +02:00
Gabriel Valcazar 1df42d39b9 sdk: mkproject.sh: remove ccimx6sbc and ccimx6qpsbc from blacklist
This allows to create projects for these platforms

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2023-06-06 10:26:41 +02:00
Gabriel Valcazar dbbceeae4b Add meta-st-stm32mpu-ai layer to ST platforms
This layer provides machine learning functionality, so include it in our
default layers so customers can use it out of the box if wanted.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2023-06-01 15:58:32 +02:00