Commit Graph

109 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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 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 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 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
Mike Engel de46b4ae85 ccmp15-dvk: add CCMP15-DVK platform configuration
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Isaac Hermida 148b1b443b meta-digi-arm: add support for ConnectCore 8M Plus platform
https://onedigi.atlassian.net/browse/DEL-7784

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2022-02-03 11:45:31 +01:00
Arturo Buzarra 6462549f04 build.sh: add support to provide cpus number to use
https://onedigi.atlassian.net/browse/DEL-7629

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-08-13 10:53:57 +02:00
Arturo Buzarra b9599a6c80 build.sh: add support to set build timestamp
By default is enabled the reproducible builds feature and to provide a real
timestamp for the build system, we include it in our local.conf file.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-06-07 12:34:10 +02:00
Mike Engel 34389a275d sdk: remove framebuffer from platforms
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2021-05-20 12:49:19 +02:00
Arturo Buzarra a76f3031fb meta-digi-arm: add support for ConnectCore 8M Mini DVK platform
https://jira.digi.com/browse/DEL-7397

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-02-04 13:07:07 +01:00
Gabriel Valcazar 52335e8ed5 sdk: build.sh: remove dey-image-webkit from all default build target lists
The buildserver uses this default value when building framebuffer images. Since
the WebKit is not yet compatible with framebuffer images, the builds fail.

Remove dey-image-webkit from the default target lists.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2021-01-04 09:57:30 +01:00
Gabriel Valcazar f91cb8d6bd Add support for the dey-image-webkit image
This image is very similar to dey-image-qt, but it includes the WebKit
packagegroup instead of the Qt one. Said packagegroup contains all of the
elements needed to run a WebKit-based browser environment in DEY.

This image requires the meta-webkit layer, so include it in our default
bblayers template. For now, include all WebKit related recipes in a dynamic
layer, because the ccimx6ul doesn't support WebKit and its projects don't need
meta-webkit at all.

https://jira.digi.com/browse/DEL-7339

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-12-14 11:49:33 +01:00
Arturo Buzarra 867483e924 build: limit amount of data cloned for each repository
This commit fixes an intermittent issue when we are cloning several
repos with a huge history, throwing an unexpected error.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-08-07 09:34:57 +02:00
Arturo Buzarra c6a1fb6881 build.sh: add support to use an external downloads dir
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-06-04 08:53:15 +02:00
Arturo Buzarra f95fa1d1c9 build.sh: Generalize release build flag so it is not dependent of a hardcoded job name
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-02-27 11:30:04 +01:00
Arturo Buzarra cdd1ca5ce7 build.sh: show local.conf information on build time
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 13:37:39 +01:00
Arturo Buzarra 6974e3fd93 build.sh: move downloads folder outside of the projects
If we want to share the downloads folder between projects
we need to move it outside to don't remove it.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 13:37:39 +01:00
Arturo Buzarra 580317486e meta-digi-arm: add support for ConnectCore 8M Nano DVK platform
https://jira.digi.com/browse/DEL-6806

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 11:31:27 +01:00
Gabriel Valcazar 1116c6ddc6 Revert "sdk: remove support for the ccimx6sbc and ccimx6qpsbc"
This reverts commit 0fea640371.

https://jira.digi.com/browse/DEL-6565

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-06 17:57:59 +02:00
Gabriel Valcazar 0fea640371 sdk: remove support for the ccimx6sbc and ccimx6qpsbc
These platforms are not supported on DEY 2.6 yet, and a project created for
either of them will fail during the build.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-04-04 09:42:27 +02:00
Arturo Buzarra 111c0b4af8 build.sh: fix missing dey-image-aws for CC8X platforms
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
(cherry picked from commit 318bb9ac313b0989939e0e9f8bf379e1d258276e)
2019-02-20 09:25:38 +01:00
Tatiana Leon 3b280e92f3 build.sh: remove references to 'manufacturing.xml' file
The file 'manufacturing.xml' file in the manifests repository does not exist.
When building manufacturing artifacts, we must use the 'manufacturing/morty'
branch, that already contains the right repositories to clone.

For a manufacturing job, this commit only adds the 'meta-digi-mfg' if it is not
already there.

Signed-off-by: Tatiana Leon <tatiana.leon@digi.com>
(cherry picked from commit 379ca469dff949e09c667d1a448012881b8812d2)
Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2019-02-19 16:27:54 +01:00
Arturo Buzarra b3c05fa5c5 meta-digi-arm: add support for ConnectCore 8X SBC Pro platform
https://jira.digi.com/browse/DEL-6205

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-10-15 09:10:04 +02:00
Hector Palacios b6c975c44d build: remove unsupported dey-image-aws for CC8X
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-09-12 12:23:33 +02:00
Gabriel Valcazar 9f9f2da8f2 build.sh: add support for building ccimx8x framebuffer images
Add wayland and vulkan to the distro features that get removed alongside x11.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-09-07 17:44:11 +02:00
Hector Palacios a2092450fa build: fix construction of variables from platforms with dashes
Commit d981f999f0 introduced a new
platform with dashes on its name, which broke Jenkins build because
middle variables are being created using the name of the platform
and dashes are not allowed in bash variable names.

To fix it, this commit changes the dashes to underscores on the fly.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-06-04 11:17:01 +02:00
Hector Palacios d981f999f0 meta-digi-arm: add support for ccimx8x SBC Express platform
Add initial support for Digi ConnectCore 8X SBC Express.
- ccimx6qp was used as reference machine from meta-digi.
- imx8qxpmek was used as a reference machine from meta-fsl-bsp-release.

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

https://jira.digi.com/browse/DEL-5936
2018-05-28 18:37:56 +02:00
Arturo Buzarra 8e6ce42528 meta-digi-arm: add support for ccimx6qpsbc platform
Add initial support for Digi's ConnectCore 6 QuadPlus SBC.
The ccimx6qp platform has the QCA6564 chip instead of the
other Atheros chips and included the Atmel ECC508A cryptographic
chip.

https://jira.digi.com/browse/DEL-5082

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2017-10-18 09:20:11 +02:00
Javier Viguera 6b78236f42 ccardimx28js removal: delete machine and configuration files
https://jira.digi.com/browse/DEL-4771

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-08-04 17:38:30 +02:00
Javier Viguera 03dcd12f83 build.sh: build 'dey-image-aws' by default for CC6/CC6UL
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-07-11 19:46:33 +02:00