Commit Graph

49 Commits

Author SHA1 Message Date
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
Alex Gonzalez 7ca94dba05 sdk: Add ccimx6sbc support.
Copied from the ccimx6adpt.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-05-09 17:34:10 +02:00
Javier Viguera 5569e543d0 build.sh: make sure the clean command returns success
This is needed so jenkins jobs not using 'meta-digi-dey' (the layer
containing the cleaned recipe) can complete. Otherwise they fail with:

ERROR: Nothing PROVIDES 'packagegroup-dey-examples'

(for example using just the BSP layer 'meta-digi-arm' with standard
image recipes, e.g. core-image-minimal)

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-04-25 12:11:29 +02:00
Javier Viguera aa6daab533 build.sh: purge the state-cache of problematic packages
In the buildserver we share the state-cache for all the different
platforms we build in a jenkins job. This may cause problems with
some packages that have different runtime dependencies depending on
the platform or variant.

Purge then the state-cache of those problematic packages between
platform builds.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-04-03 10:40:21 +02:00
Javier Viguera 47f9a546e3 meta-digi: sync config templates with upstream (poky)
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-04-01 14:29:04 +02:00
Javier Viguera 9b370d5a79 meta-digi: remove PRINC from recipes and use a local PR server
This cleans following warning:

  Use of PRINC is deprecated.
  The PR server should be used to automatically increment the PR.
  See: https://wiki.yoctoproject.org/wiki/PR_Service

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-27 18:44:35 +01:00
Javier Viguera b940f25eee meta-digi: update config templates for yocto 1.6
Codename not known at the moment

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-14 12:50:31 +01:00
Javier Viguera 5651ce96f1 build.sh: support ccimx6adpt
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-28 11:48:43 +01:00
Javier Viguera a0c2099ec4 mkproject.sh: fix sed command to set concurrency parameters
With the update to Dora, the BB_NUMBER_THREADS and PARALLEL_MAKE entries
in the template config file changed slightly (added a '?'), but enough
so our mkproject script failed to match and configure them properly at
project creation time.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-27 18:59:05 +01:00
Alex Gonzalez 7aa61f5e61 meta-digi: add config templates for ccimx6adpt
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-24 12:33:59 +01:00
Javier Viguera 07541f125d meta-digi: update config templates for yocto dora
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-12-20 17:25:06 +01:00
Javier Viguera b89f5f6911 meta-digi: remove wr21 platform
This needs to be supported in 'meta-digi-dlr' layer.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-15 11:00:47 +01:00
Javier Viguera 1cb6073749 meta-digi: remove cpx2 platform
This needs to be supported in the DBL layer.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-08 14:21:09 +01:00
Javier Viguera 43918960f0 build.sh: copy individual packages only for release builds
For daily builds just copy the firmware images to avoid running out of
space in the buildserver.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-05 11:18:54 +01:00
Javier Viguera 8a93cf981c meta-digi: complete variants support for device trees
Also change the default ccardimx28js variant to 'web1' (wireless, second
ethernet, bluetooth and 1-wire)

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-15 17:30:44 +02:00
Javier Viguera 5f442b5caf build.sh: update manifest URL after stash migration
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-08 14:16:14 +02:00
Javier Viguera a04ea9af59 build.sh: add support to build kernel version 3.x
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-08 14:15:43 +02:00
Javier Viguera b5619778f1 meta-digi: update config templates for yocto dylan
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-02 14:41:46 +02:00
Javier Viguera 10af7f7107 build.sh: time 'repo sync'
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-07-16 10:25:53 +02:00
Javier Viguera 211daed75d build.sh: remove 'meta-digi-dey' layer if not using DEY based distros
This allows to build 'core-image-minimal' or 'core-image-sato' standard
images using only the BSP layer meta-digi-arm.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-07-02 13:35:37 +02:00
Alex Gonzalez dc9d56dc47 build.sh: Add an RM_WORK option.
This will allow to remove the packages working directories to save disk
space.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-19 17:54:59 +02:00
Alex Gonzalez e04b4329ab build.sh: Allow to build for more than one target.
https://jira.digi.com/browse/DEL-504

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-18 16:51:22 +02:00
Alex Gonzalez 3984323bd3 build.sh: Fix error when building targets without images.
Some targets, like meta-toolchain, will not create a tmp/deploy/images
folder.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-18 16:50:40 +02:00
Alex Gonzalez e500e6b66e builds.sh: Update manifest URL.
The manifest git repository has changed location.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-13 09:55:55 +02:00
Alex Gonzalez 8988542df3 meta-digi: Rename from DEL to DEY.
The final product will be called "Digi Embedded for Yocto" or DEY for
short.

