Commit Graph

78 Commits

Author SHA1 Message Date
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 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 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
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
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 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
Alex Gonzalez 4cb2050ba6 meta-digi-arm: Fix warning for fsl-mm-codeclib.
WARNING: For recipe fsl-mm-codeclib, the following files/directories were installed but not shipped in any package:
WARNING:   /usr/lib/lib_ogg_parser_arm9_elinux.3.0.1.07.00
WARNING:   /usr/lib/lib_ogg_parser_arm11_elinux.3.0.1.07.00

Not sure why these aren't .so.x.y.z though.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-03 12:30:08 +01:00
Alex Gonzalez e872b7c2a5 meta-digi-arm: Override fsl-mm-codeclib recipe.
Perform per machine overrides instead of general ones.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-30 19:31:02 +01:00
Alex Gonzalez 24db00eba9 meta-digi-arm: Fix checksums for libz160.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-30 19:30:07 +01:00
Alex Gonzalez 0502bed774 meta-digi-arm: Accept the FSL EULA agreement.
Doing it in the layer configuration means we don't have to do it in
each recipe that requires it.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-30 19:29:30 +01:00
Alex Gonzalez a9343bad07 meta-digi: Remove [DIGI] from comments.
Now that all code is our own as we are not copying recipes into the
layer but overriden the ones in meta-fsl-arm, the prefix to comments
have no use.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-30 19:06:11 +01:00
Alex Gonzalez fa35263ffc meta-digi-arm: linux-libc-headers-imx bbappend.
Construct the headers from our own overriden linux-imx git and not the
default freescale one.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-30 16:41:56 +01:00
Alex Gonzalez 98114fb6bd meta-digi-arm: linux-imx, update recipe to use meta-fsl-arm/denzil.
Set machine specific SRCREV and LOCALVERSION.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-30 16:41:03 +01:00
Alex Gonzalez 91907973d4 meta-digi-arm: Use machine instead of family overrides.
In this way the layer should still be able to compile the default
machines supported by meta-fsl-arm.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-30 16:40:02 +01:00
Alex Gonzalez 0c3225b240 meta-digi-arm: Update imx-firmware to use meta-fsl-arm denzil.
It is now called firmware-imx.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-30 16:38:45 +01:00
Alex Gonzalez 107670f3a6 meta-digi-arm: Append amd-gpu-x11-bin-mx51 recipe.
Do not add a dependency on libgl if the x11 distro feature is not
defined.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-28 17:08:51 +01:00
Alex Gonzalez e3cf9caada meta-fsl-arm: Update digi-defaults with new kernel and u-boot providers.
We use the meta-fsl-arm recipes, customized through meta-digi-arm.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-28 17:08:51 +01:00
Alex Gonzalez 3e451e6c08 meta-fsl-arm: Use meta-fsl-arm uboot-imx recipe.
Add a bbappend file to customize.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-28 17:08:51 +01:00
Alex Gonzalez fa47770a80 meta-fsl-arm: Use the meta-fsl-arm linux-imx recipe.
Add a bbappend file and the corresponding defconfigs for all platforms.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-28 17:08:51 +01:00
Alex Gonzalez 3c3fbcbeed meta-digi-arm: Use meta-fsl-arm for gst-plugins-base.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-28 17:08:51 +01:00
Alex Gonzalez ecd50d4aca meta-digi-arm: Use an append file for gst-fsl-plugin.
Instead of having the whole recipe in meta-digi-arm, use the original
recipe in meta-fsl-arm and just add a bbappend file with some overrides.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-28 17:08:51 +01:00
Alex Gonzalez 91ae867448 meta-digi-arm: Use an append file for imx-lib.
Instead of having the whole recipe in meta-digi-arm, use the original
recipe in meta-fsl-arm and just add a bbappend file with some overrides.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-28 17:08:51 +01:00
Alex Gonzalez 3b921c79c9 meta-digi-arm: Use an append file for fsl-mm-mp3enc-codeclib.
Instead of having the whole recipe in meta-digi-arm, use the original
recipe in meta-fsl-arm and just add a bbappend file with some overrides.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-28 17:08:51 +01:00
Alex Gonzalez 5285166ec4 meta-digi-arm: Use an append file for fsl-mm-flv-codeclib.
Instead of having the whole recipe in meta-digi-arm, use the original
recipe in meta-fsl-arm and just add a bbappend file with some overrides.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-28 17:08:51 +01:00
Alex Gonzalez 4ee1ccc667 meta-digi-arm: Use an append file for fsl-mm-codeclib.
Instead of having the whole recipe in meta-digi-arm, use the original
recipe in meta-fsl-arm and just add a bbappend file with some overrides.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-28 17:08:51 +01:00
Alex Gonzalez d1ada2510e meta-fsl-arm: Rename linux-digi-2.6.35 folder to linux.
This is the same as the meta-fsl-arm layer and allows for more recipes
for different kernel versions to be considered.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-28 16:58:58 +01:00
Alex Gonzalez 22e5226f38 meta-digi-arm: Use an append file for libz160.
Instead of having the whole recipe in meta-digi-arm, use the original
recipe in meta-fsl-arm and just add a bbappend file with some overrides.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-28 16:58:58 +01:00
Alex Gonzalez 18b6d5ddf6 meta-digi-arm: Use an append file for imx-firmware.
Instead of having the whole recipe in meta-digi-arm, use the original
recipe in meta-fsl-arm and just add a bbappend file with some overrides.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-28 16:58:58 +01:00
Alex Gonzalez d787c4947c meta-digi-arm: Reuse meta-fsl-arm for machine configuration.
- imx-digi-base includes imx-base and contains the overrides.
- mxs-digi-base includes mxs-base and contains the overrides.
- digi-defaults contains the overrides to fsl-default-settings,
  fsl-default-providers and fsl-default-versions.
- The machine configuration files include the digi includes and also
  contains the UBOOT load addresses overrides.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-28 16:58:58 +01:00
Alex Gonzalez e112184852 meta-digi-arm: Use meta-fsl-arm image_types_fsl
Allow for customizations to happen on the image_types_digi class.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-28 16:56:46 +01:00
Alex Gonzalez 12382a590e meta-digi-arm: Update preferred udev version.
This needs to be done to work with the updated recipe in meta-oe.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-28 16:56:45 +01:00
Alex Gonzalez eb9c1ecc70 meta-digi-arm: Fix virtual/kernel preferred provider.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-28 16:56:45 +01:00