From 951627ea02dc6851965ff6977a9e581d336ec070 Mon Sep 17 00:00:00 2001 From: Javier Viguera Date: Wed, 11 May 2016 18:01:32 +0200 Subject: [PATCH] cryptodev: install cryptodev-module for CC6 This module is the interface between user-space (openssl, gnutls) and the hardware cryptographic acceleration support (CAAM). This commit installs the module in the rootfs and configures it so it is loaded on boot. https://jira.digi.com/browse/DEL-2501 Signed-off-by: Javier Viguera --- meta-digi-arm/conf/machine/include/ccimx6.inc | 2 +- .../recipes-kernel/cryptodev/cryptodev-module_%.bbappend | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 meta-digi-arm/recipes-kernel/cryptodev/cryptodev-module_%.bbappend diff --git a/meta-digi-arm/conf/machine/include/ccimx6.inc b/meta-digi-arm/conf/machine/include/ccimx6.inc index b5a22f3aa..bdca7707a 100644 --- a/meta-digi-arm/conf/machine/include/ccimx6.inc +++ b/meta-digi-arm/conf/machine/include/ccimx6.inc @@ -30,6 +30,6 @@ MACHINE_EXTRA_RDEPENDS += " \ u-boot-fw-utils \ " MACHINE_EXTRA_RRECOMMENDS += "${MACHINE_FIRMWARE} ${WIRELESS_MODULE}" -MACHINE_EXTRA_RRECOMMENDS += "fsl-alsa-plugins" +MACHINE_EXTRA_RRECOMMENDS += "fsl-alsa-plugins cryptodev-module" MACHINE_FEATURES += "accel-graphics accel-video wifi bluetooth" diff --git a/meta-digi-arm/recipes-kernel/cryptodev/cryptodev-module_%.bbappend b/meta-digi-arm/recipes-kernel/cryptodev/cryptodev-module_%.bbappend new file mode 100644 index 000000000..087f298e1 --- /dev/null +++ b/meta-digi-arm/recipes-kernel/cryptodev/cryptodev-module_%.bbappend @@ -0,0 +1,3 @@ +# Copyright (C) 2016 Digi International. + +KERNEL_MODULE_AUTOLOAD = "cryptodev"