Skip to contentSkip to conversation

ti-ccsv6-native: Add CCS 6.1.1.00022

PATCH Superseded Jacob Stiffler 2 participants 3 messages Oct 22, 2015

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ti-ccsv6-native: Add CCS 6.1.1.00022

* Due to licensing, this installer must be downloaded manually and
placed into either the downloads directory, or placed on a mirror.
* Please see http://processors.wiki.ti.com/index.php/Download_CCS#Code_Composer_Studio_Version_6_Downloads

* NOTE: That the Linux off-line installation tarball is the file required.

---
 recipes-ti/devtools/ti-ccsv6-native_6.1.1.00022.bb | 40 ++++++++++++++++++++++
 recipes-ti/includes/ti-paths.inc                   |  4 +++
 2 files changed, 44 insertions(+)
 create mode 100644 recipes-ti/devtools/ti-ccsv6-native_6.1.1.00022.bb
recipes-ti/devtools/ti-ccsv6-native_6.1.1.00022.bb new file +40 -0
new file mode 100644
index 0000000..11590b9
@@ -0,0 +1,40 @@
+DESCRIPTION = "TI DSP 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"
+
+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
+
+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] = "648d5f41e8a7a93c16d51cd34045ba15"
+SRC_URI[ccsv6.sha256sum] = "b82958a125d5c6bea07cfc12a6f2a77c45e1560217c1aac02194b6e3408c5105"
+
+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_5.2.5/. \
+          ${D}${M4_TOOLCHAIN_INSTALL_DIR_RECIPE}
+}
+
+FILES_${PN} += "\
+  ${CCSv6_INSTALL_DIR_RECIPE} \
+  ${M4_TOOLCHAIN_INSTALL_DIR_RECIPE} \
+"
+
+INSANE_SKIP_${PN} = "arch libdir ldflags staticdev textrel dev-so"
+
+EXCLUDE_FROM_SHLIBS = "1"
recipes-ti/includes/ti-paths.inc +4 -0
index bd80fa1..a38685e 100644
@@ -45,6 +45,8 @@ export XDAIS_INSTALL_DIR_RECIPE      = "${installdir}/ti-xdais-tree"
 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"
 
 # This is where the tools will end up in sysroot
 export BIOS_INSTALL_DIR       = "${STAGING_DIR_TARGET}${BIOS_INSTALL_DIR_RECIPE}"
@@ -80,6 +82,8 @@ export XDAIS_INSTALL_DIR      = "${STAGING_DIR_TARGET}${XDAIS_INSTALL_DIR_RECIPE
 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}"
 
 DSPSUFFIX_omapl137 = "x674"
 DSPSUFFIX_omapl138 = "x674"
Signature · 1 line
1.9.1
#1 lore raw
Quoted 19 lines · Jacob Stiffler

* Due to licensing, this installer must be downloaded manually and
placed into either the downloads directory, or placed on a mirror.
* Please see http://processors.wiki.ti.com/index.php/Download_CCS#Code_Composer_Studio_Version_6_Downloads

* NOTE: That the Linux off-line installation tarball is the file required.

---
  recipes-ti/devtools/ti-ccsv6-native_6.1.1.00022.bb | 40 ++++++++++++++++++++++
  recipes-ti/includes/ti-paths.inc                   |  4 +++
  2 files changed, 44 insertions(+)

create mode 100644 recipes-ti/devtools/ti-ccsv6-native_6.1.1.00022.bb

recipes-ti/devtools/ti-ccsv6-native_6.1.1.00022.bb new file +0 -0
new file mode 100644
index 0000000..11590b9

recipes-ti/devtools/ti-ccsv6-native_6.1.1.00022.bb line 2

Quoted 2 lines
recipes-ti/devtools/ti-ccsv6-native_6.1.1.00022.bb new file +2 -0
@@ -0,0 +1,40 @@
+DESCRIPTION = "TI DSP Code Generation Tools"
+HOMEPAGE = "https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/download.htm"

Homepage is incorrect. It should be "http://processors.wiki.ti.com/index.php/Download_CCS#Code_Composer_Studio_Version_6_Downloads". If there are no other comments, I'll update this in the v2.

