From 7458f4ed51d1f3ccd40a57de6d83274f859e80cb Mon Sep 17 00:00:00 2001 From: Ram Prasad Date: Thu, 23 Aug 2018 16:31:10 +0000 Subject: [PATCH] ipumm: Integration with latest IPC, BIOS and XDC tools This patch is to integrate IPUMM with IPC: 3.50.01.00 BIOS: 6.73.00.12 XDC: 3.50.07.20 Signed-off-by: Ramprasad N Acked-by: Karthik Ramanan Signed-off-by: Denys Dmytriyenko --- ...ion-with-IPC-3.50-BIOS-6.73-XDC-3.50.patch | 79 +++++++++++++++++++ recipes-bsp/ipumm-fw/ipumm-fw_git.bb | 5 +- 2 files changed, 83 insertions(+), 1 deletion(-) create mode 100644 recipes-bsp/ipumm-fw/files/0001-Integration-with-IPC-3.50-BIOS-6.73-XDC-3.50.patch diff --git a/recipes-bsp/ipumm-fw/files/0001-Integration-with-IPC-3.50-BIOS-6.73-XDC-3.50.patch b/recipes-bsp/ipumm-fw/files/0001-Integration-with-IPC-3.50-BIOS-6.73-XDC-3.50.patch new file mode 100644 index 00000000..22e1a435 --- /dev/null +++ b/recipes-bsp/ipumm-fw/files/0001-Integration-with-IPC-3.50-BIOS-6.73-XDC-3.50.patch @@ -0,0 +1,79 @@ +From 19b01da6f9cd02c4869229e46d5cfeefa9d5a5c6 Mon Sep 17 00:00:00 2001 +From: Ramprasad N +Date: Fri, 17 Aug 2018 17:12:14 +0530 +Subject: [ipumm PATCH] Integration with IPC 3.50, BIOS 6.73, XDC 3.50 + + Integrating IPUMM with + IPC: 3.50.01.00 + BIOS: 6.73.00.12 + XDC: 3.50.07.20 + +Signed-off-by: Ramprasad N +--- + Makefile | 6 +++--- + build/common.bld | 2 +- + platform/ti/dce/baseimage/dce_ipu.cfg | 4 ++-- + src/ti/framework/dce/dce.c | 2 +- + 4 files changed, 7 insertions(+), 7 deletions(-) + +diff --git a/Makefile b/Makefile +index 929a2a3..87e1b10 100644 +--- a/Makefile ++++ b/Makefile +@@ -36,9 +36,9 @@ REPO := $(BIOSTOOLSROOT) + + # Different tool versions can easily be programmed by defining below variables + # in your environment. +-XDCVERSION ?= xdctools_3_50_03_33_core +-BIOSVERSION ?= bios_6_52_00_12 +-IPCVERSION ?= ipc_3_47_01_00 ++XDCVERSION ?= xdctools_3_50_07_20_core ++BIOSVERSION ?= bios_6_73_00_12 ++IPCVERSION ?= ipc_3_50_01_00 + CEVERSION ?= codec_engine_3_24_00_08 + FCVERSION ?= framework_components_3_40_02_07 + XDAISVERSION ?= xdais_7_24_00_04 +diff --git a/build/common.bld b/build/common.bld +index eacc2b7..ecc7de1 100644 +--- a/build/common.bld ++++ b/build/common.bld +@@ -417,7 +417,7 @@ function GetVersionTag() + status = {}; + var verInfo; + var git_cmd = "git "; +- var ipc_ver = " IPC 3_47_01_00 "; ++ var ipc_ver = " IPC 3_50_01_00 "; + var ipumm_ver = " MMIP 3_00_15_00 "; + + var type_cmd = "type "; +diff --git a/platform/ti/dce/baseimage/dce_ipu.cfg b/platform/ti/dce/baseimage/dce_ipu.cfg +index 5bc1139..c81af98 100644 +--- a/platform/ti/dce/baseimage/dce_ipu.cfg ++++ b/platform/ti/dce/baseimage/dce_ipu.cfg +@@ -248,8 +248,8 @@ else + BIOS.smpEnabled = false; + } + +-var Settings = xdc.useModule('ti.sysbios.posix.Settings'); +-Settings.supportsMutexPriority = true; ++var Settings = xdc.useModule('ti.posix.tirtos.Settings'); ++Settings.enableMutexPriority = true; + + var Timer = xdc.useModule('ti.sysbios.timers.dmtimer.Timer'); + if(Program.global.HwType == hw_OMAP5) +diff --git a/src/ti/framework/dce/dce.c b/src/ti/framework/dce/dce.c +index 62bea8c..01dbcce 100644 +--- a/src/ti/framework/dce/dce.c ++++ b/src/ti/framework/dce/dce.c +@@ -50,7 +50,7 @@ + #include + #include + #include +-#include ++#include + #include + #include + #include +-- +1.9.1 + diff --git a/recipes-bsp/ipumm-fw/ipumm-fw_git.bb b/recipes-bsp/ipumm-fw/ipumm-fw_git.bb index 22a8c4f8..cee72a8c 100644 --- a/recipes-bsp/ipumm-fw/ipumm-fw_git.bb +++ b/recipes-bsp/ipumm-fw/ipumm-fw_git.bb @@ -19,10 +19,13 @@ SRC_URI = "git://git.ti.com/ivimm/ipumm.git;protocol=git" SRCREV = "035ba2571a273162fde75a31decadc6534d17eca" +SRC_URI += " \ + file://0001-Integration-with-IPC-3.50-BIOS-6.73-XDC-3.50.patch \ +" S = "${WORKDIR}/git" PV = "3.00.15.00" -PR = "r1" +PR = "r2" require recipes-ti/includes/ti-paths.inc