Commit Graph

208 Commits

Author SHA1 Message Date
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
Gabriel Valcazar 4368cfb107 Add meta-multimedia layer for ccimx8/ccimx9 platforms
NXP's machine learning packagegroup now has a dependency for gst-shark, a GPU
profiling tool which is provided by this layer. Since it's a part of a repo
that already exists in our manifest, simply add it to the default layers of all
i.MX platforms that support the machine learning feature to be able to include
its packages out of the box.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2023-06-01 15:58:25 +02:00
Javier Viguera 7374cd0685 build.sh: add ccimx93-dvk new platform
This allows building the new platform from GitHub.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-05-26 10:40:57 +02:00
Javier Viguera bc3636fd88 build-github.sh: code review, no functional change
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-05-26 10:40:57 +02:00
Javier Viguera 9141451583 meta-digi: cosmetic, delete machine variants dead code
We removed machine variants support years ago.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-05-05 14:39:34 +02:00
Arturo Buzarra 358dd2a815 build.sh: add dey-image-qt for ccmp15-dvk
ConnectCore MP15 has support to QT applications, so add it to the daily build.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
(cherry picked from commit b92028b407)
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-03-20 17:07:39 +01:00
Javier Viguera 4ef4794f20 Merge tag 'dey-4.0-r2.2' into dey-4.0/master
Digi Embedded Yocto 4.0-r2.2

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-03-20 11:05:11 +01:00
Arturo Buzarra 739f1b6ab0 build.sh: add dey-image-webkit for ccimx8 platforms
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2023-03-06 16:03:38 +01:00
Javier Viguera 14da5bce49 mkproject: disable ccimx93-dvk for this release
Not yet officially supported.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-03-06 14:04:12 +01:00
Gabriel Valcazar 13dafe10bd meta-digi-arm: disable Vigiles CVE report generation by default
For now, we're only interested in generating the SBOM, which we can upload and
have Vigiles scan later on if needed. The report generation process adds some
overhead and can cause unwanted errors if the Vigiles server takes too long.

Enable report generation for our automated builds.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2023-02-27 15:51:36 +01:00
Tatiana Leon 4e22f037f7 ccmp15: set 'dey-image-webkit' as default image instead of 'dey-image-qt'
This commit also replaces 'dey-image-qt' with 'dey-image-webkit' on build
scripts.

Signed-off-by: Tatiana Leon <Tatiana.Leon@digi.com>
2023-02-24 15:11:40 +01:00
Gabriel Valcazar 08abcb542d build.sh: remove spurious "if"
This was left by accident and causes the script to fail

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2023-02-22 17:34:14 +01:00
Gabriel Valcazar 93ea42e229 build.sh: add support to generate Vigiles reports in automated builds
This adds two new options:

    * One to generate a Vigiles CVE report along with a build
    * One to include the meta-digi-security layer in a build

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2023-02-22 15:10:17 +01:00
Javier Viguera 2dd829fb1d build-github.sh: fix cloning DEY from GitHub
Seems that 'meta-openembedded' repo does not allow shallow clones. It
fails when '--depth' option is passed:

$ git clone --depth 1 https://git.openembedded.org/meta-openembedded
Cloning into 'meta-openembedded'...
fatal: dumb http transport does not support shallow capabilities

Remove that option to allow building DEY-4.0 from GitHub repos in the
buildserver.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-02-17 13:28:13 +01:00
Javier Viguera 007833fb2e meta-digi: use QT6 for ccimx8m and ccimx93
https://onedigi.atlassian.net/browse/DEL-8347

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-02-02 18:03:38 +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 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
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 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
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 05d25ab36d build.sh: add core-image-base for ccimx6ulsbc
In the CC6UL this is the only image that has the connectcore demo
included, so add it to the daily build.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-10-19 14:00:29 +02:00
Javier Viguera f56d4db107 build.sh: code review, no functional change
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-10-19 14:00:20 +02:00
Javier Viguera 021e80d1e1 build.sh: remove support for building variants
This is dead code used in the past for the ccardimx28. It is not used in
any other platform, so just remove it.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-10-19 13:58:13 +02:00
Arturo Buzarra b8e09bddc7 sdk: build: remove dey-image-aws image
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-09-15 16:14:30 +02:00
Arturo Buzarra 0ed6c4d66b meta-digi-arm: add support for ConnectCore MP13 DVK platform
https://onedigi.atlassian.net/browse/DEL-8078

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-09-15 16:14:30 +02:00
Tatiana Leon 8a81dd87f8 crank: add new crank image
https://onedigi.atlassian.net/browse/DEL-7969

Signed-off-by: Tatiana Leon <Tatiana.Leon@digi.com>
2022-08-26 13:34:59 +02:00
Javier Viguera 1c0e62ab92 mkproject: add not supported platforms
These platforms are not officially supported in the first DEY-4.0
release.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-08-10 13:43:48 +02:00
Javier Viguera 29e2f56cc5 meta-digi: remove NXP's EULA v35 configuration
This has been recently added to meta-freescale, so it's duplicated here.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-08-09 18:11:39 +02:00
Arturo Buzarra 5fa91adcd6 webkit: add support for dey-image-webkit for ccmp15 platform
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-07-26 12:08:04 +02:00
Javier Viguera 83e845c10f meta-digi: use last version of NXP's EULA
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-07-12 18:03:33 +02:00