Skip to contentSkip to conversation

ti-ipc: Update to new version 3.50

PATCH Superseded Sam Nelson 3 participants 7 messages Aug 14, 2018 – Aug 16, 2018

v2 of 5 Superseded Latest is v5 →

lore
Share & tools
lore

Sam Nelson

author
#0 lore raw

PATCH v2 1/1 ti-ipc: Update to new version 3.50

Add AM65XX platform support

---
Change from previous version of patch
- Update gcc toolchain to gcc-linaro-baremetal-aarch64
NOTE: This patch depends on gcc-linaro-baremetal-aarch64-native patch to be checked in
---

---
 recipes-ti/ipc/ti-ipc-common.inc   |  3 ++-
 recipes-ti/ipc/ti-ipc-examples.inc |  2 +-
 recipes-ti/ipc/ti-ipc-rtos.inc     | 16 ++++++++++++----
 recipes-ti/ipc/ti-ipc-rtos_git.bb  |  8 ++++++++
 recipes-ti/ipc/ti-ipc.inc          |  6 +++---
 5 files changed, 26 insertions(+), 9 deletions(-)
recipes-ti/ipc/ti-ipc-common.inc +2 -1
index 7f93842..6aea8e6 100644
@@ -1,4 +1,4 @@
-PV = "3.47.02.00"
+PV = "3.50.01.00"
 INC_PR = "r0"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -13,6 +13,7 @@ PLATFORM_k2g = "66AK2G"
 PLATFORM_omapl138 = "OMAPL138"
 PLATFORM_c667x-evm = "C6678"
 PLATFORM_c665x-evm = "C6678"
+PLATFORM_am65xx-evm = "AM65XX"
 
 ALT_PLATFORM_k2hk = "TCI6636"
 ALT_PLATFORM_am57xx-evm = "AM572X AM571X"
recipes-ti/ipc/ti-ipc-examples.inc +1 -1
index cd2240c..022b13f 100644
@@ -3,7 +3,7 @@ require ti-ipc-common.inc
 require ti-ipc-rtos.inc
 
 LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://${S_ipc-examples}/src/makefile;beginline=1;endline=30;md5=fb83580b16bce88e8ed568a6005c8f02"
+LIC_FILES_CHKSUM = "file://${S_ipc-examples}/src/makefile;beginline=1;endline=30;md5=a52324bd5033bb49ea07bade1244ac9a"
 
 INSANE_SKIP_${PN} += "arch"
 
recipes-ti/ipc/ti-ipc-rtos.inc +12 -4
index 868743e..13b1914 100644
@@ -24,11 +24,11 @@ protocol=${TI_IPC_METADATA_GIT_PROTOCOL};\
 branch=${TI_IPC_METADATA_GIT_BRANCH};\
 name=${TI_IPC_METADATA_NAME}"
 
-# Corresponds to tag: 3.47.02.00
-SRCREV_ipc-metadata = "e8aff83111b8a0d64d7a77413b6f66d3106084d8"
+# Corresponds to tag: 3.50.01.00
+SRCREV_ipc-metadata = "19a8e70cf6ca4fe0984987e25d937c61a62c7658"
 
-# Corresponds to tag: 3.47.02.00
-SRCREV_ipc-examples = "351e9a6d94c68f7ff64b2c002ee6750242ece6d9"
+# Corresponds to tag: 3.50.01.00
+SRCREV_ipc-examples = "1975687076426b587be8d2530df56c24425ca53a"
 
 S_ipc-examples = "${WORKDIR}/git/ipc-examples"
 S_ipc-metadata = "${WORKDIR}/git/ipc-metadata"
@@ -50,6 +50,9 @@ DEPENDS_append_omapl138 = " ti-cgt6x-native \
 DEPENDS_append_c66x = " ti-cgt6x-native \
 "
 
+DEPENDS_append_am65xx-evm = " ti-cgt-arm-native \
+                              gcc-linaro-baremetal-aarch64-native"
+
 IPC_TARGETS = ""
 
 IPC_TARGETS_omap-a15 = "\
@@ -73,6 +76,11 @@ IPC_TARGETS_c66x = " \
     ti.targets.elf.C66_big_endian="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \
 "
 
