Skip to contentSkip to conversation

ti-dmai omapfb.h include path fix

PATCH In review Vishnudas P 3 participants 4 messages Jul 23, 2009 – Jul 24, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ti-dmai omapfb.h include path fix

Hi

This patch runs againt Stable/2009 and fixes the ti-dmai_svn.bb build error due to wrong include path for omapfb.h in dmai/packages/ti/sdo/dmai/linux/Display_fbdev.c

An unrelated change is also there.
ti-sdma-module is added to RRECOMMENDS_ti-dmai-apps.
This will put sdma module in the FS image when gstreamer-ti is in IMAGE_INSTALL.

Regards
Vishnudas

recipes/dsplink/ti-dmai_svn.bb +3 -2
index bcbaea8..871c2fc 100644
@@ -8,6 +8,7 @@ SRC_URI = "svn://gforge.ti.com/svn/dmai/branches;module=BRIJESH_GIT_022309;proto
 	   file://dmai-built-with-angstrom.patch;patch=1 \
            file://loadmodules-ti-dmai-apps.sh \
            file://unloadmodules-ti-dmai-apps.sh \
+           file://omapfb-include-path-fix.patch;patch=1 \
    "
 
 SRCREV = "36"
@@ -15,7 +16,7 @@ SRCREV = "36"
 S = "${WORKDIR}/BRIJESH_GIT_022309/davinci_multimedia_application_interface/dmai"
 # Yes, the xdc stuff still breaks with a '.' in PWD
 PV = "120+svnr${SRCREV}"
-PR = "r16"
+PR = "r17"
 
 TARGET = "all"
 TARGET_neuros-osd2 = " dm6446_al dm6446_db"
@@ -75,5 +76,5 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
 #add run-time dependencies - note for kernel module we can only use RRECOMMENDS, since modules might be built into the kernel
 # and for now we make codecs RRECOMMENDS as well, since not everyone will have them
 #RDEPENDS_ti-dmai-apps += "ti-codec-combos"
-RRECOMMENDS_ti-dmai-apps += "ti-cmem-module ti-lpm-module ti-dsplink-module ti-codec-combos"
+RRECOMMENDS_ti-dmai-apps += "ti-cmem-module ti-lpm-module ti-dsplink-module ti-codec-combos ti-sdma-module"
 
recipes/dsplink/files/omapfb-include-path-fix.patch new file +11 -0
new file mode 100755
index 0000000..ed5e8a9
@@ -0,0 +1,11 @@
+--- dmai.orig/packages/ti/sdo/dmai/linux/Display_fbdev.c	2009-06-29 16:28:18.000000000 -0600
++++ dmai/packages/ti/sdo/dmai/linux/Display_fbdev.c	2009-06-29 16:28:35.000000000 -0600
+@@ -42,7 +42,7 @@
+ #include <linux/fb.h>
+ 
+ #ifdef Dmai_Device_omap3530
+-#include <mach/omapfb.h>
++#include <linux/omapfb.h>
+ #endif
+ #include <xdc/std.h>
+ #include <ti/sdo/dmai/Cpu.h>
#1 lore raw

Hi,

are these patches already into dev? If not please make a patch for dev and after they are checked in a proposal for integrate them into stable.

Bye Henning

#2 lore raw
Quoted 4 lines · Henning Heinold

Hi,

are these patches already into dev? If not please make a patch for dev and after they are checked in a proposal for integrate them into stable.

.dev has a more recent version that doesn't suffer from this problem, so in this case the patch can go in.

regards,

Koen

Acked-by on v1 1/1
#3 lore raw
In reply to Vishnudas P
Quoted 9 lines · Vishnudas P

Hi

This patch runs againt Stable/2009 and fixes the ti-dmai_svn.bb build error due to wrong include path for omapfb.h in dmai/packages/ti/sdo/dmai/linux/Display_fbdev.c

An unrelated change is also there.
ti-sdma-module is added to RRECOMMENDS_ti-dmai-apps.
This will put sdma module in the FS image when gstreamer-ti is in IMAGE_INSTALL.