Skip to contentSkip to conversation

task-arago-tisdk-crypto: Port crypto tasks from arago to meta-arago

PATCH Superseded Franklin S. Cooper Jr 2 participants 2 messages Oct 12, 2012

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 task-arago-tisdk-crypto: Port crypto tasks from arago to meta-arago

From: Franklin S Cooper Jr <[email protected]>

* Port task-arago-tisdk-crypto including the host and target version from arago to meta-arago. These tasks are significantly smaller compared to the versions in arago. This is due to the contents of these tasks being either split into new tasks or simply moved to other tasks.

---
Version 3 changes:
Remove unneeded PACKAGE_ARCH

 .../tasks/task-arago-tisdk-crypto-sdk-host.bb      |   11 +++++++
 .../tasks/task-arago-tisdk-crypto-sdk-target.bb    |   11 +++++++
 .../recipes-core/tasks/task-arago-tisdk-crypto.bb  |   30 ++++++++++++++++++++
 3 files changed, 52 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-distro/recipes-core/tasks/task-arago-tisdk-crypto-sdk-host.bb
 create mode 100644 meta-arago-distro/recipes-core/tasks/task-arago-tisdk-crypto-sdk-target.bb
 create mode 100644 meta-arago-distro/recipes-core/tasks/task-arago-tisdk-crypto.bb
meta-arago-distro/recipes-core/tasks/task-arago-tisdk-crypto-sdk-host.bb new file +11 -0
new file mode 100644
index 0000000..34093d6
@@ -0,0 +1,11 @@
+DESCRIPTION = "Task to install crypto sources in SDK"
+PR = "r0"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+COMPATIBLE_MACHINE = "(am37x-evm|am3517-evm)"
+
+inherit task
+
+RDEPENDS_${PN} = "\
+    ti-ocf-crypto-module-src \
+    "
meta-arago-distro/recipes-core/tasks/task-arago-tisdk-crypto-sdk-target.bb new file +11 -0
new file mode 100644
index 0000000..15f4b99
@@ -0,0 +1,11 @@
+DESCRIPTION = "Task to install crypto dev packages in SDK"
+PR = "r0"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+
+inherit task
+
+RDEPENDS_${PN} = "\
+    openssl-dev \
+    ocf-linux-dev \
+    "
meta-arago-distro/recipes-core/tasks/task-arago-tisdk-crypto.bb new file +30 -0
new file mode 100644
index 0000000..9636644
@@ -0,0 +1,30 @@
+DESCRIPTION = "Task to install crypto packages into target FS"
+PR = "r0"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+
+inherit task
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+# Add openssl-misc to get the openssl.cnf file which is
+# needed for "openssl req" and to avoid warnings.
+# NOTE: This may change to openssl-conf in the future
+CRYPTO_SUPPORT = "\
+    openssl \
+    openssl-misc \
+    "
+
+# Add crypto hardware support for am37x-evm
+# NOTE: this package depends on a kernel patch which also has a TSU
+#       exemption filed.  The current name and checksums of the
+#       kernel patch are:
+# Name: 0001-linux-omap3-PSP-3.0.1.6-kernel-with-OCF-Linux.patch
+# md5sum: 00bb20f2f33a37489d8c52212933368d
+# sha256sum: 1fea8323d12cf1ee4f743f0f1c82d7f3821a7d9b7996c44b17d7761579bb090d
+CRYPTO_SUPPORT_append_am37x-evm = " ti-ocf-crypto-module"
+CRYPTO_SUPPORT_append_am3517-evm = " ti-ocf-crypto-module"
+
+RDEPENDS_${PN} = "\
+    ${CRYPTO_SUPPORT} \
+    "
Signature · 1 line
1.7.0.4
#1 lore raw
Quoted 56 lines

-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Franklin S. Cooper Jr
Sent: Friday, October 12, 2012 12:31 AM
To: [email protected]
Cc: Cooper Jr., Franklin
Subject: [meta-arago] [PATCH v3] task-arago-tisdk-crypto: Port crypto tasks from arago to meta-arago

From: Franklin S Cooper Jr <[email protected]>

* Port task-arago-tisdk-crypto including the host and target version
from arago to meta-arago. These tasks are significantly smaller compared to the versions in arago. This is due to the contents
of
these tasks being either split into new tasks or simply moved
to
other tasks.

---
Version 3 changes:
Remove unneeded PACKAGE_ARCH

 .../tasks/task-arago-tisdk-crypto-sdk-host.bb      |   11
+++++++
 .../tasks/task-arago-tisdk-crypto-sdk-target.bb    |   11