Quoted 60 lines
recipes-ti/devtools/ti-ccsv6-native_6.1.1.00022.bb new file +38 -0
+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
+
+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] = "648d5f41e8a7a93c16d51cd34045ba15"
+SRC_URI[ccsv6.sha256sum] = "b82958a125d5c6bea07cfc12a6f2a77c45e1560217c1aac02194b6e3408c5105"
+
+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_5.2.5/. \
+          ${D}${M4_TOOLCHAIN_INSTALL_DIR_RECIPE}
+}
+
+FILES_${PN} += "\
+  ${CCSv6_INSTALL_DIR_RECIPE} \
+  ${M4_TOOLCHAIN_INSTALL_DIR_RECIPE} \
+"
+
+INSANE_SKIP_${PN} = "arch libdir ldflags staticdev textrel dev-so"
+
+EXCLUDE_FROM_SHLIBS = "1"
recipes-ti/includes/ti-paths.inc +4 -0
index bd80fa1..a38685e 100644
@@ -45,6 +45,8 @@ export XDAIS_INSTALL_DIR_RECIPE      = "${installdir}/ti-xdais-tree"
  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"
 
  # This is where the tools will end up in sysroot
  export BIOS_INSTALL_DIR       = "${STAGING_DIR_TARGET}${BIOS_INSTALL_DIR_RECIPE}"
@@ -80,6 +82,8 @@ export XDAIS_INSTALL_DIR      = "${STAGING_DIR_TARGET}${XDAIS_INSTALL_DIR_RECIPE
  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}"
 
  DSPSUFFIX_omapl137 = "x674"
  DSPSUFFIX_omapl138 = "x674"
#2 lore raw
In reply to Jacob Stiffler
Quoted 38 lines · Jacob Stiffler

* Due to licensing, this installer must be downloaded manually and
placed into either the downloads directory, or placed on a mirror.
* Please see http://processors.wiki.ti.com/index.php/Download_CCS#Code_Composer_Studio_Version_6_Downloads

* NOTE: That the Linux off-line installation tarball is the file required.

---
 recipes-ti/devtools/ti-ccsv6-native_6.1.1.00022.bb | 40 ++++++++++++++++++++++
 recipes-ti/includes/ti-paths.inc                   |  4 +++
 2 files changed, 44 insertions(+)
 create mode 100644 recipes-ti/devtools/ti-ccsv6-native_6.1.1.00022.bb
recipes-ti/devtools/ti-ccsv6-native_6.1.1.00022.bb new file +19 -0
new file mode 100644
index 0000000..11590b9
@@ -0,0 +1,40 @@
+DESCRIPTION = "TI DSP 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"
+
+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
+
+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 = ""

recipes-ti/devtools/ti-ccsv6-native_6.1.1.00022.bb line 29

Quoted 10 lines
recipes-ti/devtools/ti-ccsv6-native_6.1.1.00022.bb new file +10 -0
+
+SRC_URI[ccsv6.md5sum] = "648d5f41e8a7a93c16d51cd34045ba15"
+SRC_URI[ccsv6.sha256sum] = "b82958a125d5c6bea07cfc12a6f2a77c45e1560217c1aac02194b6e3408c5105"
+
+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_5.2.5/. \

You may want to extract cgt version into a variable. Even though it's specific to CCS version, it might be useful to have it set as a variable.

Quoted 16 lines
recipes-ti/devtools/ti-ccsv6-native_6.1.1.00022.bb new file +11 -0
+          ${D}${M4_TOOLCHAIN_INSTALL_DIR_RECIPE}
+}
+
+FILES_${PN} += "\
+  ${CCSv6_INSTALL_DIR_RECIPE} \
+  ${M4_TOOLCHAIN_INSTALL_DIR_RECIPE} \
+"
+
+INSANE_SKIP_${PN} = "arch libdir ldflags staticdev textrel dev-so"
+
+EXCLUDE_FROM_SHLIBS = "1"
recipes-ti/includes/ti-paths.inc +0 -0
index bd80fa1..a38685e 100644

recipes-ti/includes/ti-paths.inc export XDAIS_INSTALL_DIR_RECIPE = "${installdir}/ti-xdais-tree" · line 49

Quoted 5 lines
recipes-ti/includes/ti-paths.inc +2 -0
@@ -45,6 +45,8 @@ export XDAIS_INSTALL_DIR_RECIPE      = "${installdir}/ti-xdais-tree"
 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"

Lowercase character in otherwise all-caps variable name? Technically it's acceptable, but could potentially cause some troubles... It's up to you :)

Quoted 19 lines
recipes-ti/includes/ti-paths.inc +2 -0
 # This is where the tools will end up in sysroot
 export BIOS_INSTALL_DIR       = "${STAGING_DIR_TARGET}${BIOS_INSTALL_DIR_RECIPE}"
@@ -80,6 +82,8 @@ export XDAIS_INSTALL_DIR      = "${STAGING_DIR_TARGET}${XDAIS_INSTALL_DIR_RECIPE
 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}"
 
 DSPSUFFIX_omapl137 = "x674"
 DSPSUFFIX_omapl138 = "x674"
Signature · 7 lines
1.9.1

-- 
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti