Commit Graph

122 Commits

Author SHA1 Message Date
Alex Gonzalez e54bc6182f meta-digi-arm: Add kernel configuration file also for non dev images.
We need the kernel configuration file in /boot for some of the postint
scripts that aim to do smart things like autoconfigure the interfaces file.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-28 13:23:09 +01:00
Alex Gonzalez a68c0ae54d kernel-module-redpine: Set mac address and wdmode from kernel command line.
The bootloader is passing the mac address and wdmode in the kernel command
line.

The driver startup script reads and and sets them.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-28 13:23:09 +01:00
Alex Gonzalez ad9436f733 kernel-module-atheros: Set mac address from kernel command line.
The bootloader is passing the mac address in the kernel command line.

The driver startup script reads it and sets it.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-28 13:23:09 +01:00
Javier Viguera ccab60099b meta-digi-arm: fix corrupted JFFS2 images in ccardxmx28js
Seems that the options Yocto was using to generate the jffs flash image
are not correct for ccardxmx28js. Specially mkfs.jffs2's padding option
'-p' was making the rootfs corrupted on second boot (as explained in
JIRA DEL-218).

Finally i decided to use the same mkfs.jffs2 parameters we were using in
DEL and those seems to be working fine.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-28 11:32:47 +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
Alex Gonzalez a14994bf80 kernel-module-redpine: Use agonzal/yocto branch.
This branch supports the new merged CCXMX platforms.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-23 13:02:23 +01:00
Alex Gonzalez 2d5a01974e meta-digi-arm: Add kernel defconfigs for merged wireless and non wireless.
These new defconfigs are needed after merging the wireless and non wireless
products in the linux kernel source.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-23 13:00:07 +01:00
Alex Gonzalez e20bd93460 meta-digi-arm: Fix u-boot-imx dependency on imx-bootlets-del.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-21 19:05:28 +01:00
Alex Gonzalez b3116d67ff meta-digi-arm: Update kernel-module-redpine to 3.2.10
This also fixes https://jira.digi.com/browse/DEL-198

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-21 17:27:48 +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 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