Commit Graph

71 Commits

Author SHA1 Message Date
Alex Gonzalez 9fb5acc13f meta-digi-arm: Add DTSNAME to ccardimx28js.
This will be used as the device tree name for kernels that
need to compile a device tree.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-30 10:43:55 +02:00
Alex Gonzalez c3a4bf30a1 meta-digi-arm: For the ccardimx28js, chose serial name depending on kernel.
The 2.6.35.14 kernel calls the serial device ttyAM0 while the 3.10 which
uses a different driver calls it ttyAMA0.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-30 10:43:55 +02:00
Alex Gonzalez aa1f21aae2 meta-digi-arm: Add linux-dey_3.10.
This kernel will have support only for the ccardimx28js.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-30 10:43:55 +02:00
Alex Gonzalez 1cc0fddc44 meta-digi-arm: Set 2.6.35.14 as linux preferred version.
Also, make arrangements so support more than one kernel version.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-30 10:43:55 +02:00
Alex Gonzalez f173f650e5 meta-digi-arm: Import linux-libc-headers into layer.
We need separate linux-libc-recipes if we want to support different
kernels.

On the 1.4 meta-fsl-arm layer this recipe will disappear, so review then.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-30 10:43:55 +02:00
Alex Gonzalez 8988542df3 meta-digi: Rename from DEL to DEY.
The final product will be called "Digi Embedded for Yocto" or DEY for
short.

This commit renames all relevant files.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-12 13:18:37 +02:00
Javier Viguera 7ad6a5e63a meta-digi-arm: create complete u-boot recipe (instead of bbappend)
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-06-04 13:49:52 +02:00
Francis Sreeves 6db91dc1a3 meta-digi: add WR21 machine
https://jira.digi.com/browse/DEL-455

Signed-off-by: Francis Sreeves <francis.sreeves@digi.com>
2013-05-22 10:30:01 +01:00
Alex Gonzalez c2da364830 meta-digi-arm: Add CPX2 wireless support.
Fix the kernel wireless configuration fragment, and add a couple of kernel
patches to set up the mmc0 interface to be used with the wireless and
remove an incorrect pin configuration.

There are similar patched to this on the gateways/master branch related to
the vehicle bus adapter product.

meta-digi-arm/conf/machine/cpx2.conf

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-05-17 13:26:29 +02:00
Javier Viguera 7ee47e607e meta-digi-arm: rework variants support
Mostly cosmetic changes to clear it a bit so customers can use it as
documentation for what variant they need to configure in their projects.

Also a couple of minor fixes: 'ext-eth' typo and duplicated 'e' variant
for ccimx53js.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-14 10:16:26 +02:00
Javier Viguera 3874c057e2 meta-dig-arm: fix variant names
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-10 17:56:03 +02:00
Javier Viguera 592d4dc75f meta-digi-arm: fix u-boot config variant for ccimx53
https://jira.digi.com/browse/DEL-443

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-07 16:49:26 +02:00
Javier Viguera e0fed036fa config templates: set default platform variants
https://jira.digi.com/browse/DEL-438

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-07 16:18:07 +02:00
Alex Gonzalez 4590397b13 meta-digi-arm: Change variant image naming to match u-boot's.
Fixes https://jira.digi.com/browse/DEL-386

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-05-03 17:31:33 +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
Alex Gonzalez c83eed3126 meta-digi-arm: Use append format for variant override.
The previous "+=" format was doing a complete variable override instead
of an append. Features like usbhost or usbdevice were disappearing.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-04-25 15:20:17 +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 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 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 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
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 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
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