Skip to contentSkip to conversation

starterware-rtos: added recipe for RTOS starterware

PATCH Superseded Ivan Pang 3 participants 6 messages May 31, 2017

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Ivan Pang

author
#0 lore raw

PATCH 1/1 starterware-rtos: added recipe for RTOS starterware

---
 recipes-bsp/starterware/starterware-rtos_git.bb | 46 +++++++++++++++++++++++++
 1 file changed, 46 insertions(+)
 create mode 100644 recipes-bsp/starterware/starterware-rtos_git.bb
recipes-bsp/starterware/starterware-rtos_git.bb new file +46 -0
new file mode 100644
index 0000000..f831fb8
@@ -0,0 +1,46 @@
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://Makefile;beginline=1;endline=35;md5=286cbb5dce3e348294b6b025cff969b3"
+
+COMPATIBLE_MACHINE = "ti33x|ti43x"
+DEPENDS = "gcc-arm-none-eabi-native"
+
+require recipes-ti/includes/ti-paths-append.inc
+require recipes-ti/includes/ti-staging.inc
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+STARTERWARE_GIT_URI = "git://git.ti.com/keystone-rtos/starterware.git"
+STARTERWARE_GIT_PROTOCOL = "git"
+STARTERWARE_GIT_BRANCH = "master"
+
+# Below commit ID corresponds to "DEV.STARTERWARE.PROCSDK.02.01.01.02A"
+STARTERWARE_SRCREV = "d648ffc46a3508802ec5d4f70f3d0e8f970ce1fa"
+
+BRANCH = "${STARTERWARE_GIT_BRANCH}"
+SRC_URI = "${STARTERWARE_GIT_URI};protocol=${STARTERWARE_GIT_PROTOCOL};branch=${BRANCH}"
+
+SRCREV = "${STARTERWARE_SRCREV}"
+PV = "02.01.01.02A"
+PR = "r0"
+
+S = "${WORKDIR}/git"
+
+PARTNO_ti33x = "am335x"
+PARTNO_ti43x = "am437x"
+
+export TOOLCHAIN_PATH_A8 = "${GCC_ARM_NONE_TOOLCHAIN}"
+export TOOLCHAIN_PATH_A9 = "${GCC_ARM_NONE_TOOLCHAIN}"
+
+do_compile() {
+    cd build
+    ./release_${PARTNO}.sh
+}
+
+do_install() {
+    install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/starterware
+    find -name "*.tar" -exec tar xf {} --no-same-owner -C ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/starterware \;
+}
+
+FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages"
+
+INSANE_SKIP_${PN} = "arch staticdev"
Signature · 1 line
1.9.1
#1 lore raw
Quoted 12 lines · Ivan Pang
---
  recipes-bsp/starterware/starterware-rtos_git.bb | 46 +++++++++++++++++++++++++
  1 file changed, 46 insertions(+)

create mode 100644 recipes-bsp/starterware/starterware-rtos_git.bb

recipes-bsp/starterware/starterware-rtos_git.bb new file +0 -0
new file mode 100644
index 0000000..f831fb8

recipes-bsp/starterware/starterware-rtos_git.bb line 7

Quoted 7 lines
recipes-bsp/starterware/starterware-rtos_git.bb new file +7 -0
@@ -0,0 +1,46 @@
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://Makefile;beginline=1;endline=35;md5=286cbb5dce3e348294b6b025cff969b3"
+
+COMPATIBLE_MACHINE = "ti33x|ti43x"
+DEPENDS = "gcc-arm-none-eabi-native"
+
+require recipes-ti/includes/ti-paths-append.inc

^^^ This is not available in the meta-ti layer.

