Commit Graph

94 Commits

Author SHA1 Message Date
Isaac Hermida b2d6231d88 sdk: add ccimx6ulsbc support
https://jira.digi.com/browse/DEL-2925

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-08-25 13:24:01 +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 adf044ec5e mkproject.sh: blacklist ccardimx28js
'ccardimx28js' is not supported officially in this release.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-07-28 13:17:53 +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
Isaac Hermida c90aaaaadd ccimx6ulstarter: update conf-notes.txt for core-image-base support
Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-07-11 12:22:19 +02:00
Javier Viguera ef3d1ab94f meta-digi: do not use system libsdl-native
Using native libsdl from the system is showing problems in newer
versions of some operating systems (e.g. ubuntu 15.10). The default in
Yocto 2.0 has changed to build a native libsdl and use it instead of the
one in the system.

This commit synchronizes the config templates to the latest in Yocto
2.0.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-06-21 12:03:03 +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
Javier Viguera 5d123f8594 meta-digi: update conf-notes after images rework
https://jira.digi.com/browse/DEL-2196

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
Javier Viguera 407c87688b meta-digi: sync config templates with yocto 2.0
This disables images prelink, which according to the mailing lists it's
broken for ARM and other architectures. It's also reported to make gdb
fail sometimes.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-01-07 12:01:43 +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 93a2e115db meta-digi: add 'meta-qt5' layer to bblayers config file
https://jira.digi.com/browse/DEL-1972

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-11-30 19:27:04 +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 66890a6f45 meta-digi: sync config templates with yocto 2.0
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 745c3afdc0 mkproject.sh: add notice to EULA acceptance process
The notice summarizes the different license agreements the user needs to
accept to use the software.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit 92740c610e35aa4f11ab6e6536cddb832331d896)
2015-10-05 12:13:39 +02:00
Javier Viguera ad0d0b7bfc meta-digi: cosmetic, no functional change
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit b52786156a43eb7b3c51a114797be5bf2896f313)
2015-09-29 11:53:10 +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 7ea9adbd83 meta-digi: sync config templates with yocto 1.8
https://jira.digi.com/browse/DEL-1558

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-03-12 14:42:10 +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 942165de06 meta-digi: set ccimx6sbc's default variant (kit variant)
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-02-19 13:46:06 +01:00
Javier Viguera 953b8ee3be meta-digi: add github build script
This script + jenkins jobs allows to detect regressions on already
released versions of DEY.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit b831229c7ac4ce9b4012ff92f50c22dcc8df7675)
2015-02-13 18:24:34 +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 fb9ec7221a meta-digi: add variants table to config templates
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit db1782bd24c4347cb9f4db33210e0f3fd6e73298)
2015-02-05 16:29:29 +01:00
Javier Viguera f42a61ab71 meta-digi-arm: support variants for ccimx6sbc
https://jira.digi.com/browse/DEL-1359

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit 015d029255eb407cca4c986562a304aef7de3940)
2015-02-05 16:27:05 +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 df83ee2116 meta-digi: update config templates for yocto 1.7
Added 'meta-python' to bblayers.conf.sample as it's now a dependence of
'networking-layer'. Otherwise if fails with:

ERROR: Layer 'networking-layer' depends on layer 'meta-python', but this
layer is not enabled in your configuration

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-11-17 16:29:40 +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 a014ca4c09 meta-digi: improve mkproject script
Some minor enhancements to mkproject script:

* Add 'conf-notes' files with DEY specific information. This is shown
  when you create the project or when you reload the environment in an
  already created project.

* Create a 'dey-setup-environment' script in the project's folder that
  allows to reload the environment in a new terminal.

* Remove the PATH variable tweaking. This was needed in older versions
  of Yocto, where the PATH kept growing each time you reloaded the
  environment, but it has been fixed in poky, so there is no need to do
  the same in our mkproject script.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-09-26 16:29:22 +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
Javier Viguera 5a450ae240 build.sh: do not rm-work linux, u-boot and dey images
These are key packages that we may need to debug in the buildserver, so
do not remove the object files.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-09-08 11:30:13 +02:00
Javier Viguera 98c8a75a2f build.sh: adapt script to new ccard default kernel 3.10
Adapt the jenkins build script to build for ccardimx28js by default
linux 3.10 and u-boot 2013.01 and as alternative configuration linux
2.6.35.14 and u-boot 2009.08

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-08-01 19:04:06 +02:00
Javier Viguera 162a33a0aa meta-digi: sync config templates with upstream (poky)
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-06-24 13:46:37 +02:00
Javier Viguera db9de11b17 ccimx6sbc: set bluetooth variant by default in config file
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-06-17 15:48:16 +02:00
Javier Viguera 616940ec5d mkproject.sh: prepare framework to blacklist platforms
This allows to blacklist platforms not officially supported in a DEY
release. It only works at help-level, you can actually create projects
for any platform whose config files exist, but the help of the mkproject
command will only show the officially supported platforms.

At the moment the BLACKLIST variable is not filled. This will be done in
the release branch.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-06-17 10:49:44 +02:00
Javier Viguera c91898e4b1 build.sh: purge sstate of all packagegroups between builds
Packagegroups define sets of packages to be installed in the rootfs
*depending* on the hardware variant (~MACHINE_FEATURES). For example
installing or not the bluetooth firmware depending on machine variant
having bluetooth.

It may happen that we build sequentially machines with different
features using the same sstate and thus it may happen we end with a
rootfs lacking bluetooth firmware for a bluetooth variant.

So add all packagegroups to the list of packages to purge state-cache
between platform builds.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-06-16 11:31:55 +02:00
Javier Viguera 0db56937bb meta-digi: set RPM as default package format in config templates
RPM is more polished than IPK and it's the default used by
Poky/Openembedded so just use it.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-05-20 13:51:37 +02:00