diff options
Diffstat (limited to 'recipes-ti/multiprocmgr')
-rw-r--r-- | recipes-ti/multiprocmgr/multiprocmgr-rtos_git.bb | 44 | ||||
-rw-r--r-- | recipes-ti/multiprocmgr/multiprocmgr-test_git.bb | 31 | ||||
-rw-r--r-- | recipes-ti/multiprocmgr/multiprocmgr.inc | 21 | ||||
-rw-r--r-- | recipes-ti/multiprocmgr/multiprocmgr/mpmsrv-daemon.service | 14 | ||||
-rw-r--r-- | recipes-ti/multiprocmgr/multiprocmgr_git.bb | 44 |
5 files changed, 0 insertions, 154 deletions
diff --git a/recipes-ti/multiprocmgr/multiprocmgr-rtos_git.bb b/recipes-ti/multiprocmgr/multiprocmgr-rtos_git.bb deleted file mode 100644 index 41efe38b..00000000 --- a/recipes-ti/multiprocmgr/multiprocmgr-rtos_git.bb +++ /dev/null | |||
@@ -1,44 +0,0 @@ | |||
1 | SUMMARY = "TI Multiproc Manager (RTOS) for KeyStone II" | ||
2 | DESCRIPTION = "Provides download, debug and other utilities for other cores in the SOC like DSP" | ||
3 | |||
4 | require recipes-ti/includes/ti-paths.inc | ||
5 | require recipes-ti/multiprocmgr/multiprocmgr.inc | ||
6 | |||
7 | DEPENDS = "ti-cgt6x-native" | ||
8 | |||
9 | PR = "${INC_PR}.2" | ||
10 | |||
11 | PACKAGES =+ "${PN}-test" | ||
12 | FILES:${PN}-test = "${datadir}/ti/examples/mpm/test/filetestdemo/c66x/demo_loopback/build/bin/*.out \ | ||
13 | ${datadir}/ti/examples/mpm/test/sync_test/c66x/bin/*.out" | ||
14 | |||
15 | EXTRA_OEMAKE = "LOCAL_SYSROOT="${STAGING_DIR_TARGET}" \ | ||
16 | C6X_GEN_INSTALL_PATH="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \ | ||
17 | " | ||
18 | |||
19 | do_compile() { | ||
20 | oe_runmake c66x | ||
21 | oe_runmake test_c66x | ||
22 | } | ||
23 | |||
24 | do_install() { | ||
25 | CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership" | ||
26 | install -d ${D}${MPM_INSTALL_DIR_RECIPE} | ||
27 | cp ${CP_ARGS} ${S}/* ${D}${MPM_INSTALL_DIR_RECIPE} | ||
28 | |||
29 | # Copy C66x binaries | ||
30 | install -d ${D}${datadir}/ti/examples/mpm/test/filetestdemo/c66x/demo_loopback/build/bin | ||
31 | cp ${S}/test/filetestdemo/c66x/demo_loopback/build/bin/*.out \ | ||
32 | ${D}${datadir}/ti/examples/mpm/test/filetestdemo/c66x/demo_loopback/build/bin/ | ||
33 | install -d ${D}${datadir}/ti/examples/mpm/test/sync_test/c66x/bin | ||
34 | cp ${S}/test/sync_test/c66x/bin/*.out \ | ||
35 | ${D}${datadir}/ti/examples/mpm/test/sync_test/c66x/bin/ | ||
36 | } | ||
37 | |||
38 | FILES:${PN}-dev += "${MPM_INSTALL_DIR_RECIPE}" | ||
39 | INSANE_SKIP:${PN}-dev = "arch" | ||
40 | INSANE_SKIP:${PN}-test = "arch" | ||
41 | |||
42 | RDEPENDS:${PN}-dev = "bash" | ||
43 | |||
44 | ALLOW_EMPTY:${PN} = "1" | ||
diff --git a/recipes-ti/multiprocmgr/multiprocmgr-test_git.bb b/recipes-ti/multiprocmgr/multiprocmgr-test_git.bb deleted file mode 100644 index 3d1b3aee..00000000 --- a/recipes-ti/multiprocmgr/multiprocmgr-test_git.bb +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | SUMMARY = "TI Multiproc Manager test code" | ||
2 | |||
3 | include multiprocmgr.inc | ||
4 | |||
5 | PR = "${INC_PR}.2" | ||
6 | |||
7 | DEPENDS = "multiprocmgr cmem" | ||
8 | RDEPENDS:${PN} = "multiprocmgr mpm-transport cmem" | ||
9 | RDEPENDS:${PN} += "multiprocmgr-rtos-test bash" | ||
10 | |||
11 | FILES:${PN} += "\ | ||
12 | ${datadir}/ti/examples/mpm \ | ||
13 | " | ||
14 | |||
15 | FILES:${PN}-dbg += "\ | ||
16 | ${datadir}/ti/examples/mpm/*/.debug \ | ||
17 | " | ||
18 | |||
19 | do_compile() { | ||
20 | oe_runmake -C ${S} test | ||
21 | } | ||
22 | |||
23 | do_install() { | ||
24 | # Copy Sources and binary | ||
25 | install -d ${D}${datadir}/ti/examples/mpm/src | ||
26 | cp -r ${S}/src/mailbox ${D}${datadir}/ti/examples/mpm/src | ||
27 | cp -r ${S}/src/sync ${D}${datadir}/ti/examples/mpm/src | ||
28 | cp -r ${S}/test ${D}${datadir}/ti/examples/mpm | ||
29 | } | ||
30 | |||
31 | INSANE_SKIP:${PN} = "ldflags staticdev" | ||
diff --git a/recipes-ti/multiprocmgr/multiprocmgr.inc b/recipes-ti/multiprocmgr/multiprocmgr.inc deleted file mode 100644 index 64fb6f6f..00000000 --- a/recipes-ti/multiprocmgr/multiprocmgr.inc +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
1 | HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-linux/multi-proc-manager.git" | ||
2 | LICENSE = "BSD-3-Clause & MIT" | ||
3 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fce208c498eb9669223724dc9c1d8fe4" | ||
4 | SECTION = "console" | ||
5 | COMPATIBLE_MACHINE = "keystone" | ||
6 | |||
7 | MULTIPROCMGR_GIT_URI = "git://git.ti.com/keystone-linux/multi-proc-manager.git" | ||
8 | MULTIPROCMGR_GIT_PROTOCOL = "git" | ||
9 | MULTIPROCMGR_GIT_BRANCH = "master" | ||
10 | |||
11 | # The following commits correspond to DEV.MPM-3.00.05.00 | ||
12 | MULTIPROCMGR_SRCREV = "810d8a31c797d07abe808cb3fa89465fa934d4dd" | ||
13 | |||
14 | PV = "3.0.5.0" | ||
15 | INC_PR = "r1" | ||
16 | |||
17 | BRANCH = "${MULTIPROCMGR_GIT_BRANCH}" | ||
18 | SRC_URI = "${MULTIPROCMGR_GIT_URI};protocol=${MULTIPROCMGR_GIT_PROTOCOL};branch=${BRANCH}" | ||
19 | SRCREV = "${MULTIPROCMGR_SRCREV}" | ||
20 | |||
21 | S = "${WORKDIR}/git" | ||
diff --git a/recipes-ti/multiprocmgr/multiprocmgr/mpmsrv-daemon.service b/recipes-ti/multiprocmgr/multiprocmgr/mpmsrv-daemon.service deleted file mode 100644 index 40eb4650..00000000 --- a/recipes-ti/multiprocmgr/multiprocmgr/mpmsrv-daemon.service +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | [Unit] | ||
2 | Description=TI Multiproc Manager | ||
3 | |||
4 | [Service] | ||
5 | ExecStartPre=/sbin/modprobe keystone_remoteproc | ||
6 | ExecStartPre=/sbin/modprobe keystone_dsp_mem | ||
7 | ExecStartPre=/sbin/modprobe uio_module_drv | ||
8 | |||
9 | Type=forking | ||
10 | PIDFile=/var/run/mpm/pid | ||
11 | ExecStart=/usr/bin/mpmsrv | ||
12 | |||
13 | [Install] | ||
14 | WantedBy=basic.target | ||
diff --git a/recipes-ti/multiprocmgr/multiprocmgr_git.bb b/recipes-ti/multiprocmgr/multiprocmgr_git.bb deleted file mode 100644 index 1bd24885..00000000 --- a/recipes-ti/multiprocmgr/multiprocmgr_git.bb +++ /dev/null | |||
@@ -1,44 +0,0 @@ | |||
1 | SUMMARY = "TI Multiproc Manager for KeyStone II" | ||
2 | DESCRIPTION = "Provides download, debug and other utilities for other cores in the SOC like DSP" | ||
3 | |||
4 | include multiprocmgr.inc | ||
5 | |||
6 | SRC_URI += " \ | ||
7 | file://mpmsrv-daemon.service \ | ||
8 | " | ||
9 | |||
10 | PR = "${INC_PR}.2" | ||
11 | |||
12 | DEPENDS = "mpm-transport libdaemon virtual/kernel cmem" | ||
13 | |||
14 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
15 | |||
16 | INITSCRIPT_NAME = "mpmsrv-daemon.sh" | ||
17 | INITSCRIPT_PARAMS = "defaults 10" | ||
18 | |||
19 | SYSTEMD_SERVICE:${PN} = "mpmsrv-daemon.service" | ||
20 | |||
21 | inherit update-rc.d systemd | ||
22 | |||
23 | do_install() { | ||
24 | install -d ${D}${bindir}/ | ||
25 | install -c -m 755 ${S}/bin/mpmsrv ${D}${bindir}/mpmsrv | ||
26 | install -c -m 755 ${S}/bin/mpmcl ${D}${bindir}/mpmcl | ||
27 | |||
28 | install -d ${D}${systemd_system_unitdir} | ||
29 | install -m 0644 ${WORKDIR}/mpmsrv-daemon.service ${D}${systemd_system_unitdir} | ||
30 | install -d ${D}${sysconfdir}/init.d/ | ||
31 | install -c -m 755 ${S}/scripts/mpmsrv-daemon.sh ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME} | ||
32 | |||
33 | install -d ${D}${sysconfdir}/mpm/ | ||
34 | install -c -m 755 ${S}/scripts/crash_callback.sh ${D}${sysconfdir}/mpm/crash_callback.sh | ||
35 | |||
36 | install -d ${D}${includedir}/ | ||
37 | install -c -m 755 ${S}/include/* ${D}${includedir}/ | ||
38 | |||
39 | install -d ${D}${libdir}/ | ||
40 | cp -a ${S}/lib/* ${D}${libdir}/ | ||
41 | chown -R root:root ${D}${libdir}/ | ||
42 | } | ||
43 | |||
44 | INSANE_SKIP:${PN} = "ldflags" | ||