summaryrefslogtreecommitdiffstats
path: root/recipes-bsp
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-bsp')
-rw-r--r--recipes-bsp/ipumm-fw/files/0001-HACK-ipumm-Workaround-for-linker-error.patch48
-rw-r--r--recipes-bsp/ipumm-fw/ipumm-fw_git.bb6
2 files changed, 53 insertions, 1 deletions
diff --git a/recipes-bsp/ipumm-fw/files/0001-HACK-ipumm-Workaround-for-linker-error.patch b/recipes-bsp/ipumm-fw/files/0001-HACK-ipumm-Workaround-for-linker-error.patch
new file mode 100644
index 00000000..0bea358f
--- /dev/null
+++ b/recipes-bsp/ipumm-fw/files/0001-HACK-ipumm-Workaround-for-linker-error.patch
@@ -0,0 +1,48 @@
1From 7226700841c62e6a42690eaa8b3e31b2c329b341 Mon Sep 17 00:00:00 2001
2From: Ramprasad N <x0038811@ti.com>
3Date: Thu, 28 May 2020 09:53:59 +0530
4Subject: [PATCH] HACK: ipumm: Workaround for linker error
5
6* HACK: ti_sdo_ce_utils_syscbuf_SysCBuf_Module_startup__E is no longer
7* defined with latest XDC tools. To temporarily get around the issue
8* until the real fix can be made, dummy defination of the missing function
9* is added in ipu_main.c
10
11*IPUMM dependent tool chain components are upgraded to latest version
12* BIOS : 6_82_01_17_eng
13* XDC : 3_61_00_16_core
14* This issue is seen only with xdc tools upgrade.
15
16Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
17Signed-off-by: Ramprasad N <x0038811@ti.com>
18---
19 platform/ti/dce/baselib/ipumm_main.c | 13 +++++++++++++
20 1 file changed, 13 insertions(+)
21
22diff --git a/platform/ti/dce/baselib/ipumm_main.c b/platform/ti/dce/baselib/ipumm_main.c
23index 76ccd34..f4ca6e5 100644
24--- a/platform/ti/dce/baselib/ipumm_main.c
25+++ b/platform/ti/dce/baselib/ipumm_main.c
26@@ -50,6 +50,19 @@
27 #include <string.h>
28 #include <stdlib.h>
29
30+/*
31+ * HACK: ti_sdo_ce_utils_syscbuf_SysCBuf_Module_startup__E is no longer
32+ * defined with latest XDC tools. To temporarily get around the issue
33+ * until the real fix can be made, define the missing function
34+ * here.
35+ */
36+extern ti_sdo_ce_utils_syscbuf_SysCBuf_Module_startup__F(xdc_Int state);
37+
38+/* Module_startup */
39+xdc_Int ti_sdo_ce_utils_syscbuf_SysCBuf_Module_startup__E( xdc_Int state )
40+{
41+ return ti_sdo_ce_utils_syscbuf_SysCBuf_Module_startup__F(state);
42+}
43
44 /* Legacy function to allow Linux side rpmsg sample tests to work: */
45 extern void start_ping_tasks();
46--
471.9.1
48
diff --git a/recipes-bsp/ipumm-fw/ipumm-fw_git.bb b/recipes-bsp/ipumm-fw/ipumm-fw_git.bb
index 4f6ae89e..e53d0a98 100644
--- a/recipes-bsp/ipumm-fw/ipumm-fw_git.bb
+++ b/recipes-bsp/ipumm-fw/ipumm-fw_git.bb
@@ -15,10 +15,14 @@ SRC_URI = "git://git.ti.com/ivimm/ipumm.git;protocol=git"
15 15
16SRCREV = "df4c50aecc9aad7ab3eb1ca9ebacfe473fcad7c5" 16SRCREV = "df4c50aecc9aad7ab3eb1ca9ebacfe473fcad7c5"
17 17
18SRC_URI += " \
19 file://0001-HACK-ipumm-Workaround-for-linker-error.patch \
20 "
21
18S = "${WORKDIR}/git" 22S = "${WORKDIR}/git"
19 23
20PV = "3.00.15.00" 24PV = "3.00.15.00"
21PR = "r5" 25PR = "r6"
22 26
23require recipes-ti/includes/ti-paths.inc 27require recipes-ti/includes/ti-paths.inc
24 28