Commit Graph

54 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
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
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 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
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 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
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
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
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
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
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
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
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
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
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
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 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
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
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 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 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 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 407128b94c build-github: 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.

This is ported from a2092450fa.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-09-11 10:46:23 +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 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 1c61048b95 build.sh: enable zip installer generation by default
For automated builds in the buildserver we want the installer ZIP file
to be generated.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-02 13:32:18 +01:00
Javier Viguera 6cb94fe22c build.sh: add support to build firmware update packages
https://jira.digi.com/browse/DEL-3449

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-01-24 19:28:06 +01:00
Javier Viguera aea7e88db6 meta-digi: compile 'dey-image-qt' by default for ccimx6ulsbc
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-09-27 19:05:05 +02:00
Javier Viguera fb656a8ed1 build.sh: support 'ccimx6ulsbc' platform
https://jira.digi.com/browse/DEL-2928

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-08-30 17:46:00 +02:00
Javier Viguera 1a36cbee70 build-github.sh: define default bitbake targets per platform
Instead of having one default image target for all platforms allow to
define this per platform.

This is needed because for example for the 'ccimx6ulstarter' we want to
define a default command line image instead of a QT-based one.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-08-18 17:47:49 +02:00
Javier Viguera 3dcc4f8f49 build.sh: fix random build failures in the buildserver
We have seen lately random build failures in the buildserver due to
missing QT5 base libraries that are needed when building some other
QT5 packages.

Examples:

Compiling qtdeclarative:

error: cannot open .../tmp/work/cortexa9hf-vfp-neon-mx6qdl-dey-linux-gnueabi/qtbase/5.5.1+gitAUTOINC+5afc431323-r0/build/lib/libQt5Core.so: No such file or directory

error: cannot open .../tmp/work/cortexa9hf-vfp-neon-mx6qdl-dey-linux-gnueabi/qtbase/5.5.1+gitAUTOINC+5afc431323-r0/build/lib/libQt5Network.so: No such file or directory

error: cannot open .../tmp/work/cortexa9hf-vfp-neon-mx6qdl-dey-linux-gnueabi/qtbase/5.5.1+gitAUTOINC+5afc431323-r0/build/lib/libQt5Widgets.so: No such file or directory

The problem here is that 'qtdeclarative' is trying to get the needed
libraries from the 'qtbase' temporary work directory. But because in the
buildserver we have 'rm_work' enabled to save space, sometimes the
rm-work class has removed the 'qtbase' work directory before
'qtdeclarative' has been built, leading to the compilation error.

This is probably a bug in 'meta-qt5', because the different packages
needing QT5 base libraries should take them at compile time from the
sysroot and not from the qtbase work directory.

At the moment just workaround this adding an exception to the rm-work
class to not remove the 'qtbase' temporary work directory.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-07-29 18:52:44 +02:00
Javier Viguera f0c62bbd7d build scripts: adapt to new DEY images
https://jira.digi.com/browse/DEL-2197

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-02-05 18:07:49 +01:00
Javier Viguera bb32e981dd build-github.sh: update to new github account 'digi-embedded'
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-02-04 19:55:18 +01:00