Skip to contentSkip to conversation

ti-rm: Move from meta-arago to meta-ti

PATCH Superseded Sam Nelson 2 participants 6 messages Oct 7, 2014

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Sam Nelson

author
#0 lore raw

PATCH 1/3 ti-rm: Move from meta-arago to meta-ti

-Moved recipe to meta-arago based on review comments
(from http://arago-project.org/git/?p=meta-arago.git;a=blob;f=meta-arago-extras/recipes-bsp/ti-rm/ti-rm_git.bb;h=38ec0ada5330977a5e19928e02060c9857b1f8d0;hb=HEAD)
- Provides resource manager low level driver

---
 recipes-bsp/rm-lld/ti-rm_git.bb |   49 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)
 create mode 100644 recipes-bsp/rm-lld/ti-rm_git.bb
recipes-bsp/rm-lld/ti-rm_git.bb new file +49 -0
new file mode 100644
index 0000000..276c01e
@@ -0,0 +1,49 @@
+DESCRIPTION = "TI Resource Manager Low Level Driver"
+LICENSE = "TI BSD"
+LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/rm/COPYING.txt;md5=dc61631b65360e6beb73b6c337800afc"
+
+BRANCH="master"
+SRC_URI = "git://git.ti.com/keystone-rtos/rm-lld.git;destsuffix=git/ti/drv/rm;protocol=git;branch=${BRANCH}"
+# Below commit ID corresponds to DEV.RM_LLD.02.01.00.04
+SRCREV = "59e3bf5fca3995dd0f79bbdd1af988d278a2a049"
+PR = "r0"
+PV = "02.01.00.04"
+
+COMPATIBLE_MACHINE = "keystone"
+
+DEPENDS = "ti-ipc"
+
+PACKAGES =+ "${PN}-test"
+
+FILES_${PN}-test = "${bindir}/rmDspClientTest_*.out \
+                    ${bindir}/rmLinuxClientTest_*.out \
+                    ${bindir}/ti/drv/rm/test/dts_files/*.dtb"
+
+DEVICELIST = "k2h k2k"
+
+CHOICELIST = "yes no"
+
+BASEDIR = "${WORKDIR}/git"
+S = "${BASEDIR}/ti/drv/rm"
+
+do_compile () {
+#   Now build the lld
+    make -f makefile_armv7 clean lib PDK_INSTALL_PATH=${STAGING_INCDIR} RM_SRC_DIR=${S}
+    for device in ${DEVICELIST}
+    do
+      for choice in ${CHOICELIST}
+      do
+        make -f makefile_armv7 tests IPC_DEVKIT_INSTALL_PATH=${STAGING_INCDIR} PDK_INSTALL_PATH=${BASEDIR} DEVICE="$device" USEDYNAMIC_LIB="$choice"
+      done
+    done
+}
+
+do_install () {
+    install -d ${D}${includedir}/ti/drv/rm
+    install -d ${D}${libdir}
+    install -d ${D}${bindir}
+    for device in ${DEVICELIST}
+    do
+      make -f makefile_armv7 install installbin installbin_test INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device"
+    done
+}
Signature · 1 line
1.7.9.5
author
#1 lore raw

PATCH 2/3 rm-lld: rename recipe

- removed ti-prefix based on review

---
 recipes-bsp/rm-lld/rm-lld_git.bb |   49 ++++++++++++++++++++++++++++++++++++++
 recipes-bsp/rm-lld/ti-rm_git.bb  |   49 --------------------------------------
 2 files changed, 49 insertions(+), 49 deletions(-)
 create mode 100644 recipes-bsp/rm-lld/rm-lld_git.bb
 delete mode 100644 recipes-bsp/rm-lld/ti-rm_git.bb
