Commit Graph

76 Commits

Author SHA1 Message Date
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
Javier Viguera d7a9f1a6ee build.sh: fix parsing of platform data
As the platform data is only separated by spaces, the data is assigned
to the incorrect variable:

ccardimx28js variants: -
ccardimx28js targets: e w wb web web1 dey-image-qt

After this commit:

ccardimx28js variants: - e w wb web web1
ccardimx28js targets: dey-image-qt

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-07-11 19:41:02 +02:00
Alex Gonzalez 9658d54d00 build.sh: allow to extend local.conf from build environment
https://jira.digi.com/browse/DEL-3051

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-28 11:52:38 +01:00
Sebastian Pastor e9c1cd4632 sdk: build: Add ccimx6ulrftest platform.
This is the manufacturing test harness used for the CC6UL module during
manufacturing RF test.

Signed-off-by: Sebastian Pastor <sebastian.pastor@digi.com>
2017-02-10 21:59:10 +01: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
Alex Gonzalez e0bc435685 sdk: build: Add ccimx6ulsom platform.
This is the manufacturing test harness used for the CC6UL module
manufacturing test process.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2017-02-01 11:35:21 +01:00
Alex Gonzalez 9a1e8d2d41 sdk: build: Add custom layer machine support
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2017-02-01 11:34:33 +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 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 02c961eb3f build.sh: add support to build a toolchain for CC6UL
The build script was filtering out toolchain builds for all image
recipes not starting with 'dey-image-', but for the CC6UL we are
building by default 'core-image-base', so update the regular expression
to allow building the toolchain for 'core-image-*' image recipes.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-07-26 19:45:30 +02:00
Diego Escalona 24fb7f5bd4 build.sh: add support for the manufacturing build job
- Added a checker with the job name to declare the manufacturing var
- Changed the name of the repo manifest file for the manufacturing job
- Added a checker to updated the bblayers.conf file with the mfg layer

Signed-off-by: Diego Escalona <diego.escalona@digi.com>
2016-07-19 11:33:06 +02:00
Javier Viguera 7db92fc476 build.sh: allow to define per platform bitbake image target
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-06-20 19:18:49 +02:00
Isaac Hermida 0f5820f111 sdk: Support for ccimx6ulstarter
Adding sdk support by copying the files from ccimx6sbc and replacing the
machine.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-05-13 10:10:13 +02:00
Javier Viguera 8952bc58de build.sh: use LOG-SLN-JENKINS for packages mirror
'build-linux.digi.com' is the old DEL buildserver that sooner than later
will be decommisioned (hopefully) so just don't depend on it for DEY
builds.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-04-22 11:44:25 +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
Urko Nalda 3428eee3d1 build.sh: add support for dey-image-tiny and dey-image-tiny-initramfs
In order to build tiny or tiny-initramfs images, the script adds
the line:

 DISTRO_FEATURES_remove = "x11"

to 'conf/local.conf' file.

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

Signed-off-by: Urko Nalda <Urko.Nalda@digi.com>
2015-12-10 12:42:23 +01:00
Javier Viguera 16b2740fd5 build.sh: generate tarballs from git repositories
This is needed when you use a PREMIRROR (as we usually do in buildserver
builds). Otherwise there is a strange corner case where the do_fetch
task fails when the upstream git repo has been rebased and the old mirror
tarball does not have the new SHA1 revision.

ERROR: Function failed: Fetcher failure for URL: 'git://git.yoctoproject.org/matchbox-window-manager'. Unable to fetch URL from any source.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-11-10 13:47:45 +01:00
Javier Viguera d35ac42dd0 meta-digi: remove support for MX5X platforms
ccimx51js and ccimx53js are not supported in this version of DEY.
Support for those platforms is in previous versions of DEY.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-11-05 13:56:38 +01:00
Javier Viguera 12cb58a565 build scripts: remove stale branches before sync'ing
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit 8b30168930e65debc2c3a7b54e6b86e16784b50e)
2015-10-21 11:00:19 +02:00
Javier Viguera 51a3bdb25f meta-digi: remove Linux preferred versions
There is only one kernel supported for each platform, so there is no
need to explicitly set the kernel preferred version.

Also:

* Remove IS_KERNEL_2X variable which is no longer needed.
* Simplify jenkins build script, now that we do not need to build two
  kernel versions for ccardimx28.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-10-07 16:44:26 +02:00
Javier Viguera f20b82c7cd meta-digi: remove automatic acceptance of FSL EULA
https://jira.digi.com/browse/DEL-1734

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit 35a78b13f72963205dc1ae1e05ee851ca6cc4f28)
2015-09-29 11:52:10 +02:00
Javier Viguera ee1bf7d441 meta-digi-dey: remove sares-image bbclass
This was used just for SARES testing and according to the SA team it is
not needed anymore, so just remove it.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-08-27 11:10:15 +02:00
Javier Viguera 6a7f06b410 meta-digi-arm: remove support for kernel 2.6.35 on ccardimx28js
https://jira.digi.com/browse/DEL-1747

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-08-05 11:54:55 +02:00
Javier Viguera 20671e874d meta-digi: remove current variants support for CC6
Remove the current DEY variants support and framework for CC6 because in
following commits we will add support for all *hardware* variants in
just one set of DEY images for CC6.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-05-15 17:12:45 +02:00
Javier Viguera 8b2e4812fc meta-digi-dey: create sares-image bbclass
Remove 'dey-test' image feature and create a SARES bbclass with the
same functionality. This makes easier the creation of images suitable
for SARES testing just adding:

INHERIT += "sares-image"

to your project's local.conf

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-03-13 18:43:11 +01:00
Javier Viguera 8b0db7612d build scripts: create MD5SUMS file
Minor improvements:

  * Remove 'README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt' file
  * Create MD5SUMS file

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit 4be702c44945d200c01818227604cc6d0f818931)
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-02-20 11:17:57 +01:00
Javier Viguera f3dfa6a3b6 meta-digi-arm: support variants for ccimx6sbc
This completes the support for ccimx6sbc variants:

* support device tree variants
* split variants '0x01,0x02,0x04' group in two different groups (with or
  without kinetis)

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit 3f20015411f4e270b2e2c8faf292678c75ff2aff)
2015-02-05 16:37:42 +01:00
Javier Viguera 315e479b5a build.sh: support building platform variants
Depending on DY_BUILD_VARIANTS variable (set by Jenkins):

  'false':     don't build variants (only the default)
  <empty>:     build all the variants supported by the platform
  'var1 var2': build the ones specified in the variable

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit de58d3fac52448ee7b1828c6ac71c6c10a3442ff)
2015-02-05 16:30:21 +01:00
Javier Viguera dbd966543e meta-digi: remove not supported ccimx6adpt
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-12-01 12:15:54 +01:00
Javier Viguera 9542bd6b13 build.sh: copy SDK only if built
Fix jenkins error:
cp: cannot stat `tmp/deploy/sdk': No such file or directory

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-10-07 10:34:14 +02:00
Javier Viguera c4cc0c4329 build.sh: adapt script to build DEY toolchains
https://jira.digi.com/browse/DEL-1003

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-10-02 19:28:48 +02:00
Javier Viguera c9b82ed477 build.sh: adapt script after 'dey-gui' distro removal
https://jira.digi.com/browse/DEL-858

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-09-25 16:23:40 +02:00