Commit Graph

1242 Commits

Author SHA1 Message Date
Isaac Hermida cf7c6b0af8 kernel-module-qualcomm: compile the driver without debug messages
By default the driver was being compiled with debug messages. Disabled it
but leave the option there so it can be enabled by user.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-07-06 08:43:13 +02:00
Isaac Hermida 9ec5895eb0 pulseaudio: only install hdmi_hotplug.sh for ccimx6 platforms
The ccimx6ul or ccardimx28 do not have hdmi interface, so do not install the
hdmi hotplug script.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-07-05 15:52:38 +02:00
Isaac Hermida 04c3220bd9 hostapd-2.4: add support to compile hostapd for ccimx6ul
https://jira.digi.com/browse/DEL-2654

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-07-05 15:52:38 +02:00
Diaz de Grenu, Jose d223bc68c2 meta-digi-dey: trustfence: fix TRUSTFENCE_UBOOT_DEK_SIZE setting
The TRUSTFENCE_UBOOT_DEK_SIZE Yocto macro maps to the UBOOT_DEK_SIZE U-Boot
Kconfig entry, which is defined as a choice entry. This makes necessary
to explicitly define the choice Kconfig entry for the configuration to
work.

Signed-off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com>
2016-07-01 16:26:53 +02:00
Diaz de Grenu, Jose d7a26cc3e6 meta-digi-arm: u-boot: change name of encrypted artifacts for clarity
https://jira.digi.com/browse/DEL-2663

Signed-off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com>
2016-07-01 16:26:53 +02:00
Diaz de Grenu, Jose a91cc4e796 meta-digi-arm: u-boot: fix trustfence checks logic
There are several possible values for TRUSTFENCE_UBOOT_ENV_DEK:

* Not defined: if the trustfence support is not included.
               Should not include the feature.
* 32 characters: when defining a valid key.
                 Should include the feature.
* "0": when explicitly disabling the feature.
       Should not include the feature
* <other>: Invalid value, should trigger the error.

This commits fixes the logic so that 'None' (no defined) is taken as a valid
value.

Signed-off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com>
2016-07-01 16:26:53 +02:00
Isaac Hermida 8bc38a2cbc core-image-base: add dey-image tweaks
Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-07-01 11:49:37 +02:00
Mike Engel e5dca69e96 ccimx6ul: Add cryptodev module to kernel configuration.
This commit will add the cryptodev module to the CC6UL kernel to use
the CAAM from user space through this device.

Signed-off-by: Mike Engel <Mike.Engel@digi.com>

https://jira.digi.com/browse/DEL-2719
2016-07-01 09:08:40 +02:00
Alex Gonzalez 7dda6380c2 meta-digi-dey: sysinfo: Use DISTRO and machine name.
The following utilities are supposed to be available on the environment's
PATH:

uptime, uname, cat, zcat, free, ps, mount, netstat, route, ifconfig, gzip

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2016-06-30 10:12:48 +02:00
Isaac Hermida 36e3a2c6c3 bluez5-init; redirect bluetooth daemon messages to a log file
https://jira.digi.com/browse/DEL-2632

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-06-30 10:06:03 +02:00
Mike Engel f88ea99ed3 ccimx6ul: Removed CONSOLE_ENABLE_GPIO_NR platform specific naming.
This commit changes the CONFIG_CCIMX6SBC_CONSOLE_ENABLE_GPIO_NR define
into a platform independent setting.

Signed-off-by: Mike Engel <Mike.Engel@digi.com>

https://jira.digi.com/browse/DEL-2641
2016-06-29 17:23:21 +02:00
Isaac Hermida bc98b6f362 ccimx6ul: defconfig: do not use static DDBB for regulatory domain
Do not compile the kernel for supporting the static regulatory domain
but force the system to do that by using crda.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-06-29 08:43:17 +02:00
Isaac Hermida 7a95663c5e kernel-module-qualcomm: do not create an auxiliar p2p interface on init
https://jira.digi.com/browse/DEL-2656

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-06-28 11:06:18 +02:00
Isaac Hermida 7ecd73da73 kernel-module-qualcomm: [cosmetic] rework patches to do not include numbering
Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-06-27 13:21:52 +02:00
Isaac Hermida 9db7e6eb33 ccimx6ulstarter.conf: update U-Boot defconfig file
Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-06-27 11:06:31 +02:00
Isaac Hermida 021bc9d29d kernel-module-qualcomm: qualcomm-pre-up: compatibility improvement for modprobe
The root filesystem can have installed the busybox modprobe implementation or
the kmod modprobe implementation.
Check the version installed and compound the modprobe arguments.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-06-27 11:06:31 +02:00
Isaac Hermida 113e9a0e0b recipes-core: expand core-image-base recipe
Expand the core-image-base recipe by including some default packages to the
image.

