Commit Graph

808 Commits

Author SHA1 Message Date
Javier Viguera 1cb6073749 meta-digi: remove cpx2 platform
This needs to be supported in the DBL layer.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-08 14:21:09 +01:00
Javier Viguera 767fc18b85 meta-digi-arm: image_types_digi: separate data from implementation
Move the flash parameters to the machine configuration files so it's
easier to create derivative machines and use the image bbclass to create
flash images.

(based on a patch from Seth Bollinger <sethb@digi.com>)

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-04 13:25:13 +01:00
Javier Viguera 1603b71fe1 meta-digi-arm: rewrite amd-gpu-bin package selection
Use a variable to select GPU flavour (X11, framebuffer).

No functionality change, just coding style.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-18 16:01:10 +02:00
Javier Viguera 328a6cdb5e meta-digi: move helper variables to a common place
Those boolean helper variables can be used in different recipes so move
them to a common place.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-17 10:36:51 +02:00
Javier Viguera a554c7be17 meta-digi-arm: fix SOC_FAMILY for all platforms
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-17 10:35:26 +02:00
Javier Viguera 2618ae353d meta-digi: build jffs2 images only with kernel 2.6.35
At the moment our kernel 3.10 on ccardimx28js does not support jffs2
images, so do not build them.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-15 17:50:49 +02:00
Javier Viguera ae5a6e060e meta-digi-arm: remove udev-extraconf runtime recommend
This is still a runtime-recommend of udev package so it gets installed
in udev based images (graphical) and not installed in mdev based images
(minimal).

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-15 14:36:28 +02:00
Seth Bollinger 0817e87e61 URI: Change DIGI_LOG_GIT to something generic
Most SRC_URI defaults to DIGI_LOG_GIT. This patch sets a more generic
name (DIGI_GIT) that defaults to DIGI_LOG_GIT, but is configurable by
someone who might want to tune it (DIGI_MTK_GIT, etc.).

Signed-off-by: Seth Bollinger <sethb@digi.com>
2013-10-14 08:48:45 -05:00
Javier Viguera c33540030b meta-digi-dey: ccardimx28: use standard serial port for console
In ccardimx28 depending on the kernel version the console is on 'ttyAM0'
or 'ttyAMA0'. Use the standard serial port name ttyS0 for login (through
inittab) and let the device handlers create the symlink to the correct
device.

This allows to boot the same rootfs regardless of the kernel version.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-04 13:57:32 +02:00
Javier Viguera b0247e7e05 meta-digi: add wmiconfig package for MXS
wmiconfig is Atheros proprietary code so the recipe builds from source
if DIGI_INTERNAL_GIT is defined or uses a prebuilt binary otherwise.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-03 14:06:37 +02:00
Alex Gonzalez ab19aaccb4 meta-digi-arm: Update layer configuration with new stash url.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
(cherry picked from commit 38f68eb4118e5e7772606b86713c1d7e8c85fe66)
2013-10-01 11:09:20 +02:00
Javier Viguera c1e524cb39 meta-digi-arm: use Yocto's default headers
Following advise from:

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-25 16:19:24 +02:00
Javier Viguera 7ee46b00d8 meta-digi-arm: fix machine variant in machine overrides
The machine variant is most specific than machine name.

Before: MACHINEOVERRIDES="armv5:mxs:wb:ccardimx28js"
After:  MACHINEOVERRIDES="armv5:mxs:ccardimx28js:wb"

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-13 18:34:43 +02:00
Javier Viguera dc1499bd78 meta-digi: add IS_KERNEL_2X variable to be used in recipes
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-13 18:32:35 +02:00
Javier Viguera 97755ea730 meta-digi: fix build graphical image for ccardimx28
https://jira.digi.com/browse/DEL-585

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-09 16:31:28 +02:00
Alex Gonzalez 7795aa736c meta-digi-arm: ccardimx28js: Add 3.10 kernel version.
The UBOOT_LOADADDRESS and UBOOT_ENTRYPOINT variables are only used in
the kernel recipe, so remove from the machine configuration files.

Also, use the defconfig from the kernel tree which compiles all the
support by default and expects the device tree to be configured with
the desired support. Hence, remove all the empty configuration fragments
files.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-08-05 14:27:12 +02:00
Javier Viguera cd26bed35c meta-digi-arm: allow to configure kernel version in project
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-02 14:46:47 +02:00
Javier Viguera 93d275a43d meta-digi-arm: fix u-boot broken build
The build was failing for any IMX platform because it was trying to
build a bootstream u-boot.