+IPC_TARGETS_am65xx-evm = "\
+    gnu.targets.arm.A53F="${GCC_LINARO_BAREMETAL_AARCH64_TOOLCHAIN}" \
+    ti.targets.arm.elf.R5F="${M4_TOOLCHAIN_INSTALL_DIR}" \
+"
+
 EXTRA_OEMAKE = "\
     PLATFORM=${PLATFORM} \
     XDC_INSTALL_DIR="${XDC_INSTALL_DIR}" \
recipes-ti/ipc/ti-ipc-rtos_git.bb +8 -0
index b292d67..b70935a 100644
@@ -122,3 +122,11 @@ pkg_postinst_${PN}-fw_omapl138 () {
 pkg_postrm_${PN}-fw_omapl138 () {
   update-alternatives --remove rproc-dsp-fw ipc/ti_platforms_evmOMAPL138_DSP/messageq_single.xe674
 }
+
+pkg_postinst_${PN}-fw_am65xx-evm () {
+  update-alternatives --install /lib/firmware/rproc-r5f-fw rproc-r5f-fw ipc/ti_platforms_cortexR_AM65X/messageq_single.xer5f ${ALTERNATIVE_PRIORITY}
+}
+
+pkg_postrm_${PN}-fw_am65xx-evm () {
+  update-alternatives --remove rproc-r5f-fw ipc/ti_platforms_cortexR_AM65X/messageq_single.xe674
+}
recipes-ti/ipc/ti-ipc.inc +3 -3
index e8038a5..07321cb 100644
@@ -6,10 +6,10 @@ LIC_FILES_CHKSUM = "file://${S}/ipc-linux.mak;beginline=1;endline=30;md5=7b327f9
 
 TI_IPC_GIT_URI = "git://git.ti.com/ipc/ipcdev.git"
 TI_IPC_GIT_PROTOCOL = "git"
-TI_IPC_GIT_BRANCH = "3.47"
+TI_IPC_GIT_BRANCH = "3.50"
 
-#Corresponds to 3.47.02.00
-TI_IPC_SRCREV = "24c36385d096613af123d1e1696fb2fee652ef36"
+#Corresponds to 3.50.01.00
+TI_IPC_SRCREV = "f0d0edaf3ce7ed8d81d8969eaaa98cec8b662424"
 
 BRANCH = "${TI_IPC_GIT_BRANCH}"
 SRC_URI = "${TI_IPC_GIT_URI};protocol=${TI_IPC_GIT_PROTOCOL};branch=${BRANCH};name=ipcdev"
Signature · 1 line
1.9.1
#1 lore raw
Quoted 40 lines · Sam Nelson

Add AM65XX platform support

---
Change from previous version of patch
- Update gcc toolchain to gcc-linaro-baremetal-aarch64
NOTE: This patch depends on gcc-linaro-baremetal-aarch64-native patch to be checked in
---

---
 recipes-ti/ipc/ti-ipc-common.inc   |  3 ++-
 recipes-ti/ipc/ti-ipc-examples.inc |  2 +-
 recipes-ti/ipc/ti-ipc-rtos.inc     | 16 ++++++++++++----
 recipes-ti/ipc/ti-ipc-rtos_git.bb  |  8 ++++++++
 recipes-ti/ipc/ti-ipc.inc          |  6 +++---
 5 files changed, 26 insertions(+), 9 deletions(-)
recipes-ti/ipc/ti-ipc-common.inc +2 -1
index 7f93842..6aea8e6 100644
@@ -1,4 +1,4 @@
-PV = "3.47.02.00"
+PV = "3.50.01.00"
 INC_PR = "r0"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -13,6 +13,7 @@ PLATFORM_k2g = "66AK2G"
 PLATFORM_omapl138 = "OMAPL138"
 PLATFORM_c667x-evm = "C6678"
 PLATFORM_c665x-evm = "C6678"
+PLATFORM_am65xx-evm = "AM65XX"
 
 ALT_PLATFORM_k2hk = "TCI6636"
 ALT_PLATFORM_am57xx-evm = "AM572X AM571X"
recipes-ti/ipc/ti-ipc-examples.inc +0 -0
index cd2240c..022b13f 100644

recipes-ti/ipc/ti-ipc-examples.inc require ti-ipc-common.inc · line 6

Quoted 5 lines
recipes-ti/ipc/ti-ipc-examples.inc +1 -1
@@ -3,7 +3,7 @@ require ti-ipc-common.inc
 require ti-ipc-rtos.inc
 
 LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://${S_ipc-examples}/src/makefile;beginline=1;endline=30;md5=fb83580b16bce88e8ed568a6005c8f02"
+LIC_FILES_CHKSUM = "file://${S_ipc-examples}/src/makefile;beginline=1;endline=30;md5=a52324bd5033bb49ea07bade1244ac9a"

What is the change in the license?

Quoted 86 lines
recipes-ti/ipc/ti-ipc-examples.inc +0 -0
 INSANE_SKIP_${PN} += "arch"
 
recipes-ti/ipc/ti-ipc-rtos.inc +12 -4
index 868743e..13b1914 100644
@@ -24,11 +24,11 @@ protocol=${TI_IPC_METADATA_GIT_PROTOCOL};\
 branch=${TI_IPC_METADATA_GIT_BRANCH};\
 name=${TI_IPC_METADATA_NAME}"
 
-# Corresponds to tag: 3.47.02.00
-SRCREV_ipc-metadata = "e8aff83111b8a0d64d7a77413b6f66d3106084d8"
+# Corresponds to tag: 3.50.01.00
+SRCREV_ipc-metadata = "19a8e70cf6ca4fe0984987e25d937c61a62c7658"
 
-# Corresponds to tag: 3.47.02.00
-SRCREV_ipc-examples = "351e9a6d94c68f7ff64b2c002ee6750242ece6d9"
+# Corresponds to tag: 3.50.01.00
+SRCREV_ipc-examples = "1975687076426b587be8d2530df56c24425ca53a"
 
 S_ipc-examples = "${WORKDIR}/git/ipc-examples"
 S_ipc-metadata = "${WORKDIR}/git/ipc-metadata"
@@ -50,6 +50,9 @@ DEPENDS_append_omapl138 = " ti-cgt6x-native \
 DEPENDS_append_c66x = " ti-cgt6x-native \
 "
 
+DEPENDS_append_am65xx-evm = " ti-cgt-arm-native \
+                              gcc-linaro-baremetal-aarch64-native"
+
 IPC_TARGETS = ""
 
 IPC_TARGETS_omap-a15 = "\
@@ -73,6 +76,11 @@ IPC_TARGETS_c66x = " \
     ti.targets.elf.C66_big_endian="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \
 "
 
+IPC_TARGETS_am65xx-evm = "\
+    gnu.targets.arm.A53F="${GCC_LINARO_BAREMETAL_AARCH64_TOOLCHAIN}" \
+    ti.targets.arm.elf.R5F="${M4_TOOLCHAIN_INSTALL_DIR}" \
+"
+
 EXTRA_OEMAKE = "\
     PLATFORM=${PLATFORM} \
     XDC_INSTALL_DIR="${XDC_INSTALL_DIR}" \
recipes-ti/ipc/ti-ipc-rtos_git.bb +8 -0
index b292d67..b70935a 100644
@@ -122,3 +122,11 @@ pkg_postinst_${PN}-fw_omapl138 () {
 pkg_postrm_${PN}-fw_omapl138 () {
   update-alternatives --remove rproc-dsp-fw ipc/ti_platforms_evmOMAPL138_DSP/messageq_single.xe674
 }
+
+pkg_postinst_${PN}-fw_am65xx-evm () {
+  update-alternatives --install /lib/firmware/rproc-r5f-fw rproc-r5f-fw ipc/ti_platforms_cortexR_AM65X/messageq_single.xer5f ${ALTERNATIVE_PRIORITY}
+}
+
+pkg_postrm_${PN}-fw_am65xx-evm () {
+  update-alternatives --remove rproc-r5f-fw ipc/ti_platforms_cortexR_AM65X/messageq_single.xe674
+}
recipes-ti/ipc/ti-ipc.inc +3 -3
index e8038a5..07321cb 100644
@@ -6,10 +6,10 @@ LIC_FILES_CHKSUM = "file://${S}/ipc-linux.mak;beginline=1;endline=30;md5=7b327f9
 
 TI_IPC_GIT_URI = "git://git.ti.com/ipc/ipcdev.git"
 TI_IPC_GIT_PROTOCOL = "git"
-TI_IPC_GIT_BRANCH = "3.47"
+TI_IPC_GIT_BRANCH = "3.50"
 
-#Corresponds to 3.47.02.00
-TI_IPC_SRCREV = "24c36385d096613af123d1e1696fb2fee652ef36"
+#Corresponds to 3.50.01.00
+TI_IPC_SRCREV = "f0d0edaf3ce7ed8d81d8969eaaa98cec8b662424"
 
 BRANCH = "${TI_IPC_GIT_BRANCH}"
 SRC_URI = "${TI_IPC_GIT_URI};protocol=${TI_IPC_GIT_PROTOCOL};branch=${BRANCH};name=ipcdev"
Signature · 7 lines
1.9.1

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

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Wednesday, August 15, 2018 3:04 PM
To: Nelson, Sam
Cc: [email protected]
Subject: Re: [meta-ti] [rocko][PATCH v2] ti-ipc: Update to new version 3.50

Quoted 8 lines · Sam Nelson

Add AM65XX platform support

---
Change from previous version of patch
- Update gcc toolchain to gcc-linaro-baremetal-aarch64
NOTE: This patch depends on gcc-linaro-baremetal-aarch64-native patch to

be checked in

recipes-ti/ipc/ti-ipc-

Quoted 10 lines

---

---
 recipes-ti/ipc/ti-ipc-common.inc   |  3 ++-
 recipes-ti/ipc/ti-ipc-examples.inc |  2 +-
 recipes-ti/ipc/ti-ipc-rtos.inc     | 16 ++++++++++++----
 recipes-ti/ipc/ti-ipc-rtos_git.bb  |  8 ++++++++
 recipes-ti/ipc/ti-ipc.inc          |  6 +++---
 5 files changed, 26 insertions(+), 9 deletions(-)
recipes-ti/ipc/ti-ipc- renamed from recipes-ti/ipc/ti-ipc-common.inc +0 -0

common.inc

recipes-ti/ipc/ti-ipc-

Quoted 18 lines

index 7f93842..6aea8e6 100644

recipes-ti/ipc/ti-ipc-common.inc +2 -1
@@ -1,4 +1,4 @@
-PV = "3.47.02.00"
+PV = "3.50.01.00"
 INC_PR = "r0"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -13,6 +13,7 @@ PLATFORM_k2g = "66AK2G"
 PLATFORM_omapl138 = "OMAPL138"
 PLATFORM_c667x-evm = "C6678"
 PLATFORM_c665x-evm = "C6678"
+PLATFORM_am65xx-evm = "AM65XX"
 
 ALT_PLATFORM_k2hk = "TCI6636"
 ALT_PLATFORM_am57xx-evm = "AM572X AM571X"
recipes-ti/ipc/ti-ipc- renamed from recipes-ti/ipc/ti-ipc-examples.inc +0 -0

examples.inc

recipes-ti/ipc/ti-ipc-examples.inc require ti-ipc-common.inc · line 6

Quoted 8 lines

index cd2240c..022b13f 100644

recipes-ti/ipc/ti-ipc-examples.inc +0 -1
@@ -3,7 +3,7 @@ require ti-ipc-common.inc
 require ti-ipc-rtos.inc
 
 LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://${S_ipc-

examples}/src/makefile;beginline=1;endline=30;md5=fb83580b16bce88e8ed 568a6005c8f02"

Quoted 5 lines

recipes-ti/ipc/ti-ipc-examples.inc require ti-ipc-common.inc · line 6

Quoted 1 line
recipes-ti/ipc/ti-ipc-examples.inc +1 -0
+LIC_FILES_CHKSUM = "file://${S_ipc-

examples}/src/makefile;beginline=1;endline=30;md5=a52324bd5033bb49ea0 7bade1244ac9a"

