From 97ce30236667173b826d13af354104829484d5db Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Thu, 22 Dec 2011 11:19:55 +0100 Subject: ti-dmai: clean up recipe * remove DP = -1, there's only one recipe * remove unused files * add git patch header to remaining patches Signed-off-by: Koen Kooi --- recipes-ti/dmai/ti-dmai.inc | 4 +- ...01-Correct-DMAI-s-Resize-module-for-DM365.patch | 34 ------ .../dmai/ti-dmai/dmai-built-with-angstrom.patch | 48 -------- .../dmai-do-not-panic-on-mixer-failure.patch | 31 ----- .../ti-dmai/dmai-r423-add-omapl137-support.patch | 12 -- .../dmai/ti-dmai/dmai-support-32bit-align.patch | 17 --- recipes-ti/dmai/ti-dmai/dmai-update-cpu-name.patch | 16 --- .../dmai/ti-dmai/dmai-update-fb-display.patch | 77 ------------- .../dmai/ti-dmai/dmai-update-v4l2-display.patch | 127 --------------------- .../omap3530-r642-remove-include-videodev.diff | 74 +++++++----- recipes-ti/dmai/ti-dmai/r642-fix-config-bld.diff | 32 ++++-- recipes-ti/dmai/ti-dmai_svn.bb | 12 +- 12 files changed, 74 insertions(+), 410 deletions(-) delete mode 100644 recipes-ti/dmai/ti-dmai/0001-Correct-DMAI-s-Resize-module-for-DM365.patch delete mode 100644 recipes-ti/dmai/ti-dmai/dmai-built-with-angstrom.patch delete mode 100644 recipes-ti/dmai/ti-dmai/dmai-do-not-panic-on-mixer-failure.patch delete mode 100644 recipes-ti/dmai/ti-dmai/dmai-r423-add-omapl137-support.patch delete mode 100644 recipes-ti/dmai/ti-dmai/dmai-support-32bit-align.patch delete mode 100644 recipes-ti/dmai/ti-dmai/dmai-update-cpu-name.patch delete mode 100644 recipes-ti/dmai/ti-dmai/dmai-update-fb-display.patch delete mode 100644 recipes-ti/dmai/ti-dmai/dmai-update-v4l2-display.patch (limited to 'recipes-ti') diff --git a/recipes-ti/dmai/ti-dmai.inc b/recipes-ti/dmai/ti-dmai.inc index 8b536fc8..8c20384a 100644 --- a/recipes-ti/dmai/ti-dmai.inc +++ b/recipes-ti/dmai/ti-dmai.inc @@ -47,12 +47,12 @@ DMAIPLATFORM_dm355 = "dm355_al" DMAIPLATFORM_dm365 = "dm365_al" DMAIPLATFORM_omapl137 = "ol137_al" DMAIPLATFORM_omapl138 = "ol138_al" -DMAIPLATFORM ?= "" +DMAIPLATFORM ?= "UNDEFINED_DMAIPLATFORM" # Need to set this for other platforms as well #GPPOS_dm355 = "LINUX_GCC" #GPPOS_dm365 = "LINUX_GCC" -#GPPOS ?= "" +#GPPOS ?= "UNDEFINEDGPPOS" # Need to re-define this for OMAP-L137/L138 DSPSUFFIX_omapl137 = "x64P" diff --git a/recipes-ti/dmai/ti-dmai/0001-Correct-DMAI-s-Resize-module-for-DM365.patch b/recipes-ti/dmai/ti-dmai/0001-Correct-DMAI-s-Resize-module-for-DM365.patch deleted file mode 100644 index 21e71dec..00000000 --- a/recipes-ti/dmai/ti-dmai/0001-Correct-DMAI-s-Resize-module-for-DM365.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 9d9326c26ea990fa49842e0c57d520a5acb4d887 Mon Sep 17 00:00:00 2001 -From: Don Darling -Date: Fri, 16 Apr 2010 17:40:40 -0500 -Subject: [PATCH] Correct DMAI's Resize module for DM365. - -The PSP requires virtual addresses to be given for the resize buffers. This -differs from previous releases, which required physical addresses. This -change updates the Resize module to use virtual addresses. ---- - .../packages/ti/sdo/dmai/linux/dm365/Resize.c | 4 ++-- - 1 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/dmai/packages/ti/sdo/dmai/linux/dm365/Resize.c b/dmai/packages/ti/sdo/dmai/linux/dm365/Resize.c -index c1716c4..3e71e46 100644 ---- a/dmai/packages/ti/sdo/dmai/linux/dm365/Resize.c -+++ b/dmai/packages/ti/sdo/dmai/linux/dm365/Resize.c -@@ -313,12 +313,12 @@ Int Resize_execute(Resize_Handle hResize, - - rsz.in_buff.index = -1; - rsz.in_buff.buf_type = IMP_BUF_IN; -- rsz.in_buff.offset = Buffer_getPhysicalPtr(hSrcBuf) + srcOffset; -+ rsz.in_buff.offset = ((Int32)Buffer_getUserPtr(hSrcBuf)) + srcOffset; - rsz.in_buff.size = Buffer_getSize(hSrcBuf); - - rsz.out_buff1.index = -1; - rsz.out_buff1.buf_type = IMP_BUF_OUT1; -- rsz.out_buff1.offset = Buffer_getPhysicalPtr(hDstBuf) + dstOffset; -+ rsz.out_buff1.offset = ((Int32)Buffer_getUserPtr(hDstBuf)) + dstOffset; - rsz.out_buff1.size = Buffer_getSize(hDstBuf); - - /* --- -1.6.3.3 - diff --git a/recipes-ti/dmai/ti-dmai/dmai-built-with-angstrom.patch b/recipes-ti/dmai/ti-dmai/dmai-built-with-angstrom.patch deleted file mode 100644 index fc497897..00000000 --- a/recipes-ti/dmai/ti-dmai/dmai-built-with-angstrom.patch +++ /dev/null @@ -1,48 +0,0 @@ -Index: dmai_1_20_00_06/packages/config.bld -=================================================================== ---- dmai_1_20_00_06.orig/packages/config.bld 2009-02-11 19:38:51.000000000 -0600 -+++ dmai_1_20_00_06/packages/config.bld 2009-02-11 19:39:23.000000000 -0600 -@@ -42,7 +42,7 @@ - - /* location of the Codec Sourcery Arm9 tools */ - var GCArmv5T = xdc.useModule('gnu.targets.arm.GCArmv5T'); --GCArmv5T.LONGNAME = 'bin/arm-none-linux-gnueabi-gcc'; -+GCArmv5T.LONGNAME = 'bin/arm-angstrom-linux-gnueabi-gcc'; - GCArmv5T.platform = "ti.platforms.evm3530"; - GCArmv5T.rootDir = java.lang.System.getenv("CSTOOL_DIR"); - -Index: dmai_1_20_00_06/packages/ti/sdo/dmai/Makefile -=================================================================== ---- dmai_1_20_00_06.orig/packages/ti/sdo/dmai/Makefile 2009-02-11 19:39:57.000000000 -0600 -+++ dmai_1_20_00_06/packages/ti/sdo/dmai/Makefile 2009-02-11 19:58:05.000000000 -0600 -@@ -33,7 +33,7 @@ - DMAI_INSTALL_DIR = ../../../.. - TARGET = dmai - --include $(DMAI_INSTALL_DIR)/Rules.make -+#include $(DMAI_INSTALL_DIR)/Rules.make - - # Should the full command be echoed to the console during build? - VERBOSE=false -@@ -64,7 +64,7 @@ - MVL_CPP_FLAGS = $(GNU_CPP_FLAGS) -Dxdc_target_name__=MVArm9 - CS_CPP_FLAGS = $(GNU_CPP_FLAGS) -Dxdc_target_name__=codesourcery/GCArmv5T - --GNU_C_FLAGS = $(C_FLAGS) -Wall -Werror -+GNU_C_FLAGS = $(C_FLAGS) -Wall - C64P_C_FLAGS = $(C_FLAGS) - - GNU_AR_FLAGS = $(AR_FLAGS) -Index: dmai_1_20_00_06/packages/ti/sdo/dmai/apps/Makefile.app -=================================================================== ---- dmai_1_20_00_06.orig/packages/ti/sdo/dmai/apps/Makefile.app 2009-02-11 19:58:44.000000000 -0600 -+++ dmai_1_20_00_06/packages/ti/sdo/dmai/apps/Makefile.app 2009-02-11 19:59:01.000000000 -0600 -@@ -34,7 +34,7 @@ - ifndef DMAI_INSTALL_DIR - DMAI_INSTALL_DIR = ../../../../../.. - endif --include $(DMAI_INSTALL_DIR)/Rules.make -+#include $(DMAI_INSTALL_DIR)/Rules.make - - # Should the full command be echoed to the console during build? - VERBOSE=false diff --git a/recipes-ti/dmai/ti-dmai/dmai-do-not-panic-on-mixer-failure.patch b/recipes-ti/dmai/ti-dmai/dmai-do-not-panic-on-mixer-failure.patch deleted file mode 100644 index 20e1aece..00000000 --- a/recipes-ti/dmai/ti-dmai/dmai-do-not-panic-on-mixer-failure.patch +++ /dev/null @@ -1,31 +0,0 @@ -Index: dmai_1_20_00_06/packages/ti/sdo/dmai/linux/Sound_alsa.c -=================================================================== ---- dmai_1_20_00_06.orig/packages/ti/sdo/dmai/linux/Sound_alsa.c 2009-02-11 19:19:23.000000000 -0600 -+++ dmai_1_20_00_06/packages/ti/sdo/dmai/linux/Sound_alsa.c 2009-02-11 19:19:25.000000000 -0600 -@@ -139,7 +139,7 @@ - - snd_mixer_selem_id_free (sid); - snd_mixer_close (rcMixer); -- -+ - return Dmai_EOK; - } - -@@ -431,14 +431,13 @@ - Sound_alsa_delete(hSound); - return NULL; - } -- -+ - if (setMixerVolume (attrs) <0) { -- Sound_alsa_delete (hSound); -- return NULL; -+ Dmai_dbg2("Failed to set the mixer volume on %s (%s)\n", -+ AUDIO_DEVICE, snd_strerror(status)); - } - } - -- - return hSound; - } - diff --git a/recipes-ti/dmai/ti-dmai/dmai-r423-add-omapl137-support.patch b/recipes-ti/dmai/ti-dmai/dmai-r423-add-omapl137-support.patch deleted file mode 100644 index 8f9e8b9f..00000000 --- a/recipes-ti/dmai/ti-dmai/dmai-r423-add-omapl137-support.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -uNr davinci_multimedia_application_interface/dmai/packages/ti/sdo/dmai/linux/Display_fbdev.c davinci_multimedia_application_interfaceb/dmai/packages/ti/sdo/dmai/linux/Display_fbdev.c ---- davinci_multimedia_application_interface/dmai/packages/ti/sdo/dmai/linux/Display_fbdev.c 2010-03-14 22:43:20.000000000 +0000 -+++ davinci_multimedia_application_interfaceb/dmai/packages/ti/sdo/dmai/linux/Display_fbdev.c 2010-03-14 23:19:41.000000000 +0000 -@@ -43,7 +43,7 @@ - - #ifdef Dmai_Device_omap3530 - #include --#elif defined Dmai_Device_omapl138 -+#elif defined (Dmai_Device_omapl137) || defined (Dmai_Device_omapl138) - #include