Commit Graph

177 Commits

Author SHA1 Message Date
Javier Viguera e59768cd49 meta-digi: move DIGI_MIRROR to meta-digi-arm
If you don't want to use meta-digi-del and use only the BSP layer
(meta-digi-arm) to build a generic image (like core-image-minimal) you
need the DIGI_MIRROR variable in this layer because some of the BSP
recipes (kernel, u-boot) use it to get the source.

So this allows to build core-image-minimal for Digi platforms without
using meta-digi-del.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-03 18:30:39 +02:00
Javier Viguera dfa2477dc1 libdigi: fix error building del-image-minimal-dev
nvram-dev package has a runtime dependence on libdigi:

Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for nvram-dev:
 *    libdigi (= 1.0-del.r0) *
 * opkg_install_cmd: Cannot install package nvram-dev.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-03 18:30:06 +02:00
Javier Viguera 3c7f94a880 meta-digi-del: simplify del-image-minimal-dev
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-03 18:29:34 +02:00
Alex Gonzalez 091e921db6 READMEs: Update layers README files for meta-digi-1.0.0.2
They contain the sha1s of the upstream poky, meta-fsl-arm and
meta-openembedded we are basing this drop on. These sha1s are also
included in the manifest file for the drop so they could safely be removed
from here once we are building release images on the Jenkins server.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-05-02 13:42:15 +02:00
Javier Viguera fbdaae8050 packagegroup-del-gstreamer: remove fsl-mm rdepends
Those packages are already runtime dependences of gst-fsl-plugin, so
there is no need to explictly add them here.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-02 11:57:55 +02:00
Javier Viguera 7d7d7ee49c gst-fsl-plugin: add fsl-mm-mp3enc and fsl-mm-flv dependences
For MX5 machines, gst-fsl-plugin has build-time dependences on the
pre-built fsl-mm-mp3enc and fsl-mm-flv codec libraries.

If the mp3enc library is not in the sysroot, the 'libmfw_gst_mp3enc.so'
is not built.

If the fsl-mm-flv is not in the sysroot, the configure process warns
about:

"Unable to determine soname of lib_flv_parser_arm9_elinux.3.0.so library"

and the resulting 'aiur_registry.arm11.cf' gets a wrong entry for
flv_parser library.

Similar patch was sent upstream (meta-fsl-arm). Once upstream integrates
the patch, this commit should be reverted.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-04-30 19:36:09 +02:00
Javier Viguera 1bb7ddd94f gst-fsl-plugin: cosmetic, no functionality change
Follow Yocto coding style:

https://wiki.yoctoproject.org/wiki/Recipe_%26_Patch_Style_Guide

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-04-30 19:24:37 +02:00
Javier Viguera afbf2cd803 meta-digi: rework setting VIRTUAL-RUNTIME_dev_manager
As a result fix CRDA hard-dependence on busybox mdev.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-04-30 13:27:48 +02:00
Javier Viguera 88ea40e38a meta-digi-del: add udev-extraconf recommend in udev
So it gets installed in del-image-graphical and removable devices (like
MMC and micro SD) are automounted.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-04-29 18:37:44 +02:00
Javier Viguera 0bc9f87e2f meta-digi: fix corner case broken build
Running:

bitbake -c cleanall packagegroup-machine-base

was failing due to those trailing backslashes.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-04-29 18:35:40 +02:00
Javier Viguera a4c6504f5c base-files: add sysctl.conf
* Reduce kernel console loglevel for all platforms.
* Protect DMA zone for MX5 platforms (for gstreamer/vpu)

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-04-26 18:36:55 +02:00
Javier Viguera bb06677e47 meta-digi-del: simplify crda recipe
Yocto v1.3 (Danny) does *not* have python-m2crypto-native support so
enabling VIRTUAL-RUNTIME_crda_use_gcrypt breaks the build.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-04-25 20:12:57 +02:00
Javier Viguera 7445a69310 meta-digi-del: add udev-173 bbappend
Disable DEVCACHE to remove error message on boot.

https://jira.digi.com/browse/DEL-262 #resolve

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-04-25 19:04:17 +02:00
Javier Viguera 7f3ad176b6 meta-digi: replace DESCRIPTION with SUMMARY
According to the Yocto reference manual[1] and some mails in the mailing
list[2] we should set SUMMARY always as DESCRIPTION takes the value of
SUMMARY if not explicitly set.

[1] <http://www.yoctoproject.org/docs/current/poky-ref-manual/poky-ref-manual.html#var-SUMMARY>
[2] <http://thread.gmane.org/gmane.comp.handhelds.openembedded.core/36454>

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-04-25 19:02:23 +02:00
Alex Gonzalez 2d485936c4 meta-digi-del: Add kernel gadget modules if the usbgadget is defined.
Fixes https://jira.digi.com/browse/DEL-373

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-04-25 15:20:17 +02:00
Javier Viguera 618e2484f5 busybox: move symlinks to busybox-mdev package
Those symlinks point to files which belong to busybox-mdev package, so
at running time this adds a dependency to busybox package on
busybox-mdev package.

