Commit Graph

493 Commits

Author SHA1 Message Date
Javier Viguera a4c6472815 meta-digi-dey: allow to mount the rootfs with 'noatime'
Remount the rootfs with 'noatime' option to minimize writes (avoiding
wearing-out the flash).

This also improves slightly the system performance.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-07-04 11:48:24 +02:00
Alex Gonzalez b0e42820a1 meta-digi-arm: Fix the license on atheros driver.
The Checksum says ISC but the license BSD. Checking with Atheros the
correct license is ISC.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-03 10:59:20 +02:00
Alex Gonzalez b714a56fac meta-digi-arm: Update u-boot to DUB-1.6.0.3
https://jira.digi.com/browse/DEL-546

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-03 10:46:34 +02:00
Javier Viguera 966753e404 dey-examples: restrict the compatible machines
Restrict the compatible machines to the ones we have tested the examples
on.

The rationale of this is to remove the compatibility with CPX2 where
we have not tested the DEL examples and actually adding 'dey-examples'
feature to a CPX2 project fails to build with:

ERROR: Nothing RPROVIDES 'dey-examples-adc' ..
ERROR: dey-examples-adc was skipped: incompatible with machine cpx2 (not in COMPATIBLE_MACHINE)

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-07-02 17:26:23 +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
Javier Viguera cf67280cee microwindows: simplify and fix recipe
This recipe was way too complicated for what we need. Moreover there was
a build error in jenkins daily build due to this recipe:

WARNING: QA Issue: microwindows: Files/directories were installed but not shipped
  /usr/bin
  /usr/bin}
  /usr/bin}/fonts
NOTE: Tasks Summary: Attempted 2628 tasks of which 2469 didn't need to be rerun and all succeeded.

Summary: There was 1 WARNING message shown.

| Collected errors:
|  * satisfy_dependencies_for: Cannot satisfy the following dependencies for packagegroup-dey-debug-dev:
|  * 	microwindows (= 0.91-dey.r0.0) *
|  * opkg_install_cmd: Cannot install package packagegroup-dey-debug-dev.

So simplify it and fix the dependence so the jenkins job can be built.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-06-27 19:47:34 +02:00
Javier Viguera e963c1bf7f meta-digi-arm: Update u-boot SRCREVs for dey-1.3.0.5
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-06-25 20:40:36 +02:00
Alex Gonzalez 8f60a3cd07 dey: Change version to 1.3.0.
https://jira.digi.com/browse/DEL-512

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-21 11:00:14 +02:00
Javier Viguera 7a2cd37ad3 udev-extraconf: fix automount of block devices
Some block devices are incorrectly mounted by udev. Instead of mounting
the partition device it mounts the disk device. This commit enhances the
automount udev rule and mount script so it only applies to partitions.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Reviewed-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-20 11:09:01 +02:00
Javier Viguera f92a7ad84a busybox: enable FEATURE_STAT_FORMAT
Allows to use '-c' parameter to 'stat' command.

This is needed in udev's automount script (next commit).

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Reviewed-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-20 11:07:49 +02:00
Alex Gonzalez 2eeb39fb72 meta-digi-dey: Use a different download location for cherokee.
The official cherokee project page has repacked the source and broken
backwards compatibility. They also erase old images when new ones are
released.

This commit changes the download location to a mirror with the original
tarball that also keeps the archives.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-20 09:19:40 +02:00
Alex Gonzalez 6101d5925f meta-digi-dey: Update stunnel to version 4.56.
They removed old versions from the download location so 4.54 now fails.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-20 09:19:40 +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 698df28ed6 meta-digi-dey: Fix ifup script for manual configuration.
The system freezes if we try to set the MAC addresses before the interface
is up, so check the state before doing it.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-18 17:02:10 +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
Javier Viguera 65ed973d18 meta-digi: remove meta-digi-dbl layer
It has been moved to its own git repository.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-06-14 13:41:26 +02:00
Alex Gonzalez 4c14df9620 meta-digi-arm: Update SRCREVs to revision dey-1.3.2.3.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-13 13:36:18 +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
Javier Viguera 89cd759503 redpine: use global variable to use internal git repo
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-06-12 17:06:07 +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
Javier Viguera c019fa7611 amd-gpu-bin-mx51: use FSL SRC_URI
https://jira.digi.com/browse/DEL-499

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-06-12 13:13:11 +02:00
Alex Gonzalez c633b81b31 meta-digi-del: Add meta-fsl-demos to README.
http://fisheye.digi.com:8060/cru/CR-DEL-49

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-12 13:09:14 +02:00
Alex Gonzalez b6fa4c17db meta-digi: Remove sha1s from layer README files.
This lowers the maintenance of these layers. The manifest used with repo
deals with the specific sha1s.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-12 13:07:37 +02:00
Alex Gonzalez 763fffe424 meta-digi-arm: Change DIGI_MIRROR to final FTP URL.
This is the FTP site where the release artifacts will be placed. It's
structure will be something like:

