Commit Graph

3536 Commits

Author SHA1 Message Date
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
Alex Gonzalez 766b99f0c6 meta-digi-arm: Move atheros init script to machine folder.
This allows for different platforms to use their own version.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-04 10:19:49 +01:00
Alex Gonzalez c2a9ce5a68 meta-digi: Use a single Digi premirror.
This commit adds a Digi premirror to the DEL distribution file. This
premirror will be tried first. It default to build-linux.digi.conf but
will be customized for the layer public release.

This still allows for a project to be customizes with a
SOURCE_MIRROR_URL which will be tried before the premirrors.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-04 10:05:27 +01:00
Alex Gonzalez f4c81bccfd meta-digi-arm: Fix imx-bootlets-del for CPX2.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-28 16:07:50 +01:00
Alex Gonzalez 7c57b2659c meta-digi: Add accel-graphics machine feature.
The del-image-minimal will included the graphical acceleration libraries
if the machine supports accel-graphics.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-28 13:55:06 +01:00
Alex Gonzalez e9037c6812 meta-digi-arm: Fix soundcard name in alsa state files.
Fixes https://jira.digi.com/browse/DEL-331

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-28 13:10:28 +01:00
Alex Gonzalez f00dde210c meta-digi-del: del-qt, fix build.
Replace the qt4-pkgs feature from the RDEPENDS with its package group.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-28 11:33:35 +01:00
Alex Gonzalez 2e73bd974d meta-digi: Add battery configuration and module autoload for CCIMX51JS.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-28 11:33:34 +01:00
Alex Gonzalez b71d8395d5 meta-digi: Add camera support kernel configuration and module autoloading.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-28 11:33:34 +01:00
Alex Gonzalez 2ee0cb61fe meta-digi-del: Add a machine support include condition for del-examples.
The packagegroup-del-examples now uses SOC family and only includes
applications based on the machine features.

A customer when defining a new platform will customize the machine
features it supports.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-28 11:33:34 +01:00
Alex Gonzalez 43682a2d84 meta-digi: Automate the sahara kernel module loading.
The del-examples-sahara now depends on the kernel modules it needs to
work and these are autoloaded at boot.

Fixes DEL-274.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-28 11:33:34 +01:00
Alex Gonzalez b4ff11cf9e meta-digi: Autoload kernel-module-mma7455l with del-examples-accelerometer.
For this the CCIMX51 and CCIMX53 kernels are configured to build the
mma7455l module and it is included as a dependency of the del-examples-
accelerometer application.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-28 11:33:34 +01:00
Alex Gonzalez a6f0aeaefc meta-digi-arm: Remove UART1 support from MX28 defconfig.
This conflicts with user led 2 used in the GPIO example add and with
other interfaces needed in the del-image-graphical image.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-28 11:33:34 +01:00
Alex Gonzalez e6043243e5 meta-digi-arm: Configure kernel sound with the alsa machine feature.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-28 11:33:34 +01:00
Alex Gonzalez 85e2644459 meta-digi-arm: Add cpx2 machine.
This fixes https://jira.digi.com/browse/DEL-190

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-28 11:33:34 +01:00
Alex Gonzalez ffa592299e meta-digi-arm: Add configuration fragments support.
Fixes https://jira.digi.com/browse/DEL-122
Fixes https://jira.digi.com/browse/DEL-264

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-28 11:33:34 +01:00