Commit Graph

28 Commits

Author SHA1 Message Date
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 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 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
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
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 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
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 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 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
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 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
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 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
Javier Viguera 774b09b2d6 meta-digi-del: fix bluetooth-python applications
https://jira.digi.com/browse/DEL-224 #resolve
https://jira.digi.com/browse/DEL-276 #resolve

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-02-21 17:07:46 +01:00
Javier Viguera a7e7fb27e7 del-examples: remove not needed files
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-02-14 13:19:59 +01:00
Alex Gonzalez 6042a70fbc meta-digi: Change xmx for imx.
Just a cosmetic name change for the merged wired and wireless platforms.

This and related commits fixes https://jira.digi.com/browse/DEL-188.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-13 10:43:50 +01:00
Javier Viguera 3505e019a1 del-examples: move down linux exported headers
Some of those headers (e.g. mxcfb.h) refert to types that are defined in
'sys/types.h'.

Fix error: unknown type name 'uint'

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-02-12 16:50:20 +01:00
Javier Viguera 024f0027ee meta-digi: add DEL examples
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-02-08 17:57:27 +01:00
Javier Viguera cf4c248cf8 libdigi: update mach_id for merged platforms
This fixes 'update_flash' related problems.

update_flash needs to know in which platform is running so it can decide
whether to write clean-markers for JFFS2 images or not (for example in
FSL platforms).

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-28 19:29:51 +01:00
Javier Viguera 7fffaecfa2 update_flash: fix 'reboot' option
While on busybox' init you can reboot the system sending a TERM signal
to pid '1' it seems that in sysvinit package this does not work, so
implement a proper reboot using the system call.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-28 19:19:45 +01:00
Javier Viguera 63f206cd23 meta-digi-del: add 'update_flash' application
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-16 16:00:11 +01:00
Alex Gonzalez 96d7eecb4d meta-digi-del: recipes-digi, add fbtest.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-20 15:14:40 +01:00
Alex Gonzalez ca86900065 meta-digi-del: recipes-digi, add memwatch.
This is part of the del-debug feature.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-20 15:14:40 +01:00
Alex Gonzalez 6f88b7ba27 meta-digi-del: Move libdigi inside recipes-digi.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-20 15:14:40 +01:00