Commit Graph

2751 Commits

Author SHA1 Message Date
Alex Gonzalez ec9ae14194 meta-digi-arm: Review imx-bootlets_del recipe.
Use COMMON_LICENSE_DIR variable.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-22 13:57:54 +01:00
Alex Gonzalez fc9d6faa33 meta-digi-arm: Review firmware-mxs recipe.
Use the DIGI_EULA and redo indentation.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-22 13:57:54 +01: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 7979fd788c meta-digi-arm: Remove incorrect INC_PR
INC_PR is used in include files to that the recipes that include them
can use it to increment the PR.

In this recipe what we need is to set the PR.

An example from the Yocto dev manual:

recipes-graphics/xorg-font/xorg-font-common.inc:INC_PR = "r2"
recipes-graphics/xorg-font/encodings_1.0.4.bb:PR = "${INC_PR}.1"
recipes-graphics/xorg-font/font-util_1.3.0.bb:PR = "${INC_PR}.0"
recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-21 14:11:27 +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
Alex Gonzalez a7391593d7 meta-digi-arm: Add tarball build for imx-bootlets.
https://jira.digi.com/browse/DEL-362

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-13 15:34:13 +01:00
Alex Gonzalez fee69491de meta-digi-arm: Add tarball build for u-boot-imx.
https://jira.digi.com/browse/DEL-362

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-13 15:34:13 +01:00
Alex Gonzalez 745cdf990f meta-digi-arm: Add tarball build for linux-del.
On a release, the kernel will not be built from a git repo but
from a source tarball.

Make the default to build from a tarball.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-13 15:34:13 +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 aca2ec95e3 atheros: initial support for CPX2
Not yet finished as not all the cpx2 variants support wireless.

This has to be enabled per-variant.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-03-08 11:02:23 +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
Javier Viguera 383dda0a06 redpine: build from objects tarball by default
Also use git revision (SHA1) as part of the tarball name.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-03-07 19:47:43 +01:00
Javier Viguera 4f0067f8d4 atheros: build from objects tarball by default
Also use git revision (SHA1) as part of the tarball name.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-03-07 19:47:43 +01:00
Javier Viguera 1d31774d66 kernel-module-atheros: use BSD license
https://jira.digi.com/browse/DEL-134

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-03-07 19:47:42 +01:00
Alex Gonzalez ecfdf6ae23 meta-digi-arm: Avoid udev loading firmware files for atheros.
This was causing module loading issues on del-image-graphical.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-07 18:15:05 +01:00
Alex Gonzalez 165b5456e5 meta-digi-arm: Remove ext3 and sdcard image types.
Do not generate them until they are properly tested and working.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-06 18:25:37 +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
Alex Gonzalez 8309770cdf meta-digi-arm: Remove spurious comment.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-06 18:25:37 +01:00
Javier Viguera 3455ca56e3 update-flash: restrict 'kobs-ng' dependence to MXS machines
https://jira.digi.com/browse/DEL-340

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-03-06 11:58:12 +01:00
Javier Viguera 7c894ce3d7 kernel-module-redpine: separate Kbuild part
Following the guidelines in kernel documentation:

linux-tree/Documentation/kbuild/modules.txt

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-03-05 19:45:42 +01:00
Javier Viguera a9767aa5ff kernel-module-atheros: allow to build from objects
https://jira.digi.com/browse/DEL-134

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-03-05 19:45:42 +01:00
Alex Gonzalez 9e336798c7 update_flash: Add kobs-ng dependency.
kobs-ng is needed to be able to flash the bootloader from user space
in mxs platforms.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-05 18:37:55 +01:00
Alex Gonzalez d18375991e meta-digi-dbl: Add jpeg preferred provider.
This avoids the following recipe parsing warning:

NOTE: multiple providers are available for jpeg (jpeg, libjpeg-turbo)
NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg

Closes https://jira.digi.com/browse/DEL-336

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-05 18:37:55 +01:00
Alex Gonzalez 37293e824f meta-digi: Add BBMASK for unused linux-imx.
This avoids a harmless warning that appears when bitbake parses all
recipes.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-05 18:37:55 +01:00
Alex Gonzalez 994595da74 meta-digi-del: Remove del override.
We want customers that use meta-digi-del to be able to define their own
distros without breaking our recipes.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-05 18:37:55 +01:00
Alex Gonzalez 0e0b599c48 meta-digi-arm: Fix overrides for linux-del.
The overrides need machine_family.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-05 18:37:54 +01:00
Alex Gonzalez b4ac5d171f meta-digi-dbl: Modify the atheros init script.
Modify the script to fetch MAC addresses from the command line instead
of using nvram.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-05 18:37:54 +01:00
Alex Gonzalez 9c2567021e meta-digi-arm: Create an extra kernel symlink.
Create a symlink on the deploy folder that matches the standard uboot
name for the kernel.

Fixes partially https://jira.digi.com/browse/DEL-283

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-05 18:37:54 +01:00
Alex Gonzalez db8ed174f5 meta-digi-dbl: Add bluetooth init script.
This comes from the digiel.git repo and will need to be modified before
it works.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-05 18:37:54 +01:00
Alex Gonzalez bc0a3e8074 meta-digi-dbl: Add kernel-nodule-atheros init scripts.
These come from the digiel.git repo and will need to be modified to work.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-05 18:37:54 +01:00
Alex Gonzalez c8f8198942 meta-digi-dbl: Add dbl layer.
The meta-digi-dbl layer defines its own dbl distribution to run on Digi's
boxed products.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-05 18:37:54 +01:00
Alex Gonzalez 1b6cc41acf meta-digi-del: Add VIRTUAL-RUNTIME_ntp.
Move busybox-ntpd from del-core to del-network and allow for it to be
configurable via VIRTUAL-RUNTIME-ntpd.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-05 18:37:54 +01:00
Alex Gonzalez 4e64c87d2a dbl configuration: Start with del.conf.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-05 18:37:54 +01:00
Javier Viguera 1226554932 meta-digi-arm: fix linux kernel broken build with dash shell
Due to the use of a bashism (shopt).

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-03-04 15:38:50 +01:00
Alex Gonzalez a344936238 meta-digi-del: btfilter, fix SRC_URI.
When adding the Digi premirror, there was a typo in the btfilter recipe.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-04 13:12:06 +01:00
Javier Viguera a952a61288 kernel-module-redpine: allow to build from objects
https://jira.digi.com/browse/DEL-134

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-03-04 11:22:09 +01:00
Javier Viguera 8201c36178 kernel-module-redpine: remove patch
Integrated into redpine repository.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-03-04 11:21:50 +01:00
Alex Gonzalez bc3a4b663c meta-digi-arm: Avoid udev loading atheros kernel module.
udev will attempt to load the atheros kernel modules because it defines
a modalias that matches an sdio bus event.

In a race condition with the script in if-pre-up, the module will crash.

Recent versions of udev have lost the ability to add an ignore_device
option to the rules, and mdev in del-image-minimal has no module
autoloading ability.

The commit adds a modprobe install rule that does nothing, and allows
the if-pre-up script to load the module as it used to.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-04 10:19:49 +01:00