What is the change in the license?

Just the year update to -2018.

Quoted 100 lines
Quoted 11 lines
recipes-ti/ipc/ti-ipc-examples.inc +0 -0
 INSANE_SKIP_${PN} += "arch"
 
recipes-ti/ipc/ti-ipc-rtos.inc +0 -0
index 868743e..13b1914 100644
@@ -24,11 +24,11 @@ protocol=${TI_IPC_METADATA_GIT_PROTOCOL};\
 branch=${TI_IPC_METADATA_GIT_BRANCH};\
 name=${TI_IPC_METADATA_NAME}"

recipes-ti/ipc/ti-ipc-rtos.inc protocol=${TI_IPC_METADATA_GIT_PROTOCOL};\ · line 31

Quoted 10 lines
recipes-ti/ipc/ti-ipc-rtos.inc +4 -4
 
-# Corresponds to tag: 3.47.02.00
-SRCREV_ipc-metadata = "e8aff83111b8a0d64d7a77413b6f66d3106084d8"
+# Corresponds to tag: 3.50.01.00
+SRCREV_ipc-metadata = "19a8e70cf6ca4fe0984987e25d937c61a62c7658"
 
-# Corresponds to tag: 3.47.02.00
-SRCREV_ipc-examples = "351e9a6d94c68f7ff64b2c002ee6750242ece6d9"
+# Corresponds to tag: 3.50.01.00
+SRCREV_ipc-examples =

"1975687076426b587be8d2530df56c24425ca53a"

Quoted 14 lines
recipes-ti/ipc/ti-ipc-rtos.inc +3 -0
 S_ipc-examples = "${WORKDIR}/git/ipc-examples"
 S_ipc-metadata = "${WORKDIR}/git/ipc-metadata"
@@ -50,6 +50,9 @@ DEPENDS_append_omapl138 = " ti-cgt6x-native \
 DEPENDS_append_c66x = " ti-cgt6x-native \
 "
 
+DEPENDS_append_am65xx-evm = " ti-cgt-arm-native \
+                              gcc-linaro-baremetal-aarch64-native"
+
 IPC_TARGETS = ""
 
 IPC_TARGETS_omap-a15 = "\

recipes-ti/ipc/ti-ipc-rtos.inc IPC_TARGETS_c66x = " \ · line 76

Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos.inc +0 -0
@@ -73,6 +76,11 @@ IPC_TARGETS_c66x = " \
 

ti.targets.elf.C66_big_endian="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \

recipes-ti/ipc/ti-ipc-rtos.inc IPC_TARGETS_c66x = " \ · line 83

Quoted 4 lines
recipes-ti/ipc/ti-ipc-rtos.inc +2 -0
 "
 
+IPC_TARGETS_am65xx-evm = "\
+

gnu.targets.arm.A53F="${GCC_LINARO_BAREMETAL_AARCH64_TOOLCHAIN} " \

