Commit Graph

2349 Commits

Author SHA1 Message Date
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
Javier Viguera 71b7bd6837 imx-bootlets: update revision
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-05 10:23:29 +02:00
Javier Viguera cacf212fc4 btfilter: fix build with libnl-3
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-02 14:48:17 +02:00
Javier Viguera ff37a3272d kobs-ng: fix build for yocto dylan
move ccardimx28js specific patch under PN-PV subdirectory. Otherwise it
fails to find the patch (this version of yocto restricts the FILESPATH
where to look for files)

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-02 14:47:47 +02:00
Javier Viguera 45f09436bf kernel-module-atheros: fix file-not-found error
ERROR: Fetcher failure: Unable to find file file://atheros anywhere

The FILESPATH variable (used as the search path for files referred to
in SRC_URI) is now (dylan) more restrictive, so move the files where
they can be found.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-02 14:47:17 +02:00
Javier Viguera cd26bed35c meta-digi-arm: allow to configure kernel version in project
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-02 14:46:47 +02:00
Javier Viguera b971f39ac3 fsl-mm-codeclib: clean bitbake warnings
WARNING: File was already stripped ...
WARNING: QA Issue: debug files not shipped ...

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-02 14:46:16 +02:00
Javier Viguera 0d7e90319a meta-digi: rework gstreamer support for yocto dylan
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-02 14:45:46 +02:00
Javier Viguera 93d275a43d meta-digi-arm: fix u-boot broken build
The build was failing for any IMX platform because it was trying to
build a bootstream u-boot.

The u-boot variables (UBOOT_*) used by yocto were incorrectly set,
so I reworked and simplified them to fix the bug and ease maintenance.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-02 14:45:16 +02:00
Javier Viguera 00e6d38ca5 kernel-module-redpine: update for yocto dylan
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-02 14:44:46 +02:00
Javier Viguera 1aa3e88855 netbase, init-ifupdown: rename bbappend
The 'netbase' package in poky's meta layer was splitted in netbase +
init-ifupdown.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-02 14:44:16 +02:00
Javier Viguera f47915f45a meta-digi: remove udev-173 bbappend
That version of udev was removed from 'meta-oe' and thus bitbake fails
to parse the recipes.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-02 14:43:46 +02:00
Javier Viguera a81f5d0153 meta-digi-dey: remove libdvdread bbappend
The bbappend was done only to set the correct SRC_URI. This has been
fixed in upstream layer (meta-oe)

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-02 14:43:16 +02:00
Javier Viguera cbb4ad1f39 meta-digi-dey: update distro config file for yocto dylan
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-02 14:42:46 +02:00
Javier Viguera 91291212b9 meta-digi-dey: clean bitbake warnings
QA Issue: Variable ALLOW_EMPTY is set as not being package specific
QA Issue: Variable RPROVIDES is set as not being package specific

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-02 14:42:16 +02:00
Javier Viguera b5619778f1 meta-digi: update config templates for yocto dylan
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-02 14:41:46 +02:00
Alex Gonzalez 74c7fc388f meta-digi-arm: Add U-Boot 2013.01.
This U-Boot is only supported for MX28 based platforms.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-30 10:43:55 +02:00
Alex Gonzalez 107be1bf23 meta-digi-arm: Patch kobs-ng for 3.10 kernel.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-30 10:43:55 +02:00
Alex Gonzalez f5aa5e1a74 meta-digi-dey: Define different USB gadgets for 3.10 kernel.
The g-file-storage kernel has been replaced by the g-mass-storage.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-30 10:43:55 +02:00
Alex Gonzalez 449fd76a03 meta-digi-arm: Append configuration fragments to linux recipe.
This is to work as in previous kernels. For now the fragments are empty
and they will have to be individually included and tested.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-30 10:43:55 +02:00
Alex Gonzalez ee8e198c16 meta-digi-dey: Only include external atheros module for 2.6.35 kernel.
The 3.10 kernel uses the upstream atheros driver.

Also, rationalize the RDEPENDS in the recipe to use the wireless
module variable instead of hardcoding values.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-30 10:43:55 +02:00
Alex Gonzalez 2afd15d816 meta-digi-arm: Fix linux-dey do_deploy append
Copy including folders. This was causing problems in kernel version 3.10
as the directory included folders that were omitted in the copy and caused
the do_install to fail.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-30 10:43:55 +02:00
Alex Gonzalez 17de27ff46 meta-digi-arm: Update ccardimx28js linux defconfig.
Remove support that is to be added as a config fragment:

- FB support.
- LCD backlight.
- Sound.

Add configuration that was also enabled in previous kernels.

- Serial, ethernet and storage USB gadgets.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-30 10:43:55 +02:00
Alex Gonzalez 038f782d33 meta-digi-del: Add ttyAMA0 to mdev.
This is the serial name in the 3.x kernels for the ccardimx28js.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-30 10:43:55 +02:00
Alex Gonzalez 9fb5acc13f meta-digi-arm: Add DTSNAME to ccardimx28js.
This will be used as the device tree name for kernels that
need to compile a device tree.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-30 10:43:55 +02:00
Alex Gonzalez c3a4bf30a1 meta-digi-arm: For the ccardimx28js, chose serial name depending on kernel.
The 2.6.35.14 kernel calls the serial device ttyAM0 while the 3.10 which
uses a different driver calls it ttyAMA0.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-30 10:43:55 +02:00
Alex Gonzalez aa1f21aae2 meta-digi-arm: Add linux-dey_3.10.
This kernel will have support only for the ccardimx28js.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-30 10:43:55 +02:00
Alex Gonzalez 1cc0fddc44 meta-digi-arm: Set 2.6.35.14 as linux preferred version.
Also, make arrangements so support more than one kernel version.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-30 10:43:55 +02:00
Alex Gonzalez f173f650e5 meta-digi-arm: Import linux-libc-headers into layer.
We need separate linux-libc-recipes if we want to support different
kernels.

On the 1.4 meta-fsl-arm layer this recipe will disappear, so review then.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-30 10:43:55 +02:00
Javier Viguera 10af7f7107 build.sh: time 'repo sync'
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-07-16 10:25:53 +02:00
Alex Gonzalez 12f7017b58 meta-digi-dey: Add oracle-java for mxs and mx5 platforms.
https://jira.digi.com/browse/DEL-532

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-15 14:06:30 +02:00
Javier Viguera 23c8fec37b meta-digi-arm: share nvram and u-boot revisions
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-07-08 14:19:56 +02:00
Alex Gonzalez 9274b5e254 meta-digi-arm: Make linux-dey and linux-libc-headers share an include.
Placing all of the revision info in a common include we avoid the common
issue of forgetting to update the linux-libc-headers append recipe when
the kernel is updated.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-08 10:23:44 +02:00