https://jira.digi.com/browse/DEL-2695
https://jira.digi.com/browse/DEL-2693

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-06-27 11:06:31 +02:00
Isaac Hermida 9cd2009300 ccimx6ul.inc: add imx-kobs as a required package
This tool is required to update the U-Boot NAND in linux.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-06-27 11:06:30 +02:00
Isaac Hermida 552f9a4567 meta-digi: dey-wireless: add iw to the list of wireless packages
Add iw to the list of packages to be installed regardless the platform.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-06-24 16:06:49 +02:00
Isaac Hermida 32ae76e1cf bluez5-init: rename the CTS gpio name and make the code more robust
Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-06-23 15:49:16 +02:00
Isaac Hermida a6d0a1d139 bluez5-init: reset bluetooth qualcomm chip before initialization
The power regulator connected to the qca6554 chip is always on, which causes
the Bluetooth part to not work correctly after a software-reset.
This commit asserts momentarily the BT_EN line during the start-up sequence
to reset the Bluetooth controller so that it is in a predictable state after a
reset.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-06-23 15:48:43 +02:00
Isaac Hermida 0793dbf75b ccimx6ul.inc: add kernel-module-qualcomm as machine feature if wifi is set
https://jira.digi.com/browse/DEL-2653

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-06-22 14:49:17 +02:00
Isaac Hermida bf32fec01e kernel-module-qualcomm: initial support to compile qca6564 module externally
Add recipe kernel-module-qualcomm to compile kernel module externally with all
the patches for kernel 4.1.15.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-06-22 14:49:17 +02:00
Isaac Hermida 6809d1f568 ccimx6ul: defconfig: compile 80211 modules as built in
We compile those modules as built in to avoid a mismatch
between the current kernel version and the wlan.ko module.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-06-21 18:36:17 +02:00
Javier Viguera 3d307a567f meta-digi-dey: update connectivity check URL in distro config
Same change was done in Poky distro conf.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-06-21 12:06:31 +02:00
Javier Viguera ef3d1ab94f meta-digi: do not use system libsdl-native
Using native libsdl from the system is showing problems in newer
versions of some operating systems (e.g. ubuntu 15.10). The default in
Yocto 2.0 has changed to build a native libsdl and use it instead of the
one in the system.

This commit synchronizes the config templates to the latest in Yocto
2.0.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-06-21 12:03:03 +02:00
Javier Viguera a2aaa26e50 meta-digi-arm: use linux branch 'v3.14/master'
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-06-21 11:50:27 +02:00
Javier Viguera 1e16f6af66 meta-digi: global replace base_contains function
This function is deprecated in favor of bb.utils.contains. The same
change has been done in other layers.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-06-21 11:15:28 +02:00
Javier Viguera 7db92fc476 build.sh: allow to define per platform bitbake image target
Instead of having one default image target for all platforms allow to
define this per platform.

This is needed because for example for the 'ccimx6ulstarter' we want to
define a default command line image instead of a QT-based one.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-06-20 19:18:49 +02:00
Javier Viguera e2fb845970 ccimx6ulstarter: remove sdcard image creation
The CC6UL does not support booting from SD card, so it does not make
sense to create a SDCARD image by default.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-06-20 19:18:49 +02:00
Jose Diaz de Grenu de Pedro 62e0e1c6c6 meta-digi-arm: u-boot: fix trustfence checks logic
There are several possible values for TRUSTFENCE_UBOOT_ENV_DEK:
 * Not defined: if the trustfence support is not included.
                Should not include the feature.
 * 32 characters: when defining a valid key.
                Should include the feature.
 * "0": when explicetily disabling the feature.
                Should not include the feature
 * <other>: Invalid value, should trigger the error.

This commits fixes the logic so that 'None' (no defined) is taken as a valid
value.

Signed-off-by: Jose Diaz de Grenu de Pedro <Jose.DiazdeGrenudePedro@digi.com>
2016-06-20 15:04:47 +02:00
Jose Diaz de Grenu de Pedro ba6b5ffd8c meta-digi-arm: u-boot: add secure boot configuration checks
https://jira.digi.com/browse/DEL-2618