This is wrong for del-image-graphical where we want to use 'udev'
instead of 'mdev'.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-04-24 20:06:15 +02:00
Alex Gonzalez 5903da28e4 meta-digi-del: Only include iw for mxs platforms.
It uses the nl80211 API which some drivers (like Redpine) do not support.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-04-24 17:49:22 +02:00
Alex Gonzalez 788eb89aeb netbase: Parse .config file instead of /boot/config*
When building an RPM based system, the linux kernel image was installed
after the netbase image so the /boot/config* file was not found.

Strangely that worked fine on IPK based systems.

Fixes https://jira.digi.com/browse/DEL-364

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-04-23 18:24:52 +02:00
Alex Gonzalez e66c87bcc7 distro: Extend the distro features to cover all machine features.
According to the poky reference manual, if a machine feature is not
included in the distro features it will not be supported.

Not convinced that works that way, but just in case I am adding all the
machine features to distro features. It shouldn't hurt.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-04-22 17:28:44 +02:00
Alex Gonzalez c3c816ec52 Add support for variants
I have split the machine configuration in two:

-The module machine configuration include, for example ccimx53.inc
-The machine configuration (for example cimx53js.conf) which includes
the variant configuration.

This will allow for customers to create their own machine keeping the
module include file.

The variant can be configured in the local.conf file with a
MACHINE_VARIANT variable.

The variant names are made up of the interface initials as follows:

    w: wifi
    e: externel ethernel
    b: bluetooth
    1: 1-wire
    a: accelerometer
    g: GPU
    v: VPU
    128: 128MB RAM
    4k: 1024MB NAND (only for MX51 JTAG flash)

For details regarding the supported variants, each machine configuration
file contains a comment with a variants table.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-04-22 17:28:44 +02:00
Alex Gonzalez 890e235ee6 meta-digi-del: Replace VIRTUAL-RUNTIME_ntp for VIRTUAL-RUNTIME_ntp-client
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-04-22 10:45:07 +02:00
Javier Viguera 27cbea58e5 crda: remove not needed FILESEXTRAPATHS
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-04-19 19:02:22 +02:00
Javier Viguera 49bb00183b fbtest: code review recipe
* remove not needed FILESEXTRAPATHS
* simplify build command line

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-04-19 18:42:15 +02:00
Javier Viguera e79805f038 base-files: fix bitbake parsing error
An error appeared trying to setup a jenkins job to build yocto.

When using dettached repos for the different layers (as a result of
using 'repo' tool) bitbake somehow fails to parse 'base-files' recipe
because the branch of the layers is '(no branch)'.

The error message is:

ERROR: ExpansionError during parsing /data/jenkins/jobs/yocto_test/workspace/digi-yocto-sdk.jviguera_mkproject/sources/poky/meta/recipes-core/base-files/base-files_3.0.14.bb: Failure expanding variable do_install: ShellSyntaxError: LexToken(TOKEN,'nobranch',0,0)
followed by:
  LexToken(RPARENS,')',0,0)
  LexToken(TOKEN,':34e5537e67b655b8d2effbbecc207d88eea52b87"\nmeta-fsl-arm      = "',0,0)
  LexToken(LPARENS,'(',0,0)
  LexToken(TOKEN,'nobranch',0,0)
  LexToken(RPARENS,')',0,0)

This commit fixes the problem.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-04-19 15:08:02 +02:00
Javier Viguera 13ae6f8bc9 base-files: change check_output (not available on python 2.6)
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-04-19 12:04:39 +02:00
Alex Gonzalez 977f4d35e4 meta-digi-del: Implement code review changes.
iw, Remove summary and leave description.
packagegroup-del-bluetooth, remove trailing line.
vsftpd,pointercal-xinput, add colon at the end of FILESEXTRAPATHS_prepend
del-examples-*, add COMPATIBLE_MACHINE to some examples
packagegroup-del-qt, remove comments.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-04-18 18:37:32 +02:00
Alex Gonzalez f077ce8f4c Set DIGI_MIRROR in distro configuration to release folder.
The downloads folder can be configured if needed in the local.conf file
in the SOURCE_MIRROR_URL variable.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-04-18 18:37:32 +02:00
Alex Gonzalez b6b412e143 meta-digi-del: crda, use latest regulatory domain.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-04-18 18:37:31 +02:00
Alex Gonzalez 5c9b83094b meta-digi-del: crda, fix device manager virtual runtime.
VIRTUAL-RUNTIME_device_manager does not exist, it should be
IRTUAL-RUNTIME_dev_manager.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-04-18 18:37:31 +02:00
Alex Gonzalez c654f5798e meta-digi: Move inclusion of wireless drivers to del-wireless.
Remove the machine rdepends and move to del-wireless which is only
included for the wifi machine feature.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-04-18 18:37:31 +02:00
Alex Gonzalez 5b809d54c3 meta-digi-del: Review del.conf
-Change version to 1.0.0
-Remove preferred version for yocto linux kernel.
-Remove extra recommends for af packet kernel module.
-Move Digi servers from pre mirrors to mirrors.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-04-18 18:37:31 +02:00
Alex Gonzalez 76a5325500 meta-digi: Add distro to all PRs.
https://jira.digi.com/browse/DEL-282

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-04-18 18:37:31 +02:00
Javier Viguera 8bc63584e6 btfilter: update to atheros version v3.4p4
https://jira.digi.com/browse/DEL-412

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-04-16 18:55:03 +02:00
Alex Gonzalez bc9c48b201 meta-digi: Use common template for recipes.
All recipes include:

