Commit Graph

55 Commits

Author SHA1 Message Date
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
Alex Gonzalez bc97dbd679 meta-digi-arm: Add recipes-graphics, amd-gpu-bin and libz160.
A difference with meta-fsl-arm is that we include then non X11 version.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-28 16:56:45 +01:00
Alex Gonzalez 36a7a55f2a meta-digi-arm: Add imx-firmware.
We use the 11.09.01 tarball which also includes binary firmware for other
hardware like the sdma and atheros, but we don't install the firmware
we don't use.

Also, we include newer VPU binary files on this commit, from the
11.09.01_201112 tarball which are the ones we use in DEL.

This is also done this way in meta-fsl-arm.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-21 16:04:07 +01:00
Alex Gonzalez 5c765c43c5 meta-digi: Add gsl-fls-plugin package.
The package is added in meta-fsl-arm and the customizations are done
in meta-fsl-del.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-21 10:21:20 +01:00
Alex Gonzalez 855232c9a0 meta-digi-arm: Patch gsl-plugins-base.
This is the same patch we have in del-toolchain.git and the same patch
meta-fsl-arm applies.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-21 10:15:56 +01:00
Alex Gonzalez 39c219d5c5 meta-fsl-arm: Adding package fsl-mm-mp3enc-codeclib to del-gstreamer task.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-20 18:12:35 +01:00
Alex Gonzalez 88b1dcb453 meta-fsl-arm: Adding fsl-mm-flv-codeclib package.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-20 18:06:21 +01:00
Alex Gonzalez 49f97e39ef meta-digi-arm: Add imx-lib package.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-20 16:47:13 +01:00
Alex Gonzalez b9f421b1b9 fsl-mm-codeclib: Fix qa issue with fsl-mm-codeclib rdepend.
The package was not including all the libraries being installed.

That is because $SOLIBS extens to *.so.*, which meant that the .so files
were not being packaged.

I won't report this upstream as probably the source tarball they use won't
have this problem.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-20 16:33:57 +01:00
Alex Gonzalez 46a575516c fsl-mm-codeclib: Point to FSL MMK EULA and fix checksums.
The recipe is sourcing the tarball from Logroño's repoes which has a
different checksum than the same version included in meta-fsl-arm.

Go guess.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-20 16:31:37 +01:00
Alex Gonzalez b01667f276 meta-digi-arm: Add fsl-mm-codeclib to recipes-multimedia.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-20 12:22:22 +01:00
Alex Gonzalez b5cd4d7edc meta-digi-del: Add distribution layer.
This commit separates the BSP layer from the DEL distribution layer. This
allows for customers to use the BSP layer while customizing their own
distribution, and for other Digi teams, like the gateways, to do the same.

It would also allow to use the DEL layer over other BSPs.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-19 13:40:53 +01:00
Alex Gonzalez 4560c7b01e del: Shorten distro name to remove reference to Poky.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-16 18:50:41 +01:00
Alex Gonzalez b742aa835e del: Add busybox default configuration.
For the del distro, override the busybox configuration to use the one
that was also used in DEL-5.9.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-16 18:07:23 +01:00
Alex Gonzalez d2d97da28a meta-digi-arm: Add del distro.
This allows to specify del specific overrides in recipes, so that other
distros under meta-digi can also customize them in their own way.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-16 18:05:57 +01:00
Alex Gonzalez 47bcb5e3ca base-password: Override whole recipe in meta-digi.
The original recipe is based in meta/recipes-core. We want to add a shadow
file for the del-image-minimal target.

The best way would be to add a bbappend overlay, however the original
recipe prepends the populate_packages function with a:

preinst = blahblah

This makes it impossible for a bbappended recipe to add anything to the
preinst script, which is needed to install the shadow file.

Hence the only solution is to duplicated the recipe and increase PR.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-16 16:12:32 +01:00
Alex Gonzalez e6f4c59b6a del-image-minimal: Add initial version.
del-image-minimal is the command line non graphical busybox based minimal
root filesystem for Digi Embedded Linux.

It uses a base task-del-core task, and defines core-ssh-dropbear as image
feature. It also will default to using shadow passwords unless
debug-tweak is selected in which case root can log in with an empty
password.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-16 16:09:18 +01:00
Alex Gonzalez dcf91c0aad layer.conf: Bump the layer priority.
Make meta-digi the same priority as meta and meta-yocto so that recipes
with new revisions are used from meta-digi.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-16 15:59:30 +01:00
Alex Gonzalez 80d8b442fb images: Add del-image-minimal
Initially this is a copy of core-image-minimal.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-10-31 14:10:54 +01:00
Alex Gonzalez 208821ea85 layer.conf: Add digi mirror URL placeholder.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-10-31 13:38:19 +01:00
Alex Gonzalez 2352f88f2f imx-base: Add jffs2 image type.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-10-31 09:50:34 +01:00
Alex Gonzalez 4587014164 imx-base: Do not set UBOOT_SUFFIX and UBOOT_MAKE_TARGET
These are specified on the individual machines.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-10-30 18:36:18 +01:00
Alex Gonzalez 7dd61cc29b u-boot-digi: Provides u-boot.
This is the name the yocto core expects.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-10-30 18:34:51 +01:00
Alex Gonzalez 48e88d93ea recipes-kernel: Add kernel recipe.
http://jira/jira/browse/DEL-93

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-10-29 16:11:07 +01:00