Signed-off-by: Jose Diaz de Grenu de Pedro <Jose.DiazdeGrenudePedro@digi.com>
2016-06-20 09:39:04 +02:00
Jose Diaz de Grenu de Pedro 3ef4fe1f34 meta-digi-dey: trustfence: add default values for secure boot
Signed-off-by: Jose Diaz de Grenu de Pedro <Jose.DiazdeGrenudePedro@digi.com>
2016-06-20 09:39:04 +02:00
Jose Diaz de Grenu de Pedro 5c6de74288 meta-digi-dey: trustfence: Explicitely check for "1" for variable enable.
https://jira.digi.com/browse/DEL-2603

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Signed-off-by: Jose Diaz de Grenu de Pedro <Jose.DiazdeGrenudePedro@digi.com>
2016-06-20 09:39:04 +02:00
Isaac Hermida 5308fad8bc bluez5-init: add support to set qca6564 mac address
The steps to set the bluetooth MAC address is send an specific hci command
and an hci reset, so the bluetooth interface need to be up in order to
configure it.
Additionally we have generalized the way to read the MAC address from the
device tree and removed some old code for getting the MAC address in
kernel version 2.

https://jira.digi.com/browse/DUB-595

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-06-17 10:05:27 +02:00
Isaac Hermida 756ba7b8cf bluez5-init: disable the HW flow control for qca6564
Add a software workaround to disable the HW flow control because the SOM
revision 3 (and older) has swapped the bluetooth TX and RX lines so we need
to operate in DTE mode which implies that the HW control lines are swapped.
This also implies reducing the baudrate to avoid the need for HW flow control.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-06-17 10:05:27 +02:00
Isaac Hermida 9765192fbd bluez5-init: add support for qca6564
Add initial support for the qca6564 chip.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-06-17 10:05:27 +02:00
Isaac Hermida c715e16c45 ccimx6ulstarter.conf: fix incorrect serial port console
Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-06-17 10:05:27 +02:00
Isaac Hermida 68746632f1 linux: update kernel source branch for ccimx6ul
Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-06-13 16:32:18 +02:00
Alex Gonzalez ac740b7fdc meta-digi-dey: trustfence: Explicitely check for "1" for variable enable
https://jira.digi.com/browse/DEL-2603

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2016-06-10 09:48:05 +02:00
Jose Diaz de Grenu de Pedro 64c488a821 meta-digi-arm: u-boot: fix syntax error in U-Boot recipe
Signed-off-by: Jose Diaz de Grenu de Pedro <Jose.DiazdeGrenudePedro@digi.com>
2016-06-06 10:06:22 +02:00
Jose Diaz de Grenu de Pedro 5f45a87ebd meta-digi-arm: trustfence: implement Yocto secure boot configuration
Implement the set of TRUSTFENCE_ macros to configure each secure boot feature
available in U-Boot.

https://jira.digi.com/browse/DUB-570

Signed-off-by: Jose Diaz de Grenu de Pedro <Jose.DiazdeGrenudePedro@digi.com>
2016-06-03 17:46:52 +02:00
Victor Rubio 0aa26fb70a meta-digi-dey: add sysinfo package to dey-core packagegroup
sysinfo is a bash script which gathers all the relevant information
from a running system on a timestamped compressed file.

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

Signed-off-by: Victor Rubio Victor.RubioTorroba@digi.com
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-06-02 20:04:31 +02:00
Isaac Hermida 8361d98e5a linux: update kernel source branch for ccimx6ul
https://jira.digi.com/browse/DEL-2368

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-06-02 11:33:32 +02:00
Alex Gonzalez 2e95ff7519 meta-digi: Add TrustFence configuration class.
This commit adds a trustfence class to encapsulate all trustfence
configurations.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2016-05-31 17:51:00 +02:00
Alex Gonzalez 1fa78eb3de meta-digi-dey: Add dey-trustfence packagegroup and feature.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2016-05-31 17:51:00 +02:00
Alex Gonzalez 05f1daeecc meta-digi-dey: systemd: Disable getty on console disable.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2016-05-31 17:51:00 +02:00
Alex Gonzalez 12b196bc0f meta-digi-arm: u-boot-dey: Add secure console trustfence configuration
support.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2016-05-31 17:51:00 +02:00
Alex Gonzalez 5351b71c82 meta-digi-dey: sysvinit: No getty in inittab if console disabled.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2016-05-31 17:51:00 +02:00
Alex Gonzalez f15d7c3e31 meta-digi-dey: Add auto-serial-console recipe.
This support comes from meta-linaro @9f899282caa9 and adds the ability
to configure getty dynamically from the console argument in the kernel
command line.

This will make it possible to enable/disable the console dynamically as
signalled by U-Boot.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2016-05-31 17:51:00 +02:00