Commit Graph

2331 Commits

Author SHA1 Message Date
Javier Viguera 8fd25bfd8c meta-digi-arm: move imx-lib to its own directory
As it's done in 'meta-fsl-arm'.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-04 19:48:55 +01:00
Javier Viguera 767cb77672 meta-digi-del: symplify packagegroups
There is no need to explicitly set PACKAGES variable (it is
automatically handled by packagegroup.bbclass)

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-04 19:48:54 +01:00
Javier Viguera 536e17549f meta-digi-del: rename tasks to packagegroups
For Yocto 1.3 'Danny' migration.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-04 19:48:54 +01:00
Javier Viguera a5a313fb79 meta-digi-del: update busybox to danny
Yocto 1.3 (danny) already supports busybox-1.20, so just make a
bbappend.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-04 19:48:54 +01:00
Javier Viguera 646702aadd meta-digi-arm: fix redpine build with gcc-4.7
Added patch that allows to build the driver with GCC-4.7 (used in Yocto
"Danny")

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-04 11:22:26 +01:00
Javier Viguera 1192172b9f meta-digi: update to Yocto 1.3 'Danny'
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-04 11:22:26 +01:00
Javier Viguera ff2f46daf3 meta-digi: fix typos
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-03 19:09:44 +01:00
Javier Viguera 2b13330e9d meta-digi-del: remove overriden 'base-passwd' recipe
And set the 'root' password later on a ROOTFS_POSTPROCESS_COMMAND
function.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-03 11:21:08 +01:00
Javier Viguera 0d146e72e9 meta-digi-del: fix IMAGE_FEATURES in del-image-minimal recipes
If we override the variable with '=' instead of '+=' then extra image
features set in project's local.conf (EXTRA_IMAGE_FEATURES variable) are
discarded.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-02 19:36:01 +01:00
Alex Gonzalez 41369cede1 meta-digi-del: Add the del-debug feature.
It currently includes memwatch and fbtest.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-20 15:14:40 +01:00
Alex Gonzalez 96d7eecb4d meta-digi-del: recipes-digi, add fbtest.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-20 15:14:40 +01:00
Alex Gonzalez ca86900065 meta-digi-del: recipes-digi, add memwatch.
This is part of the del-debug feature.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-20 15:14:40 +01:00
Alex Gonzalez ef8428a652 meta-digi-del: Add microwindows.
We use microwindows for the fbtest application. The recipe is imported
from openembedded classic and modified to work in yocto.

The configuration file has been modified to match the one in DEL legacy.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-20 15:14:40 +01:00
Alex Gonzalez 6f88b7ba27 meta-digi-del: Move libdigi inside recipes-digi.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-20 15:14:40 +01:00
Javier Viguera 9930e99124 meta-digi-arm: update kernel defconfigs
Synchronize with DEL's.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2012-12-19 11:57:34 +01:00
Javier Viguera 414bc7c6a8 meta-digi-arm: rework 'ccardxmx28js' machine configuration
* u-boot config
* serial console
* flash images

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2012-12-19 11:23:30 +01:00
Javier Viguera 69a72f1990 linux-imx: override SRC_URI for ccardxmx28js
This is done so the generic 'mxs' patches from FSL layer are not
applied.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2012-12-19 11:21:40 +01:00
Javier Viguera 9a4544b500 meta-digi-arm: allow to use u-boot-imx on our platforms
Otherwise for ccardxmx28js a different recipe is used (u-boot-2012.xx)

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2012-12-19 11:19:44 +01:00
Javier Viguera 46c17f06d5 imx-digi-base: create UBIFS and JFFS2 flash images
DEL-127 #resolve
DEL-131 #resolve
DEL-132 #resolve

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2012-12-17 19:20:05 +01:00
Alex Gonzalez 1350ccacbc meta-digi-del: Add stunnel from openembedded classic.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-17 17:50:43 +01:00
Alex Gonzalez 9c1d92afe6 meta-digi-arm: Add accel-video to machine configuration files.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-17 14:09:15 +01:00
Alex Gonzalez abc6dd8e57 meta-digi-del: del-image-minimal, select features by machine support.
Only add del-audio and del-gstreamer if supported by the machine.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-17 14:08:42 +01:00
Alex Gonzalez b809da65e8 meta-digi-del: task-del-core, add tslib if touchscreen supported.
If the machine definition support a touchscreen ,add tslib and
related test apps.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-17 13:44:45 +01:00
Alex Gonzalez 1fb9c918ee meta-digi-arm. Remove comments from machine configuration files.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-17 13:43:52 +01:00
Alex Gonzalez aa422599ff meta-digi-arm: Fix kernel-module-redpine compilation.
We need to split the EXTRA_OEMAKE flags as the do_make_scripts stage
fails if we pass a "M=" argument.

We override module_do_compile and module_do_install to add the extra
make flags as I have not found a working way of overriding EXTRA_OEMAKE.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-17 13:19:13 +01:00
Alex Gonzalez 86b50d065d meta-digi-del: Add iw package.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-17 13:19:13 +01:00
Javier Viguera 57fa39008e imx-digi-base: set correct erase block size for ccxmx5xjs
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2012-12-14 19:36:13 +01:00
Javier Viguera 4402372088 meta-digi: fix recipe dependences on libx11
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2012-12-14 13:57:35 +01:00
Javier Viguera 257667225a imx-digi-base: fix mx5 GPU library API support
The mx5 GPU libraries provide OpenGL ES1, OpenEGL and OpenGL ES2 only
so we need to ajust the PREFERRED_PROVIDER.

