Skip to contentSkip to conversation

pruss-lld: Add rtos recipe & update the version to 1.0.0.7

PATCH Superseded Mahesh Radhakrishnan 2 participants 3 messages Jul 7, 2017 – Jul 11, 2017

v1 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pruss-lld: Add rtos recipe & update the version to 1.0.0.7

---
 recipes-bsp/pruss-lld/pruss-lld-rtos_git.bb | 23 +++++++++++++++++++++++
 recipes-bsp/pruss-lld/pruss-lld.inc         |  6 +++---
 2 files changed, 26 insertions(+), 3 deletions(-)
 create mode 100644 recipes-bsp/pruss-lld/pruss-lld-rtos_git.bb
recipes-bsp/pruss-lld/pruss-lld-rtos_git.bb new file +23 -0
new file mode 100644
index 0000000..a935f0b
@@ -0,0 +1,23 @@
+inherit ti-pdk
+require recipes-bsp/pruss-lld/pruss-lld.inc
+
+COMPATIBLE_MACHINE_append = "|k2g-hs-evm"
+
+PR = "${INC_PR}.0"
+
+S = "${WORKDIR}/${PRUSS_LLD_GIT_DESTSUFFIX}"
+
+DEPENDS_append = " osal-rtos"
+DEPENDS_append_ti33x = " starterware-rtos"
+DEPENDS_append_ti43x = " starterware-rtos"
+
+# Build with make instead of XDC
+TI_PDK_XDCMAKE = "0"
+
+export PDK_PRUSS_ROOT_PATH ="${WORKDIR}/build"
+export DEST_ROOT="${WORKDIR}/build"
+
+# HTML doc link params
+PDK_COMP_LINK_TEXT = "PRUSS LLD"
+
+INSANE_SKIP_${PN} = "arch"
recipes-bsp/pruss-lld/pruss-lld.inc +3 -3
index 8620108..5343c9f 100644
@@ -9,12 +9,12 @@ PRUSS_LLD_GIT_PROTOCOL = "git"
 PRUSS_LLD_GIT_BRANCH = "master"
 PRUSS_LLD_GIT_DESTSUFFIX = "git/ti/drv/pruss"
 
-# Below commit ID corresponds to "DEV.PRUSS_LLD.01.00.00.06A"
-PRUSS_LLD_SRCREV = "b98729cc1fc26c9ac32846146892646a23c28adb"
+# Below commit ID corresponds to "DEV.PRUSS_LLD.01.00.00.07"
+PRUSS_LLD_SRCREV = "636bb5645014723c54c08245cf8c2ee401eceb4f"
 
 BRANCH = "${PRUSS_LLD_GIT_BRANCH}"
 SRC_URI = "${PRUSS_LLD_GIT_URI};destsuffix=${PRUSS_LLD_GIT_DESTSUFFIX};protocol=${PRUSS_LLD_GIT_PROTOCOL};branch=${BRANCH}"
 
 SRCREV = "${PRUSS_LLD_SRCREV}"
-PV = "01.00.00.06A"
+PV = "01.00.00.07"
 INC_PR = "r0"
Signature · 1 line
1.9.1
#1 lore raw
Quoted 13 lines · Mahesh Radhakrishnan
---
  recipes-bsp/pruss-lld/pruss-lld-rtos_git.bb | 23 +++++++++++++++++++++++
  recipes-bsp/pruss-lld/pruss-lld.inc         |  6 +++---
  2 files changed, 26 insertions(+), 3 deletions(-)

create mode 100644 recipes-bsp/pruss-lld/pruss-lld-rtos_git.bb

recipes-bsp/pruss-lld/pruss-lld-rtos_git.bb new file +0 -0
new file mode 100644
index 0000000..a935f0b

recipes-bsp/pruss-lld/pruss-lld-rtos_git.bb line 4

Quoted 4 lines
recipes-bsp/pruss-lld/pruss-lld-rtos_git.bb new file +4 -0
@@ -0,0 +1,23 @@
+inherit ti-pdk
+require recipes-bsp/pruss-lld/pruss-lld.inc
+
+COMPATIBLE_MACHINE_append = "|k2g-hs-evm"

Can you instead update the pruss-lld.inc to extend compatibility with the k2g SOC family?

recipes-bsp/pruss-lld/pruss-lld-rtos_git.bb line 12

Quoted 8 lines
recipes-bsp/pruss-lld/pruss-lld-rtos_git.bb new file +8 -0
+
+PR = "${INC_PR}.0"
+
+S = "${WORKDIR}/${PRUSS_LLD_GIT_DESTSUFFIX}"
+
+DEPENDS_append = " osal-rtos"
+DEPENDS_append_ti33x = " starterware-rtos"
+DEPENDS_append_ti43x = " starterware-rtos"

The dependency on starterware-rtos for ti33x/ti43x appears to be common for all ti-pdk class recipes. Should this go into the ti-pdk.class recipe instead?

Quoted 31 lines
recipes-bsp/pruss-lld/pruss-lld-rtos_git.bb new file +11 -0
+
+# Build with make instead of XDC
+TI_PDK_XDCMAKE = "0"
+
+export PDK_PRUSS_ROOT_PATH ="${WORKDIR}/build"
+export DEST_ROOT="${WORKDIR}/build"
+
+# HTML doc link params
+PDK_COMP_LINK_TEXT = "PRUSS LLD"
+
+INSANE_SKIP_${PN} = "arch"
recipes-bsp/pruss-lld/pruss-lld.inc +3 -3
index 8620108..5343c9f 100644
@@ -9,12 +9,12 @@ PRUSS_LLD_GIT_PROTOCOL = "git"
  PRUSS_LLD_GIT_BRANCH = "master"
  PRUSS_LLD_GIT_DESTSUFFIX = "git/ti/drv/pruss"
 