Quoted 39 lines
recipes-bsp/starterware/starterware-rtos_git.bb new file +39 -0
+require recipes-ti/includes/ti-staging.inc
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+STARTERWARE_GIT_URI = "git://git.ti.com/keystone-rtos/starterware.git"
+STARTERWARE_GIT_PROTOCOL = "git"
+STARTERWARE_GIT_BRANCH = "master"
+
+# Below commit ID corresponds to "DEV.STARTERWARE.PROCSDK.02.01.01.02A"
+STARTERWARE_SRCREV = "d648ffc46a3508802ec5d4f70f3d0e8f970ce1fa"
+
+BRANCH = "${STARTERWARE_GIT_BRANCH}"
+SRC_URI = "${STARTERWARE_GIT_URI};protocol=${STARTERWARE_GIT_PROTOCOL};branch=${BRANCH}"
+
+SRCREV = "${STARTERWARE_SRCREV}"
+PV = "02.01.01.02A"
+PR = "r0"
+
+S = "${WORKDIR}/git"
+
+PARTNO_ti33x = "am335x"
+PARTNO_ti43x = "am437x"
+
+export TOOLCHAIN_PATH_A8 = "${GCC_ARM_NONE_TOOLCHAIN}"
+export TOOLCHAIN_PATH_A9 = "${GCC_ARM_NONE_TOOLCHAIN}"
+
+do_compile() {
+    cd build
+    ./release_${PARTNO}.sh
+}
+
+do_install() {
+    install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/starterware
+    find -name "*.tar" -exec tar xf {} --no-same-owner -C ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/starterware \;
+}
+
+FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages"
+
+INSANE_SKIP_${PN} = "arch staticdev"
#2 lore raw
Quoted 9 lines · Jacob Stiffler
Quoted 6 lines · Ivan Pang
---
 recipes-bsp/starterware/starterware-rtos_git.bb | 46 +++++++++++++++++++++++++
 1 file changed, 46 insertions(+)
 create mode 100644 recipes-bsp/starterware/starterware-rtos_git.bb
Quoted 14 lines

recipes-bsp/starterware/starterware-rtos_git.bb line 7

Quoted 13 lines
recipes-bsp/starterware/starterware-rtos_git.bb new file +7 -0
new file mode 100644
index 0000000..f831fb8
@@ -0,0 +1,46 @@
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://Makefile;beginline=1;endline=35;md5=286cbb5dce3e348294b6b025cff969b3"
+
+COMPATIBLE_MACHINE = "ti33x|ti43x"
+DEPENDS = "gcc-arm-none-eabi-native"
+
+require recipes-ti/includes/ti-paths-append.inc

^^^ This is not available in the meta-ti layer.

BTW, is it any different from previous submission last week?

Quoted 45 lines
Quoted 39 lines
recipes-bsp/starterware/starterware-rtos_git.bb new file +39 -0
+require recipes-ti/includes/ti-staging.inc
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+STARTERWARE_GIT_URI = "git://git.ti.com/keystone-rtos/starterware.git"
+STARTERWARE_GIT_PROTOCOL = "git"
+STARTERWARE_GIT_BRANCH = "master"
+
+# Below commit ID corresponds to "DEV.STARTERWARE.PROCSDK.02.01.01.02A"
+STARTERWARE_SRCREV = "d648ffc46a3508802ec5d4f70f3d0e8f970ce1fa"
+
+BRANCH = "${STARTERWARE_GIT_BRANCH}"
+SRC_URI = "${STARTERWARE_GIT_URI};protocol=${STARTERWARE_GIT_PROTOCOL};branch=${BRANCH}"
+
+SRCREV = "${STARTERWARE_SRCREV}"
+PV = "02.01.01.02A"
+PR = "r0"
+
+S = "${WORKDIR}/git"
+
+PARTNO_ti33x = "am335x"
+PARTNO_ti43x = "am437x"
+
+export TOOLCHAIN_PATH_A8 = "${GCC_ARM_NONE_TOOLCHAIN}"
+export TOOLCHAIN_PATH_A9 = "${GCC_ARM_NONE_TOOLCHAIN}"
+
+do_compile() {
+    cd build
+    ./release_${PARTNO}.sh
+}
+
+do_install() {
+    install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/starterware
+    find -name "*.tar" -exec tar xf {} --no-same-owner -C ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/starterware \;
+}
+
+FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages"
+
+INSANE_SKIP_${PN} = "arch staticdev"
Signature · 4 lines
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
author
#3 lore raw
Quoted 10 lines · Jacob Stiffler
Quoted 7 lines · Ivan Pang
---
 recipes-bsp/starterware/starterware-rtos_git.bb | 46 
+++++++++++++++++++++++++
 1 file changed, 46 insertions(+)
 create mode 100644 recipes-bsp/starterware/starterware-rtos_git.bb
Quoted 15 lines
Quoted 7 lines
recipes-bsp/starterware/starterware-rtos_git.bb new file +0 -0
new file mode 100644
index 0000000..f831fb8

recipes-bsp/starterware/starterware-rtos_git.bb line 7

Quoted 7 lines
recipes-bsp/starterware/starterware-rtos_git.bb new file +7 -0
@@ -0,0 +1,46 @@
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://Makefile;beginline=1;endline=35;md5=286cbb5dce3e348294b6b025cff969b3"
+
+COMPATIBLE_MACHINE = "ti33x|ti43x"
+DEPENDS = "gcc-arm-none-eabi-native"
+
+require recipes-ti/includes/ti-paths-append.inc

