Skip to contentSkip to conversation

osal:Added rtos recipe and updated to 1.0.0.7 along with omapl1 support

PATCH In review Mahesh Radhakrishnan 2 participants 2 messages Jun 30, 2017 – Jul 5, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 osal:Added rtos recipe and updated to 1.0.0.7 along with omapl1 support

---
 recipes-bsp/osal/osal-rtos_git.bb | 18 ++++++++++++++++++
 recipes-bsp/osal/osal.inc         |  8 ++++----
 2 files changed, 22 insertions(+), 4 deletions(-)
 create mode 100644 recipes-bsp/osal/osal-rtos_git.bb
recipes-bsp/osal/osal-rtos_git.bb new file +18 -0
new file mode 100644
index 0000000..da421b6
@@ -0,0 +1,18 @@
+inherit ti-pdk
+require recipes-bsp/osal/osal.inc
+
+PR = "${INC_PR}.0"
+
+S = "${WORKDIR}/${OSAL_GIT_DESTSUFFIX}"
+
+DEPENDS_append_ti33x = " starterware-rtos"
+DEPENDS_append_ti43x = " starterware-rtos"
+
+# Build with make instead of XDC
+TI_PDK_XDCMAKE = "0"
+
+export PDK_OSAL_ROOT_PATH ="${WORKDIR}/build"
+export DEST_ROOT="${S}"
+
+# HTML doc link params
+PDK_COMP_LINK_TEXT = "OSAL Library"
recipes-bsp/osal/osal.inc +4 -4
index fa8cde8..63ccca9 100644
@@ -1,7 +1,7 @@
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://osal.h;beginline=1;endline=31;md5=ae7b9f0410f26c80dcf790ef3f622fad"
 
-COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone"
+COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|omapl1"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 OSAL_GIT_URI = "git://git.ti.com/keystone-rtos/osal.git"
@@ -9,12 +9,12 @@ OSAL_GIT_PROTOCOL = "git"
 OSAL_GIT_BRANCH = "master"
 OSAL_GIT_DESTSUFFIX = "git/ti/osal"
 
-# Below commit ID corresponding to "DEV.OSAL.01.00.00.06E"
-OSAL_SRCREV = "072ab0f76fa272ace5b1756075475f848c14221a"
+# Below commit ID corresponding to "DEV.OSAL.01.00.00.07"
+OSAL_SRCREV = "62ea536572d91a17321dfca287771a5b65e6e00d"
 
 BRANCH = "${OSAL_GIT_BRANCH}"
 SRC_URI = "${OSAL_GIT_URI};destsuffix=${OSAL_GIT_DESTSUFFIX};protocol=${OSAL_GIT_PROTOCOL};branch=${BRANCH}"
 
 SRCREV = "${OSAL_SRCREV}"
-PV = "01.00.00.06E"
+PV = "01.00.00.07"
 INC_PR = "r0"
Signature · 1 line
1.9.1
#1 lore raw

ACK

Quoted 60 lines · Mahesh Radhakrishnan
---
  recipes-bsp/osal/osal-rtos_git.bb | 18 ++++++++++++++++++
  recipes-bsp/osal/osal.inc         |  8 ++++----
  2 files changed, 22 insertions(+), 4 deletions(-)

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

recipes-bsp/osal/osal-rtos_git.bb new file +18 -0
new file mode 100644
index 0000000..da421b6
@@ -0,0 +1,18 @@
+inherit ti-pdk
+require recipes-bsp/osal/osal.inc
+
+PR = "${INC_PR}.0"
+
+S = "${WORKDIR}/${OSAL_GIT_DESTSUFFIX}"
+
+DEPENDS_append_ti33x = " starterware-rtos"
+DEPENDS_append_ti43x = " starterware-rtos"
+
+# Build with make instead of XDC
+TI_PDK_XDCMAKE = "0"
+
+export PDK_OSAL_ROOT_PATH ="${WORKDIR}/build"
+export DEST_ROOT="${S}"
+
+# HTML doc link params
+PDK_COMP_LINK_TEXT = "OSAL Library"
recipes-bsp/osal/osal.inc +4 -4
index fa8cde8..63ccca9 100644
@@ -1,7 +1,7 @@
  LICENSE = "BSD-3-Clause"
  LIC_FILES_CHKSUM = "file://osal.h;beginline=1;endline=31;md5=ae7b9f0410f26c80dcf790ef3f622fad"
 
-COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone"
+COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|omapl1"
  PACKAGE_ARCH = "${MACHINE_ARCH}"
 
  OSAL_GIT_URI = "git://git.ti.com/keystone-rtos/osal.git"
@@ -9,12 +9,12 @@ OSAL_GIT_PROTOCOL = "git"
  OSAL_GIT_BRANCH = "master"
  OSAL_GIT_DESTSUFFIX = "git/ti/osal"
 
-# Below commit ID corresponding to "DEV.OSAL.01.00.00.06E"
-OSAL_SRCREV = "072ab0f76fa272ace5b1756075475f848c14221a"
+# Below commit ID corresponding to "DEV.OSAL.01.00.00.07"
+OSAL_SRCREV = "62ea536572d91a17321dfca287771a5b65e6e00d"
 
  BRANCH = "${OSAL_GIT_BRANCH}"
  SRC_URI = "${OSAL_GIT_URI};destsuffix=${OSAL_GIT_DESTSUFFIX};protocol=${OSAL_GIT_PROTOCOL};branch=${BRANCH}"
 
  SRCREV = "${OSAL_SRCREV}"
-PV = "01.00.00.06E"
+PV = "01.00.00.07"
  INC_PR = "r0"