# Copyright (C) 2013 Digi International.

DESCRIPTION=""
SECTION=""

DEPENDS = ""
LICENSE = ""
LIC_FILES_CHKSUM = ""

PR="rn"

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-22 13:57:54 +01:00
Alex Gonzalez a0d00e4d76 meta-digi: Use the same template for include files.
They all have a copyright and the all do:

PR = "${DISTRO}.${INC_PR}.0"

Then recipes which include them include:

PR = "${DISTRO}.${INC_PR}.0"

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-22 13:57:53 +01:00
Alex Gonzalez f31d9f880e meta-digi: Replace SUMMARY by DESCRIPTION in all recipes.
According to the Poky reference manual, SUMMARY inherits DESCRIPTION, so
it's better to have only a DESCRIPTION or both.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-21 15:53:32 +01:00
Alex Gonzalez 0cea6d53fd meta-digi: Unify bbappend files with template
All bbappend files will start as follows:

# Copyright (C) 2013 Digi International.

PRINC := "${@int(PRINC) + 1}"
PR_append = "+${DISTRO}"

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-21 14:09:54 +01:00
Alex Gonzalez d970f5ba57 meta-digi: Add imx-audio package.
This recipe install an init script that allows to set some alsa audio
parameters without having to touch the default alsa states.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-21 10:24:47 +01:00
Alex Gonzalez bb4edfc2a4 meta-digi: Move kernel-module-gpio dependency to example recipe.
Before it was a machine dependency which it not really is.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-21 09:34:55 +01:00
Alex Gonzalez e14ec79443 READMEs: Remove EULA acceptance variable.
This variable is finally not being used so remove mentions of it.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-20 17:36:46 +01:00
Alex Gonzalez 942cf44ff6 meta-digi-del: Add dependency on meta-fsl-demos.
https://jira.digi.com/browse/DEL-376

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-14 10:27:40 +01:00
Javier Viguera 26d98d13ff meta-digi: add 'ubootenv' tool
https://jira.digi.com/browse/DEL-286

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-03-12 16:47:43 +01:00
Javier Viguera df80921748 meta-digi: add 'nvram' tool
https://jira.digi.com/browse/DEL-286

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-03-12 16:47:20 +01:00
Alex Gonzalez 99bcb5e455 meta-digi: Update READMEs with correct revision for poky.
We can'se use the 1.3 Danny tag as it's broken, use the head.

Fixes https://jira.digi.com/browse/DEL-366

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-12 14:02:17 +01:00
Javier Viguera bd8ca73775 meta-digi-del: add '/etc/os-release' file
This file contains version and OS info.

https://jira.digi.com/browse/DEL-280 #resolve

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-03-11 18:24:00 +01:00
Alex Gonzalez 79394ea92c Revert "meta-digi-1.0.0.1: Change SRCREVS to release sha1s."
This reverts commit 0aaa3b492e.
2013-03-11 09:50:56 +01:00
Alex Gonzalez 0aaa3b492e meta-digi-1.0.0.1: Change SRCREVS to release sha1s.
This commit is to be reverted next.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-11 09:43:15 +01:00
Alex Gonzalez b5786d2290 meta-digi: READMEs
Add sha1s to Danny of all supporting layers.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-11 09:42:09 +01:00
Javier Viguera 9185fb24c9 meta-digi: fix some issues in kernel config fragments
* pmic-battery package name
* accelerometer config (missing INPUT_MISC)
* battery config (missing POWER_SUPPLY)
* rework/simplify bitbake recipe

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-03-07 19:52:33 +01:00
Alex Gonzalez 11bb2bbca7 meta-digi: Do not hardcode distro in PR_appends.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-06 18:25:37 +01:00