Commit Graph

631 Commits

Author SHA1 Message Date
Javier Viguera f1d8345c88 ccardimx28js defconfig: disable not used touchscreen device
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-24 17:25:31 +02:00
Javier Viguera 82a0937ff6 meta-digi-dey: add tslib dependence only for non-X11 images
X11 graphical images do not use tslib. They use the 'evdev' X11 driver
to handle input events.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-24 17:21:55 +02:00
Javier Viguera e82f2105c2 pointercal.xinput: add calibration for ccardimx28js in linux 3.10
https://jira.digi.com/browse/DEL-670

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-24 16:43:56 +02:00
Javier Viguera e10600ea69 meta-digi-dey: rework mdev touchscreen handler
So it creates '/dev/input/touchscreen0' symbolic link for well known
touch screen devices.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-23 16:34:20 +02:00
Javier Viguera bdfdee8035 linux-dey: enable SPIDEV depending on dey-examples
https://jira.digi.com/browse/DEL-629

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-20 15:51:48 +02:00
Javier Viguera 2ecf5a703a meta-digi-arm: update linux-dey revision
Add: spidev and wireless changes in the kernel

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-20 15:50:27 +02:00
Javier Viguera bc033c071d bluez4: add python runtime dependences
'simple-agent' python script included with this package depends on
python-pygobject and python-dbus

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-20 10:53:43 +02:00
Javier Viguera b76862a971 linux-dey: update device tree depending on variant
https://jira.digi.com/browse/DEL-641
https://jira.digi.com/browse/DEL-644

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-19 14:33:33 +02:00
Javier Viguera a55c6e96bd ccardimx28js defconfig: enable BINFMT_SCRIPT
Fix JIRAS:

https://jira.digi.com/browse/DEL-645
https://jira.digi.com/browse/DEL-646

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-18 14:33:08 +02:00
Javier Viguera 090c8754f6 packagegroup-dey-examples: remove redundant override
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-17 12:25:05 +02:00
Javier Viguera 8ca43c4a78 initscripts: add runtime dependency on util-linux umount
The initscripts package includes a '/etc/init.d/umountfs' script used
for reboot/poweroff purposes. That script calls the 'umount' command
but seems that the combination of busybox' umount + linux-3.x fails in
this script (it hangs without completing the reboot/poweroff).

So as a workaround use the umount command from util-linux package

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-17 12:17:10 +02:00
Javier Viguera 8bf9a739a5 meta-digi-arm: update linux-dey revision
To get the latest changes: logo, mac-address, wireless...

Also synchronize the defconfig with the one in the kernel tree.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-17 12:08:57 +02:00
Javier Viguera 936fcc9151 atheros: rework to build with linux 3.10
https://jira.digi.com/browse/DEL-673

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-17 12:08:34 +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 b1f76723a7 libdigi: support is_nand_oob_atomic for ccardimx28 in linux 3.x
Actually this is a workaround that probably needs to be generalized. But
at the moment the ccardimx28 is the only platform we have in linux 3.x
so it's enough.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-11 10:27:00 +02:00
Javier Viguera 735e36ce8e atheros: update script to get the mac from the device tree
https://jira.digi.com/browse/DEL-637

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-10 14:38:40 +02:00
Seth Bollinger 255b409288 meta-digi-arm: Make COMPATIBLE_MACHINE more flexible
If people are creating derivative machines in their layer, make
COMPATIBLE_MACHINE more flexible.  Use SOC_FAMILY instead of specific
machine types.  This allows users to more easily share these recipes.

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