recipes-bsp/rm-lld/rm-lld_git.bb new file +49 -0
new file mode 100644
index 0000000..276c01e
@@ -0,0 +1,49 @@
+DESCRIPTION = "TI Resource Manager Low Level Driver"
+LICENSE = "TI BSD"
+LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/rm/COPYING.txt;md5=dc61631b65360e6beb73b6c337800afc"
+
+BRANCH="master"
+SRC_URI = "git://git.ti.com/keystone-rtos/rm-lld.git;destsuffix=git/ti/drv/rm;protocol=git;branch=${BRANCH}"
+# Below commit ID corresponds to DEV.RM_LLD.02.01.00.04
+SRCREV = "59e3bf5fca3995dd0f79bbdd1af988d278a2a049"
+PR = "r0"
+PV = "02.01.00.04"
+
+COMPATIBLE_MACHINE = "keystone"
+
+DEPENDS = "ti-ipc"
+
+PACKAGES =+ "${PN}-test"
+
+FILES_${PN}-test = "${bindir}/rmDspClientTest_*.out \
+                    ${bindir}/rmLinuxClientTest_*.out \
+                    ${bindir}/ti/drv/rm/test/dts_files/*.dtb"
+
+DEVICELIST = "k2h k2k"
+
+CHOICELIST = "yes no"
+
+BASEDIR = "${WORKDIR}/git"
+S = "${BASEDIR}/ti/drv/rm"
+
+do_compile () {
+#   Now build the lld
+    make -f makefile_armv7 clean lib PDK_INSTALL_PATH=${STAGING_INCDIR} RM_SRC_DIR=${S}
+    for device in ${DEVICELIST}
+    do
+      for choice in ${CHOICELIST}
+      do
+        make -f makefile_armv7 tests IPC_DEVKIT_INSTALL_PATH=${STAGING_INCDIR} PDK_INSTALL_PATH=${BASEDIR} DEVICE="$device" USEDYNAMIC_LIB="$choice"
+      done
+    done
+}
+
+do_install () {
+    install -d ${D}${includedir}/ti/drv/rm
+    install -d ${D}${libdir}
+    install -d ${D}${bindir}
+    for device in ${DEVICELIST}
+    do
+      make -f makefile_armv7 install installbin installbin_test INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device"
+    done
+}
recipes-bsp/rm-lld/ti-rm_git.bb deleted +0 -49

49 lines not on this page · raw message

Signature · 1 line
1.7.9.5
author
#3 lore raw

PATCH 3/3 rm-lld: Update to new version 2.1.0.6

In reply to Sam Nelson

- Add dependency on libdaemon
- Remove device dependency

---
 recipes-bsp/rm-lld/rm-lld_git.bb |   24 ++++++++----------------
 1 file changed, 8 insertions(+), 16 deletions(-)
recipes-bsp/rm-lld/rm-lld_git.bb +8 -16
index 276c01e..e3646cf 100644
@@ -4,14 +4,14 @@ LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/rm/COPYING.txt;md5=dc61631b6536
 
 BRANCH="master"
 SRC_URI = "git://git.ti.com/keystone-rtos/rm-lld.git;destsuffix=git/ti/drv/rm;protocol=git;branch=${BRANCH}"
-# Below commit ID corresponds to DEV.RM_LLD.02.01.00.04
-SRCREV = "59e3bf5fca3995dd0f79bbdd1af988d278a2a049"
-PR = "r0"
-PV = "02.01.00.04"
+# Below commit ID corresponds to DEV.RM_LLD.02.01.00.06
+SRCREV = "dc0dba4a6b0358efcb861d50b3dae21beb5281a8"
+PR = "r1"
+PV = "02.01.00.06"
 
 COMPATIBLE_MACHINE = "keystone"
 
-DEPENDS = "ti-ipc"
+DEPENDS = "ti-ipc libdaemon"
 
 PACKAGES =+ "${PN}-test"
 
@@ -19,8 +19,6 @@ FILES_${PN}-test = "${bindir}/rmDspClientTest_*.out \
                     ${bindir}/rmLinuxClientTest_*.out \
                     ${bindir}/ti/drv/rm/test/dts_files/*.dtb"
 
-DEVICELIST = "k2h k2k"
-
 CHOICELIST = "yes no"
 
 BASEDIR = "${WORKDIR}/git"
@@ -29,12 +27,9 @@ S = "${BASEDIR}/ti/drv/rm"
 do_compile () {
 #   Now build the lld
     make -f makefile_armv7 clean lib PDK_INSTALL_PATH=${STAGING_INCDIR} RM_SRC_DIR=${S}
-    for device in ${DEVICELIST}
+    for choice in ${CHOICELIST}
     do
-      for choice in ${CHOICELIST}
-      do
-        make -f makefile_armv7 tests IPC_DEVKIT_INSTALL_PATH=${STAGING_INCDIR} PDK_INSTALL_PATH=${BASEDIR} DEVICE="$device" USEDYNAMIC_LIB="$choice"
-      done
+      make -f makefile_armv7 tests IPC_DEVKIT_INSTALL_PATH=${STAGING_INCDIR} PDK_INSTALL_PATH=${BASEDIR} USEDYNAMIC_LIB="$choice"
     done
 }
 