There is an equivalent commit in FSL layer.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2012-12-14 11:01:11 +01:00
Javier Viguera 7dfc09b818 recipes-kernel: fix soc-family SRCREV override
So it uses our own revision instead of FSL's.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2012-12-14 10:22:45 +01:00
Javier Viguera f18a3162fc meta-digi-arm: include missing soc-family.inc
This is needed to use SOC_FAMILY data and was the reason why imx-lib was
not compiling correctly (see commit cec37f0).

Thus revert also commit cec37f0 because that workaround is not needed
anymore.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2012-12-13 13:53:36 +01:00
Alex Gonzalez 77428b3f76 meta-digi: Replace the PR append.
Use +del.rn instead of +digi.n.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-13 13:04:39 +01:00
Alex Gonzalez 54b5f54e8f meta-digi-del: Add crda package.
This is based on the recipe found in the openembedded layer.

http://cgit.openembedded.org/openembedded/log/recipes/crda/crda_1.1.1.bb

It needs to compile with libnl 2.0, so we set a distro preferred version
for it.

Also, we make the recipe configurable to compile without gcrypt. The
Makefile is patched to compile without gcrypt.

Compiling with gcrypt would need the addition of the python-m2crypto-native
recipe which is not done so it is currently broken.

The compilation without gcrypt is how DEL is currently doing it so this
should be enough for our needs.

Also, the device manager is configurable and set to busybox-mdev by
default.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-13 13:04:39 +01:00
Alex Gonzalez fd7e53800d meta-digi: Replace folders naming format.
We have been using ${PN}-${PV}, change to use only the package name and
leave ${PN}-${PV} for actual recipes.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-13 13:04:39 +01:00
Javier Viguera cec37f0829 imx-lib: fix do_compile error due to unspecified PLATFORM var
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2012-12-13 12:53:57 +01:00
Alex Gonzalez f305d31d6f meta-digi: Add the redpine wireless driver.
This included the recipe where the driver is cloned from git and compiled
from source.

The recipe also copies the firmware files and the if-pre-up scrip.

Pending is the recipe to link from precompiled objects in a .tar.gz file.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-12 17:00:18 +01:00
Alex Gonzalez 60fb77c8c7 meta-digi-arm: firmware-imx, add machine conditional.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-12 13:03:18 +01:00
Alex Gonzalez 0778e10d3e meta-digi-arm: Add new variable DIGI_LOG_GIT.
And use it in all files that need it.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-05 15:52:47 +01:00
Alex Gonzalez 54feb069d9 meta-digi: Move mirrors to meta-digi-arm.
Nothing in meta-digi-del needs them at the moment.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-05 15:50:59 +01:00
Alex Gonzalez ef280d0812 meta-digi-del: Add usbutils to task-del-core.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-05 11:08:56 +01:00
Alex Gonzalez fd5862ef48 meta-digi-del: Add mplayer.
To successfully compile mplayer we need to append the meta-oe recipe
not to use X, live555 or fontconfig.

They way it's done X can be added back in the distro features, and both
live555 and fontconfig through virtual runtime package configuration.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-04 18:48:17 +01:00
Alex Gonzalez 66a7aaf9bb meta-digi-del: Fix libdvdread incorrect src_uri.
The SRC_URI is broken, and in the new git repository the same SRCREV does
not exist.

We can't currently test libdvdread functionality, but it's enough to
compile mplayer successfully.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-04 18:46:52 +01:00
Alex Gonzalez c6d61e8205 gst-fsl-plugin: Use upstream source.
DEL patches are still applied on meta-digi-del.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-04 09:50:02 +01:00
Alex Gonzalez 348b7420f9 meta-digi-arm: imx-lib, use upstream sources.
Do not override with local sources.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-03 19:01:24 +01:00
Alex Gonzalez 4e059f7b1e meta-digi-arm: fsl-mm-mp3enc, use upstream sources.
Do not override with local sources.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-03 19:00:39 +01:00
Alex Gonzalez 9b650be0d1 meta-digi-arm: fsl-mm-flv-codeclib, use upstream sources.
Do not override with local sources.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-03 19:00:06 +01:00
Alex Gonzalez c0af75cb23 meta-digi-arm: fsl-mm-codeclib, use upstream sources.
Do not override with local sources.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-03 18:59:26 +01:00
Alex Gonzalez 238e383559 meta-digi-arm: libz160, use upstream source
Do not override with local sources.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-03 18:58:54 +01:00
Alex Gonzalez 07039b4c78 meta-digi-arm: Use upstream binaries.
Do not overwrite the upstream binaries with the local version.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-03 18:58:16 +01:00
Alex Gonzalez 7bb5e97e36 meta-digi-arm: Fix QA issue with rdepends on fsl-mm-codeclib-dev.
When building del-image-minimal we are seeing the following errors:

NOTE: Running noexec task 1211 of 1214 (ID: 220, /home/alex/Projects/
meta-fsl-arm/recipes-multimedia/fsl-mm-core/fsl-mm-codeclib_2.0.3.bb,
 do_package_write)
ERROR: QA Issue: gst-fsl-plugin rdepends on fsl-mm-codeclib-dev
ERROR: QA run found fatal errors. Please consider fixing them.

NOTE: Running task 853 of 1214 (ID: 221, /home/alex/Projects/
meta-fsl-arm/recipes-multimedia/fsl-mm-core/fsl-mm-codeclib_2.0.3.bb,
 do_package)
NOTE: package fsl-mm-codeclib-2.0.3-r2.0digi.0: task do_package: Started
ERROR: QA Issue: fsl-mm-codeclib rdepends on fsl-mm-codeclib-dev

The error means that fsl-mm-codeclib and gst-fsl-plugin are including
libraries which should only be included on the dev version, typically
.so files.

This is only a workaround, the patch should come from those packages.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-03 12:36:32 +01:00