Signed-off-by: Seth Bollinger <sethb@digi.com>
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-09-09 09:49:28 +02:00
Javier Viguera 9ad3ccc496 bluez: update init script to get the mac from the device tree
https://jira.digi.com/browse/DEL-635

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-06 17:54:56 +02:00
Javier Viguera 0e2c436940 defconfig: enable centered custom logo
Custom logo support has been added to the kernel.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-05 18:07:04 +02:00
Javier Viguera d94a57ae0a cherokee: use mirror for package SRC_URI
The package is no longer available in the official cherokee site,
so download it from a mirror.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-05 17:30:51 +02:00
Javier Viguera a62f836601 net-snmp: Backport fix for NETSNMP_NO_SYSTEMD typos
snmpd.c: undefined reference to `netsnmp_sd_listen_fds'

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-05 17:27:45 +02:00
Javier Viguera 376f7672b6 vsftpd: remove fixes applied upstream
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-03 16:53:43 +02:00
Javier Viguera cc0e76f3fe alsa-state: fix build error in i.MX5X platforms
ERROR: Unable to find file file://asound.inline_play.state anywhere

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-03 16:28:16 +02:00
Alex Gonzalez 21490c8da4 meta-digi-arm: Update SRCREVs for dey-1.4.0.2 tags.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-08-26 11:03:39 +02:00
Alex Gonzalez 5005294004 meta-digi-arm: defconfig: ccardimx28js: Add W1 slave support.
Synch with kernel defconfig.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-08-26 10:55:09 +02:00
Alex Gonzalez 2fbd3d55e7 meta-digi-dey: dey-examples, add linux-dey version dependency.
The dey-examples-adc and dey-examples-gpio packages are not meant to work
with a 3.10 kernel.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-08-26 10:17:48 +02:00
Alex Gonzalez 20e08e03f7 meta-digi-arm: alsa-state: ccardimx28js: Add profiles for 3.10 kernel.
https://jira.digi.com/browse/DEL-575

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-08-23 16:48:43 +02:00
Alex Gonzalez 3e56a2632c meta-digi-arm: linux-dey-3.10, defconfig, add default blk device support.
https://jira.digi.com/browse/DEL-595

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-08-23 15:49:28 +02:00
Alex Gonzalez dbcb041fc9 meta-digi-arm: Update linux-dey_3.10 SRCREV.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-08-23 12:26:21 +02:00
Alex Gonzalez d4df2750d4 meta-digi-dey: mdev, udev: Add serial and bluetooth devices.
https://jira.digi.com/browse/DEL-572

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-08-22 18:07:17 +02:00
Alex Gonzalez 4e76f14e42 meta-digi: Use proc device tree information for hwid information.
Modify the atheros and bluetooth init scripts to fetch the hwid details
from the device tree.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-08-22 18:06:34 +02:00
Alex Gonzalez 903a7f5cc2 meta-digi-arm: linux-dey-2.6.35: Update for user space suspend support.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-08-14 16:44:02 +02:00
Alex Gonzalez f07edd2cca meta-digi-arm: Update linux-dey to support the pswitch driver.
https://jira.digi.com/browse/DEL-580

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-08-13 13:54:48 +02:00
Alex Gonzalez cfd04a953b meta-digi-dey: Add acpid support for power key suspend/poweroff.
The acpid applet will run at startup and will listen for power input
events.

On arrival, it will timestamp the press event, wait for the release event
and decide whether to suspend or poweroff based on the time elapsed.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-08-13 13:50:04 +02:00
Javier Viguera 0907a087c1 meta-digi: update bluetooth to support Japan
Similar commit was done in DEL.

Japanese law limits the maximum transmit power for Bluetooth to 3 mW.
The cert field in OTP will be set to 2 when units are manufactured
for Japan.

Updated the bluez init script to configure Bluetooth for class 2
operation if the cert field is set to 2, and to delete the class 1
configuration file since it would be illegal to use it in Japan.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-09 16:31:28 +02:00
Javier Viguera 1e248b81ac packagegroup-dey-audio: remove some alsa-utils dependences
Alsa-utils tools once compiled are distributed between a bunch of
different subpackages. Then 'alsa-utils' as a final package is just
a meta-package that depends on all of the different subpackages.

So instead of RDEPEND'ing on the alsa-utils metapackage, depend on just
a few of the alsa-utils subpackages.

This removes for example the 'alsa-utils-alsaconf' package that was
bringing bash into our rootfs.

Removing bash solves the problem of the lines-not-wrapped on the serial
console because now we use busybox' shell in the serial console.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-09 16:31:28 +02:00
Javier Viguera a47d7f73a4 gst-plugins-good: fix build with new kernel headers
In function 'gst_v4l2_fill_lists':
error: 'V4L2_CID_HCENTER_DEPRECATED' undeclared (first use in this function)
error: 'V4L2_CID_VCENTER_DEPRECATED' undeclared (first use in this function)

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-09 16:31:28 +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
Javier Viguera cb25e67665 kernel-module-atheros: apply load parameters to correct module
In Linux 2.6.35, the kernel module accepting the parameters on load
was 'ath6kl_sdio' while in 3.10 is 'ath6kl_core'.

So we need to apply the load parameters to either module depending on
the kernel version.

This is solved by configuring the modprobe configuration file
'/etc/modprobe.d/atheros.conf' with the parameters to the correct
module instead of passing them in the command line.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-09 16:31:28 +02:00
Javier Viguera 9a7841e346 meta-digi-dey: remove fsl-mm-core bbappend
The bbappend was only cleaning-up some bitbake warnings. A patch has
been accepted upstream (meta-fsl-arm) to do the same.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-09 16:31:28 +02:00
Javier Viguera 0f0a76a6f4 meta-digi: fix atheros recipes for new linux version
With the old version of the kernel (2.6.35) we build an external atheros
kernel module, while with the new kernel (3.10) the atheros driver is
included with the kernel sources.

However, the new driver needs the firmware files and the driver load
scripts that are stored with the old driver.

So put a dependence on kernel-module-atheros regardless of the kernel
version and then rework the kernel-module-atheros recipe to build the
whole driver for the old kernel or only the firmware for the new kernel.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-09 16:31:28 +02:00
Javier Viguera 5cce293895 kernel-module-atheros: add 'kmod' runtime dependence
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-09 16:31:28 +02:00
Javier Viguera 84a66ee287 meta-digi-dey: simplify packagegroup recipes
The MACHINE_ESSENTIAL_EXTRA_* vars need to be only in the
'packagegroup-dey-core' recipe not in the rest of the packagegroups.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-09 16:31:28 +02:00
Javier Viguera e5ef733383 packagegroup-dey-core: add MACHINE_EXTRA_RRECOMMENDS
This is needed so the kernel modules configured in the kernel defconfig
get added to the rootfs image.

At the same time there is no need to add the usb gadget modules
separately because they are added in the machine extra recommends as
well.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-09 16:31:27 +02:00
Alex Gonzalez 9c49cdc60f meta-digi-arm: linux-dey-2.6.35.14, remove unneeded variable.
This kernel version has the U-Boot entry point hardcoded so the one in the
recipe is unused.

http://fisheye.digi.com:8060/cru/CR-DEL-105#CFR-2457

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-08-09 12:19:27 +02:00
Alex Gonzalez 5b5b0c7e84 meta-digi-arm: Update linux-dey-3.10 defconfig and SRC_REV.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-08-09 12:04:12 +02:00
Alex Gonzalez 494c8a43a2 meta-digi-arm: Update atheros kernel driver SRCREV.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-08-05 17:28:07 +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
Alex Gonzalez 99b3316802 meta-digi-arm: ccardimx28js: Update u-boot revision.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-08-05 14:27:12 +02:00