@@ -42,8 +37,5 @@ do_install () {
     install -d ${D}${includedir}/ti/drv/rm
     install -d ${D}${libdir}
     install -d ${D}${bindir}
-    for device in ${DEVICELIST}
-    do
-      make -f makefile_armv7 install installbin installbin_test INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device"
-    done
+    make -f makefile_armv7 install installbin installbin_test INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} INSTALL_BIN_BASE_DIR=${D}${bindir}
 }
Signature · 1 line
1.7.9.5
#2 lore raw

Re: [PATCH 2/3] rm-lld: rename recipe

In reply to Sam Nelson

Sam,

Please combine #2 and #3 patches. Plus, use -M flag when you generate the patch, so it won't be presented as adding new and removing old, but just as a simple rename.

Signature · 1 line
Denys
Quoted 128 lines · Sam Nelson

- removed ti-prefix based on review

---
 recipes-bsp/rm-lld/rm-lld_git.bb |   49 ++++++++++++++++++++++++++++++++++++++
 recipes-bsp/rm-lld/ti-rm_git.bb  |   49 --------------------------------------
 2 files changed, 49 insertions(+), 49 deletions(-)
 create mode 100644 recipes-bsp/rm-lld/rm-lld_git.bb
 delete mode 100644 recipes-bsp/rm-lld/ti-rm_git.bb
recipes-bsp/rm-lld/rm-lld_git.bb new file +49 -0
new file mode 100644
index 0000000..276c01e
@@ -0,0 +1,49 @@
+DESCRIPTION = "TI Resource Manager Low Level Driver"
+LICENSE = "TI BSD"
+LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/rm/COPYING.txt;md5=dc61631b65360e6beb73b6c337800afc"
+
+BRANCH="master"
+SRC_URI = "git://git.ti.com/keystone-rtos/rm-lld.git;destsuffix=git/ti/drv/rm;protocol=git;branch=${BRANCH}"
+# Below commit ID corresponds to DEV.RM_LLD.02.01.00.04
+SRCREV = "59e3bf5fca3995dd0f79bbdd1af988d278a2a049"
+PR = "r0"
+PV = "02.01.00.04"
+
+COMPATIBLE_MACHINE = "keystone"
+
+DEPENDS = "ti-ipc"
+
+PACKAGES =+ "${PN}-test"
+
+FILES_${PN}-test = "${bindir}/rmDspClientTest_*.out \
+                    ${bindir}/rmLinuxClientTest_*.out \
+                    ${bindir}/ti/drv/rm/test/dts_files/*.dtb"
+
+DEVICELIST = "k2h k2k"
+
+CHOICELIST = "yes no"
+
+BASEDIR = "${WORKDIR}/git"
+S = "${BASEDIR}/ti/drv/rm"
+
+do_compile () {
+#   Now build the lld
+    make -f makefile_armv7 clean lib PDK_INSTALL_PATH=${STAGING_INCDIR} RM_SRC_DIR=${S}
+    for device in ${DEVICELIST}
+    do
+      for choice in ${CHOICELIST}
+      do
+        make -f makefile_armv7 tests IPC_DEVKIT_INSTALL_PATH=${STAGING_INCDIR} PDK_INSTALL_PATH=${BASEDIR} DEVICE="$device" USEDYNAMIC_LIB="$choice"
+      done
+    done
+}
+
+do_install () {
+    install -d ${D}${includedir}/ti/drv/rm
+    install -d ${D}${libdir}
+    install -d ${D}${bindir}
+    for device in ${DEVICELIST}
+    do
+      make -f makefile_armv7 install installbin installbin_test INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device"
+    done
+}
recipes-bsp/rm-lld/ti-rm_git.bb deleted +0 -49
deleted file mode 100644
index 276c01e..0000000
@@ -1,49 +0,0 @@
-DESCRIPTION = "TI Resource Manager Low Level Driver"
-LICENSE = "TI BSD"
-LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/rm/COPYING.txt;md5=dc61631b65360e6beb73b6c337800afc"
-
-BRANCH="master"
-SRC_URI = "git://git.ti.com/keystone-rtos/rm-lld.git;destsuffix=git/ti/drv/rm;protocol=git;branch=${BRANCH}"
-# Below commit ID corresponds to DEV.RM_LLD.02.01.00.04
-SRCREV = "59e3bf5fca3995dd0f79bbdd1af988d278a2a049"
-PR = "r0"
-PV = "02.01.00.04"
-
-COMPATIBLE_MACHINE = "keystone"
-
-DEPENDS = "ti-ipc"
-
-PACKAGES =+ "${PN}-test"
-
-FILES_${PN}-test = "${bindir}/rmDspClientTest_*.out \
-                    ${bindir}/rmLinuxClientTest_*.out \
-                    ${bindir}/ti/drv/rm/test/dts_files/*.dtb"
-
-DEVICELIST = "k2h k2k"
-
-CHOICELIST = "yes no"
-
-BASEDIR = "${WORKDIR}/git"
-S = "${BASEDIR}/ti/drv/rm"
-
-do_compile () {
-#   Now build the lld
-    make -f makefile_armv7 clean lib PDK_INSTALL_PATH=${STAGING_INCDIR} RM_SRC_DIR=${S}
-    for device in ${DEVICELIST}
-    do
-      for choice in ${CHOICELIST}
-      do
-        make -f makefile_armv7 tests IPC_DEVKIT_INSTALL_PATH=${STAGING_INCDIR} PDK_INSTALL_PATH=${BASEDIR} DEVICE="$device" USEDYNAMIC_LIB="$choice"
-      done
-    done
-}
-
-do_install () {
-    install -d ${D}${includedir}/ti/drv/rm
-    install -d ${D}${libdir}
-    install -d ${D}${bindir}
-    for device in ${DEVICELIST}
-    do
-      make -f makefile_armv7 install installbin installbin_test INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device"
-    done
-}
Signature · 7 lines
1.7.9.5