This commit renames all relevant files.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-12 13:18:37 +02:00
Alex Gonzalez 48d9b9079a build.sh: Add a platform specific path to TEMPLATECONF
If TEMPLATECONF is set in the environment, we will add the platform to
the path so that it's possible to use specific template configurations
for different platforms in the build server.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-12 10:59:50 +02:00
Javier Viguera 10c7594119 meta-digi: use global variable to use internal git repos
https://jira.digi.com/browse/DEL-472

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-06-04 18:08:02 +02:00
Alex Gonzalez a6a3a9a220 build.sh: Parametrize the distribution to build.
This allows to build for all supported distributions:

del (del-image-minimal)
del-gui (del-image-graphical
poky (core-image-minimal etc.)
dbl (dbl-image-base)

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-05-23 16:21:10 +02:00
Alex Gonzalez 68fd85851f mkproject.sh: Do not override TEMPLATECONF if already set.
This will allow to pass a TEMPLATECONF path with a predefined
local.conf.template and bblayers.conf.template that will allow
to customize those files.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-05-23 10:39:04 +02:00
Alex Gonzalez db55ff5a32 build.sh: Changes from review.
http://fisheye.digi.com:8060/cru/CR-DEL-28#CFR-517

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-05-22 17:40:58 +02:00
Alex Gonzalez 7bb61a45b9 build.sh: Parametrize the single target image name
This will allow to compile del-image-graphical or any of the other standard
Yocto image targets as meta-toolchain, meta-toolchain-sdk, adt-installer,
or meta-ide-support.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-05-22 17:33:21 +02:00
Francis Sreeves 53f6acf707 wr21 config template: set default platform variant
http://fisheye.digi.com:8060/cru/CR-DEL-27#CFR-516

Signed-off-by: Francis Sreeves <francis.sreeves@digi.com>
2013-05-22 10:30:01 +01:00
Francis Sreeves 6db91dc1a3 meta-digi: add WR21 machine
https://jira.digi.com/browse/DEL-455

Signed-off-by: Francis Sreeves <francis.sreeves@digi.com>
2013-05-22 10:30:01 +01:00
Javier Viguera 077894da5b meta-digi: add jenkins build script
https://jira.digi.com/browse/DEL-460

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-15 16:30:24 +02:00
Alex Gonzalez 26be48e5ed meta-digi: Add meta-fsl-demos to sdk.
https://jira.digi.com/browse/DEL-452

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-05-14 11:27:50 +02:00
Javier Viguera 7b7fcbee60 mkproject: allow to set an empty string as variant
This allows to set MACHINE_VARIANT to the empty string:

MACHINE_VARIANT = ""

in the project's local.conf by running something like:

. /path/to/mkproject.sh -v "" -p <platform>

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-13 19:45:41 +02:00
Javier Viguera 617bc24ce6 mkproject: prefix all vars to minimize name collision
This script is *sourced*, so we need to make sure that the variables
used do not collide with other variables that may be already in the
environment.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-10 16:11:57 +02:00
Javier Viguera 69afa07596 mkproject: add support for platform variants
This commit adds basic support for platform variants. The script does
not make any sanity check on the variant name. It's user's
responsibility to use the correct variant for the platform.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-09 13:25:07 +02:00
Javier Viguera 80f7892306 mkproject: rewrite usage function using here-document
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-09 13:25:07 +02:00
Javier Viguera a3ff714c0d mkproject: implement auto-update
The script in the root directory needs to be in sync with the 'master'
script in the 'meta-digi' layer.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-08 18:57:10 +02:00
Javier Viguera 4ec2ecd468 config templates: disable del-examples
Some examples need hardware to be plugged to the module (e.g. the
camera), and fail if the hardware is not there.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-08 14:07:30 +02:00
Javier Viguera 3f9c3cc5e5 mkproject: sanitize PATH environment variable
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-07 19:50:32 +02:00
Javier Viguera 700dbe38d6 mkproject: do not re-configure the project if already created
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-07 18:31:47 +02:00
Javier Viguera e0fed036fa config templates: set default platform variants
https://jira.digi.com/browse/DEL-438

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-07 16:18:07 +02:00
Javier Viguera 119249b813 meta-digi: add project maker and configuration templates
https://jira.digi.com/browse/DEL-213

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-04-23 13:33:18 +02:00