The u-boot variables (UBOOT_*) used by yocto were incorrectly set,
so I reworked and simplified them to fix the bug and ease maintenance.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-02 14:45:16 +02:00
Javier Viguera f47915f45a meta-digi: remove udev-173 bbappend
That version of udev was removed from 'meta-oe' and thus bitbake fails
to parse the recipes.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-02 14:43:46 +02:00
Alex Gonzalez 74c7fc388f meta-digi-arm: Add U-Boot 2013.01.
This U-Boot is only supported for MX28 based platforms.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-30 10:43:55 +02:00
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
Alex Gonzalez 763fffe424 meta-digi-arm: Change DIGI_MIRROR to final FTP URL.
This is the FTP site where the release artifacts will be placed. It's
structure will be something like:

x.y.z/
	source
	images
	toolchains
	adt-installer

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-12 13:03:13 +02:00
Javier Viguera 7e64629187 meta-digi: use global variable for github url
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-06-07 15:52:19 +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
Javier Viguera e59768cd49 meta-digi: move DIGI_MIRROR to meta-digi-arm
If you don't want to use meta-digi-del and use only the BSP layer
(meta-digi-arm) to build a generic image (like core-image-minimal) you
need the DIGI_MIRROR variable in this layer because some of the BSP
recipes (kernel, u-boot) use it to get the source.

So this allows to build core-image-minimal for Digi platforms without
using meta-digi-del.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-03 18:30:39 +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 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
Alex Gonzalez e3cf9caada meta-fsl-arm: Update digi-defaults with new kernel and u-boot providers.
We use the meta-fsl-arm recipes, customized through meta-digi-arm.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-28 17:08:51 +01:00
Alex Gonzalez d787c4947c meta-digi-arm: Reuse meta-fsl-arm for machine configuration.
- imx-digi-base includes imx-base and contains the overrides.
- mxs-digi-base includes mxs-base and contains the overrides.
- digi-defaults contains the overrides to fsl-default-settings,
  fsl-default-providers and fsl-default-versions.
- The machine configuration files include the digi includes and also
  contains the UBOOT load addresses overrides.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-28 16:58:58 +01:00
Alex Gonzalez 12382a590e meta-digi-arm: Update preferred udev version.
This needs to be done to work with the updated recipe in meta-oe.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-28 16:56:45 +01:00
Alex Gonzalez eb9c1ecc70 meta-digi-arm: Fix virtual/kernel preferred provider.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-28 16:56:45 +01:00
Alex Gonzalez bc97dbd679 meta-digi-arm: Add recipes-graphics, amd-gpu-bin and libz160.
A difference with meta-fsl-arm is that we include then non X11 version.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-28 16:56:45 +01:00
Alex Gonzalez b5cd4d7edc meta-digi-del: Add distribution layer.
This commit separates the BSP layer from the DEL distribution layer. This
allows for customers to use the BSP layer while customizing their own
distribution, and for other Digi teams, like the gateways, to do the same.

It would also allow to use the DEL layer over other BSPs.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-19 13:40:53 +01:00
Alex Gonzalez 4560c7b01e del: Shorten distro name to remove reference to Poky.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-16 18:50:41 +01:00
Alex Gonzalez d2d97da28a meta-digi-arm: Add del distro.
This allows to specify del specific overrides in recipes, so that other
distros under meta-digi can also customize them in their own way.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-16 18:05:57 +01:00
Alex Gonzalez dcf91c0aad layer.conf: Bump the layer priority.
Make meta-digi the same priority as meta and meta-yocto so that recipes
with new revisions are used from meta-digi.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-16 15:59:30 +01:00
Alex Gonzalez 208821ea85 layer.conf: Add digi mirror URL placeholder.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-10-31 13:38:19 +01:00
Alex Gonzalez 2352f88f2f imx-base: Add jffs2 image type.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-10-31 09:50:34 +01:00
Alex Gonzalez 4587014164 imx-base: Do not set UBOOT_SUFFIX and UBOOT_MAKE_TARGET
These are specified on the individual machines.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-10-30 18:36:18 +01:00
Alex Gonzalez 33120b055b meta-digi-arm: Fix load address and entry point for ccxmx51js.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-10-26 17:05:29 +02:00
Alex Gonzalez f00c7efcef meta-digi-arm: Add end user license agreements.
DEL-102

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-10-26 16:20:14 +02:00
Alex Gonzalez cbd27318a1 meta-digi-arm: Add machine configuration files for all supported platforms.
DEL-88

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-10-26 16:19:06 +02:00