-- 
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
#5 lore raw
In reply to Sam Nelson
Quoted 1 line · Sam Nelson

-Moved recipe to meta-arago based on review comments

^^ from meta-arago?

Quoted 1 line

(from http://arago-project.org/git/?p=meta-arago.git;a=blob;f=meta-arago-extras/recipes-bsp/ti-rm/ti-rm_git.bb;h=38ec0ada5330977a5e19928e02060c9857b1f8d0;hb=HEAD)

Do you want the link above? It's not really necessary, but I can go either way.

Quoted 71 lines

- Provides resource manager low level driver

---
 recipes-bsp/rm-lld/ti-rm_git.bb |   49 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)
 create mode 100644 recipes-bsp/rm-lld/ti-rm_git.bb
recipes-bsp/rm-lld/ti-rm_git.bb new file +49 -0
new file mode 100644
index 0000000..276c01e
@@ -0,0 +1,49 @@
+DESCRIPTION = "TI Resource Manager Low Level Driver"
+LICENSE = "TI BSD"
+LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/rm/COPYING.txt;md5=dc61631b65360e6beb73b6c337800afc"
+
+BRANCH="master"
+SRC_URI = "git://git.ti.com/keystone-rtos/rm-lld.git;destsuffix=git/ti/drv/rm;protocol=git;branch=${BRANCH}"
+# Below commit ID corresponds to DEV.RM_LLD.02.01.00.04
+SRCREV = "59e3bf5fca3995dd0f79bbdd1af988d278a2a049"
+PR = "r0"
+PV = "02.01.00.04"
+
+COMPATIBLE_MACHINE = "keystone"
+
+DEPENDS = "ti-ipc"
+
+PACKAGES =+ "${PN}-test"
+
+FILES_${PN}-test = "${bindir}/rmDspClientTest_*.out \
+                    ${bindir}/rmLinuxClientTest_*.out \
+                    ${bindir}/ti/drv/rm/test/dts_files/*.dtb"
+
+DEVICELIST = "k2h k2k"
+
+CHOICELIST = "yes no"
+
+BASEDIR = "${WORKDIR}/git"
+S = "${BASEDIR}/ti/drv/rm"
+
+do_compile () {
+#   Now build the lld
+    make -f makefile_armv7 clean lib PDK_INSTALL_PATH=${STAGING_INCDIR} RM_SRC_DIR=${S}
+    for device in ${DEVICELIST}
+    do
+      for choice in ${CHOICELIST}
+      do
+        make -f makefile_armv7 tests IPC_DEVKIT_INSTALL_PATH=${STAGING_INCDIR} PDK_INSTALL_PATH=${BASEDIR} DEVICE="$device" USEDYNAMIC_LIB="$choice"
+      done
+    done
+}
+
+do_install () {
+    install -d ${D}${includedir}/ti/drv/rm
+    install -d ${D}${libdir}
+    install -d ${D}${bindir}
+    for device in ${DEVICELIST}
+    do
+      make -f makefile_armv7 install installbin installbin_test INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device"
+    done
+}
Signature · 7 lines
1.7.9.5

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

