ti-paths.inc: added path for TI CGT6x 7.x.x
PATCH v3 1/4 ti-paths.inc: added path for TI CGT6x 7.x.x
This directory path is for installing TI CGT6x 7.x.x as well as invoking the installation from other recipes.
--- recipes-ti/includes/ti-paths.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
recipes-ti/includes/ti-paths.inc +2 -1
@@ -55,7 +55,7 @@ export VLIB_C66_INSTALL_DIR_RECIPE = "${installdir}/ti-vlib-c66x-tree" export CG_XML_INSTALL_DIR_RECIPE = "${installdir}/ti-cg-xml-tree" export OMP_INSTALL_DIR_RECIPE = "${installdir}/ti-omp-tree" export MPM_INSTALL_DIR_RECIPE = "${installdir}/ti-mpm-tree" - +export TI_CGT6X_7_INSTALL_DIR_RECIPE = "${installdir}/cgt6x-7" # This is where the tools will end up in sysroot export BIOS_INSTALL_DIR = "${STAGING_DIR_TARGET}${BIOS_INSTALL_DIR_RECIPE}"
@@ -101,6 +101,7 @@ export VLIB_C66_INSTALL_DIR = "${STAGING_DIR_TARGET}${VLIB_C66_INSTALL_DI export CG_XML_INSTALL_DIR = "${STAGING_DIR_NATIVE}${CG_XML_INSTALL_DIR_RECIPE}" export OMP_INSTALL_DIR = "${STAGING_DIR_TARGET}${OMP_INSTALL_DIR_RECIPE}" export MPM_INSTALL_DIR = "${STAGING_DIR_TARGET}${MPM_INSTALL_DIR_RECIPE}" +export TI_CGT6X_7_INSTALL_DIR = "${STAGING_DIR_NATIVE}${TI_CGT6X_7_INSTALL_DIR_RECIPE}" DSPSUFFIX_omapl137 = "x674" DSPSUFFIX_omapl138 = "x674"
Signature · 1 line
1.9.1
PATCH v3 2/4 ti-cgt6x-7: added recipe for TI CGT6x 7.x.x
This recipe specifically installs the 7.x.x series of TI CGT6x.
--- recipes-ti/devtools/ti-cgt6x-7-native_7.4.16.bb | 44 +++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 recipes-ti/devtools/ti-cgt6x-7-native_7.4.16.bb
recipes-ti/devtools/ti-cgt6x-7-native_7.4.16.bb new file +44 -0
@@ -0,0 +1,44 @@ +SUMMARY = "TI DSP Code Generation Tools" +DESCRIPTION = "Texas Instrument (TI) Code Generation Tools are custom \ +utilities targeted for TI embedded processors. This Digital Signal \ +Processor (DSP) suite contains tools needed to create and debug \ +applications for the C6000 DSP family. This includes tools such as: \ +compiler, linker, assembler, etc. This also includes C runtime \ +libraries and standard header files needed to produce a working DSP application." + +HOMEPAGE = "https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/download.htm" +LICENSE = "TI-TSPA" + +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b6311962635a4f15630e36ec2d875eca" + +PE = "0" +PR = "r0" + +S = "${WORKDIR}/c6000_7.4.16" + +inherit native +require recipes-ti/includes/ti-paths.inc +require recipes-ti/includes/ti-unpack.inc + +BINFILE = "ti_cgt_c6000_7.4.16_linux_installer_x86.bin" +BINFILE_NAME = "cgt6x_7.4.16_x86_installer" +TI_BIN_UNPK_ARGS = "--prefix ${WORKDIR} --mode unattended" +TI_BIN_UNPK_CMDS="" + +SRC_URI = "http://install.source.dir.local/${BINFILE};name=${BINFILE_NAME}" + +SRC_URI[cgt6x_7.4.16_x86_installer.md5sum] = "21ca55c5b1f6b2d8d4fb7570d5eb5513" +SRC_URI[cgt6x_7.4.16_x86_installer.sha256sum] = "baa0d1ef20397383f99f45068a6d160963a01419d42fbbb851263b54c91df82f" + +do_install() { + install -d ${D}/${TI_CGT6X_7_INSTALL_DIR_RECIPE} + cp -rP --preserve=mode,links,timestamps --no-preserve=ownership ${WORKDIR}/c6000_7.4.16/. ${D}/${TI_CGT6X_7_INSTALL_DIR_RECIPE} +} + +FILES_${PN} += "${TI_CGT6X_7_INSTALL_DIR_RECIPE}" + +INSANE_SKIP_${PN} += "arch staticdev" + +INHIBIT_PACKAGE_STRIP = "1" +INHIBIT_SYSROOT_STRIP = "1" +INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
Signature · 1 line
1.9.1
PATCH v3 3/4 mad-utils-rtos: added recipe for MAD utils
In reply to Ivan PangThis recipe adds the Multicore Application Deployment (MAD) utility for c665x-evm and c667x-evm.
--- recipes-bsp/mad-utils/mad-utils-rtos_git.bb | 57 +++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 recipes-bsp/mad-utils/mad-utils-rtos_git.bb
recipes-bsp/mad-utils/mad-utils-rtos_git.bb new file +57 -0
@@ -0,0 +1,57 @@ +SUMMARY = "Utility for loading and running multicore applications" +DESCRIPTION = "Multicore Application Deployment (MAD) utility is used \ +for loading and running a multicore application on an embedded \ +processor with multiple cores. This utility package contains the \ +scripts to combine multiple applications for different cores into a \ +single binary as well as loadable application to parse and execute the applications on different cores." + +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://README.txt;md5=44b2180aec0657f6b0e42e5611c0bafb" + +require recipes-ti/includes/ti-paths.inc + +DEPENDS = "ti-cgt6x-7-native" + +PACKAGE_ARCH = "${MACHINE_ARCH}" +COMPATIBLE_MACHINE = "c66x" + +BRANCH = "master" +SRC_URI = "git://git.ti.com/keystone-rtos/mad-utils.git;protocol=git;branch=${BRANCH}" +SRCREV = "2458510f76eddfa837c2b83448965e233156944b" +PR = "r0" + +S = "${WORKDIR}/git" + +export C6X_BASE_DIR="${TI_CGT6X_7_INSTALL_DIR}" +PATH_prepend = "${TI_CGT6X_7_INSTALL_DIR}/bin:" + +DEVICE = "" +DEVICE_c665x-evm = "C6657" +DEVICE_c667x-evm = "C6678" + +ENDIAN = "" +ENDIAN_c665x-evm = "little big" +ENDIAN_c667x-evm = "little big" + +do_compile() { + cd mad-loader + for e in ${ENDIAN} + do + mkdir -p bin/${DEVICE}/${e} + make -C mal/malLib/build clean all DEVICE=${DEVICE} ENDIAN=${e} C_DIR=${C6X_BASE_DIR} + make -C mal/malApp/build clean all DEVICE=${DEVICE} ENDIAN=${e} C_DIR=${C6X_BASE_DIR} + cp mal/malApp/build/mal_app.exe bin/${DEVICE}/${e} + make -C nmlLoader/build clean all DEVICE=${DEVICE} ENDIAN=${e} C_DIR=${C6X_BASE_DIR} + cp nmlLoader/build/nml.exe bin/${DEVICE}/${e} + done + cd - +} + +do_install() { + install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/boot/mad-utils + cp -rP --preserve=mode,links,timestamps --no-preserve=ownership * ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/boot/mad-utils +} + +FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages/ti/boot/mad-utils" + +INSANE_SKIP_${PN} += "arch staticdev ldflags file-rdeps"
Signature · 1 line
1.9.1
PATCH v3 4/4 ibl-boot-rtos: added recipe for RTOS IBL
In reply to Ivan PangThis recipe adds the Intermediate Bootloader (IBL) for c665x-evm and c667x-evm.
--- recipes-bsp/ibl-boot/ibl-boot-rtos_git.bb | 63 +++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 recipes-bsp/ibl-boot/ibl-boot-rtos_git.bb
recipes-bsp/ibl-boot/ibl-boot-rtos_git.bb new file +63 -0
@@ -0,0 +1,63 @@ +SUMMARY = "Second stage bootloader for c66x" +DESCRIPTION = "The Intermediate Bootloader (IBL) is a second stage \ +bootloader for the c66x family of embedded processors. This second \ +stage bootloader takes care of additional initializations, advisory \ +setups, and errata workarounds that are not present in the first stage boot." + +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://src/ibl.h;beginline=1;endline=34;md5=ee7d7a3305d1e524955996d1c5e31cb9" + +require recipes-ti/includes/ti-paths.inc + +DEPENDS = "ti-cgt6x-7-native" + +PACKAGE_ARCH = "${MACHINE_ARCH}" +COMPATIBLE_MACHINE = "c66x" + +BRANCH = "master" +SRC_URI = "git://git.ti.com/keystone-rtos/ibl.git;protocol=git;branch=${BRANCH}" +SRCREV = "f7ed32cc8911e3353dd01080da9b725b44a12285" +PR = "r0" + +S = "${WORKDIR}/git" + +PATH_prepend = "${TI_CGT6X_7_INSTALL_DIR}/bin:" + +IBLTARGETS = "" +IBLTARGETS_c665x-evm = "evm_c6657_i2c" +IBLTARGETS_c667x-evm = "evm_c6678_i2c" + +IBLENDIAN = "" +IBLENDIAN_c665x-evm = "little big" +IBLENDIAN_c667x-evm = "little big" + +export C6X_BASE_DIR="${TI_CGT6X_7_INSTALL_DIR}" +export TOOLSC6X="${C6X_BASE_DIR}" +export TOOLSC6XDOS="${C6X_BASE_DIR}" +export TOOLSBIOSC6XDOS="${C6X_BASE_DIR}" +export PDK_INSTALL_PATH = "${PDK_INSTALL_DIR}/packages" + +do_compile() { + cd src/make + for t in ${IBLTARGETS} + do + for e in ${IBLENDIAN} + do + make ${t} ENDIAN=${e} I2C_BUS_ADDR=0x51 + done + done + cd - +} + +do_install() { + install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/boot/ibl + cp -rP --preserve=mode,links,timestamps --no-preserve=ownership * ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/boot/ibl +} + +FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages" + +INHIBIT_PACKAGE_STRIP = "1" +INHIBIT_SYSROOT_STRIP = "1" +INHIBIT_PACKAGE_DEBUG_SPLIT = "1" + +INSANE_SKIP_${PN} = "arch file-rdeps"
Signature · 1 line
1.9.1
Re: [PATCH v3 2/4] ti-cgt6x-7: added recipe for TI CGT6x 7.x.x
In reply to Ivan PangDenys,
Please review v4 instead; I missed the removal of PE and PR here in v3.
Ivan
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Pang, Ivan
Sent: Monday, July 31, 2017 5:06 PM
To: [email protected]
Subject: [meta-ti] [PATCH v3 2/4] ti-cgt6x-7: added recipe for TI CGT6x 7.x.x
This recipe specifically installs the 7.x.x series of TI CGT6x.
--- recipes-ti/devtools/ti-cgt6x-7-native_7.4.16.bb | 44 +++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 recipes-ti/devtools/ti-cgt6x-7-native_7.4.16.bb
recipes-ti/devtools/ti-cgt6x-7-native_7.4.16.bb new file +44 -0
@@ -0,0 +1,44 @@ +SUMMARY = "TI DSP Code Generation Tools" +DESCRIPTION = "Texas Instrument (TI) Code Generation Tools are custom \ +utilities targeted for TI embedded processors. This Digital Signal \ +Processor (DSP) suite contains tools needed to create and debug \ +applications for the C6000 DSP family. This includes tools such as: \ +compiler, linker, assembler, etc. This also includes C runtime \ +libraries and standard header files needed to produce a working DSP application." + +HOMEPAGE = "https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/download.htm" +LICENSE = "TI-TSPA" + +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b6311962635a4f15630e36ec2d875eca" + +PE = "0" +PR = "r0" + +S = "${WORKDIR}/c6000_7.4.16" + +inherit native +require recipes-ti/includes/ti-paths.inc require +recipes-ti/includes/ti-unpack.inc + +BINFILE = "ti_cgt_c6000_7.4.16_linux_installer_x86.bin" +BINFILE_NAME = "cgt6x_7.4.16_x86_installer" +TI_BIN_UNPK_ARGS = "--prefix ${WORKDIR} --mode unattended" +TI_BIN_UNPK_CMDS="" + +SRC_URI = "http://install.source.dir.local/${BINFILE};name=${BINFILE_NAME}" + +SRC_URI[cgt6x_7.4.16_x86_installer.md5sum] = "21ca55c5b1f6b2d8d4fb7570d5eb5513" +SRC_URI[cgt6x_7.4.16_x86_installer.sha256sum] = "baa0d1ef20397383f99f45068a6d160963a01419d42fbbb851263b54c91df82f" + +do_install() { + install -d ${D}/${TI_CGT6X_7_INSTALL_DIR_RECIPE} + cp -rP --preserve=mode,links,timestamps --no-preserve=ownership +${WORKDIR}/c6000_7.4.16/. ${D}/${TI_CGT6X_7_INSTALL_DIR_RECIPE} +} + +FILES_${PN} += "${TI_CGT6X_7_INSTALL_DIR_RECIPE}" + +INSANE_SKIP_${PN} += "arch staticdev" + +INHIBIT_PACKAGE_STRIP = "1" +INHIBIT_SYSROOT_STRIP = "1"
+INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
--
1.9.1
--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti