Commit Graph

65 Commits

Author SHA1 Message Date
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 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 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 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 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 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 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
Javier Viguera b0c1d5fd21 meta-digi-arm: rework machine configuration files
So they don't depend on the machine files from meta-fs-arm layer.

This allows to override some settings in project's local.conf file.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-02-19 19:08:30 +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 cd63471240 meta-digi-arm: build 'gpio' module for all platforms
https://jira.digi.com/browse/DEL-241

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-02-07 11:35:36 +01:00
Javier Viguera 0363754c32 meta-digi-arm: add 'gpio' kernel module
https://jira.digi.com/browse/DEL-241 #resolve

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-02-06 13:51:04 +01:00
Javier Viguera 452abcf9de meta-digi-del: set correct WPA driver depending on the machine
This fixes a bug in 'ccardxmx28js' where the wpa_supplicant was using
the wrong driver 'wext' instead of the 'nl80211' (for atheros)

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-31 17:40:30 +01:00
Javier Viguera 1f3cc3eb1f wpa_supplicant: update to version 2.0 and enable SoftAP
https://jira.digi.com/browse/DEL-220 #resolve
https://jira.digi.com/browse/DEL-225 #resolve

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-31 17:40:30 +01:00
Alex Gonzalez 3b465914c0 meta-digi: Add del-image-graphical target image.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-31 16:03:00 +01:00
Javier Viguera 76e2bb53fe meta-digi: remove 'pulseaudio' dependence from del-image-minimal
Dependence's origin is in 'gst-plugins-good'

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-23 18:13:41 +01:00
Javier Viguera ca91bedf08 meta-digi-del: tune target's boot
Remove 'login' on VT (tty1)
Remove 'bootlogd' (with also uses tty1)

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-21 14:35:00 +01:00
Alex Gonzalez 5e1dfd64b0 meta-digi-arm: Fix console settings for ccxmx51.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-21 12:51:45 +01:00
Alex Gonzalez 2cb2fbccdb meta-digi-arm: Fix symlink for imx variant uboot images.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-18 12:38:54 +01:00
Alex Gonzalez c57d9db032 meta-digi-arm: Add u-boot dependency on mxs include.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-17 14:18:53 +01:00
Alex Gonzalez ecea3012e6 meta-digi-arm: Add support to compile u-boot variants.
U-Boot has a set of pre-defined make targets per platform that allow
to configure u-boot for different variants (128sdram,4Kpage,dbg etc.)

This change allows to use a UBOOT_CONFIG_VARIANT variable in your
local.conf file to choose which variant to build.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-17 14:18:26 +01:00
Alex Gonzalez 59892b2f03 meta-digi-arm: Generate a bootstreamed u-boot for the ConnectCard for MX28.
The ConnectCard needs a bootstreamed (.sb) u-boot to boot from flash. This
is flashed using u-boot.

This changes compiles a bootstream u-boot image. The bootlets are compiled
separately and it's U-Boot's Makefile that calls elftosb to generate the
final bootstream.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-16 16:52:20 +01:00
Alex Gonzalez cf57a267d1 meta-digi-arm: Fox IMX platforms, add u-boot padding.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-16 16:52:20 +01:00
Alex Gonzalez 341b135003 meta-digi-arm: Add variable for Digi's Minnetonka git repository.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-16 16:52:20 +01:00
Alex Gonzalez eb76f52db0 meta-digi: Define default source mirrors in all layers that need them.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-15 11:49:51 +01:00
Javier Viguera 48029a0605 meta-digi-arm: build images for different memory variants
https://jira.digi.com/browse/DEL-181 #resolve

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-15 10:49:38 +01:00
Alex Gonzalez 37d7439d98 meta-digi-arm: Fix u-boot configuration target for ccxmx51js.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-15 10:47:47 +01:00
Alex Gonzalez 5b0fd6a283 meta-digi-del: Add specific wpa-supplicant for ConnectCard.
We use a wpa-supplicant directly from Atheros with extra functionality.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-11 17:14:56 +01:00
Alex Gonzalez 6d947648d8 meta-digi-arm: Add firmware-mxs.
This package contains firmware files for the MXS Digi family (Embedded and
boxed products).

Now it contains the bluetooth binary firmware files.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-11 17:14:56 +01:00
Alex Gonzalez ebf8c441d7 meta-digi-arm: Add wifi feature to ccardxmx28js machine.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-11 17:14:56 +01:00
Alex Gonzalez cec5fe3904 meta-digi-arm: Add atheros wireless module.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-11 17:14:56 +01:00
Alex Gonzalez bb4364365b meta-digi-del: Add del-bluetooth feature.
It will be included in all machines that include the bluetooth feature,
currently the ccardxmx28js.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-11 11:12:07 +01:00
Javier Viguera 0ee2a6604b meta-digi-arm: add 'digi-arm' collection
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-07 16:41:55 +01:00
Javier Viguera 1eb21746f5 meta-digi: Use .= to append to BBPATH and += for BBFILES
Same to what's done in upstream poky:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=25f4a0e362aa18f060297775aa4591acc8d2b12f

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-07 16:41:08 +01:00
Javier Viguera 1192172b9f meta-digi: update to Yocto 1.3 'Danny'
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-04 11:22:26 +01:00
Javier Viguera 414bc7c6a8 meta-digi-arm: rework 'ccardxmx28js' machine configuration
* u-boot config
* serial console
* flash images

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2012-12-19 11:23:30 +01:00
Javier Viguera 46c17f06d5 imx-digi-base: create UBIFS and JFFS2 flash images
DEL-127 #resolve
DEL-131 #resolve
DEL-132 #resolve

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2012-12-17 19:20:05 +01:00
Alex Gonzalez 9c1d92afe6 meta-digi-arm: Add accel-video to machine configuration files.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-17 14:09:15 +01:00
Alex Gonzalez 1fb9c918ee meta-digi-arm. Remove comments from machine configuration files.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-17 13:43:52 +01:00
Javier Viguera 57fa39008e imx-digi-base: set correct erase block size for ccxmx5xjs
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2012-12-14 19:36:13 +01:00
Javier Viguera 257667225a imx-digi-base: fix mx5 GPU library API support
The mx5 GPU libraries provide OpenGL ES1, OpenEGL and OpenGL ES2 only
so we need to ajust the PREFERRED_PROVIDER.

There is an equivalent commit in FSL layer.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2012-12-14 11:01:11 +01:00
Javier Viguera f18a3162fc meta-digi-arm: include missing soc-family.inc
This is needed to use SOC_FAMILY data and was the reason why imx-lib was
not compiling correctly (see commit cec37f0).

Thus revert also commit cec37f0 because that workaround is not needed
anymore.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2012-12-13 13:53:36 +01:00
Alex Gonzalez f305d31d6f meta-digi: Add the redpine wireless driver.
This included the recipe where the driver is cloned from git and compiled
from source.

The recipe also copies the firmware files and the if-pre-up scrip.

Pending is the recipe to link from precompiled objects in a .tar.gz file.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-12 17:00:18 +01:00
Alex Gonzalez 0778e10d3e meta-digi-arm: Add new variable DIGI_LOG_GIT.
And use it in all files that need it.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-05 15:52:47 +01:00
Alex Gonzalez 54feb069d9 meta-digi: Move mirrors to meta-digi-arm.
Nothing in meta-digi-del needs them at the moment.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-05 15:50:59 +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 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