Re: [PATCH 3/3] rm-lld: Update to new version 2.1.0.6

In reply to Sam Nelson
Quoted 14 lines · Sam Nelson

- Add dependency on libdaemon
- Remove device dependency

---
 recipes-bsp/rm-lld/rm-lld_git.bb |   24 ++++++++----------------
 1 file changed, 8 insertions(+), 16 deletions(-)
recipes-bsp/rm-lld/rm-lld_git.bb +0 -0
index 276c01e..e3646cf 100644
@@ -4,14 +4,14 @@ LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/rm/COPYING.txt;md5=dc61631b6536
 

recipes-bsp/rm-lld/rm-lld_git.bb LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/rm/COPYING.txt;md5=dc61631b6536 · line 10

Quoted 10 lines
recipes-bsp/rm-lld/rm-lld_git.bb +4 -4
 BRANCH="master"
 SRC_URI = "git://git.ti.com/keystone-rtos/rm-lld.git;destsuffix=git/ti/drv/rm;protocol=git;branch=${BRANCH}"
-# Below commit ID corresponds to DEV.RM_LLD.02.01.00.04
-SRCREV = "59e3bf5fca3995dd0f79bbdd1af988d278a2a049"
-PR = "r0"
-PV = "02.01.00.04"
+# Below commit ID corresponds to DEV.RM_LLD.02.01.00.06
+SRCREV = "dc0dba4a6b0358efcb861d50b3dae21beb5281a8"
+PR = "r1"
+PV = "02.01.00.06"

A very minor nitpick - when you update PV, you usually reset PR.

Quoted 49 lines
recipes-bsp/rm-lld/rm-lld_git.bb +4 -12
 COMPATIBLE_MACHINE = "keystone"
 
-DEPENDS = "ti-ipc"
+DEPENDS = "ti-ipc libdaemon"
 
 PACKAGES =+ "${PN}-test"
 
@@ -19,8 +19,6 @@ FILES_${PN}-test = "${bindir}/rmDspClientTest_*.out \
                     ${bindir}/rmLinuxClientTest_*.out \
                     ${bindir}/ti/drv/rm/test/dts_files/*.dtb"
 
-DEVICELIST = "k2h k2k"
-
 CHOICELIST = "yes no"
 
 BASEDIR = "${WORKDIR}/git"
@@ -29,12 +27,9 @@ S = "${BASEDIR}/ti/drv/rm"
 do_compile () {
 #   Now build the lld
     make -f makefile_armv7 clean lib PDK_INSTALL_PATH=${STAGING_INCDIR} RM_SRC_DIR=${S}
-    for device in ${DEVICELIST}
+    for choice in ${CHOICELIST}
     do
-      for choice in ${CHOICELIST}
-      do
-        make -f makefile_armv7 tests IPC_DEVKIT_INSTALL_PATH=${STAGING_INCDIR} PDK_INSTALL_PATH=${BASEDIR} DEVICE="$device" USEDYNAMIC_LIB="$choice"
-      done
+      make -f makefile_armv7 tests IPC_DEVKIT_INSTALL_PATH=${STAGING_INCDIR} PDK_INSTALL_PATH=${BASEDIR} USEDYNAMIC_LIB="$choice"
     done
 }
 
@@ -42,8 +37,5 @@ do_install () {
     install -d ${D}${includedir}/ti/drv/rm
     install -d ${D}${libdir}
     install -d ${D}${bindir}
-    for device in ${DEVICELIST}
-    do
-      make -f makefile_armv7 install installbin installbin_test INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device"
-    done
+    make -f makefile_armv7 install installbin installbin_test INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} INSTALL_BIN_BASE_DIR=${D}${bindir}
 }
Signature · 7 lines
1.7.9.5

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