recipes-ti/ipc/ti-ipc-rtos_git.bb pkg_postinst_${PN}-fw_omapl138 () { · line 123

Quoted 13 lines
recipes-ti/ipc/ti-ipc-rtos.inc +3 -0
+    ti.targets.arm.elf.R5F="${M4_TOOLCHAIN_INSTALL_DIR}" \
+"
+
 EXTRA_OEMAKE = "\
     PLATFORM=${PLATFORM} \
     XDC_INSTALL_DIR="${XDC_INSTALL_DIR}" \
recipes-ti/ipc/ti-ipc-rtos_git.bb +0 -0
index b292d67..b70935a 100644
@@ -122,3 +122,11 @@ pkg_postinst_${PN}-fw_omapl138 () {
 pkg_postrm_${PN}-fw_omapl138 () {
   update-alternatives --remove rproc-dsp-fw

ipc/ti_platforms_evmOMAPL138_DSP/messageq_single.xe674

recipes-ti/ipc/ti-ipc-rtos_git.bb pkg_postinst_${PN}-fw_omapl138 () {

Quoted 4 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +3 -0
 }
+
+pkg_postinst_${PN}-fw_am65xx-evm () {
+  update-alternatives --install /lib/firmware/rproc-r5f-fw rproc-r5f-fw

ipc/ti_platforms_cortexR_AM65X/messageq_single.xer5f ${ALTERNATIVE_PRIORITY}

recipes-ti/ipc/ti-ipc-rtos_git.bb pkg_postinst_${PN}-fw_omapl138 () {

Quoted 4 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +4 -0
+}
+
+pkg_postrm_${PN}-fw_am65xx-evm () {
+  update-alternatives --remove rproc-r5f-fw

ipc/ti_platforms_cortexR_AM65X/messageq_single.xe674

recipes-ti/ipc/ti-ipc.inc LIC_FILES_CHKSUM = "file://${S}/ipc-

Quoted 6 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +1 -0
+}
recipes-ti/ipc/ti-ipc.inc +0 -0
index e8038a5..07321cb 100644
@@ -6,10 +6,10 @@ LIC_FILES_CHKSUM = "file://${S}/ipc-

linux.mak;beginline=1;endline=30;md5=7b327f9

recipes-ti/ipc/ti-ipc.inc LIC_FILES_CHKSUM = "file://${S}/ipc-linux.mak;beginline=1;endline=30;md5=7b327f9

Quoted 13 lines
recipes-ti/ipc/ti-ipc.inc +3 -3
 TI_IPC_GIT_URI = "git://git.ti.com/ipc/ipcdev.git"
 TI_IPC_GIT_PROTOCOL = "git"
-TI_IPC_GIT_BRANCH = "3.47"
+TI_IPC_GIT_BRANCH = "3.50"
 
-#Corresponds to 3.47.02.00
-TI_IPC_SRCREV = "24c36385d096613af123d1e1696fb2fee652ef36"
+#Corresponds to 3.50.01.00
+TI_IPC_SRCREV = "f0d0edaf3ce7ed8d81d8969eaaa98cec8b662424"
 
 BRANCH = "${TI_IPC_GIT_BRANCH}"
 SRC_URI =

"${TI_IPC_GIT_URI};protocol=${TI_IPC_GIT_PROTOCOL};branch=${BRANCH};n ame=ipcdev"

Quoted 8 lines
recipes-ti/ipc/ti-ipc.inc +0 -1
--

1.9.1

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

#3 lore raw
In reply to Sam Nelson

+Suman,

Quoted 132 lines · Sam Nelson

Add AM65XX platform support

---
Change from previous version of patch
- Update gcc toolchain to gcc-linaro-baremetal-aarch64
NOTE: This patch depends on gcc-linaro-baremetal-aarch64-native patch to be checked in
---

---
 recipes-ti/ipc/ti-ipc-common.inc   |  3 ++-
 recipes-ti/ipc/ti-ipc-examples.inc |  2 +-
 recipes-ti/ipc/ti-ipc-rtos.inc     | 16 ++++++++++++----
 recipes-ti/ipc/ti-ipc-rtos_git.bb  |  8 ++++++++
 recipes-ti/ipc/ti-ipc.inc          |  6 +++---
 5 files changed, 26 insertions(+), 9 deletions(-)
recipes-ti/ipc/ti-ipc-common.inc +2 -1
index 7f93842..6aea8e6 100644
@@ -1,4 +1,4 @@
-PV = "3.47.02.00"
+PV = "3.50.01.00"
 INC_PR = "r0"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -13,6 +13,7 @@ PLATFORM_k2g = "66AK2G"
 PLATFORM_omapl138 = "OMAPL138"
 PLATFORM_c667x-evm = "C6678"
 PLATFORM_c665x-evm = "C6678"
+PLATFORM_am65xx-evm = "AM65XX"
 
 ALT_PLATFORM_k2hk = "TCI6636"
 ALT_PLATFORM_am57xx-evm = "AM572X AM571X"
recipes-ti/ipc/ti-ipc-examples.inc +1 -1
index cd2240c..022b13f 100644
@@ -3,7 +3,7 @@ require ti-ipc-common.inc
 require ti-ipc-rtos.inc
 
 LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://${S_ipc-examples}/src/makefile;beginline=1;endline=30;md5=fb83580b16bce88e8ed568a6005c8f02"
+LIC_FILES_CHKSUM = "file://${S_ipc-examples}/src/makefile;beginline=1;endline=30;md5=a52324bd5033bb49ea07bade1244ac9a"
 
 INSANE_SKIP_${PN} += "arch"
 
recipes-ti/ipc/ti-ipc-rtos.inc +12 -4
index 868743e..13b1914 100644
@@ -24,11 +24,11 @@ protocol=${TI_IPC_METADATA_GIT_PROTOCOL};\
 branch=${TI_IPC_METADATA_GIT_BRANCH};\
 name=${TI_IPC_METADATA_NAME}"
 
-# Corresponds to tag: 3.47.02.00
-SRCREV_ipc-metadata = "e8aff83111b8a0d64d7a77413b6f66d3106084d8"
+# Corresponds to tag: 3.50.01.00
+SRCREV_ipc-metadata = "19a8e70cf6ca4fe0984987e25d937c61a62c7658"
 
-# Corresponds to tag: 3.47.02.00
-SRCREV_ipc-examples = "351e9a6d94c68f7ff64b2c002ee6750242ece6d9"
+# Corresponds to tag: 3.50.01.00
+SRCREV_ipc-examples = "1975687076426b587be8d2530df56c24425ca53a"
 
 S_ipc-examples = "${WORKDIR}/git/ipc-examples"
 S_ipc-metadata = "${WORKDIR}/git/ipc-metadata"
@@ -50,6 +50,9 @@ DEPENDS_append_omapl138 = " ti-cgt6x-native \
 DEPENDS_append_c66x = " ti-cgt6x-native \
 "
 
+DEPENDS_append_am65xx-evm = " ti-cgt-arm-native \
+                              gcc-linaro-baremetal-aarch64-native"
+
 IPC_TARGETS = ""
 
 IPC_TARGETS_omap-a15 = "\
@@ -73,6 +76,11 @@ IPC_TARGETS_c66x = " \
     ti.targets.elf.C66_big_endian="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \
 "
 
+IPC_TARGETS_am65xx-evm = "\
+    gnu.targets.arm.A53F="${GCC_LINARO_BAREMETAL_AARCH64_TOOLCHAIN}" \
+    ti.targets.arm.elf.R5F="${M4_TOOLCHAIN_INSTALL_DIR}" \
+"
+
 EXTRA_OEMAKE = "\
     PLATFORM=${PLATFORM} \
     XDC_INSTALL_DIR="${XDC_INSTALL_DIR}" \
recipes-ti/ipc/ti-ipc-rtos_git.bb +8 -0
index b292d67..b70935a 100644
@@ -122,3 +122,11 @@ pkg_postinst_${PN}-fw_omapl138 () {
 pkg_postrm_${PN}-fw_omapl138 () {
   update-alternatives --remove rproc-dsp-fw ipc/ti_platforms_evmOMAPL138_DSP/messageq_single.xe674
 }
+
+pkg_postinst_${PN}-fw_am65xx-evm () {
+  update-alternatives --install /lib/firmware/rproc-r5f-fw rproc-r5f-fw ipc/ti_platforms_cortexR_AM65X/messageq_single.xer5f ${ALTERNATIVE_PRIORITY}
+}
+
+pkg_postrm_${PN}-fw_am65xx-evm () {
+  update-alternatives --remove rproc-r5f-fw ipc/ti_platforms_cortexR_AM65X/messageq_single.xe674
+}
recipes-ti/ipc/ti-ipc.inc +3 -3
index e8038a5..07321cb 100644
@@ -6,10 +6,10 @@ LIC_FILES_CHKSUM = "file://${S}/ipc-linux.mak;beginline=1;endline=30;md5=7b327f9
 
 TI_IPC_GIT_URI = "git://git.ti.com/ipc/ipcdev.git"
 TI_IPC_GIT_PROTOCOL = "git"
-TI_IPC_GIT_BRANCH = "3.47"
+TI_IPC_GIT_BRANCH = "3.50"
 
-#Corresponds to 3.47.02.00
-TI_IPC_SRCREV = "24c36385d096613af123d1e1696fb2fee652ef36"
+#Corresponds to 3.50.01.00
+TI_IPC_SRCREV = "f0d0edaf3ce7ed8d81d8969eaaa98cec8b662424"
 
 BRANCH = "${TI_IPC_GIT_BRANCH}"
 SRC_URI = "${TI_IPC_GIT_URI};protocol=${TI_IPC_GIT_PROTOCOL};branch=${BRANCH};name=ipcdev"
Signature · 7 lines
1.9.1

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

Hi Sam,

Quoted 96 lines · Denys Dmytriyenko

+Suman,

Quoted 93 lines · Sam Nelson

Add AM65XX platform support

---
Change from previous version of patch
- Update gcc toolchain to gcc-linaro-baremetal-aarch64
NOTE: This patch depends on gcc-linaro-baremetal-aarch64-native patch to be checked in
---

---
 recipes-ti/ipc/ti-ipc-common.inc   |  3 ++-
 recipes-ti/ipc/ti-ipc-examples.inc |  2 +-
 recipes-ti/ipc/ti-ipc-rtos.inc     | 16 ++++++++++++----
 recipes-ti/ipc/ti-ipc-rtos_git.bb  |  8 ++++++++
 recipes-ti/ipc/ti-ipc.inc          |  6 +++---
 5 files changed, 26 insertions(+), 9 deletions(-)
recipes-ti/ipc/ti-ipc-common.inc +2 -1
index 7f93842..6aea8e6 100644
@@ -1,4 +1,4 @@
-PV = "3.47.02.00"
+PV = "3.50.01.00"
 INC_PR = "r0"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -13,6 +13,7 @@ PLATFORM_k2g = "66AK2G"
 PLATFORM_omapl138 = "OMAPL138"
 PLATFORM_c667x-evm = "C6678"
 PLATFORM_c665x-evm = "C6678"
+PLATFORM_am65xx-evm = "AM65XX"
 
 ALT_PLATFORM_k2hk = "TCI6636"
 ALT_PLATFORM_am57xx-evm = "AM572X AM571X"
recipes-ti/ipc/ti-ipc-examples.inc +1 -1
index cd2240c..022b13f 100644
@@ -3,7 +3,7 @@ require ti-ipc-common.inc
 require ti-ipc-rtos.inc
 
 LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://${S_ipc-examples}/src/makefile;beginline=1;endline=30;md5=fb83580b16bce88e8ed568a6005c8f02"
+LIC_FILES_CHKSUM = "file://${S_ipc-examples}/src/makefile;beginline=1;endline=30;md5=a52324bd5033bb49ea07bade1244ac9a"
 
 INSANE_SKIP_${PN} += "arch"
 
recipes-ti/ipc/ti-ipc-rtos.inc +12 -4
index 868743e..13b1914 100644
@@ -24,11 +24,11 @@ protocol=${TI_IPC_METADATA_GIT_PROTOCOL};\
 branch=${TI_IPC_METADATA_GIT_BRANCH};\
 name=${TI_IPC_METADATA_NAME}"
 
-# Corresponds to tag: 3.47.02.00
-SRCREV_ipc-metadata = "e8aff83111b8a0d64d7a77413b6f66d3106084d8"
+# Corresponds to tag: 3.50.01.00
+SRCREV_ipc-metadata = "19a8e70cf6ca4fe0984987e25d937c61a62c7658"
 
-# Corresponds to tag: 3.47.02.00
-SRCREV_ipc-examples = "351e9a6d94c68f7ff64b2c002ee6750242ece6d9"
+# Corresponds to tag: 3.50.01.00
+SRCREV_ipc-examples = "1975687076426b587be8d2530df56c24425ca53a"
 
 S_ipc-examples = "${WORKDIR}/git/ipc-examples"
 S_ipc-metadata = "${WORKDIR}/git/ipc-metadata"
@@ -50,6 +50,9 @@ DEPENDS_append_omapl138 = " ti-cgt6x-native \
 DEPENDS_append_c66x = " ti-cgt6x-native \
 "
 
+DEPENDS_append_am65xx-evm = " ti-cgt-arm-native \
+                              gcc-linaro-baremetal-aarch64-native"
+
 IPC_TARGETS = ""
 
 IPC_TARGETS_omap-a15 = "\
@@ -73,6 +76,11 @@ IPC_TARGETS_c66x = " \
     ti.targets.elf.C66_big_endian="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \
 "
 
+IPC_TARGETS_am65xx-evm = "\
+    gnu.targets.arm.A53F="${GCC_LINARO_BAREMETAL_AARCH64_TOOLCHAIN}" \
+    ti.targets.arm.elf.R5F="${M4_TOOLCHAIN_INSTALL_DIR}" \
+"
+
 EXTRA_OEMAKE = "\
     PLATFORM=${PLATFORM} \
     XDC_INSTALL_DIR="${XDC_INSTALL_DIR}" \
recipes-ti/ipc/ti-ipc-rtos_git.bb +0 -1
index b292d67..b70935a 100644
--- a/recipes-ti/ipc/ti-ipc-rtos_git.bb
Quoted 8 lines

recipes-ti/ipc/ti-ipc-rtos_git.bb pkg_postinst_${PN}-fw_omapl138 () { · line 127

Quoted 8 lines

+++ b/recipes-ti/ipc/ti-ipc-rtos_git.bb

recipes-ti/ipc/ti-ipc-rtos_git.bb +3 -0
@@ -122,3 +122,11 @@ pkg_postinst_${PN}-fw_omapl138 () {
 pkg_postrm_${PN}-fw_omapl138 () {
   update-alternatives --remove rproc-dsp-fw ipc/ti_platforms_evmOMAPL138_DSP/messageq_single.xe674
 }
+
+pkg_postinst_${PN}-fw_am65xx-evm () {
+  update-alternatives --install /lib/firmware/rproc-r5f-fw rproc-r5f-fw ipc/ti_platforms_cortexR_AM65X/messageq_single.xer5f ${ALTERNATIVE_PRIORITY}

Not sure where you got the rproc-r5f-fw name from, but this is definitely not the name that I am using in the driver. This is what I will be using for the two R5F cores: am65x-mcu-r5f0-fw and am65x-mcu-r5f1-fw. And the Core0 image name is the one we will use in LockStep mode as well.

I am open to suggestions if we want to rename it something else, but I have been following the convention that I have been using so far on other SoCs.

regards
Suman

Quoted 31 lines
Quoted 31 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +5 -0
+}
+
+pkg_postrm_${PN}-fw_am65xx-evm () {
+  update-alternatives --remove rproc-r5f-fw ipc/ti_platforms_cortexR_AM65X/messageq_single.xe674
+}
recipes-ti/ipc/ti-ipc.inc +3 -3
index e8038a5..07321cb 100644
@@ -6,10 +6,10 @@ LIC_FILES_CHKSUM = "file://${S}/ipc-linux.mak;beginline=1;endline=30;md5=7b327f9
 
 TI_IPC_GIT_URI = "git://git.ti.com/ipc/ipcdev.git"
 TI_IPC_GIT_PROTOCOL = "git"
-TI_IPC_GIT_BRANCH = "3.47"
+TI_IPC_GIT_BRANCH = "3.50"
 
-#Corresponds to 3.47.02.00
-TI_IPC_SRCREV = "24c36385d096613af123d1e1696fb2fee652ef36"
+#Corresponds to 3.50.01.00
+TI_IPC_SRCREV = "f0d0edaf3ce7ed8d81d8969eaaa98cec8b662424"
 
 BRANCH = "${TI_IPC_GIT_BRANCH}"
 SRC_URI = "${TI_IPC_GIT_URI};protocol=${TI_IPC_GIT_PROTOCOL};branch=${BRANCH};name=ipcdev"
Signature · 7 lines
1.9.1

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

-----Original Message-----
From: Anna, Suman
Sent: Thursday, August 16, 2018 12:40 PM
To: Dmytriyenko, Denys; Nelson, Sam
Cc: [email protected]
Subject: Re: [meta-ti] [rocko][PATCH v2] ti-ipc: Update to new version 3.50

Hi Sam,

Quoted 11 lines · Denys Dmytriyenko

+Suman,

Quoted 8 lines · Sam Nelson

Add AM65XX platform support

---
Change from previous version of patch
- Update gcc toolchain to gcc-linaro-baremetal-aarch64
NOTE: This patch depends on gcc-linaro-baremetal-aarch64-native patch to

be checked in

Quoted 10 lines

recipes-ti/ipc/ti-ipc-

Quoted 10 lines

---

---
 recipes-ti/ipc/ti-ipc-common.inc   |  3 ++-
 recipes-ti/ipc/ti-ipc-examples.inc |  2 +-
 recipes-ti/ipc/ti-ipc-rtos.inc     | 16 ++++++++++++----
 recipes-ti/ipc/ti-ipc-rtos_git.bb  |  8 ++++++++
 recipes-ti/ipc/ti-ipc.inc          |  6 +++---
 5 files changed, 26 insertions(+), 9 deletions(-)
recipes-ti/ipc/ti-ipc- renamed from recipes-ti/ipc/ti-ipc-common.inc +0 -0

common.inc

Quoted 15 lines
Quoted 15 lines

index 7f93842..6aea8e6 100644

recipes-ti/ipc/ti-ipc-common.inc +2 -1
@@ -1,4 +1,4 @@
-PV = "3.47.02.00"
+PV = "3.50.01.00"
 INC_PR = "r0"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -13,6 +13,7 @@ PLATFORM_k2g = "66AK2G"
 PLATFORM_omapl138 = "OMAPL138"
 PLATFORM_c667x-evm = "C6678"
 PLATFORM_c665x-evm = "C6678"
+PLATFORM_am65xx-evm = "AM65XX"
 
Quoted 3 lines

recipes-ti/ipc/ti-ipc-

Quoted 3 lines
recipes-ti/ipc/ti-ipc-common.inc +0 -0
 ALT_PLATFORM_k2hk = "TCI6636"
 ALT_PLATFORM_am57xx-evm = "AM572X AM571X"
recipes-ti/ipc/ti-ipc- renamed from recipes-ti/ipc/ti-ipc-examples.inc +0 -0

examples.inc

Quoted 8 lines

recipes-ti/ipc/ti-ipc-examples.inc require ti-ipc-common.inc · line 6

Quoted 8 lines

index cd2240c..022b13f 100644

recipes-ti/ipc/ti-ipc-examples.inc +0 -1
@@ -3,7 +3,7 @@ require ti-ipc-common.inc
 require ti-ipc-rtos.inc
 
 LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://${S_ipc-

examples}/src/makefile;beginline=1;endline=30;md5=fb83580b16bce88e8ed 568a6005c8f02"

Quoted 1 line

recipes-ti/ipc/ti-ipc-examples.inc require ti-ipc-common.inc · line 6

Quoted 1 line
recipes-ti/ipc/ti-ipc-examples.inc +1 -0
+LIC_FILES_CHKSUM = "file://${S_ipc-

examples}/src/makefile;beginline=1;endline=30;md5=a52324bd5033bb49ea0 7bade1244ac9a"

Quoted 11 lines
Quoted 11 lines
recipes-ti/ipc/ti-ipc-examples.inc +0 -0
 INSANE_SKIP_${PN} += "arch"
 
recipes-ti/ipc/ti-ipc-rtos.inc +0 -0
index 868743e..13b1914 100644
@@ -24,11 +24,11 @@ protocol=${TI_IPC_METADATA_GIT_PROTOCOL};\
 branch=${TI_IPC_METADATA_GIT_BRANCH};\
 name=${TI_IPC_METADATA_NAME}"
 
Quoted 2 lines

recipes-ti/ipc/ti-ipc-rtos.inc protocol=${TI_IPC_METADATA_GIT_PROTOCOL};\ · line 28

Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos.inc +0 -2
-# Corresponds to tag: 3.47.02.00
-SRCREV_ipc-metadata =

"e8aff83111b8a0d64d7a77413b6f66d3106084d8"

Quoted 2 lines

recipes-ti/ipc/ti-ipc-rtos.inc protocol=${TI_IPC_METADATA_GIT_PROTOCOL};\ · line 28

Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos.inc +2 -0
+# Corresponds to tag: 3.50.01.00
+SRCREV_ipc-metadata =

"19a8e70cf6ca4fe0984987e25d937c61a62c7658"

Quoted 3 lines

recipes-ti/ipc/ti-ipc-rtos.inc protocol=${TI_IPC_METADATA_GIT_PROTOCOL};\ · line 30

Quoted 3 lines
recipes-ti/ipc/ti-ipc-rtos.inc +0 -2
-# Corresponds to tag: 3.47.02.00
-SRCREV_ipc-examples =

"351e9a6d94c68f7ff64b2c002ee6750242ece6d9"

Quoted 2 lines

recipes-ti/ipc/ti-ipc-rtos.inc protocol=${TI_IPC_METADATA_GIT_PROTOCOL};\ · line 30

Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos.inc +2 -0
+# Corresponds to tag: 3.50.01.00
+SRCREV_ipc-examples =

"1975687076426b587be8d2530df56c24425ca53a"

Quoted 7 lines
Quoted 7 lines
recipes-ti/ipc/ti-ipc-rtos.inc +0 -0
 S_ipc-examples = "${WORKDIR}/git/ipc-examples"
 S_ipc-metadata = "${WORKDIR}/git/ipc-metadata"
@@ -50,6 +50,9 @@ DEPENDS_append_omapl138 = " ti-cgt6x-native \
 DEPENDS_append_c66x = " ti-cgt6x-native \
 "
 
Quoted 8 lines

recipes-ti/ipc/ti-ipc-rtos.inc IPC_TARGETS_c66x = " \ · line 76

Quoted 8 lines
recipes-ti/ipc/ti-ipc-rtos.inc +3 -0
+DEPENDS_append_am65xx-evm = " ti-cgt-arm-native \
+                              gcc-linaro-baremetal-aarch64-native"
+
 IPC_TARGETS = ""
 
 IPC_TARGETS_omap-a15 = "\
@@ -73,6 +76,11 @@ IPC_TARGETS_c66x = " \
 

ti.targets.elf.C66_big_endian="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \

Quoted 4 lines

recipes-ti/ipc/ti-ipc-rtos.inc IPC_TARGETS_c66x = " \ · line 83

Quoted 4 lines
recipes-ti/ipc/ti-ipc-rtos.inc +2 -0
 "
 
+IPC_TARGETS_am65xx-evm = "\
+

gnu.targets.arm.A53F="${GCC_LINARO_BAREMETAL_AARCH64_TOOLCHAIN} " \

Quoted 7 lines

recipes-ti/ipc/ti-ipc-

Quoted 7 lines
recipes-ti/ipc/ti-ipc-rtos.inc +3 -0
+    ti.targets.arm.elf.R5F="${M4_TOOLCHAIN_INSTALL_DIR}" \
+"
+
 EXTRA_OEMAKE = "\
     PLATFORM=${PLATFORM} \
     XDC_INSTALL_DIR="${XDC_INSTALL_DIR}" \
recipes-ti/ipc/ti-ipc- renamed from recipes-ti/ipc/ti-ipc-rtos_git.bb +0 -0

rtos_git.bb

Quoted 6 lines

recipes-ti/ipc/ti-ipc-rtos_git.bb pkg_postinst_${PN}-fw_omapl138 () { · line 123

Quoted 6 lines

index b292d67..b70935a 100644

recipes-ti/ipc/ti-ipc-rtos_git.bb +0 -0
@@ -122,3 +122,11 @@ pkg_postinst_${PN}-fw_omapl138 () {
 pkg_postrm_${PN}-fw_omapl138 () {
   update-alternatives --remove rproc-dsp-fw

ipc/ti_platforms_evmOMAPL138_DSP/messageq_single.xe674

Quoted 4 lines

recipes-ti/ipc/ti-ipc-rtos_git.bb pkg_postinst_${PN}-fw_omapl138 () {

Quoted 4 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +3 -0
 }
+
+pkg_postinst_${PN}-fw_am65xx-evm () {
+  update-alternatives --install /lib/firmware/rproc-r5f-fw rproc-r5f-fw

ipc/ti_platforms_cortexR_AM65X/messageq_single.xer5f ${ALTERNATIVE_PRIORITY}

Quoted 5 lines

Not sure where you got the rproc-r5f-fw name from, but this is definitely not the name that I am using in the driver. This is what I will be using for the two R5F cores: am65x-mcu-r5f0-fw and am65x-mcu-r5f1-fw. And the Core0 image name is the one we will use in LockStep mode as well.

I am fine with this. I can update with new patch.

Quoted 43 lines

I am open to suggestions if we want to rename it something else, but I have been following the convention that I have been using so far on other SoCs.

regards
Suman

Quoted 4 lines

recipes-ti/ipc/ti-ipc-rtos_git.bb pkg_postinst_${PN}-fw_omapl138 () {

Quoted 4 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +4 -0
+}
+
+pkg_postrm_${PN}-fw_am65xx-evm () {
+  update-alternatives --remove rproc-r5f-fw

ipc/ti_platforms_cortexR_AM65X/messageq_single.xe674

Quoted 6 lines

recipes-ti/ipc/ti-ipc.inc LIC_FILES_CHKSUM = "file://${S}/ipc-

Quoted 6 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +1 -0
+}
recipes-ti/ipc/ti-ipc.inc +0 -0
index e8038a5..07321cb 100644
@@ -6,10 +6,10 @@ LIC_FILES_CHKSUM = "file://${S}/ipc-

linux.mak;beginline=1;endline=30;md5=7b327f9

Quoted 6 lines
Quoted 6 lines
recipes-ti/ipc/ti-ipc.inc +1 -1
 TI_IPC_GIT_URI = "git://git.ti.com/ipc/ipcdev.git"
 TI_IPC_GIT_PROTOCOL = "git"
-TI_IPC_GIT_BRANCH = "3.47"
+TI_IPC_GIT_BRANCH = "3.50"
 
Quoted 7 lines

recipes-ti/ipc/ti-ipc.inc LIC_FILES_CHKSUM = "file://${S}/ipc-linux.mak;beginline=1;endline=30;md5=7b327f9

Quoted 7 lines
recipes-ti/ipc/ti-ipc.inc +2 -2
-#Corresponds to 3.47.02.00
-TI_IPC_SRCREV = "24c36385d096613af123d1e1696fb2fee652ef36"
+#Corresponds to 3.50.01.00
+TI_IPC_SRCREV = "f0d0edaf3ce7ed8d81d8969eaaa98cec8b662424"
 
 BRANCH = "${TI_IPC_GIT_BRANCH}"
 SRC_URI =

"${TI_IPC_GIT_URI};protocol=${TI_IPC_GIT_PROTOCOL};branch=${BRANCH};n ame=ipcdev"

Quoted 8 lines
Quoted 8 lines
recipes-ti/ipc/ti-ipc.inc +0 -1
--

1.9.1

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

#6 lore raw
Quoted 136 lines · Sam
Quoted 136 lines

-----Original Message-----
From: Anna, Suman
Sent: Thursday, August 16, 2018 12:40 PM
To: Dmytriyenko, Denys; Nelson, Sam
Cc: [email protected]
Subject: Re: [meta-ti] [rocko][PATCH v2] ti-ipc: Update to new version 3.50

Hi Sam,

Quoted 11 lines · Denys Dmytriyenko

+Suman,

Quoted 8 lines · Sam Nelson

Add AM65XX platform support

---
Change from previous version of patch
- Update gcc toolchain to gcc-linaro-baremetal-aarch64
NOTE: This patch depends on gcc-linaro-baremetal-aarch64-native patch to

be checked in

Quoted 10 lines

recipes-ti/ipc/ti-ipc-

Quoted 10 lines

---

---
 recipes-ti/ipc/ti-ipc-common.inc   |  3 ++-
 recipes-ti/ipc/ti-ipc-examples.inc |  2 +-
 recipes-ti/ipc/ti-ipc-rtos.inc     | 16 ++++++++++++----
 recipes-ti/ipc/ti-ipc-rtos_git.bb  |  8 ++++++++
 recipes-ti/ipc/ti-ipc.inc          |  6 +++---
 5 files changed, 26 insertions(+), 9 deletions(-)
recipes-ti/ipc/ti-ipc- renamed from recipes-ti/ipc/ti-ipc-common.inc +0 -0

common.inc

Quoted 15 lines
Quoted 15 lines

index 7f93842..6aea8e6 100644

recipes-ti/ipc/ti-ipc-common.inc +2 -1
@@ -1,4 +1,4 @@
-PV = "3.47.02.00"
+PV = "3.50.01.00"
 INC_PR = "r0"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -13,6 +13,7 @@ PLATFORM_k2g = "66AK2G"
 PLATFORM_omapl138 = "OMAPL138"
 PLATFORM_c667x-evm = "C6678"
 PLATFORM_c665x-evm = "C6678"
+PLATFORM_am65xx-evm = "AM65XX"
 
Quoted 3 lines

recipes-ti/ipc/ti-ipc-

Quoted 3 lines
recipes-ti/ipc/ti-ipc-common.inc +0 -0
 ALT_PLATFORM_k2hk = "TCI6636"
 ALT_PLATFORM_am57xx-evm = "AM572X AM571X"
recipes-ti/ipc/ti-ipc- renamed from recipes-ti/ipc/ti-ipc-examples.inc +0 -0

examples.inc

Quoted 8 lines

recipes-ti/ipc/ti-ipc-examples.inc require ti-ipc-common.inc · line 6

Quoted 8 lines

index cd2240c..022b13f 100644

recipes-ti/ipc/ti-ipc-examples.inc +0 -1
@@ -3,7 +3,7 @@ require ti-ipc-common.inc
 require ti-ipc-rtos.inc
 
 LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://${S_ipc-

examples}/src/makefile;beginline=1;endline=30;md5=fb83580b16bce88e8ed 568a6005c8f02"

Quoted 1 line

recipes-ti/ipc/ti-ipc-examples.inc require ti-ipc-common.inc · line 6

Quoted 1 line
recipes-ti/ipc/ti-ipc-examples.inc +1 -0
+LIC_FILES_CHKSUM = "file://${S_ipc-

examples}/src/makefile;beginline=1;endline=30;md5=a52324bd5033bb49ea0 7bade1244ac9a"

Quoted 11 lines
Quoted 11 lines
recipes-ti/ipc/ti-ipc-examples.inc +0 -0
 INSANE_SKIP_${PN} += "arch"
 
recipes-ti/ipc/ti-ipc-rtos.inc +0 -0
index 868743e..13b1914 100644
@@ -24,11 +24,11 @@ protocol=${TI_IPC_METADATA_GIT_PROTOCOL};\
 branch=${TI_IPC_METADATA_GIT_BRANCH};\
 name=${TI_IPC_METADATA_NAME}"
 
Quoted 2 lines

recipes-ti/ipc/ti-ipc-rtos.inc protocol=${TI_IPC_METADATA_GIT_PROTOCOL};\ · line 28

Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos.inc +0 -2
-# Corresponds to tag: 3.47.02.00
-SRCREV_ipc-metadata =

"e8aff83111b8a0d64d7a77413b6f66d3106084d8"

Quoted 2 lines

recipes-ti/ipc/ti-ipc-rtos.inc protocol=${TI_IPC_METADATA_GIT_PROTOCOL};\ · line 28

Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos.inc +2 -0
+# Corresponds to tag: 3.50.01.00
+SRCREV_ipc-metadata =

"19a8e70cf6ca4fe0984987e25d937c61a62c7658"

Quoted 3 lines

recipes-ti/ipc/ti-ipc-rtos.inc protocol=${TI_IPC_METADATA_GIT_PROTOCOL};\ · line 30

Quoted 3 lines
recipes-ti/ipc/ti-ipc-rtos.inc +0 -2
-# Corresponds to tag: 3.47.02.00
-SRCREV_ipc-examples =

"351e9a6d94c68f7ff64b2c002ee6750242ece6d9"

Quoted 2 lines

recipes-ti/ipc/ti-ipc-rtos.inc protocol=${TI_IPC_METADATA_GIT_PROTOCOL};\ · line 30

Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos.inc +2 -0
+# Corresponds to tag: 3.50.01.00
+SRCREV_ipc-examples =

"1975687076426b587be8d2530df56c24425ca53a"

Quoted 7 lines
Quoted 7 lines
recipes-ti/ipc/ti-ipc-rtos.inc +0 -0
 S_ipc-examples = "${WORKDIR}/git/ipc-examples"
 S_ipc-metadata = "${WORKDIR}/git/ipc-metadata"
@@ -50,6 +50,9 @@ DEPENDS_append_omapl138 = " ti-cgt6x-native \
 DEPENDS_append_c66x = " ti-cgt6x-native \
 "
 
Quoted 8 lines

recipes-ti/ipc/ti-ipc-rtos.inc IPC_TARGETS_c66x = " \ · line 76

Quoted 8 lines
recipes-ti/ipc/ti-ipc-rtos.inc +3 -0
+DEPENDS_append_am65xx-evm = " ti-cgt-arm-native \
+                              gcc-linaro-baremetal-aarch64-native"
+
 IPC_TARGETS = ""
 
 IPC_TARGETS_omap-a15 = "\
@@ -73,6 +76,11 @@ IPC_TARGETS_c66x = " \
 

ti.targets.elf.C66_big_endian="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \

Quoted 4 lines

recipes-ti/ipc/ti-ipc-rtos.inc IPC_TARGETS_c66x = " \ · line 83

Quoted 4 lines
recipes-ti/ipc/ti-ipc-rtos.inc +2 -0
 "
 
+IPC_TARGETS_am65xx-evm = "\
+

gnu.targets.arm.A53F="${GCC_LINARO_BAREMETAL_AARCH64_TOOLCHAIN} " \

Quoted 7 lines

recipes-ti/ipc/ti-ipc-

Quoted 7 lines
recipes-ti/ipc/ti-ipc-rtos.inc +3 -0
+    ti.targets.arm.elf.R5F="${M4_TOOLCHAIN_INSTALL_DIR}" \
+"
+
 EXTRA_OEMAKE = "\
     PLATFORM=${PLATFORM} \
     XDC_INSTALL_DIR="${XDC_INSTALL_DIR}" \
recipes-ti/ipc/ti-ipc- renamed from recipes-ti/ipc/ti-ipc-rtos_git.bb +0 -0

rtos_git.bb

Quoted 6 lines

recipes-ti/ipc/ti-ipc-rtos_git.bb pkg_postinst_${PN}-fw_omapl138 () { · line 123

Quoted 6 lines

index b292d67..b70935a 100644

recipes-ti/ipc/ti-ipc-rtos_git.bb +0 -0
@@ -122,3 +122,11 @@ pkg_postinst_${PN}-fw_omapl138 () {
 pkg_postrm_${PN}-fw_omapl138 () {
   update-alternatives --remove rproc-dsp-fw

ipc/ti_platforms_evmOMAPL138_DSP/messageq_single.xe674

Quoted 4 lines

recipes-ti/ipc/ti-ipc-rtos_git.bb pkg_postinst_${PN}-fw_omapl138 () {

Quoted 4 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +3 -0
 }
+
+pkg_postinst_${PN}-fw_am65xx-evm () {
+  update-alternatives --install /lib/firmware/rproc-r5f-fw rproc-r5f-fw

ipc/ti_platforms_cortexR_AM65X/messageq_single.xer5f ${ALTERNATIVE_PRIORITY}

Quoted 7 lines
Quoted 5 lines

Not sure where you got the rproc-r5f-fw name from, but this is definitely not the name that I am using in the driver. This is what I will be using for the two R5F cores: am65x-mcu-r5f0-fw and am65x-mcu-r5f1-fw. And the Core0 image name is the one we will use in LockStep mode as well.

I am fine with this. I can update with new patch.

Thanks, Sam. I had to drop all BIOS/XDC/IPC updates from "rocko-next" due to IPUMM breakage anyway.

Denys

Quoted 43 lines
Quoted 42 lines

I am open to suggestions if we want to rename it something else, but I have been following the convention that I have been using so far on other SoCs.

regards
Suman

Quoted 4 lines

recipes-ti/ipc/ti-ipc-rtos_git.bb pkg_postinst_${PN}-fw_omapl138 () {

Quoted 4 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +4 -0
+}
+
+pkg_postrm_${PN}-fw_am65xx-evm () {
+  update-alternatives --remove rproc-r5f-fw

ipc/ti_platforms_cortexR_AM65X/messageq_single.xe674

Quoted 6 lines

recipes-ti/ipc/ti-ipc.inc LIC_FILES_CHKSUM = "file://${S}/ipc-

Quoted 6 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +1 -0
+}
recipes-ti/ipc/ti-ipc.inc +0 -0
index e8038a5..07321cb 100644
@@ -6,10 +6,10 @@ LIC_FILES_CHKSUM = "file://${S}/ipc-

linux.mak;beginline=1;endline=30;md5=7b327f9

Quoted 6 lines
Quoted 6 lines
recipes-ti/ipc/ti-ipc.inc +1 -1
 TI_IPC_GIT_URI = "git://git.ti.com/ipc/ipcdev.git"
 TI_IPC_GIT_PROTOCOL = "git"
-TI_IPC_GIT_BRANCH = "3.47"
+TI_IPC_GIT_BRANCH = "3.50"
 
Quoted 7 lines

recipes-ti/ipc/ti-ipc.inc LIC_FILES_CHKSUM = "file://${S}/ipc-linux.mak;beginline=1;endline=30;md5=7b327f9

Quoted 7 lines
recipes-ti/ipc/ti-ipc.inc +2 -2
-#Corresponds to 3.47.02.00
-TI_IPC_SRCREV = "24c36385d096613af123d1e1696fb2fee652ef36"
+#Corresponds to 3.50.01.00
+TI_IPC_SRCREV = "f0d0edaf3ce7ed8d81d8969eaaa98cec8b662424"
 
 BRANCH = "${TI_IPC_GIT_BRANCH}"
 SRC_URI =

"${TI_IPC_GIT_URI};protocol=${TI_IPC_GIT_PROTOCOL};branch=${BRANCH};n ame=ipcdev"

Quoted 8 lines
Quoted 8 lines
recipes-ti/ipc/ti-ipc.inc +0 -1
--

1.9.1

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