-# Below commit ID corresponds to "DEV.PRUSS_LLD.01.00.00.06A"
-PRUSS_LLD_SRCREV = "b98729cc1fc26c9ac32846146892646a23c28adb"
+# Below commit ID corresponds to "DEV.PRUSS_LLD.01.00.00.07"
+PRUSS_LLD_SRCREV = "636bb5645014723c54c08245cf8c2ee401eceb4f"
 
  BRANCH = "${PRUSS_LLD_GIT_BRANCH}"
  SRC_URI = "${PRUSS_LLD_GIT_URI};destsuffix=${PRUSS_LLD_GIT_DESTSUFFIX};protocol=${PRUSS_LLD_GIT_PROTOCOL};branch=${BRANCH}"
 
  SRCREV = "${PRUSS_LLD_SRCREV}"
-PV = "01.00.00.06A"
+PV = "01.00.00.07"
  INC_PR = "r0"
#2 lore raw

Reply inline.

-----Original Message-----
From: Stiffler, Jacob
Sent: Tuesday, July 11, 2017 7:26 AM
To: Radhakrishnan, Mahesh; [email protected]
Subject: Re: [meta-ti] [PATCH] pruss-lld: Add rtos recipe & update the version to 1.0.0.7

Quoted 27 lines · Mahesh Radhakrishnan

---

  recipes-bsp/pruss-lld/pruss-lld-rtos_git.bb | 23 +++++++++++++++++++++++
  recipes-bsp/pruss-lld/pruss-lld.inc         |  6 +++---
  2 files changed, 26 insertions(+), 3 deletions(-)

create mode 100644 recipes-bsp/pruss-lld/pruss-lld-rtos_git.bb

(quoted diff) +0 -0

b/recipes-bsp/pruss-lld/pruss-lld-rtos_git.bb

new file mode 100644

index 0000000..a935f0b

--- /dev/null

+++ b/recipes-bsp/pruss-lld/pruss-lld-rtos_git.bb

recipes-bsp/pruss-lld/pruss-lld-rtos_git.bb line 4

Quoted 8 lines
recipes-bsp/pruss-lld/pruss-lld-rtos_git.bb new file +4 -0
@@ -0,0 +1,23 @@
 
+inherit ti-pdk
 
+require recipes-bsp/pruss-lld/pruss-lld.inc
 
+
 
+COMPATIBLE_MACHINE_append = "|k2g-hs-evm"

Can you instead update the pruss-lld.inc to extend compatibility with the k2g SOC family?

Will do.

Quoted 5 lines
recipes-bsp/pruss-lld/pruss-lld-rtos_git.bb new file +3 -0
+
 
+PR = "${INC_PR}.0"
 
+

recipes-bsp/pruss-lld/pruss-lld-rtos_git.bb line 12

Quoted 10 lines
recipes-bsp/pruss-lld/pruss-lld-rtos_git.bb new file +5 -0
 
+S = "${WORKDIR}/${PRUSS_LLD_GIT_DESTSUFFIX}"
 
+
 
+DEPENDS_append = " osal-rtos"
 
+DEPENDS_append_ti33x = " starterware-rtos"
 
+DEPENDS_append_ti43x = " starterware-rtos"

The dependency on starterware-rtos for ti33x/ti43x appears to be common for all ti-pdk class recipes. Should this go into the ti-pdk.class recipe instead?

I’m not sure as there are about 30+ pdk recipes which do not depend on starterware, and there are about 15 of them which depend on starterware.

Quoted 63 lines
recipes-bsp/pruss-lld/pruss-lld-rtos_git.bb new file +11 -0
+
 
+# Build with make instead of XDC
 
+TI_PDK_XDCMAKE = "0"
 
+
 
+export PDK_PRUSS_ROOT_PATH ="${WORKDIR}/build"
 
+export DEST_ROOT="${WORKDIR}/build"
 
+
 
+# HTML doc link params
 
+PDK_COMP_LINK_TEXT = "PRUSS LLD"
 
+
 
+INSANE_SKIP_${PN} = "arch"
(quoted diff) +0 -0

b/recipes-bsp/pruss-lld/pruss-lld.inc

index 8620108..5343c9f 100644

--- a/recipes-bsp/pruss-lld/pruss-lld.inc

+++ b/recipes-bsp/pruss-lld/pruss-lld.inc

(quoted diff) +2 -2
@@ -9,12 +9,12 @@ PRUSS_LLD_GIT_PROTOCOL = "git"
 
  PRUSS_LLD_GIT_BRANCH = "master"
 
  PRUSS_LLD_GIT_DESTSUFFIX = "git/ti/drv/pruss"
 
 
 
-# Below commit ID corresponds to "DEV.PRUSS_LLD.01.00.00.06A"
 
-PRUSS_LLD_SRCREV = "b98729cc1fc26c9ac32846146892646a23c28adb"
 
+# Below commit ID corresponds to "DEV.PRUSS_LLD.01.00.00.07"
 
+PRUSS_LLD_SRCREV = "636bb5645014723c54c08245cf8c2ee401eceb4f"


  BRANCH = "${PRUSS_LLD_GIT_BRANCH}"

  SRC_URI = "${PRUSS_LLD_GIT_URI};destsuffix=${PRUSS_LLD_GIT_DESTSUFFIX};protocol=${PRUSS_LLD_GIT_PROTOCOL};branch=${BRANCH}"



  SRCREV = "${PRUSS_LLD_SRCREV}"
recipes-bsp/pruss-lld/pruss-lld.inc +1 -1
-PV = "01.00.00.06A"
 
+PV = "01.00.00.07"
 
  INC_PR = "r0"