Skip to contentSkip to conversation

starterware-rtos: added recipe for RTOS starterware

PATCH Superseded Ivan Pang 4 participants 5 messages Jun 5, 2017 – Jun 13, 2017

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Ivan Pang

author
#0 lore raw

PATCH v2 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..3fbe763
@@ -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-staging.inc
+require recipes-ti/includes/ti-paths.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

Jake,

Do you have any comments?

Quoted 66 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 +46 -0
new file mode 100644
index 0000000..3fbe763
@@ -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-staging.inc
+require recipes-ti/includes/ti-paths.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 · 7 lines
1.9.1

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

Ivan,

Did you verify the commit ID is locked for the upcoming release before upstreaming this? You'll have to upstream another patch soon if not.

Justin

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Dmytriyenko, Denys
Sent: Monday, June 12, 2017 9:56 PM
To: Pang, Ivan
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH v2] starterware-rtos: added recipe for RTOS starterware

Jake,

Do you have any comments?

Quoted 63 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 +46 -1
new file mode 100644
index 0000000..3fbe763
@@ -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-staging.inc
+require recipes-ti/includes/ti-paths.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"
--

1.9.1

Quoted 5 lines

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

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

author
#3 lore raw

Justin,

The commit ID was the latest available at the time I submitted the patch. Checking the repository right now, I see there are 2 new commits made in the past week. They are not on git.ti.com yet - I will double-check with the developer regarding that. So it looks like I'll have to submit a v3 or another patch on top.

Ivan

-----Original Message-----
From: Sobota, Justin
Sent: Monday, June 12, 2017 10:26 PM
To: Dmytriyenko, Denys; Pang, Ivan
Cc: [email protected]
Subject: RE: [meta-ti] [PATCH v2] starterware-rtos: added recipe for RTOS starterware

Ivan,

Did you verify the commit ID is locked for the upcoming release before upstreaming this? You'll have to upstream another patch soon if not.

Justin

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Dmytriyenko, Denys
Sent: Monday, June 12, 2017 9:56 PM
To: Pang, Ivan
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH v2] starterware-rtos: added recipe for RTOS starterware

Jake,

Do you have any comments?

Quoted 63 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 +46 -1
new file mode 100644
index 0000000..3fbe763
@@ -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-staging.inc
+require recipes-ti/includes/ti-paths.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"
--

1.9.1

Quoted 5 lines

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

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

#4 lore raw

Ivan,

This looks good, but it fails to build for me do to stripping issues.

It appears that there are private changes to the "ti-staging" file which should resolve this. Can you upstream these changes?

- Jake

Quoted 132 lines

-----Original Message-----
From: [email protected] [mailto:meta-ti- [email protected]] On Behalf Of Pang, Ivan
Sent: Tuesday, June 13, 2017 12:33 AM
To: Sobota, Justin; Dmytriyenko, Denys
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH v2] starterware-rtos: added recipe for RTOS starterware

Justin,

The commit ID was the latest available at the time I submitted the patch. Checking the repository right now, I see there are 2 new commits made in the past week. They are not on git.ti.com yet - I will double-check with the developer regarding that.
So it looks like I'll have to submit a v3 or another patch on top.

Ivan

-----Original Message-----
From: Sobota, Justin
Sent: Monday, June 12, 2017 10:26 PM
To: Dmytriyenko, Denys; Pang, Ivan
Cc: [email protected]
Subject: RE: [meta-ti] [PATCH v2] starterware-rtos: added recipe for RTOS starterware

Ivan,

Did you verify the commit ID is locked for the upcoming release before upstreaming this? You'll have to upstream another patch soon if not.

Justin

-----Original Message-----
From: [email protected] [mailto:meta-ti- [email protected]] On Behalf Of Dmytriyenko, Denys
Sent: Monday, June 12, 2017 9:56 PM
To: Pang, Ivan
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH v2] starterware-rtos: added recipe for RTOS starterware

Jake,

Do you have any comments?

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..3fbe763

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

Quoted 2 lines
recipes-bsp/starterware/starterware-rtos_git.bb new file +2 -0
@@ -0,0 +1,46 @@
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM =

"file://Makefile;beginline=1;endline=35;md5=286cbb5dce3e348294b6b025cf f969b3"

Quoted 4 lines
recipes-bsp/starterware/starterware-rtos_git.bb new file +4 -0
+
+COMPATIBLE_MACHINE = "ti33x|ti43x"
+DEPENDS = "gcc-arm-none-eabi-native"
+

recipes-bsp/starterware/starterware-rtos_git.bb

Quoted 10 lines
recipes-bsp/starterware/starterware-rtos_git.bb new file +10 -0
+require recipes-ti/includes/ti-staging.inc
+require recipes-ti/includes/ti-paths.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"

recipes-bsp/starterware/starterware-rtos_git.bb

Quoted 4 lines
recipes-bsp/starterware/starterware-rtos_git.bb new file +4 -0
+STARTERWARE_SRCREV = "d648ffc46a3508802ec5d4f70f3d0e8f970ce1fa"
+
+BRANCH = "${STARTERWARE_GIT_BRANCH}"
+SRC_URI =

"${STARTERWARE_GIT_URI};protocol=${STARTERWARE_GIT_PROTOCOL};bra nch=${BRANCH}"

Quoted 29 lines
recipes-bsp/starterware/starterware-rtos_git.bb new file +26 -1
+
+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"
--

1.9.1

Quoted 5 lines

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

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