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>
- use Yocto's INITSCRIPT/update-rc.d infrastructure to install the
bootscript.
- add patch that make cross-compilation easier and thus simplify bitbake
recipe.
- launch 'abtfilter' with '-b' parameter (use only D-Bus filtering) to
avoid alignment errors (when using hci filter mode):
Alignment trap: abtfilt (721) PC=0x00017f24 Instr=0xe1d330b0 Address=0x419fec91 FSR 0x013
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This version matches the current HEAD of the master branch of the
kernel-module-atheros package.
Also, the init script bluez-bg.sh is now installed in rc5.S instead
of rcS.d. This fixes https://jira.digi.com/browse/DEL-185.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
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>
Some of those headers (e.g. mxcfb.h) refert to types that are defined in
'sys/types.h'.
Fix error: unknown type name 'uint'
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Qt is extracted to the del-qt feature.
All packages which belong to other future features, like del-profile or
del-test, are also left out from the default image.
Fixes https://jira.digi.com/browse/DEL-233
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
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>
This will make input device auto detect through evdev work.
Strangely busybox-mdev is still installed. May need to find the
dependency but nothing breaks because of it.
This partially fixes DEL-227.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Enabled mkswap, swapon and swapoff.
Probably not much needed in an embedded system but they don't make the
binary much bigger and could be useful in some corner-case.
https://jira.digi.com/browse/DEL-209 #resolve
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
I had to increase the priority of 'meta-digi-del' layer, so our recipes
have precedence over the ones in 'meta-oe'. Otherwise it was always
using the 'iw' recipe of meta-oe, regardless of being a lower version
(iw-3.6).
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
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>
This is needed for package post installation scripts to run their
second stage in the target.
For this to happen we also need to remove the "remove_packaging_data_files"
from the rootfs post process commands.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
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>
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>
This fixes 'update_flash' related problems.
update_flash needs to know in which platform is running so it can decide
whether to write clean-markers for JFFS2 images or not (for example in
FSL platforms).
https://jira.digi.com/browse/DEL-221 #resolve
https://jira.digi.com/browse/DEL-222 #resolve
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
While on busybox' init you can reboot the system sending a TERM signal
to pid '1' it seems that in sysvinit package this does not work, so
implement a proper reboot using the system call.
https://jira.digi.com/browse/DEL-212 #resolve
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
The interfaces file is different depending on whether we have single
or dual wired ethernet and whether we have a wireless or non wireless
module.
Also, add an ifup script to set the mac addresses fetched from the
kernel command line.
This commit autogenerates the /etc/network/interfaces file.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
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>
The bootloader is passing the mac address in the kernel command line.
The bluetooth startup script reads it and sets it.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
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>
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>
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>