Commit Graph

162 Commits

Author SHA1 Message Date
Alex Gonzalez bc3a4b663c meta-digi-arm: Avoid udev loading atheros kernel module.
udev will attempt to load the atheros kernel modules because it defines
a modalias that matches an sdio bus event.

In a race condition with the script in if-pre-up, the module will crash.

Recent versions of udev have lost the ability to add an ignore_device
option to the rules, and mdev in del-image-minimal has no module
autoloading ability.

The commit adds a modprobe install rule that does nothing, and allows
the if-pre-up script to load the module as it used to.

Fixes https://jira.digi.com/browse/DEL-277

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-04 10:19:49 +01:00
Alex Gonzalez 766b99f0c6 meta-digi-arm: Move atheros init script to machine folder.
This allows for different platforms to use their own version.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-04 10:19:49 +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 f4c81bccfd meta-digi-arm: Fix imx-bootlets-del for CPX2.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-28 16:07:50 +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 e9037c6812 meta-digi-arm: Fix soundcard name in alsa state files.
Fixes https://jira.digi.com/browse/DEL-331

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-28 13:10:28 +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 a6f0aeaefc meta-digi-arm: Remove UART1 support from MX28 defconfig.
This conflicts with user led 2 used in the GPIO example add and with
other interfaces needed in the del-image-graphical image.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-28 11:33:34 +01:00
Alex Gonzalez e6043243e5 meta-digi-arm: Configure kernel sound with the alsa machine feature.
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 a2c0a78035 kernel-module-redpine: add driver load script
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-02-27 19:39:20 +01:00
Javier Viguera 5e63bd0e9e kernel-module-redpine: provide tarball with object files
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-02-27 17:59:01 +01:00
Javier Viguera a7752aa067 kernel-module-redpine: simplify recipe
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-02-27 17:58:50 +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
Hector Palacios 3c3aac2628 ccardxmx28/config: enable USB suspend by default
Wakeup interrupts were not happening upon USB stick plug
events during normal work. This had the effect of the
interrupt happenign when going to suspend and usually when
the driver is not able to handle it, causing a nobody cared
message from the kernel.

https://jira.digi.com/browse/CCIMX28-326

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2013-02-19 11:23:46 +01:00
Alex Gonzalez 51f75c56ad meta-digi-arm: All git sources now point to the head of refs/heads/master.
All of the Yocto branches have finally been merged.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-15 18:22:24 +01:00
Alex Gonzalez 88392974c5 meta-digi-arm: Use master SRCREV for u-boot.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-15 09:24:38 +01:00
Alex Gonzalez 48e3cc4b99 meta-digi-arm: Use master for kernel-module-redpine.
The agonzal/yocto branch has now been merged to the master.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-14 18:52:42 +01:00
Alex Gonzalez d668f92834 meta-digi-arm: Use master for linux-imx and linux-libc-headers-imx.
The agonzal/yocto kernel branch has now been merged to the master.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-14 18:52:05 +01:00
Alex Gonzalez b3435cd892 meta-digi-arm: Synchronize defconfigs with kernel's.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-14 18:09:05 +01:00
Alex Gonzalez e18cb7e7de meta-digi-arm: imx-bootlets-del, change board to CCARDIMX28JS.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-14 16:23:58 +01:00
Alex Gonzalez 171379f61b meta-digi-arm: Update kernel-module-atheros to master.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-14 10:54:41 +01:00
Alex Gonzalez 7f509bd8df meta-digi-arm: Fix alsa states for ccimx51js.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-13 11:25:47 +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 1c574a2cf7 amd-gpu-bin-mx51: remove libz160 dependence
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-02-12 16:50:02 +01:00
Alex Gonzalez 34831fe690 Revert "del-6.0.1-sprint4: Change SRCREV to sprint tags."
This reverts commit 5afd7a29d4.

Development will continue on branches.
2013-02-11 18:54:57 +01:00
Alex Gonzalez 5afd7a29d4 del-6.0.1-sprint4: Change SRCREV to sprint tags.
These are to be reverted after the SA drop.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-11 18:53:26 +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 bcd2be97ad amd-gpu-bin-mx51: Use a python function to populate INSANE_SKIP
While on it, revert PROVIDES to its previous state, not depending on
DISTRO_FEATURES. This was tweaked to avoid a bitbake warning. Not it is
solved in a conditional BBMASK.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-02-06 13:51:04 +01:00
Alex Gonzalez 72bf617ff7 ccxmx51: Fix audio include in defconfig.
Fixes https://jira.digi.com/browse/DEL-223

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-01 13:10:17 +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 6b261a3949 meta-digi-del: enable busybox' brctl applet
Also enable CONFIG_BRIDGE in kernel configs (which is required to use
brctl)

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-29 13:40:59 +01:00
Javier Viguera b3d401779c meta-digi-arm: refresh/update kernel configs
Enable RFKILL. Otherwise on boot we get an error message:

rfkill: Cannot open RFKILL control device

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-29 12:41:57 +01:00
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