Commit Graph

113 Commits

Author SHA1 Message Date
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 a8561208a0 meta-digi-arm: Fix redpine preup script for the ccxmx51.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-21 13:47:24 +01:00
Alex Gonzalez 81fe23572c meta-digi-arm: Add alsa states for all platforms.
Fixes https://jira.digi.com/browse/DEL-161

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-21 12:54:53 +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 2afcea15db meta-digi-arm: Add imx-bootlets-del recipe.
This is the recipe for Digi's customized MXS bootlets code.

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 2e1d2e1bcb Revert "meta-digi-arm: Define configuration targets for all platforms."
This reverts commit 5cf109df8b.

The configuration targets were already defined.
2013-01-15 10:47:09 +01:00
Alex Gonzalez 5cf109df8b meta-digi-arm: Define configuration targets for all platforms.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-15 10:26:46 +01:00
Alex Gonzalez 9a0751048b meta-digi-arm: Use hpalacio/del-6.x branch for u-boot-imx.
The U-Boot conditioning work for Yocto is taking place in that branch.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-15 10:10:10 +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 9452bef8b9 meta-digi-arm: remove '.keepme' file
Not needed anymore as the directory has contents.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-10 11:20:48 +01:00
Javier Viguera 02b8d8d8ed Revert "fsl-mm-flv-codeclib: workaround to allow ipk creation"
Reported and fixed upstream (meta-fsl-arm).

This reverts commit eee97e48f1.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-09 17:17:08 +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 eee97e48f1 fsl-mm-flv-codeclib: workaround to allow ipk creation
The prebuilt libraries int fsl-mm-flv-codeclib package do not follow the
lib*.so.* naming rule, and so the creation of the IPK package fails.

This is a workaround. The proper fix should be send upstream
(meta-fsl-arm).

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-04 19:48:55 +01:00
Javier Viguera ed96382a1f meta-digi: fix firmware-imx to build in yocto-1.3 (danny)
Otherwise it fails with:

ERROR: Nothing RPROVIDES 'imx-firmware'

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-04 19:48:55 +01:00
Javier Viguera 8fd25bfd8c meta-digi-arm: move imx-lib to its own directory
As it's done in 'meta-fsl-arm'.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-04 19:48:55 +01:00
Javier Viguera 646702aadd meta-digi-arm: fix redpine build with gcc-4.7
Added patch that allows to build the driver with GCC-4.7 (used in Yocto
"Danny")

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-04 11:22:26 +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 ff2f46daf3 meta-digi: fix typos
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-03 19:09:44 +01:00
Javier Viguera 9930e99124 meta-digi-arm: update kernel defconfigs
Synchronize with DEL's.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2012-12-19 11:57:34 +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 69a72f1990 linux-imx: override SRC_URI for ccardxmx28js
This is done so the generic 'mxs' patches from FSL layer are not
applied.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2012-12-19 11:21:40 +01:00
Javier Viguera 9a4544b500 meta-digi-arm: allow to use u-boot-imx on our platforms
Otherwise for ccardxmx28js a different recipe is used (u-boot-2012.xx)

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2012-12-19 11:19:44 +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
Alex Gonzalez aa422599ff meta-digi-arm: Fix kernel-module-redpine compilation.
We need to split the EXTRA_OEMAKE flags as the do_make_scripts stage
fails if we pass a "M=" argument.

We override module_do_compile and module_do_install to add the extra
make flags as I have not found a working way of overriding EXTRA_OEMAKE.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-17 13:19:13 +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 4402372088 meta-digi: fix recipe dependences on libx11
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2012-12-14 13:57:35 +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 7dfc09b818 recipes-kernel: fix soc-family SRCREV override
So it uses our own revision instead of FSL's.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2012-12-14 10:22:45 +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 77428b3f76 meta-digi: Replace the PR append.
Use +del.rn instead of +digi.n.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-13 13:04:39 +01:00
Javier Viguera cec37f0829 imx-lib: fix do_compile error due to unspecified PLATFORM var
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2012-12-13 12:53:57 +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 60fb77c8c7 meta-digi-arm: firmware-imx, add machine conditional.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-12 13:03: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