[meta-freescale] [meta-fsl-arm PATCH] Remove Vybrid mcc related recipes

Otavio Salvador otavio at ossystems.com.br
Tue Oct 27 04:22:31 PDT 2015


The mqxboot and mcc Linux kernel module requires the Timesys kernel to
work. The kernel is not in use in meta-fsl-arm anymore and in long
term the Vybrid will be using the remoteproc mechanism to share
resources across the different CPU, inside of the SoC.

As consequence of the update for the Linux 4.1 kernel, those recipes
ought to move for meta-fsl-arm-extra where 3rd party boards can keep
using them.

Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
---

 recipes-bsp/mqxboot/mqxboot_1.0.bb                 | 23 ----------
 ...h-Only-include-mvf_sema4.h-if-building-in.patch | 51 ----------------------
 .../kernel-modules/kernel-module-mcc_1.06.bb       | 20 ---------
 3 files changed, 94 deletions(-)
 delete mode 100644 recipes-bsp/mqxboot/mqxboot_1.0.bb
 delete mode 100644 recipes-kernel/kernel-modules/kernel-module-mcc/mcc_config.h-Only-include-mvf_sema4.h-if-building-in.patch
 delete mode 100644 recipes-kernel/kernel-modules/kernel-module-mcc_1.06.bb

diff --git a/recipes-bsp/mqxboot/mqxboot_1.0.bb b/recipes-bsp/mqxboot/mqxboot_1.0.bb
deleted file mode 100644
index 7f11a98..0000000
--- a/recipes-bsp/mqxboot/mqxboot_1.0.bb
+++ /dev/null
@@ -1,23 +0,0 @@
-# Copyright (C) 2013 Timesys Corporation
-SUMMARY = "MQX Image loader - starts an MQX image on the M4"
-LICENSE = "GPL-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=c49712341497d0b5f2e40c30dff2af9d"
-
-DEPENDS = "virtual/kernel-module-mcc"
-
-SRC_URI = "http://repository.timesys.com/buildsources/m/mqxboot/mqxboot-${PV}/mqxboot-${PV}.tar.bz2"
-
-SRC_URI[md5sum] = "3de3c8b5f8cd6664870587d29c04c421"
-SRC_URI[sha256sum] = "c2f66ae962fe2529578d5c007e3f91a36085b714a0ea276f47bc3aea90e69699"
-
-S = "${WORKDIR}/mqxboot-${PV}"
-
-CFLAGS += "-I${STAGING_KERNEL_DIR}/include"
-
-RDEPENDS_${PN} = "virtual/kernel-module-mcc"
-
-COMPATIBLE_MACHINE = "(vf60)"
-
-do_install() {
-    oe_runmake 'DESTDIR=${D}' install
-}
diff --git a/recipes-kernel/kernel-modules/kernel-module-mcc/mcc_config.h-Only-include-mvf_sema4.h-if-building-in.patch b/recipes-kernel/kernel-modules/kernel-module-mcc/mcc_config.h-Only-include-mvf_sema4.h-if-building-in.patch
deleted file mode 100644
index 570edaa..0000000
--- a/recipes-kernel/kernel-modules/kernel-module-mcc/mcc_config.h-Only-include-mvf_sema4.h-if-building-in.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-From 17e04c68557c4c9cb1a0112717019329a0cc3f96 Mon Sep 17 00:00:00 2001
-From: Otavio Salvador <otavio at ossystems.com.br>
-Date: Tue, 6 Jan 2015 13:39:50 -0200
-Subject: [PATCH] mcc_config.h: Only include mvf_sema4.h if building in kernel
-Organization: O.S. Systems Software LTDA.
-
-When mcc_config.h is used to make application we shouldn't include
-mvf_sema4.h as it is an internal symbol of kernel and shouldn't be
-directly referenced by user space applications using the MCC
-interface.
-
-This patch puts a guard using __KERNEL__ define, avoiding the include
-and the definition of MCC_SHMEM_SEMAPHORE_NUMBER as
-MVF_SHMEM_SEMAPHORE_NUMBER would be undefined.
-
-Upstream-Status: Pending
-
-Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
----
- mcc_config.h | 8 +++++---
- 1 file changed, 5 insertions(+), 3 deletions(-)
-
-diff --git a/mcc_config.h b/mcc_config.h
-index 6a12c6d..3887aad 100644
---- a/mcc_config.h
-+++ b/mcc_config.h
-@@ -18,8 +18,13 @@
- #ifndef __MCC_CONFIG__
- #define __MCC_CONFIG__
- 
-+#ifdef __KERNEL__
- #include <linux/mvf_sema4.h>
- 
-+/* semaphore number */
-+#define MCC_SHMEM_SEMAPHORE_NUMBER      (MVF_SHMEM_SEMAPHORE_NUMBER)
-+#endif
-+
- /* used OS */
- #define MCC_OS_USED                    (MCC_LINUX)
- 
-@@ -47,7 +52,4 @@
- /* other cores, besides this participating in mcc */
- #define MCC_OTHER_CORES			{1}
- 
--/* semaphore number */
--#define MCC_SHMEM_SEMAPHORE_NUMBER      (MVF_SHMEM_SEMAPHORE_NUMBER)
--
- #endif /* __MCC_CONFIG__ */
--- 
-2.1.4
-
diff --git a/recipes-kernel/kernel-modules/kernel-module-mcc_1.06.bb b/recipes-kernel/kernel-modules/kernel-module-mcc_1.06.bb
deleted file mode 100644
index db3eb02..0000000
--- a/recipes-kernel/kernel-modules/kernel-module-mcc_1.06.bb
+++ /dev/null
@@ -1,20 +0,0 @@
-# Copyright (C) 2013 Timesys Corporation
-SUMMARY = "Multicore communication kernel module"
-LICENSE = "GPL-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=c8959abcbbe4d6676c58eab9354019e6"
-
-PROVIDES = "virtual/kernel-module-mcc"
-RPROVIDES_${PN} = "virtual/kernel-module-mcc"
-RPROVIDES_${PN}-dev = "virtual/kernel-module-mcc-dev"
-
-inherit module
-
-SRC_URI = "http://repository.timesys.com/buildsources/m/mcc-kmod/mcc-kmod-${PV}/mcc-kmod-${PV}.tar.bz2 \
-           file://mcc_config.h-Only-include-mvf_sema4.h-if-building-in.patch"
-
-SRC_URI[md5sum] = "d0507968592af5d8781e8bdbbb249e7d"
-SRC_URI[sha256sum] = "43f834ddf9845da843c7790a307a0dbc8b04a40deed06aed7c3c99ad3a273f6c"
-
-S = "${WORKDIR}/mcc-kmod-${PV}"
-
-COMPATIBLE_MACHINE = "(vf60)"
-- 
2.6.2



More information about the meta-freescale mailing list