+++++++
 .../recipes-core/tasks/task-arago-tisdk-crypto.bb  |   30
++++++++++++++++++++
 3 files changed, 52 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-distro/recipes-core/tasks/task-
arago-tisdk-crypto-sdk-host.bb
 create mode 100644 meta-arago-distro/recipes-core/tasks/task-
arago-tisdk-crypto-sdk-target.bb
 create mode 100644 meta-arago-distro/recipes-core/tasks/task-

arago-tisdk-crypto.bb

(quoted diff) +0 -0

tisdk-crypto-sdk-host.bb b/meta-arago-distro/recipes- core/tasks/task-arago-tisdk-crypto-sdk-host.bb new file mode 100644
index 0000000..34093d6

meta-arago-distro/recipes-core/tasks/task-arago-tisdk- new file +0 -0

crypto-sdk-host.bb

meta-arago-distro/recipes-core/tasks/task-arago-tisdk- new file +4 -0
@@ -0,0 +1,11 @@
+DESCRIPTION = "Task to install crypto sources in SDK"
+PR = "r0"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM =

"file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b 4de20420"

meta-arago-distro/recipes-core/tasks/task-arago-tisdk-

Quoted 7 lines
meta-arago-distro/recipes-core/tasks/task-arago-tisdk- new file +7 -0
+COMPATIBLE_MACHINE = "(am37x-evm|am3517-evm)"
+
+inherit task
+
+RDEPENDS_${PN} = "\
+    ti-ocf-crypto-module-src \
+    "

This cannot be COMPATIBLE_MACHINE specific. The package list is included for all machines so for devices like am335x-evm this would fail to build. Instead if you have nothing to install then make this an empty package (you will still need to set ALLOW_EMPTY)

Quoted 72 lines
(quoted diff) +0 -0

tisdk-crypto-sdk-target.bb b/meta-arago-distro/recipes- core/tasks/task-arago-tisdk-crypto-sdk-target.bb new file mode 100644
index 0000000..15f4b99

meta-arago-distro/recipes-core/tasks/task-arago-tisdk- new file +0 -0

crypto-sdk-target.bb

meta-arago-distro/recipes-core/tasks/task-arago-tisdk- new file +4 -0
@@ -0,0 +1,11 @@
+DESCRIPTION = "Task to install crypto dev packages in SDK"
+PR = "r0"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM =

"file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b 4de20420"

meta-arago-distro/recipes-core/tasks/task-arago-tisdk- new file +7 -0
+
+inherit task
+
+RDEPENDS_${PN} = "\
+    openssl-dev \
+    ocf-linux-dev \
+    "
(quoted diff) +0 -0

tisdk-crypto.bb b/meta-arago-distro/recipes-core/tasks/task- arago-tisdk-crypto.bb
new file mode 100644
index 0000000..9636644

meta-arago-distro/recipes-core/tasks/task-arago-tisdk- new file +0 -0

crypto.bb

meta-arago-distro/recipes-core/tasks/task-arago-tisdk- new file +4 -0
@@ -0,0 +1,30 @@
+DESCRIPTION = "Task to install crypto packages into target FS"
+PR = "r0"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM =

"file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b 4de20420"

meta-arago-distro/recipes-core/tasks/task-arago-tisdk- new file +15 -0
+
+inherit task
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+# Add openssl-misc to get the openssl.cnf file which is
+# needed for "openssl req" and to avoid warnings.
+# NOTE: This may change to openssl-conf in the future
+CRYPTO_SUPPORT = "\
+    openssl \
+    openssl-misc \
+    "
+
+# Add crypto hardware support for am37x-evm
+# NOTE: this package depends on a kernel patch which also has a

TSU

meta-arago-distro/recipes-core/tasks/task-arago-tisdk- new file +5 -0
+#       exemption filed.  The current name and checksums of the
+#       kernel patch are:
+# Name: 0001-linux-omap3-PSP-3.0.1.6-kernel-with-OCF-Linux.patch
+# md5sum: 00bb20f2f33a37489d8c52212933368d
+# sha256sum:

1fea8323d12cf1ee4f743f0f1c82d7f3821a7d9b7996c44b17d7761579bb090d

meta-arago-distro/recipes-core/tasks/task-arago-tisdk- new file +6 -1
+CRYPTO_SUPPORT_append_am37x-evm = " ti-ocf-crypto-module"
+CRYPTO_SUPPORT_append_am3517-evm = " ti-ocf-crypto-module"
+
+RDEPENDS_${PN} = "\
+    ${CRYPTO_SUPPORT} \
+    "
--

1.7.0.4

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago