1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-01-12 01:20:20 +00:00

Compare commits

...

17 Commits

Author SHA1 Message Date
Anand Balagopalakrishnan
ea22f42bbc ti-sgx-ddk-um: wlpvr_ws: Map DBM buffers and populate meminfo
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2018-03-05 22:05:54 -05:00
Sam Nelson
5f3a1169d3 cmem: Update to new version 4.14.01.00
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-11-09 21:36:52 -05:00
Karthik Ramanan
ce7a22fca2 libdce: update to 3.00.14.00 version
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>

Effectively backported
from meta-ti/morty acc63501dd

Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-11-02 21:46:30 -04:00
Karthik Ramanan
cd34eb4666 ipumm-fw: update to 3.00.14.00
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>

(from meta-ti/morty 2e6b1111fb)

Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-11-02 21:46:25 -04:00
Mahesh Radhakrishnan
f64594d490 edma3-lld: Updating the revision to 02.12.05.30
Signed-off-by: Mahesh Radhakrishnan <m-radhakrishnan2@ti.com>
Acked-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>

(from meta-ti/morty 490bed288a)

Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-11-02 21:46:21 -04:00
Karthik Ramanan
8a19513ff3 edma3-lld: Update to new eng version
Sync with morty, this effectively is a backport
(from meta-ti/morty 2e4703bcf3)

Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-11-02 21:44:35 -04:00
Karthik Ramanan
d164b905be ti-ipc: Upgrade to 3.47
Sync changes with morty

This patch is essentially a port from the meta-ti/morty
commit = 0733c2299c

Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-11-02 21:44:32 -04:00
Sam Nelson
b794fa8123 ti-xdctools: Update to new version 3.50.03.33
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>

(from meta-ti/morty 7ac0d6d4bb)

Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-11-02 21:44:28 -04:00
Sam Nelson
45acf3a80d ti-sysbios: Add recipe for new version 6.52.00.12
Linux installer binary file name has changed compared to previous
version
Break backward compatibilty for A15 gcc tools: requires gcc-arm-none-
eabi-6-2017-q1-update or later

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>

(from meta-ti/morty 2ee491283b)

Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-11-02 21:44:25 -04:00
Karthik Ramanan
0999c65e58 ti-ccsv6: Remove the recipe and other dependencies
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>

from meta-ti/morty 3648eba

Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-11-02 21:44:22 -04:00
Karthik Ramanan
b8eb368e7f Remove CCS dependencies for all components
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>

from meta-ti/morty ead9802

Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-11-02 21:44:17 -04:00
Karthik Ramanan
a001bbba99 ti-cgt-arm: add recipe for 16.9.2
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>

from: meta-ti/morty 5df5bd9

Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-11-02 21:44:12 -04:00
Jean-Jacques Hiblot
0edce56657 linux-ti-staging 4.4: update to the latest for ti2016.09-rc3
Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-10-19 21:42:52 -04:00
Jean-Jacques Hiblot
10a7f17683 u-boot-ti-staging: update to ti2016.09-rc1 tag
Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-10-12 21:07:41 -04:00
Jean-Jacques Hiblot
462d0a5513 linux-ti-staging 4.4: update to the latest for ti2016.09-rc1
Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-10-12 21:07:36 -04:00
Karthik Ramanan
15a6004a8f libdce: Update SRCREV
* Minor REV bump

Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-10-11 15:48:34 -04:00
Karthik Ramanan
1929a174a9 ipumm-fw: Update new SRCREV on git repo
The ipumm-fw repository had to undergo a forced commit update.
This was an unforeseen update and had to be done in urgency.
This recipe update takes care of fixing the new commit-id that
corresponds to the previous version that was being used.

There is no functional change.

Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-10-03 18:44:57 -04:00
22 changed files with 203 additions and 141 deletions

View File

@@ -5,7 +5,7 @@ inherit perlnative
DEPENDS = "ti-xdctools ti-cg-xml-native ti-sysbios common-csl-ip-rtos libxml-simple-perl-native gcc-arm-none-eabi-native ti-cgt6x-native ti-pdk-build-rtos"
DEPENDS_append_omap-a15 = " ti-ccsv6-native"
DEPENDS_append_omap-a15 = " ti-cgt-arm-native"
DEPENDS_remove_ti33x = "ti-cgt6x-native"
DEPENDS_remove_ti43x = "ti-cgt6x-native"

View File

@@ -4,10 +4,10 @@ LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://include/ti/cmem.h;beginline=1;endline=30;md5=9b745e2765a6ba8a636c91aed4b02ac1"
BRANCH = "lu-next"
# This corresponds to version 4.13.00.01_eng
SRCREV = "1389059f01eabc1e853a384f0e5f51c4f3e4f197"
# This corresponds to version 4.14.01.00
SRCREV = "b687f3c3658221cdb2731e2421a26004ee7193b8"
PV = "4.13.00.01+git${SRCPV}"
PV = "4.14.01.00+git${SRCPV}"
SRC_URI = "git://git.ti.com/ipc/ludev.git;protocol=git;branch=${BRANCH}"

View File

@@ -4,7 +4,7 @@ require recipes-ti/includes/ti-staging.inc
PR = "${INC_PR}.0"
DEPENDS = "ti-sysbios ti-xdctools gcc-arm-none-eabi-native ti-ccsv6-native ti-cgt6x-native"
DEPENDS = "ti-sysbios ti-xdctools gcc-arm-none-eabi-native ti-cgt-arm-native ti-cgt6x-native"
COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone"
PACKAGE_ARCH = "${MACHINE_ARCH}"

View File

@@ -6,12 +6,12 @@ EDMA3_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/edma3_lld.git"
EDMA3_LLD_GIT_PROTOCOL = "git"
EDMA3_LLD_GIT_BRANCH = "master"
# Below commit ID corresponds to tag "DEV_EDMA3_LLD_02_12_02_26"
EDMA3_LLD_SRCREV = "1c67565620f5a5305cf3293bba669c6aa1a7e40a"
# Below commit ID corresponds to version 2.12.05.30
EDMA3_LLD_SRCREV = "30cce115bda9001bc40c68e3788bbd1b3741569e"
BRANCH = "${EDMA3_LLD_GIT_BRANCH}"
SRC_URI = "${EDMA3_LLD_GIT_URI};protocol=${EDMA3_LLD_GIT_PROTOCOL};branch=${BRANCH}"
SRCREV = "${EDMA3_LLD_SRCREV}"
PV = "2.12.02.26"
PV = "2.12.05.30"
INC_PR = "r0"

View File

@@ -17,19 +17,19 @@ RDEPENDS_${PN} = " libdce"
SRC_URI = "git://git.ti.com/ivimm/ipumm.git;protocol=git"
SRCREV = "fd441443a4289c801a0c8d9f00b6966f7fe3476c"
SRCREV = "01bbb622267b687fa05e42062b146ad7a22e7afd"
S = "${WORKDIR}/git"
PV = "3.00.13.00"
PR = "r5"
PV = "3.00.14.00"
PR = "r1"
require recipes-ti/includes/ti-paths.inc
require recipes-ti/includes/ti-staging.inc
inherit update-alternatives
DEPENDS = "ti-xdctools ti-sysbios ti-codec-engine ti-framework-components ti-xdais ti-ccsv6-native ti-ipc-rtos"
DEPENDS = "ti-xdctools ti-sysbios ti-codec-engine ti-framework-components ti-xdais ti-cgt-arm-native ti-ipc-rtos"
export HWVERSION="ES10"
export BIOSTOOLSROOT="${STAGING_DIR_TARGET}/usr/share/ti"

View File

@@ -7,14 +7,14 @@ DESCRIPTION = "u-boot bootloader for TI devices"
LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6"
PR = "r34"
PR = "r35"
PV_append = "+git${SRCPV}"
SRC_URI = "git://git.ti.com/ti-u-boot/ti-u-boot.git;protocol=git;branch=${BRANCH}"
BRANCH ?= "ti-u-boot-2016.05"
SRCREV = "299ebd66e11c2481a29ddcbfe65e196f6c9e0b41"
SRCREV = "340c262b4bed7adac127e572f857e6f931ef18b2"
# Support for secure devices - detailed info is in doc/README.ti-secure
TI_SECURE_DEV_PKG ?= ""

View File

@@ -5,10 +5,10 @@ LIC_FILES_CHKSUM = "file://TI-Linux-Graphics-DDK-UM-Manifest.doc;md5=550702a0318
PACKAGE_ARCH = "${MACHINE_ARCH}"
BRANCH = "ti-img-sgx/${PV}"
BRANCH = "ti-img-sgx/${PV}_k4.4"
SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-um-linux.git;protocol=git;branch=${BRANCH}"
SRCREV = "d184140aa5c17e13e1bf21151f1a7bc068bdf8bf"
SRCREV = "2736a396f9c801fc0818d830f8a3215aeb8b6534"
# There's only hardfp version available
python __anonymous() {
@@ -31,7 +31,7 @@ INITSCRIPT_PARAMS = "defaults 8"
inherit update-rc.d
PR = "r23"
PR = "r24"
PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2 omap5-sgx-ddk-um-linux"
DEPENDS += "libdrm udev libgbm wayland libffi"

View File

@@ -6,4 +6,4 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.4:"
BRANCH = "ti-rt-linux-4.4.y"
SRCREV = "d9d960591e172dffc7e94278a262fa129f0c92ff"
SRCREV = "c208fe68cbd1a735fc817a7dec534a2c8b0f7e6e"

View File

@@ -82,8 +82,8 @@ S = "${WORKDIR}/git"
BRANCH = "ti-lsk-linux-4.4.y"
SRCREV = "96206b1c35877a54a5d22de90122788976d78a94"
PV = "4.4.86+git${SRCPV}"
SRCREV = "9d9bc78b62f4af2125944b7b36764bba7ef9ae89"
PV = "4.4.91+git${SRCPV}"
# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
MACHINE_KERNEL_PR_append = "a"

View File

@@ -7,9 +7,9 @@ inherit autotools pkgconfig
DEPENDS = "libdrm ti-ipc"
SRC_URI = "git://git.omapzoom.org/repo/libdce.git;protocol=git"
SRCREV = "398dd27e7f3181fff9e3d910b418c69f1493f52f"
SRCREV = "f72096090e3063e85ea77cae66b2d99a48d91727"
PR = "r4"
PR = "r1"
S = "${WORKDIR}/git"
EXTRA_OECONF += "IPC_HEADERS=${STAGING_INCDIR}/ti/ipc/mm"

View File

@@ -0,0 +1,15 @@
require recipes-ti/bios/ti-sysbios.inc
PV = "6_52_00_12"
PR = "r0"
LIC_FILES_CHKSUM = "file://manifest_bios_${PV}.html;md5=ca549c223d732e6f69efc449795c4eeb"
SRC_URI[sysbiosbin.md5sum] = "3c16af0843b5b6c5ff10512d1b586665"
SRC_URI[sysbiosbin.sha256sum] = "4a2b9b76f52a57f02725337db9361787eae4c917d7cf989a697ed41eb4a1e701"
TI_BIN_UNPK_CMDS = ""
TI_BIN_UNPK_ARGS = "--mode unattended --prefix ${WORKDIR}"
BINFILE = "bios_${PV}.run"
SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/bios/sysbios/${PV}/exports/${BINFILE};name=sysbiosbin"

View File

@@ -1,45 +0,0 @@
DESCRIPTION = "TI DSP Code Generation Tools"
HOMEPAGE = "http://processors.wiki.ti.com/index.php/Download_CCS#Code_Composer_Studio_Version_6_Downloads"
LICENSE = "(TI-TSPA & Thai-Open-Source-Software-Center) & BSD-3-Clause & BSL-1.0 & Hewlett-Packard & AFL-3.0 & MIT & BSD-2-Clause & PD"
LIC_FILES_CHKSUM = "file://${WORKDIR}/ccsv6/doc/EULA/EULA.doc;md5=24fb8a52ac52d3938b5888362edb295a"
inherit native
require recipes-ti/includes/ti-unpack.inc
require recipes-ti/includes/ti-staging.inc
require recipes-ti/includes/ti-paths.inc
TI_CGT_ARM_VERSION = "15.12.1.LTS"
SRC_URI = "http://install.source.dir.local/CCS${PV}_linux.tar.gz;name=ccsv6"
S = "${WORKDIR}/CCS${PV}_linux"
BINFILE = "CCS${PV}_linux/ccs_setup_${PV}.bin"
TI_BIN_UNPK_ARGS = "--mode unattended --prefix ${WORKDIR}"
TI_BIN_UNPK_CMDS = ""
SRC_URI[ccsv6.md5sum] = "ceaa5023c1a4b51bc637d3de1a15786b"
SRC_URI[ccsv6.sha256sum] = "fb3205a21942da09684c871371513707c841c4fd8d88a62f6a7865b0a86cc492"
do_install() {
install -d ${D}${CCSV6_INSTALL_DIR_RECIPE}
cp -r ${WORKDIR}/ccsv6/. ${D}${CCSV6_INSTALL_DIR_RECIPE}
install -d ${D}${M4_TOOLCHAIN_INSTALL_DIR_RECIPE}
cp -r ${WORKDIR}/ccsv6/tools/compiler/ti-cgt-arm_${TI_CGT_ARM_VERSION}/. \
${D}${M4_TOOLCHAIN_INSTALL_DIR_RECIPE}
}
FILES_${PN} += "\
${CCSV6_INSTALL_DIR_RECIPE} \
${M4_TOOLCHAIN_INSTALL_DIR_RECIPE} \
"
INHIBIT_PACKAGE_STRIP = "1"
INHIBIT_SYSROOT_STRIP = "1"
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
INSANE_SKIP_${PN} = "arch libdir ldflags staticdev textrel dev-so"
EXCLUDE_FROM_SHLIBS = "1"

View File

@@ -0,0 +1,6 @@
include ti-cgt-arm.inc
LIC_FILES_CHKSUM = "file://ti-cgt-arm_${PV}.LTS/README.txt;md5=c32eadd03472353c042a8a7c4568438b"
BINFILE_MD5 = "7b73e51e9548a4a0bf3923a336b1a974"
BINFILE_SHA256 = "d1a5c255319088be7d75b3fce1b16a2e3d60c75023db7dad16cab6d4d3425d06"

View File

@@ -0,0 +1,34 @@
SUMMARY = "TI ARM Code Generation Tools"
HOMEPAGE = "https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/download.htm"
LICENSE = "(TI-TSPA & Thai-Open-Source-Software-Center) & BSD-3-Clause & BSL-1.0 & Hewlett-Packard & AFL-3.0 & MIT & BSD-2-Clause & PD & BSD-4-Clause"
inherit native
require recipes-ti/includes/ti-unpack.inc
require recipes-ti/includes/ti-staging.inc
require recipes-ti/includes/ti-paths.inc
S = "${WORKDIR}/ti-cgt-arm-${PV}"
SRC_URI = "http://software-dl.ti.com/codegen/esd/cgt_public_sw/TMS470/${PV}.LTS/${BINFILE};name=${BINFILE_NAME}"
BINFILE = "ti_cgt_tms470_${PV}.LTS_linux_installer_x86.bin"
TI_BIN_UNPK_ARGS = "--prefix ${S}"
TI_BIN_UNPK_CMDS = ""
do_install() {
install -d ${D}${M4_TOOLCHAIN_INSTALL_DIR_RECIPE}
cp -r ${S}/ti-cgt-arm*/. ${D}${M4_TOOLCHAIN_INSTALL_DIR_RECIPE}
}
SRC_URI[cgt_arm_installer.md5sum] = "${BINFILE_MD5}"
SRC_URI[cgt_arm_installer.sha256sum] = "${BINFILE_SHA256}"
BINFILE_NAME = "cgt_arm_installer"
FILES_${PN} += "${M4_TOOLCHAIN_INSTALL_DIR_RECIPE}"
INHIBIT_PACKAGE_STRIP = "1"
INHIBIT_SYSROOT_STRIP = "1"
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
INSANE_SKIP_${PN} += "arch staticdev"

View File

@@ -1,9 +1,9 @@
require recipes-ti/devtools/ti-xdctools-core.inc
PV = "3_32_01_22"
PV = "3_50_03_33"
PR = "r0"
LIC_FILES_CHKSUM = "file://docs/license/xdc/shelf/package.html;beginline=1;endline=140;md5=1796f68c3d32d408415f5612f1f60652"
SRC_URI[xdczip.md5sum] = "ddae5b765ca62783c1e804c75c463c38"
SRC_URI[xdczip.sha256sum] = "b1c6620ef0b8eac45ef6a587f93b3238bdcf3b02dfd7e4b40d872a45c02c5cdc"
SRC_URI[xdczip.md5sum] = "21310b647275a7c7dd5b37dcb96c0b1b"
SRC_URI[xdczip.sha256sum] = "afe8616773e63b01e79e8cfacaf4d2c8d3b92c798c7f8cf5d1c7b5fe2060bbe4"

View File

@@ -46,7 +46,6 @@ export XDC_INSTALL_DIR_RECIPE = "${installdir}/ti-xdctools-tree"
export PDK_INSTALL_DIR_RECIPE = "${installdir}/ti-pdk-tree"
export OSAL_INSTALL_DIR_RECIPE = "${installdir}/ti-osal-tree"
export M4_TOOLCHAIN_INSTALL_DIR_RECIPE = "${installdir}/ti-cgt-arm"
export CCSV6_INSTALL_DIR_RECIPE = "${installdir}/ccsv6"
export GCC_ARM_NONE_TOOLCHAIN_RECIPE = "${installdir}/gcc-arm-none-eabi"
export TI_CGT_PRU_INSTALL_DIR_RECIPE = "${installdir}/cgt-pru"
export DSPLIB_C66_INSTALL_DIR_RECIPE = "${installdir}/ti-dsplib-c66x-tree"
@@ -93,7 +92,6 @@ export XDC_INSTALL_DIR = "${STAGING_DIR_TARGET}${XDC_INSTALL_DIR_RECIPE}"
export PDK_INSTALL_DIR = "${STAGING_DIR_TARGET}${PDK_INSTALL_DIR_RECIPE}"
export OSAL_INSTALL_DIR = "${STAGING_DIR_TARGET}${OSAL_INSTALL_DIR_RECIPE}"
export M4_TOOLCHAIN_INSTALL_DIR = "${STAGING_DIR_NATIVE}${M4_TOOLCHAIN_INSTALL_DIR_RECIPE}"
export CCSV6_INSTALL_DIR = "${STAGING_DIR_NATIVE}${CCSV6_INSTALL_DIR_RECIPE}"
export GCC_ARM_NONE_TOOLCHAIN = "${STAGING_DIR_NATIVE}${GCC_ARM_NONE_TOOLCHAIN_RECIPE}"
export TI_CGT_PRU_INSTALL_DIR = "${STAGING_DIR_NATIVE}${TI_CGT_PRU_INSTALL_DIR_RECIPE}"
export DSPLIB_C66_INSTALL_DIR = "${STAGING_DIR_TARGET}${DSPLIB_C66_INSTALL_DIR_RECIPE}"

View File

@@ -1,4 +1,4 @@
PV = "3.45.00.00"
PV = "3.47.00.00"
INC_PR = "r0"
PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -6,9 +6,12 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
PLATFORM = "UNKNOWN"
PLATFORM_omap5-evm = "OMAP54XX"
PLATFORM_dra7xx = "DRA7XX"
PLATFORM_k2hk-evm = "TCI6638"
PLATFORM_k2hk = "TCI6638"
PLATFORM_k2l-evm = "TCI6630"
PLATFORM_k2e = "66AK2E"
PLATFORM_k2g = "66AK2G"
PLATFORM_omapl138 = "OMAPL138"
PLATFORM_c667x-evm = "C6678"
PLATFORM_c665x-evm = "C6678"
ALT_PLATFORM_k2hk-evm = "TCI6636"
ALT_PLATFORM_k2hk = "TCI6636"

View File

@@ -0,0 +1,48 @@
DESCRIPTION = "TI Inter Process Communication (IPC) examples with Host running bios"
require ti-ipc-examples.inc
DEPENDS = "ti-ipc ti-xdctools ti-sysbios ti-ipc-rtos"
do_compile_append() {
if [ "${PLATFORM}" != "UNKNOWN" ]; then
oe_runmake extract HOSTOS="linux" IPC_INSTALL_DIR="${IPC_INSTALL_DIR}"
if [ ! -z ${ALT_PLATFORM} ]; then
oe_runmake extract PLATFORM="${ALT_PLATFORM}" HOSTOS="linux" \
IPC_INSTALL_DIR="${IPC_INSTALL_DIR}"
fi
oe_runmake -C examples all HOSTOS="linux" \
LINUX_SYSROOT_DIR="${STAGING_INCDIR}" \
IPC_INSTALL_DIR="${IPC_INSTALL_DIR}"
if [ ! -z ${ALT_PLATFORM} ]; then
oe_runmake -C examples all HOSTOS="linux" \
LINUX_SYSROOT_DIR="${STAGING_INCDIR}" \
IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \
PLATFORM="${ALT_PLATFORM}"
fi
fi
}
do_install_append() {
cd ${S_ipc-examples}/src
IPC_VERSION=`echo ${PV}${RELEASE_SUFFIX} | sed -e 's|\.|_|g'`
if [ "${PLATFORM}" != "UNKNOWN" ]; then
# Install directory for linux examples
install -d ${D}${bindir}/ipc/examples
oe_runmake -C examples install IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \
LINUX_SYSROOT_DIR="${STAGING_INCDIR}" \
HOSTOS="linux" EXEC_DIR="${D}/${bindir}/ipc/examples"
if [ ! -z ${ALT_PLATFORM} ]; then
oe_runmake -C examples install IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \
LINUX_SYSROOT_DIR="${STAGING_INCDIR}" \
HOSTOS="linux" EXEC_DIR="${D}/${bindir}/ipc/examples" \
PLATFORM="${ALT_PLATFORM}"
fi
fi
}
FILES_${PN} += "${bindir}/*"

View File

@@ -0,0 +1,31 @@
HOMEPAGE = "http://processors.wiki.ti.com/index.php/Category:IPC"
require ti-ipc-common.inc
require ti-ipc-rtos.inc
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://${S_ipc-examples}/src/makefile;beginline=1;endline=30;md5=fb83580b16bce88e8ed568a6005c8f02"
INSANE_SKIP_${PN} += "arch"
ALLOW_EMPTY_${PN} = "1"
IPC_INSTALL_DIR = "${STAGING_DIR_TARGET}/usr/share/ti/ti-ipc-tree"
do_compile() {
cd ${S_ipc-examples}/src
oe_runmake .examples \
IPCTOOLS="${S_ipc-metadata}/src/etc"
if [ ! -z ${ALT_PLATFORM} ]; then
oe_runmake .examples "PLATFORM=${ALT_PLATFORM}" \
IPCTOOLS="${S_ipc-metadata}/src/etc"
fi
}
do_install() {
cd ${S_ipc-examples}/src
IPC_VERSION=`echo ${PV}${RELEASE_SUFFIX} | sed -e 's|\.|_|g'`
}
INHIBIT_PACKAGE_STRIP = "1"

View File

@@ -1,83 +1,41 @@
DESCRIPTION = "TI Inter Process Communication (IPC) examples"
HOMEPAGE="http://processors.wiki.ti.com/index.php/Category:IPC"
require ti-ipc-common.inc
require ti-ipc-rtos.inc
DESCRIPTION = "TI Inter Process Communication (IPC) examples with Host running linux"
require ti-ipc-examples.inc
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://${S_ipc-examples}/src/makefile;beginline=1;endline=30;md5=fb83580b16bce88e8ed568a6005c8f02"
DEPENDS = "ti-xdctools ti-sysbios ti-ipc-rtos"
DEPENDS = "ti-ipc ti-xdctools ti-sysbios ti-ipc-rtos"
do_compile_append() {
INSANE_SKIP_${PN} += "arch"
ALLOW_EMPTY_${PN} = "1"
IPC_INSTALL_DIR="${STAGING_DIR_TARGET}/usr/share/ti/ti-ipc-tree"
do_compile() {
cd ${S_ipc-examples}/src
oe_runmake .examples \
IPCTOOLS="${S_ipc-metadata}/src/etc"
if [ ! -z ${ALT_PLATFORM} ]; then
oe_runmake .examples "PLATFORM=${ALT_PLATFORM}" \
IPCTOOLS="${S_ipc-metadata}/src/etc"
echo test
fi
if [ "${PLATFORM}" != "UNKNOWN" ]; then
oe_runmake extract HOSTOS="bios" IPC_INSTALL_DIR="${IPC_INSTALL_DIR}"
oe_runmake extract HOSTOS="linux" IPC_INSTALL_DIR="${IPC_INSTALL_DIR}"
if [ ! -z ${ALT_PLATFORM} ]; then
oe_runmake extract PLATFORM="${ALT_PLATFORM}" HOSTOS="bios" \
IPC_INSTALL_DIR="${IPC_INSTALL_DIR}"
oe_runmake extract PLATFORM="${ALT_PLATFORM}" HOSTOS="linux" \
IPC_INSTALL_DIR="${IPC_INSTALL_DIR}"
fi
oe_runmake -C examples all HOSTOS="bios" \
IPC_INSTALL_DIR="${IPC_INSTALL_DIR}"
oe_runmake -C examples all HOSTOS="linux" \
LINUX_SYSROOT_DIR="${STAGING_INCDIR}" \
IPC_INSTALL_DIR="${IPC_INSTALL_DIR}"
IPC_INSTALL_DIR="${IPC_INSTALL_DIR}"
if [ ! -z ${ALT_PLATFORM} ]; then
oe_runmake -C examples all HOSTOS="bios" \
IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" PLATFORM="${ALT_PLATFORM}"
oe_runmake -C examples all HOSTOS="linux" \
LINUX_SYSROOT_DIR="${STAGING_INCDIR}" \
IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \
PLATFORM="${ALT_PLATFORM}"
echo testing
IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" PLATFORM="${ALT_PLATFORM}"
fi
fi
}
do_install() {
cd ${S_ipc-examples}/src
IPC_VERSION=`echo ${PV}${RELEASE_SUFFIX} | sed -e 's|\.|_|g'`
install -d ${D}/ipc_${IPC_VERSION}/examples
do_install_append() {
if [ "${PLATFORM}" != "UNKNOWN" ]; then
# Install directory for bios examples
install -d ${D}/ipc_${IPC_VERSION}/examples/bios
oe_runmake -C examples install IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \
HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples"
HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples/bios"
oe_runmake -C examples install_rov IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \
HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples"
oe_runmake -C examples install IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \
LINUX_SYSROOT_DIR="${STAGING_INCDIR}" \
HOSTOS="linux" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples"
HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples/bios"
if [ ! -z ${ALT_PLATFORM} ]; then
oe_runmake -C examples install IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \
HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples" \
oe_runmake -C examples install IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \
HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples/bios" \
PLATFORM="${ALT_PLATFORM}"
oe_runmake -C examples install_rov IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \
HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples" \
PLATFORM="${ALT_PLATFORM}"
oe_runmake -C examples install IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \
LINUX_SYSROOT_DIR="${STAGING_INCDIR}" \
HOSTOS="linux" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples" \
HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples/bios" \
PLATFORM="${ALT_PLATFORM}"
fi
fi

View File

@@ -1,5 +1,4 @@
require recipes-ti/includes/ti-paths.inc
require recipes-ti/includes/ti-staging.inc
TI_IPC_EXAMPLES_GIT_URI = "git://git.ti.com/ipc/ipc-examples.git"
TI_IPC_EXAMPLES_DEST_SUFFIX = "git/ipc-examples"
@@ -25,11 +24,11 @@ protocol=${TI_IPC_METADATA_GIT_PROTOCOL};\
branch=${TI_IPC_METADATA_GIT_BRANCH};\
name=${TI_IPC_METADATA_NAME}"
# Corresponds to tag: 3.45.00.00
SRCREV_ipc-examples = "3a8ee1841ec36117a9bcd3d45bb2781bbd53ecf8"
# Corresponds to tag: 3.47.00.00
SRCREV_ipc-examples = "e71b82187a324faa9394b83e39495be38255f05b"
# Corresponds to tag: 3.45.00.00
SRCREV_ipc-metadata = "30b83f09be1877f86b22c971d978cb478fc7dd6e"
# Corresponds to tag: 3.47.00.00
SRCREV_ipc-metadata = "f026a364d0b9c1aba5c695bf0aac0be8ede95f59"
S_ipc-examples = "${WORKDIR}/git/ipc-examples"
S_ipc-metadata = "${WORKDIR}/git/ipc-metadata"
@@ -37,16 +36,22 @@ S_ipc-metadata = "${WORKDIR}/git/ipc-metadata"
RELEASE_TYPE = "GA"
RELEASE_SUFFIX = ""
PR = "${INC_PR}.3"
PR = "${INC_PR}.r2"
DEPENDS_append_keystone = " ti-cgt6x-native \
gcc-arm-none-eabi-native \
"
DEPENDS_append_omap-a15 = " ti-cgt6x-native \
ti-ccsv6-native \
ti-cgt-arm-native \
gcc-arm-none-eabi-native \
"
DEPENDS_append_omapl138 = " ti-cgt6x-native \
"
DEPENDS_append_c66x = " ti-cgt6x-native \
"
IPC_TARGETS = ""
IPC_TARGETS_omap-a15 = "\
gnu.targets.arm.A15F="${GCC_ARM_NONE_TOOLCHAIN}" \
ti.targets.elf.C66="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \
@@ -54,11 +59,19 @@ IPC_TARGETS_omap-a15 = "\
ti.targets.arm.elf.M4="${M4_TOOLCHAIN_INSTALL_DIR}" \
"
IPC_TARGETS_omapl138 = "\
ti.targets.elf.C674="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \
"
IPC_TARGETS_keystone = " \
gnu.targets.arm.A15F="${GCC_ARM_NONE_TOOLCHAIN}" \
ti.targets.elf.C66="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \
ti.targets.elf.C66_big_endian="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \
"
IPC_TARGETS_c66x = " \
ti.targets.elf.C66="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \
ti.targets.elf.C66_big_endian="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \
"
EXTRA_OEMAKE = "\
PLATFORM=${PLATFORM} \
@@ -66,4 +79,5 @@ EXTRA_OEMAKE = "\
BIOS_INSTALL_DIR="${SYSBIOS_INSTALL_DIR}" \
${IPC_TARGETS} \
JOBS="--jobs=${BB_NUMBER_THREADS}" \
JAVA_TOOL_OPTIONS=-Xss2560k \
"

View File

@@ -6,10 +6,10 @@ LIC_FILES_CHKSUM = "file://${S}/ipc-linux.mak;beginline=1;endline=30;md5=7b327f9
TI_IPC_GIT_URI = "git://git.ti.com/ipc/ipcdev.git"
TI_IPC_GIT_PROTOCOL = "git"
TI_IPC_GIT_BRANCH = "master"
TI_IPC_GIT_BRANCH = "3.47"
#Corresponds to 3.45.00.00
TI_IPC_SRCREV = "1584985938884bf6cb1d839779578354b1865ea4"
#Corresponds to 3.47.00.00
TI_IPC_SRCREV = "e576990e3a220ad394b287588c1c7e85e8644d23"
BRANCH = "${TI_IPC_GIT_BRANCH}"
SRC_URI = "${TI_IPC_GIT_URI};protocol=${TI_IPC_GIT_PROTOCOL};branch=${BRANCH};name=ipcdev"