^^^ This is not available in the meta-ti layer.

[Ivan] will change to ti-paths.inc and submit a PATCH v2

BTW, is it any different from previous submission last week?
[Ivan] No, it's the same patch, but this time I included [meta-ti] in the subject line as it was missing before.

Quoted 45 lines
Quoted 29 lines
recipes-bsp/starterware/starterware-rtos_git.bb new file +29 -0
+require recipes-ti/includes/ti-staging.inc
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+STARTERWARE_GIT_URI = "git://git.ti.com/keystone-rtos/starterware.git"
+STARTERWARE_GIT_PROTOCOL = "git"
+STARTERWARE_GIT_BRANCH = "master"
+
+# Below commit ID corresponds to "DEV.STARTERWARE.PROCSDK.02.01.01.02A"
+STARTERWARE_SRCREV = "d648ffc46a3508802ec5d4f70f3d0e8f970ce1fa"
+
+BRANCH = "${STARTERWARE_GIT_BRANCH}"
+SRC_URI = "${STARTERWARE_GIT_URI};protocol=${STARTERWARE_GIT_PROTOCOL};branch=${BRANCH}"
+
+SRCREV = "${STARTERWARE_SRCREV}"
+PV = "02.01.01.02A"
+PR = "r0"
+
+S = "${WORKDIR}/git"
+
+PARTNO_ti33x = "am335x"
+PARTNO_ti43x = "am437x"
+
+export TOOLCHAIN_PATH_A8 = "${GCC_ARM_NONE_TOOLCHAIN}"
+export TOOLCHAIN_PATH_A9 = "${GCC_ARM_NONE_TOOLCHAIN}"
+
+do_compile() {
+    cd build
+    ./release_${PARTNO}.sh

recipes-bsp/starterware/starterware-rtos_git.bb line 46

Quoted 10 lines
recipes-bsp/starterware/starterware-rtos_git.bb new file +10 -0
+}
+
+do_install() {
+    install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/starterware
+    find -name "*.tar" -exec tar xf {} --no-same-owner -C 
+${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/starterware \; }
+
+FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages"
+
+INSANE_SKIP_${PN} = "arch staticdev"

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

#4 lore raw
Quoted 26 lines · Ivan
Quoted 10 lines · Jacob Stiffler
Quoted 7 lines · Ivan Pang
---
 recipes-bsp/starterware/starterware-rtos_git.bb | 46 
+++++++++++++++++++++++++
 1 file changed, 46 insertions(+)
 create mode 100644 recipes-bsp/starterware/starterware-rtos_git.bb
Quoted 15 lines
Quoted 7 lines
recipes-bsp/starterware/starterware-rtos_git.bb new file +0 -0
new file mode 100644
index 0000000..f831fb8

recipes-bsp/starterware/starterware-rtos_git.bb line 7

Quoted 7 lines
recipes-bsp/starterware/starterware-rtos_git.bb new file +7 -0
@@ -0,0 +1,46 @@
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://Makefile;beginline=1;endline=35;md5=286cbb5dce3e348294b6b025cff969b3"
+
+COMPATIBLE_MACHINE = "ti33x|ti43x"
+DEPENDS = "gcc-arm-none-eabi-native"
+
+require recipes-ti/includes/ti-paths-append.inc

^^^ This is not available in the meta-ti layer.

Quoted 6 lines

[Ivan] will change to ti-paths.inc and submit a PATCH v2

BTW, is it any different from previous submission last week?

[Ivan] No, it's the same patch, but this time I included [meta-ti] in the subject line as it was missing before.

The list automatically adds that:

https://lists.yoctoproject.org/pipermail/meta-ti/2017-May/009978.html

Quoted 45 lines
Quoted 45 lines
Quoted 29 lines
recipes-bsp/starterware/starterware-rtos_git.bb new file +29 -0
+require recipes-ti/includes/ti-staging.inc
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+STARTERWARE_GIT_URI = "git://git.ti.com/keystone-rtos/starterware.git"
+STARTERWARE_GIT_PROTOCOL = "git"
+STARTERWARE_GIT_BRANCH = "master"
+
+# Below commit ID corresponds to "DEV.STARTERWARE.PROCSDK.02.01.01.02A"
+STARTERWARE_SRCREV = "d648ffc46a3508802ec5d4f70f3d0e8f970ce1fa"
+
+BRANCH = "${STARTERWARE_GIT_BRANCH}"
+SRC_URI = "${STARTERWARE_GIT_URI};protocol=${STARTERWARE_GIT_PROTOCOL};branch=${BRANCH}"
+
+SRCREV = "${STARTERWARE_SRCREV}"
+PV = "02.01.01.02A"
+PR = "r0"
+
+S = "${WORKDIR}/git"
+
+PARTNO_ti33x = "am335x"
+PARTNO_ti43x = "am437x"
+
+export TOOLCHAIN_PATH_A8 = "${GCC_ARM_NONE_TOOLCHAIN}"
+export TOOLCHAIN_PATH_A9 = "${GCC_ARM_NONE_TOOLCHAIN}"
+
+do_compile() {
+    cd build
+    ./release_${PARTNO}.sh

recipes-bsp/starterware/starterware-rtos_git.bb line 46

Quoted 10 lines
recipes-bsp/starterware/starterware-rtos_git.bb new file +10 -0
+}
+
+do_install() {
+    install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/starterware
+    find -name "*.tar" -exec tar xf {} --no-same-owner -C 
+${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/starterware \; }
+
+FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages"
+
+INSANE_SKIP_${PN} = "arch staticdev"

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

#5 lore raw
Quoted 26 lines · Denys Dmytriyenko
Quoted 25 lines · Ivan
Quoted 24 lines · Jacob Stiffler
Quoted 14 lines · Ivan Pang
---
  recipes-bsp/starterware/starterware-rtos_git.bb | 46
+++++++++++++++++++++++++
  1 file changed, 46 insertions(+)

create mode 100644 recipes-bsp/starterware/starterware-rtos_git.bb

recipes-bsp/starterware/starterware-rtos_git.bb new file +0 -0
new file mode 100644
index 0000000..f831fb8

recipes-bsp/starterware/starterware-rtos_git.bb line 7

Quoted 7 lines
recipes-bsp/starterware/starterware-rtos_git.bb new file +7 -0
@@ -0,0 +1,46 @@
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://Makefile;beginline=1;endline=35;md5=286cbb5dce3e348294b6b025cff969b3"
+
+COMPATIBLE_MACHINE = "ti33x|ti43x"
+DEPENDS = "gcc-arm-none-eabi-native"
+
+require recipes-ti/includes/ti-paths-append.inc

^^^ This is not available in the meta-ti layer.

Quoted 8 lines
Quoted 5 lines

[Ivan] will change to ti-paths.inc and submit a PATCH v2

BTW, is it any different from previous submission last week? [Ivan] No, it's the same patch, but this time I included [meta-ti] in the subject line as it was missing before.

The list automatically adds that:

https://lists.yoctoproject.org/pipermail/meta-ti/2017-May/009978.html

I did not receive this patch from the list.

Quoted 45 lines
Quoted 45 lines
Quoted 45 lines
Quoted 30 lines
recipes-bsp/starterware/starterware-rtos_git.bb new file +29 -0
+require recipes-ti/includes/ti-staging.inc
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+STARTERWARE_GIT_URI = "git://git.ti.com/keystone-rtos/starterware.git"
+STARTERWARE_GIT_PROTOCOL = "git"
+STARTERWARE_GIT_BRANCH = "master"
+
+# Below commit ID corresponds to "DEV.STARTERWARE.PROCSDK.02.01.01.02A"
+STARTERWARE_SRCREV = "d648ffc46a3508802ec5d4f70f3d0e8f970ce1fa"
+
+BRANCH = "${STARTERWARE_GIT_BRANCH}"
+SRC_URI = "${STARTERWARE_GIT_URI};protocol=${STARTERWARE_GIT_PROTOCOL};branch=${BRANCH}"
+
+SRCREV = "${STARTERWARE_SRCREV}"
+PV = "02.01.01.02A"
+PR = "r0"
+
+S = "${WORKDIR}/git"
+
+PARTNO_ti33x = "am335x"
+PARTNO_ti43x = "am437x"
+
+export TOOLCHAIN_PATH_A8 = "${GCC_ARM_NONE_TOOLCHAIN}"
+export TOOLCHAIN_PATH_A9 = "${GCC_ARM_NONE_TOOLCHAIN}"
+
+do_compile() {
+    cd build
+    ./release_${PARTNO}.sh

recipes-bsp/starterware/starterware-rtos_git.bb line 46

Quoted 10 lines
recipes-bsp/starterware/starterware-rtos_git.bb new file +10 -0
+}
+
+do_install() {
+    install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/starterware
+    find -name "*.tar" -exec tar xf {} --no-same-owner -C
+${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/starterware \; }
+
+FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages"
+
+INSANE_SKIP_${PN} = "arch staticdev"

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