x.y.z/
	source
	images
	toolchains
	adt-installer

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-12 13:03:13 +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 7e64629187 meta-digi: use global variable for github url
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-06-07 15:52:19 +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
Javier Viguera c548d7011a nvram: get code from github
https://jira.digi.com/browse/DEL-472

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-06-04 14:32:04 +02:00
Javier Viguera 41809501fb u-boot: get code from github
https://jira.digi.com/browse/DEL-472

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-06-04 14:05:08 +02:00
Javier Viguera 7ad6a5e63a meta-digi-arm: create complete u-boot recipe (instead of bbappend)
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-06-04 13:49:52 +02:00
Javier Viguera ce54d81e66 linux: get code from github
https://jira.digi.com/browse/DEL-472

While on it, fix minor bug: uImage-<platform> symbolic link was not
being created on deployment directory.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-06-04 10:00:45 +02:00
Javier Viguera ca34ff76bf imx-bootlets: get code from github
https://jira.digi.com/browse/DEL-472

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-06-04 10:00:45 +02:00
Javier Viguera ac80d686f7 kernel-module-atheros: get code from github
https://jira.digi.com/browse/DEL-472

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-06-04 10:00:45 +02:00
Javier Viguera 23ae02204f meta-digi: move Digi mirrors below yoctoproject's
So yoctoproject's are used *before* Digi's.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-06-04 09:57:07 +02:00
Alex Gonzalez 88df6a4d1e meta-digi-del: Add a development graphical image.
https://jira.digi.com/browse/DEL-479

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-04 09:14:56 +02:00
Alex Gonzalez 8a7ab34482 meta-digi-del: Define xserver common virtual runtime for del-gui.
The xserver-common package in meta-openembedded replaces and conflicts
with the x11-common package in poky.

But by default poky sets the VIRTUAL-RUNTIME_xserver_common variable
in packagegroup-core-x11 to x11-common.

This causes a build error on the rootfs creation step when images with
the dev-pkgs image feature are compiled. The build error is not quite
understood, but forcing the xserver common in the distribution works
and resolves any doubt regarding to which is the package actually
being included in the target system.

xserver-common was also the package included by default in normal (non
development) builds.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-04 09:14:56 +02:00
Alex Gonzalez 8b0481316f meta-digi-arm: Allow to create an empty dev package for firmware-mxs.
Otherwise a dev or sdk image which include the dev-pkgs image feature
will fail.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-04 09:14:56 +02:00
Alex Gonzalez 2faf1c8292 meta-digi-del: Add sdk image targets for development.
These images contain debug tools as the tcf-agent which are required to
perform SDK operations like run and debug.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-04 09:14:56 +02:00
Alex Gonzalez b41c69e3b5 meta-digi-del: Add virtual ssh server.
This commit allows for the ssh server to be selected by the user in the
project's local.conf.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-04 09:14:56 +02:00
Javier Viguera 7dd9c33154 meta-digi-del: create '/etc/build' file with build statistics
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-28 19:58:42 +02:00
Javier Viguera 2b7fb6b3cf base-files: rework '/etc/os-release' file
* Do not hard-code the DISTRO* values and set them from the environment
* Move the build information to a different file (following commit)

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-28 18:40:22 +02:00
Javier Viguera 08589f8942 meta-digi: missing spaces around '='
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-28 10:46:12 +02:00
Alex Gonzalez de5be32935 Distro configuration: Allow to use the standard Yocto ADT installer.
The ADT installer compiled from "bitbake adt-installer" needs qemu images
available at adtrepo.yoctoproject.org/$VERSION. To avoid having to deploy
an adtrepo ourselves, we need to change the distro version to the upstream
version.

There are further problems with the ADT installation that need to change
the SDK_VENDOR to the poky default of pokysdk and to have the SDKPATH also
with the default value.

With this change the adt-installer is installed without errors.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-05-28 10:09:33 +02:00
Javier Viguera acbbde22f6 psplash: do not launch on target's shutdown
psplash utility is throwing errors on target's shutdown when using the
serial terminal as console. Override the psplash initscript configuration
so it only runs on target's boot.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-27 12:15:31 +02:00
Javier Viguera a448713777 gst-fsl-plugin: rework patches
The patches are specific to the package version, so move then to a
versioned folder and remove the version from the patch filenames.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-23 16:33:28 +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
Javier Viguera 289a003d2a gst-fsl-plugin: remove not needed patch
The patch has been accepted upstream, so it's no longer needed here:

http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/commit/?h=danny&id=b93c40348cdcb0022f4315edc1b9cb7474253b1e

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-22 18:15:13 +02:00
Javier Viguera b5e4c77c4e gst-fsl-plugin: fix video not working with mfw_isink
There were two problems here:

* The 'vssconfig' files need to be removed so the displays are
  auto-configured directly.

* Fix a problem with a missing library. The code tries to 'dlopen' a
  shared library using the symbolic link instead of the soname. But the
  symbolic link is only installed with the development package PN-dev,
  so it's not available with the normal 'gst-fsl-plugin' package. Added
  patch that fixes this problem.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-22 18:15:13 +02:00