diff options
author | Roger Monk <r-monk@ti.com> | 2010-02-25 12:44:16 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2010-04-12 19:43:20 +0200 |
commit | 73efa8afa568d88ebf94563e9200fbcdfb669fbe (patch) | |
tree | f28dc8590211701d69c3a607c98ba0108913406c /recipes/ti/files | |
parent | 893cba6c8ad21270753654af0d16fbed0288cc91 (diff) |
ti recipes: Start moving /files into package specific directories
ti-codec-engine: Cleanup Codec Engine Recipe
* Fix Installer Issues
* Cleanup Variable Names + Add for all targets
* Remove non-tspa older 2.24.01 recipe
* Add omapl137 depends
ti-xdais: Recipe Cleanup
ti-dsplink: Add runscript to run all example applications (for easy testing)
* Add run script
* Rename load/unload scripts for consistency
* Use _append instead of += for RDEPENDS
* ti-dsplink: fix GPPOS for omapl137
* SED out CROSS_COMPILE from dsplink Makefile
gstreamer-ti: Recipe Cleanup align with other recipes
* Recipe cleanup, cosmetics
* Move required variables inside recipe
* Ensure all targets have variables assigned
* Add -rc scripts for all targets
* Add runtime recommends for all targets
* Needs LINUXKERNEL_INSTALL_DIR setting
* export LINUXKERNEL_INSTALL_DIR for gstreamer_ti
* add logic for patching to newer kernel (mach/omapfb)
* don't error out if the sed on omapfb fails since the header won't be there for non-omap3
ti-codecs: Recipe cleanup for omapl, omap3 and dm6446
* Cleanup of omap3, omapl138, omapl137, dm6446
* Start building omapl138 recipe
* Add prepsources step
* Package codecs into -server package
* Add qualiTI reports and codec data sheet
* Variable cleanup
* Set stage for common codec build recipe
* Temp comment out variables, for removal in subsequent commit after validation
ti-dmai: Recipe cleanup
* Recipe cleanup, cosmetics
* Move required variables inside recipe, remove unused variables
* Runtime deps for -apps, -tests
* Add loadmodules script for omapl137
* Need to pass path to CE 'example' codecs for arm side audio codec (g711)
ti-local-power-manager: Set XDC_PLATFORM
* lpm needs XDC platform defined.
Signed-off-by: Roger Monk <r-monk@ti.com>
Signed-off-by: Koen Kooi <k-kooi@ti.com>
Diffstat (limited to 'recipes/ti/files')
23 files changed, 0 insertions, 1387 deletions
diff --git a/recipes/ti/files/Makefile-dsplink-dsp b/recipes/ti/files/Makefile-dsplink-dsp deleted file mode 100644 index 0861f1ee21..0000000000 --- a/recipes/ti/files/Makefile-dsplink-dsp +++ /dev/null @@ -1,59 +0,0 @@ -# -# ======== makeunix ======== -# - -# Import Tools Path from Rules.make -#include Rules.make - -PROJECT_BASE_DIR = $(shell pwd) -LINUXKERNEL_INSTALL_DIR:=some-path/kernel -LINK_INSTALL_DIR := some-path/dsplink_1_51/dsplink - -# The prefix to be added before the GNU compiler tools (optionally including -# path), i.e. "arm_v5t_le-" or "/opt/bin/arm_v5t_le-". -GPPTOOL_DIR:=some-path/cross - -# ---- DSP tools ---- -DSP_BASE_CGTOOLS := some-path/cg6x_6_0_19 -DSP_BASE_BIOS := some-path/bios_5_32_03 -DSP_BASE_RTDX := some-path/bios_5_32_03/packages/ti/rtdx -OSINC_PLATFORM1 := something -ARCHIVER_AR := something - - -# ---- construct Link build make vars ---- -GPP_MAKE_OPTS := COMPILER=$(GPPTOOL_DIR)/bin/arm-angstrom-linux-gnueabi-gcc \ - LINKER=$(GPPTOOL_DIR)/bin/arm-angstrom-linux-gnueabi-gcc \ - LD=$(GPPTOOL_DIR)/bin/arm-angstrom-linux-gnueabi-ld \ - ARCHIVER1=$(GPPTOOL_DIR)/bin/arm-angstrom-linux-gnueabi-ld \ - ARCHIVER2=$(GPPTOOL_DIR)/bin/arm-angstrom-linux-gnueabi-ld \ - CROSS_COMPILE=arm-angstrom-linux-gnueabi- \ - DSPLINK=$(LINK_INSTALL_DIR) \ - BASE_TOOLCHAIN=$(GPPTOOL_DIR) \ - BASE_BUILDOS=$(LINUXKERNEL_INSTALL_DIR) \ - ARCHIVER=$(ARCHIVER_AR) OSINC_PLATFORM=$(OSINC_PLATFORM1) \ - -DSP_MAKE_OPTS := DSPLINK=$(DSPLINK) \ - DPPROOT=$(DSPLINK)/dsp \ - BASE_SABIOS=$(DSP_BASE_BIOS) \ - BASE_CGTOOLS=$(DSP_BASE_CGTOOLS) \ - BASE_RTDX=$(DSP_BASE_RTDX) - - -# ======== all ======== -all: $(LINK_INSTALL_DIR)/packages/dsplink/gpp/export/BIN/Linux/Davinci/RELEASE/dsplinkk.ko - -$(LINK_INSTALL_DIR)/packages/dsplink/gpp/export/BIN/Linux/Davinci/RELEASE/dsplinkk.ko: - #@echo Building DSPLINK GPP driver, libs - #make -s -C $(LINK_INSTALL_DIR)/gpp/src $(GPP_MAKE_OPTS) - #make -s -C $(DSPLINK)/gpp/src/samples $(GPP_MAKE_OPTS) - @echo Building DSPLINK DSP libs and message sample for DaVinci... - make -C $(DSPLINK)/dsp/src $(DSP_MAKE_OPTS) - make -C $(DSPLINK)/dsp/src/samples $(DSP_MAKE_OPTS) - -# clean rules -clean: - @echo Cleaning DSPLINK GPP driver, libs - make -s -C $(LINK_INSTALL_DIR)/gpp/src $(GPP_MAKE_OPTS) clean - @rm -rf $(LINK_INSTALL_DIR)/gpp/export/BIN/* - @rm -rf $(LINK_INSTALL_DIR)/gpp/export/INCLUDE/* diff --git a/recipes/ti/files/Makefile-dsplink-gpp b/recipes/ti/files/Makefile-dsplink-gpp deleted file mode 100644 index d9f2f6209a..0000000000 --- a/recipes/ti/files/Makefile-dsplink-gpp +++ /dev/null @@ -1,120 +0,0 @@ -# Composite Makefile -DIRSEP=/ - -TI_DSPLINK_RELATIVE_PATH :=../../../../ - -# include the CURRENTCFG.mk -include $(DSPLINK)$(DIRSEP)config$(DIRSEP)BUILD$(DIRSEP)CURRENTCFG.MK - -# Generate the list of sources -SOURCES := -include $(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)arch$(DIRSEP)SOURCES -ARCH_SOURCES := $(addprefix $(TI_DSPLINK_RELATIVE_PATH)gpp$(DIRSEP)src$(DIRSEP)arch$(DIRSEP),$(SOURCES)) -SOURCES := -include $(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)ldrv$(DIRSEP)SOURCES -LDRV_SOURCES := $(addprefix $(TI_DSPLINK_RELATIVE_PATH)gpp$(DIRSEP)src$(DIRSEP)ldrv$(DIRSEP),$(SOURCES)) -SOURCES := -include $(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)ldrv$(DIRSEP)$(TI_DSPLINK_GPPOS)$(DIRSEP)SOURCES -LDRV_SOURCES += $(addprefix $(TI_DSPLINK_RELATIVE_PATH)gpp$(DIRSEP)src$(DIRSEP)ldrv$(DIRSEP)$(TI_DSPLINK_GPPOS)$(DIRSEP),$(SOURCES)) -SOURCES := -include $(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)gen$(DIRSEP)SOURCES -GEN_SOURCES := $(addprefix $(TI_DSPLINK_RELATIVE_PATH)gpp$(DIRSEP)src$(DIRSEP)gen$(DIRSEP),$(SOURCES)) -SOURCES := -include $(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)pmgr$(DIRSEP)SOURCES -PMGR_SOURCES := $(addprefix $(TI_DSPLINK_RELATIVE_PATH)gpp$(DIRSEP)src$(DIRSEP)pmgr$(DIRSEP),$(SOURCES)) -SOURCES := -include $(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)pmgr$(DIRSEP)$(TI_DSPLINK_GPPOS)$(DIRSEP)SOURCES -PMGR_SOURCES += $(addpreifx $(TI_DSPLINK_RELATIVE_PATH)gpp$(DIRSEP)src$(DIRSEP)pmgr$(DIRSEP)$(TI_DSPLINK_GPPOS)$(DIRSEP),$(SOURCES)) -SOURCES := -include $(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)pmgr$(DIRSEP)$(TI_DSPLINK_GPPOS)$(DIRSEP)$(TI_DSPLINK_GPPOSVERSION)$(DIRSEP)SOURCES -PMGR_SOURCES += $(addprefix $(TI_DSPLINK_RELATIVE_PATH)gpp$(DIRSEP)src$(DIRSEP)pmgr$(DIRSEP)$(TI_DSPLINK_GPPOS)$(DIRSEP)$(TI_DSPLINK_GPPOSVERSION)$(DIRSEP),$(SOURCES)) -SOURCES := -include $(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)osal$(DIRSEP)SOURCES -OSAL_SOURCES := $(addprefix $(TI_DSPLINK_RELATIVE_PATH)gpp$(DIRSEP)src$(DIRSEP)osal$(DIRSEP)$(DIRSEP),$(SOURCES)) -SOURCES := -include $(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)osal$(DIRSEP)$(TI_DSPLINK_GPPOS)$(DIRSEP)SOURCES -OSAL_SOURCES += $(addprefix $(TI_DSPLINK_RELATIVE_PATH)gpp$(DIRSEP)src$(DIRSEP)osal$(DIRSEP)$(TI_DSPLINK_GPPOS)$(DIRSEP),$(SOURCES)) -SOURCES := -include $(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)osal$(DIRSEP)$(TI_DSPLINK_GPPOS)$(DIRSEP)$(TI_DSPLINK_GPPOSVERSION)$(DIRSEP)SOURCES -OSAL_SOURCES += $(addprefix $(TI_DSPLINK_RELATIVE_PATH)gpp$(DIRSEP)src$(DIRSEP)osal$(DIRSEP)$(TI_DSPLINK_GPPOS)$(DIRSEP)$(TI_DSPLINK_GPPOSVERSION)$(DIRSEP),$(SOURCES)) - -DSPLINK_SOURCES := $(ARCH_SOURCES) $(LDRV_SOURCES) $(GEN_SOURCES) $(OSAL_SOURCES) $(PMGR_SOURCES) -DSPLINK_OBJS := $(foreach srcFile, $(DSPLINK_SOURCES),$(basename $(srcFile)).o) - -# EXTRA_CFLAGS -EXTRA_CFLAGS += $(addprefix -D, $(TI_DSPLINK_GPP_DEFINES)) -EXTRA_CFLAGS += $(addprefix -I, $(TI_DSPLINK_GPP_INC_PATH)) -EXTRA_CFLAGS += -DEXPORT_SYMTAB -EXTRA_CFLAGS += -DTRACE_KERNEL - -ifneq ($(KERNELRELEASE),) -obj-m := dsplinkk.o -dsplinkk-objs := $(DSPLINK_OBJS) -else -KDIR := /path/to/kernel/ -PWD := $(shell pwd) -driver: - $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules -endif - -clean: - @echo DSPLINK - cleaning driver, library and samples - find $(DSPLINK) -name "*.o" -exec rm {} \; - rm -fr dsplinkk.ko dsplinkk.mod.c Module.symvers *gpp *.a *.lib - -################################################################################################ -# USER SIDE -BUILD_CONFIG := ..$(DIRSEP)..$(DIRSEP)..$(DIRSEP)config$(DIRSEP)BUILD -# Generate the list of sources -SOURCES := -include $(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)api$(DIRSEP)SOURCES -API_SOURCES := $(addprefix $(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)api$(DIRSEP),$(SOURCES)) -SOURCES := -include $(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)api$(DIRSEP)$(TI_DSPLINK_GPPOS)$(DIRSEP)SOURCES -API_SOURCES += $(addprefix $(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)api$(DIRSEP)$(TI_DSPLINK_GPPOS)$(DIRSEP),$(SOURCES)) - -# Update the CFLAG -#CC = arm-none-linux-gnueabi-gcc -#AR = arm-none-linux-gnueabi-ar -#LD = arm-none-linux-gnueabi-ld -ARFLAGS = -rs -LDFLAGS = -r -EXTRA_CFLAGS += $(addprefix -D, $(TI_DSPLINK_GPP_DEFINES)) $(addprefix -I, $(TI_DSPLINK_GPP_INC_PATH)) - -define CONFIG_template -$(shell cp $(DSPLINK)$(DIRSEP)config$(DIRSEP)all$(DIRSEP)$(1) $(DSPLINK)$(DIRSEP)config$(DIRSEP)BUILD$(DIRSEP)) -endef - -define PROGRAM_template -$(basename $(1)).o: $(1) - $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c $(1) -o $(basename $(1)).o -endef -$(foreach prog,$(API_SOURCES),$(eval $(call PROGRAM_template,$(prog)))) -$(foreach prog,$(CONFIG),$(eval $(call CONFIG_template,$(prog)))) - -DSPLINK_API_OBJS := $(foreach srcFile, $(API_SOURCES),$(basename $(srcFile)).o) - -library: $(DSPLINK_API_OBJS) - @echo DSPLINK - building user library - dsplink.lib - $(LD) $(LDFLAGS) -o dsplink.lib $(DSPLINK_API_OBJS) - $(AR) $(ARFLAGS) dsplink.a $(DSPLINK_API_OBJS) - - -######################################### SAMPLES ################################### -SOURCES := -define SAMPLES_template -ifneq ($(1),message_multi) -$(1): $(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)samples$(DIRSEP)$(1)$(DIRSEP)$(1).c $(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)samples$(DIRSEP)$(1)$(DIRSEP)$(TI_DSPLINK_GPPOS)$(DIRSEP)$(1)_os.c - $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -I$(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)samples$(DIRSEP)$(1) -I$(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)samples$(DIRSEP)$(1)$(DIRSEP)$(TI_DSPLINK_GPPOS) -o $(1)gpp $(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)samples$(DIRSEP)$(1)$(DIRSEP)$(1).c $(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)samples$(DIRSEP)$(1)$(DIRSEP)$(TI_DSPLINK_GPPOS)$(DIRSEP)$(1)_os.c $(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)samples$(DIRSEP)$(1)$(DIRSEP)$(TI_DSPLINK_GPPOS)$(DIRSEP)main.c dsplink.lib -lpthread -else -$(1): $(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)samples$(DIRSEP)$(1)$(DIRSEP)message.c $(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)samples$(DIRSEP)$(1)$(DIRSEP)$(TI_DSPLINK_GPPOS)$(DIRSEP)message_os.c - $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -I$(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)samples$(DIRSEP)$(1) -I$(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)samples$(DIRSEP)$(1)$(DIRSEP)$(TI_DSPLINK_GPPOS) -o $(1)gpp $(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)samples$(DIRSEP)$(1)$(DIRSEP)message.c $(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)samples$(DIRSEP)$(1)$(DIRSEP)$(TI_DSPLINK_GPPOS)$(DIRSEP)message_os.c $(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)samples$(DIRSEP)$(1)$(DIRSEP)$(TI_DSPLINK_GPPOS)$(DIRSEP)main.c dsplink.lib -lpthread -endif -endef - -include $(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)samples$(DIRSEP)DIRS -$(foreach prog,$(DIRS),$(eval $(call SAMPLES_template,$(prog)))) - -samples: $(foreach prog,$(DIRS),$(prog)) - -all: driver library samples diff --git a/recipes/ti/files/dmai-built-with-angstrom.patch b/recipes/ti/files/dmai-built-with-angstrom.patch deleted file mode 100644 index fc49789718..0000000000 --- a/recipes/ti/files/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/files/dmai-do-not-panic-on-mixer-failure.patch b/recipes/ti/files/dmai-do-not-panic-on-mixer-failure.patch deleted file mode 100644 index 20e1aece72..0000000000 --- a/recipes/ti/files/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/files/dmai-support-32bit-align.patch b/recipes/ti/files/dmai-support-32bit-align.patch deleted file mode 100644 index 0ee817d9d9..0000000000 --- a/recipes/ti/files/dmai-support-32bit-align.patch +++ /dev/null @@ -1,17 +0,0 @@ -Index: dmai_1_20_00_06/packages/ti/sdo/dmai/linux/omap3530/Resize.c -=================================================================== ---- dmai_1_20_00_06.orig/packages/ti/sdo/dmai/linux/omap3530/Resize.c 2009-02-11 19:20:45.000000000 -0600 -+++ dmai_1_20_00_06/packages/ti/sdo/dmai/linux/omap3530/Resize.c 2009-02-11 19:21:09.000000000 -0600 -@@ -557,9 +557,9 @@ - srcOffset = srcDim.y * srcDim.lineLength + srcDim.x * 2; - dstOffset = dstDim.y * dstDim.lineLength + dstDim.x * 2; - -- /* Input and output buffers must be 4096 bytes aligned */ -- assert(((Buffer_getPhysicalPtr(hDstBuf) + srcOffset) & 0xFFF) == 0); -- assert(((Buffer_getPhysicalPtr(hSrcBuf) + dstOffset) & 0xFFF) == 0); -+ /* Pointers must be a multiple of 32 bytes */ -+ assert((Buffer_getPhysicalPtr(hDstBuf) & 0x1F) == 0); -+ assert((Buffer_getPhysicalPtr(hSrcBuf) & 0x1F) == 0); - - /* Queue the resizer buffers */ - for (i=0; i < 2; i++) { diff --git a/recipes/ti/files/dmai-update-cpu-name.patch b/recipes/ti/files/dmai-update-cpu-name.patch deleted file mode 100644 index 052a8e3236..0000000000 --- a/recipes/ti/files/dmai-update-cpu-name.patch +++ /dev/null @@ -1,16 +0,0 @@ -Index: dmai_1_20_00_06/packages/ti/sdo/dmai/linux/Cpu.c -=================================================================== ---- dmai_1_20_00_06.orig/packages/ti/sdo/dmai/linux/Cpu.c 2009-02-12 09:34:22.000000000 -0600 -+++ dmai_1_20_00_06/packages/ti/sdo/dmai/linux/Cpu.c 2009-02-12 09:34:51.000000000 -0600 -@@ -103,7 +103,10 @@ - else if (strcmp(valBuf, "DM357 EVM") == 0) { - *device = Cpu_Device_DM6446; - } -- else if (strcmp(valBuf, "OMAP3EVM Board") == 0) { -+ else if ((strcmp(valBuf, "OMAP3EVM Board") == 0) || -+ (strcmp(valBuf, "OMAP3 EVM") == 0) || -+ (strcmp(valBuf, "OMAP3 Beagle Board") == 0) -+ ){ - *device = Cpu_Device_OMAP3530; - } - else { diff --git a/recipes/ti/files/dmai-update-fb-display.patch b/recipes/ti/files/dmai-update-fb-display.patch deleted file mode 100644 index 91c1dd15aa..0000000000 --- a/recipes/ti/files/dmai-update-fb-display.patch +++ /dev/null @@ -1,77 +0,0 @@ -Index: dmai_1_20_00_06/packages/ti/sdo/dmai/linux/Display_fbdev.c -=================================================================== ---- dmai_1_20_00_06.orig/packages/ti/sdo/dmai/linux/Display_fbdev.c 2009-02-11 19:59:57.000000000 -0600 -+++ dmai_1_20_00_06/packages/ti/sdo/dmai/linux/Display_fbdev.c 2009-02-11 20:02:46.000000000 -0600 -@@ -41,10 +41,7 @@ - #include <sys/ioctl.h> - #include <linux/fb.h> - --#ifdef Dmai_Device_omap3530 --/* OMAP specific kernel headers */ --#include <video/omapfbdev.h> --#else -+#ifndef Dmai_Device_omap3530 - /* Davinci specific kernel headers */ - #include <video/davincifb_ioctl.h> - #endif -@@ -184,11 +181,13 @@ - } - #endif - -+#if 0 - /* Set up the sysfs variables before opening the display device */ - if (_Display_sysfsSetup(attrs, channel) < 0) { - cleanup(hDisplay); - return NULL; - } -+#endif - - /* Open video display device */ - hDisplay->fd = open(attrs->displayDevice, O_RDWR); -@@ -423,6 +422,7 @@ - ******************************************************************************/ - Int Display_fbdev_get(Display_Handle hDisplay, Buffer_Handle *hBufPtr) - { -+#if defined (FBIO_WAITFORVSYNC) - BufTab_Handle hBufTab = hDisplay->hBufTab; - int dummy; - -@@ -436,7 +436,8 @@ - } - - *hBufPtr = BufTab_getBuf(hBufTab, hDisplay->workingIdx); -- -+ -+#endif - return Dmai_EOK; - } - -Index: dmai_1_20_00_06/packages/ti/sdo/dmai/linux/Display.c -=================================================================== ---- dmai_1_20_00_06.orig/packages/ti/sdo/dmai/linux/Display.c 2009-02-11 20:00:10.000000000 -0600 -+++ dmai_1_20_00_06/packages/ti/sdo/dmai/linux/Display.c 2009-02-11 20:02:07.000000000 -0600 -@@ -80,18 +80,18 @@ - - const Display_Attrs Display_Attrs_O3530_VID_DEFAULT = { - 3, -- Display_Std_V4L2, -- VideoStd_VGA, -- Display_Output_LCD, -- "/dev/video1", -+ Display_Std_FBDEV, -+ VideoStd_D1_NTSC, -+ Display_Output_DVI, -+ "/dev/fb2", - 0 - }; - - const Display_Attrs Display_Attrs_O3530_OSD_DEFAULT = { - 1, - Display_Std_FBDEV, -- VideoStd_VGA, -- Display_Output_LCD, -+ VideoStd_D1_NTSC, -+ Display_Output_DVI, - "/dev/fb0", - 0 - }; diff --git a/recipes/ti/files/dmai-update-v4l2-display.patch b/recipes/ti/files/dmai-update-v4l2-display.patch deleted file mode 100644 index 8bb77d8473..0000000000 --- a/recipes/ti/files/dmai-update-v4l2-display.patch +++ /dev/null @@ -1,127 +0,0 @@ -Index: dmai_1_20_00_06/packages/ti/sdo/dmai/linux/Display_v4l2.c -=================================================================== ---- dmai_1_20_00_06.orig/packages/ti/sdo/dmai/linux/Display_v4l2.c 2009-02-11 19:22:51.000000000 -0600 -+++ dmai_1_20_00_06/packages/ti/sdo/dmai/linux/Display_v4l2.c 2009-02-11 19:27:02.000000000 -0600 -@@ -120,7 +120,9 @@ - struct v4l2_format fmt; - enum v4l2_buf_type type; - Display_Handle hDisplay; -- Int channel; -+#if defined(Dmai_Device_omap3530) && defined(V4L2_CID_ROTATION) -+ struct v4l2_control control; -+#endif - - assert(attrs); - -@@ -134,44 +136,6 @@ - - hDisplay->userAlloc = TRUE; - --#ifdef Dmai_Device_omap3530 -- /* channel = 0 - digital video path -- * channel = 1 - analog video path -- */ -- switch (attrs->videoOutput) { -- case Display_Output_SVIDEO: -- case Display_Output_COMPOSITE: -- channel = 1; -- break; -- case Display_Output_DVI: -- case Display_Output_LCD: -- case Display_Output_SYSTEM: -- channel = 0; -- break; -- default: -- /* do nothing */ -- break; -- } --#else -- if (strcmp(attrs->displayDevice, "/dev/video2") == 0) { -- channel = 0; -- } -- else if (strcmp(attrs->displayDevice, "/dev/video3") == 0) { -- channel = 1; -- } -- else { -- Dmai_err1("%s not a display device\n", attrs->displayDevice); -- cleanup(hDisplay); -- return NULL; -- } --#endif -- -- /* Set up the sysfs variables before opening the display device */ -- if (_Display_sysfsSetup(attrs, channel) < 0) { -- cleanup(hDisplay); -- return NULL; -- } -- - /* Open video capture device */ - hDisplay->fd = open(attrs->displayDevice, O_RDWR, 0); - -@@ -182,9 +146,8 @@ - return NULL; - } - --#ifdef Dmai_Device_omap3530 --#define VIDIOC_S_OMAP2_ROTATION _IOW ('V', 3, int) -- -+ -+#if defined(Dmai_Device_omap3530) && defined(V4L2_CID_ROTATION) - if (attrs->rotation != 0 && attrs->rotation != 90 && - attrs->rotation != 180 && attrs->rotation != 270) { - -@@ -193,49 +156,16 @@ - return NULL; - } - -- if (ioctl(hDisplay->fd, VIDIOC_S_OMAP2_ROTATION, &attrs->rotation) < 0) { -- Dmai_err2("Failed VIDIOC_S_OMAP2_ROTATION on %s (%s)\n", -+ control.id = V4L2_CID_ROTATION; -+ control.value = attrs->rotation; -+ -+ if (ioctl(hDisplay->fd, VIDIOC_S_CTRL, &control) < 0) { -+ Dmai_err2("Failed VIDIOC_S_CTRL on %s (%s)\n", - attrs->displayDevice, strerror(errno)); - cleanup(hDisplay); - return NULL; - } - -- switch (attrs->videoStd) { -- case VideoStd_D1_NTSC: -- fmt.fmt.pix.width = VideoStd_D1_WIDTH; -- fmt.fmt.pix.height = VideoStd_D1_NTSC_HEIGHT; -- break; -- case VideoStd_D1_PAL: -- fmt.fmt.pix.width = VideoStd_D1_WIDTH; -- fmt.fmt.pix.height = VideoStd_D1_PAL_HEIGHT; -- break; -- case VideoStd_VGA: -- fmt.fmt.pix.width = VideoStd_VGA_WIDTH; -- fmt.fmt.pix.height = VideoStd_VGA_HEIGHT; -- break; -- case VideoStd_480P: -- fmt.fmt.pix.width = VideoStd_480P_WIDTH; -- fmt.fmt.pix.height = VideoStd_480P_HEIGHT; -- break; -- case VideoStd_720P_60: -- fmt.fmt.pix.width = VideoStd_480P_WIDTH; -- fmt.fmt.pix.height = VideoStd_480P_HEIGHT; -- break; -- default: -- Dmai_err1("Unknown video standard %d\n", attrs->videoStd); -- cleanup(hDisplay); -- return NULL; -- } -- -- fmt.fmt.pix.pixelformat = V4L2_PIX_FMT_UYVY; -- fmt.type = V4L2_BUF_TYPE_VIDEO_OUTPUT; -- -- if (ioctl(hDisplay->fd, VIDIOC_S_FMT, &fmt) == -1) { -- Dmai_err2("Failed VIDIOC_S_FMT on %s (%s)\n", attrs->displayDevice, -- strerror(errno)); -- cleanup(hDisplay); -- return NULL; -- } - #endif /* Dmai_Device_omap3530 */ - - /* Determine the video image dimensions */ diff --git a/recipes/ti/files/dsplink-128M.patch b/recipes/ti/files/dsplink-128M.patch deleted file mode 100644 index ff5902bf50..0000000000 --- a/recipes/ti/files/dsplink-128M.patch +++ /dev/null @@ -1,104 +0,0 @@ -diff -Nurd dsplink_1_50/dsplink/config/all/CFG_Davinci_DM6446.c dsplink_1_50.work/dsplink/config/all/CFG_Davinci_DM6446.c ---- dsplink_1_50/dsplink/config/all/CFG_Davinci_DM6446.c 2007-12-03 08:11:41.000000000 -0500 -+++ dsplink_1_50.work/dsplink/config/all/CFG_Davinci_DM6446.c 2008-07-29 16:52:28.000000000 -0400 -@@ -69,8 +69,8 @@ - FALSE, /* AUTOSTART : Autostart the DSP (Not supported) */ - "DEFAULT.OUT", /* EXECUTABLE : Executable for autostart */ - TRUE, /* DOPOWERCTRL : Link does the Power Ctrl of DSP. */ -- 0x8FF00020, /* RESUMEADDR : Resume address */ -- 0x8FF00000, /* RESETVECTOR : Reset Vector for the DSP */ -+ 0x87000020, /* RESUMEADDR : Resume address */ -+ 0x87000000, /* RESETVECTOR : Reset Vector for the DSP */ - 0x80, /* RESETCODESIZE : Size of code at DSP Reset Vector */ - 1, /* MADUSIZE : DSP Minimum Addressable Data Unit */ - (Uint32) -1, /* CPUFREQ : DSP Frequency (in KHz), -1 if default setting is to be used */ -@@ -93,8 +93,8 @@ - { - 0, /* ENTRY : Entry number */ - "DSPLINKMEM", /* NAME : Name of the memory region */ -- 0x8FE00000, /* ADDRPHYS : Physical address */ -- 0x8FE00000, /* ADDRDSPVIRT : DSP virtual address */ -+ 0x87000000, /* ADDRPHYS : Physical address */ -+ 0x87000000, /* ADDRDSPVIRT : DSP virtual address */ - (Uint32) -1, /* ADDRGPPVIRT : GPP virtual address (if known) */ - 0x5000, /* SIZE : Size of the memory region */ - TRUE /* SHARED : Shared access memory? */ -@@ -102,8 +102,8 @@ - { - 1, /* ENTRY : Entry number */ - "DSPLINKMEM1", /* NAME : Name of the memory region */ -- 0x8FE05000, /* ADDRPHYS : Physical address */ -- 0x8FE05000, /* ADDRDSPVIRT : DSP virtual address */ -+ 0x87005000, /* ADDRPHYS : Physical address */ -+ 0x87005000, /* ADDRDSPVIRT : DSP virtual address */ - (Uint32) -1, /* ADDRGPPVIRT : GPP virtual address (if known) */ - 0xFB000, /* SIZE : Size of the memory region */ - TRUE /* SHARED : Shared access memory? */ -@@ -111,8 +111,8 @@ - { - 2, /* ENTRY : Entry number */ - "RESETCTRL", /* NAME : Name of the memory region */ -- 0x8FF00000, /* ADDRPHYS : Physical address */ -- 0x8FF00000, /* ADDRDSPVIRT : DSP virtual address */ -+ 0x87100000, /* ADDRPHYS : Physical address */ -+ 0x87100000, /* ADDRDSPVIRT : DSP virtual address */ - (Uint32) -1, /* ADDRGPPVIRT : GPP virtual address (if known) */ - 0x00000080, /* SIZE : Size of the memory region */ - FALSE /* SHARED : Shared access memory? */ -@@ -120,10 +120,10 @@ - { - 3, /* ENTRY : Entry number */ - "DDR", /* NAME : Name of the memory region */ -- 0x8FF00080, /* ADDRPHYS : Physical address */ -- 0x8FF00080, /* ADDRDSPVIRT : DSP virtual address */ -+ 0x87100080, /* ADDRPHYS : Physical address */ -+ 0x87100080, /* ADDRDSPVIRT : DSP virtual address */ - (Uint32) -1, /* ADDRGPPVIRT : GPP virtual address (if known) */ -- 0xFFF80, /* SIZE : Size of the memory region */ -+ 0xEFFF80, /* SIZE : Size of the memory region */ - FALSE /* SHARED : Shared access memory? */ - }, - { -diff -Nurd dsplink_1_50/dsplink/dsp/inc/DspBios/Davinci/DM6446/dsplink-davinci-base.tci dsplink_1_50.work/dsplink/dsp/inc/DspBios/Davinci/DM6446/dsplink-davinci-base.tci ---- dsplink_1_50/dsplink/dsp/inc/DspBios/Davinci/DM6446/dsplink-davinci-base.tci 2007-12-03 08:11:55.000000000 -0500 -+++ dsplink_1_50.work/dsplink/dsp/inc/DspBios/Davinci/DM6446/dsplink-davinci-base.tci 2008-07-29 16:56:03.000000000 -0400 -@@ -54,7 +54,10 @@ - prog.module("GBL").C64PLUSCONFIGURE = true ; - prog.module("GBL").C64PLUSL2CFG = "32k" ; - prog.module("GBL").C64PLUSL1DCFG = "32k" ; -+prog.module("GBL").C64PLUSMAR128to159 = 0xFFFFFFFF ; -+/* - prog.module("GBL").C64PLUSMAR128to159 = 0x00008000 ; -+*/ - - /* ============================================================================ - * MEM -@@ -67,7 +70,7 @@ - * ============================================================================ - */ - var DSPLINKMEM = prog.module("MEM").create("DSPLINKMEM"); --DSPLINKMEM.base = 0x8FE00000; -+DSPLINKMEM.base = 0x87000000; - DSPLINKMEM.len = 0x100000; - DSPLINKMEM.createHeap = false; - DSPLINKMEM.comment = "DSPLINKMEM"; -@@ -77,7 +80,7 @@ - * ============================================================================ - */ - var RESET_VECTOR = prog.module("MEM").create("RESET_VECTOR"); --RESET_VECTOR.base = 0x8FF00000; -+RESET_VECTOR.base = 0x87100000; - RESET_VECTOR.len = 0x00000080; - RESET_VECTOR.space = "code/data"; - RESET_VECTOR.createHeap = false; -@@ -88,8 +91,8 @@ - * ============================================================================ - */ - var DDR = prog.module("MEM").create("DDR"); --DDR.base = 0x8FF00080; --DDR.len = 0x000FFF80; -+DDR.base = 0x87100080; -+DDR.len = 0xEFFF80; - DDR.space = "code/data"; - DDR.createHeap = true; - DDR.heapSize = 0x10000; diff --git a/recipes/ti/files/dsplink-add-class-device-create-support.patch b/recipes/ti/files/dsplink-add-class-device-create-support.patch deleted file mode 100644 index b43c3481e1..0000000000 --- a/recipes/ti/files/dsplink-add-class-device-create-support.patch +++ /dev/null @@ -1,55 +0,0 @@ -diff -uNr codec_engine_2_21/cetools/packages/dsplink/gpp/src/pmgr/Linux/2.6.18/drv_pmgr.c codec_engine_2_21_fix/cetools/packages/dsplink/gpp/src/pmgr/Linux/2.6.18/drv_pmgr.c ---- codec_engine_2_21/cetools/packages/dsplink/gpp/src/pmgr/Linux/2.6.18/drv_pmgr.c 2008-10-24 20:58:01.000000000 +0100 -+++ codec_engine_2_21_fix/cetools/packages/dsplink/gpp/src/pmgr/Linux/2.6.18/drv_pmgr.c 2009-02-20 23:46:42.000000000 +0000 -@@ -37,6 +37,10 @@ - #endif
-
- /* ----------------------------------- OS Specific Headers */
-+#include <linux/version.h>
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26)
-+#include <linux/device.h>
-+#endif
- #include <linux/autoconf.h>
- #include <linux/spinlock.h>
- #include <linux/module.h>
-@@ -190,6 +194,16 @@ - */
- STATIC Int32 major = 230 ;
-
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26)
-+/** ----------------------------------------------------------------------------
-+ * @name dsplink_class
-+ *
-+ * @desc class struct for device create.
-+ * ----------------------------------------------------------------------------
-+ */
-+STATIC struct class *dsplink_class;
-+#endif
-+
- /** ----------------------------------------------------------------------------
- * @name DRV_IsInitialized
- *
-@@ -673,6 +687,11 @@ - }
- #endif /* if defined (CHNL_COMPONENT) */
-
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26)
-+ dsplink_class = class_create(THIS_MODULE, "dsplink");
-+ device_create(dsplink_class, NULL, MKDEV(major, 0), NULL, "dsplink");
-+#endif
-+
- if (DSP_SUCCEEDED (status)) {
- DRV_IsInitialized = TRUE ;
- }
-@@ -717,6 +736,11 @@ - }
- #endif /* if defined (CHNL_COMPONENT) */
-
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26)
-+ device_destroy(dsplink_class, MKDEV(major, 0));
-+ class_destroy(dsplink_class);
-+#endif
-+
- unregister_chrdev (major, "dsplink") ;
-
- DRV_IsInitialized = FALSE ;
diff --git a/recipes/ti/files/dsplink-semaphore-27.patch b/recipes/ti/files/dsplink-semaphore-27.patch deleted file mode 100644 index b2f71169fd..0000000000 --- a/recipes/ti/files/dsplink-semaphore-27.patch +++ /dev/null @@ -1,36 +0,0 @@ -diff -uNr codec_engine_2_21/cetools/packages/dsplink/gpp/src/osal/Linux/2.6.18/sync.c codec_engine_2_21_fix/cetools/packages/dsplink/gpp/src/osal/Linux/2.6.18/sync.c ---- codec_engine_2_21/cetools/packages/dsplink/gpp/src/osal/Linux/2.6.18/sync.c 2008-12-19 16:27:19.000000000 +0530 -+++ codec_engine_2_21_mod/cetools/packages/dsplink/gpp/src/osal/Linux/2.6.18/sync.c 2009-02-12 10:08:48.000000000 +0530 -@@ -30,9 +30,14 @@ -
-
- /* ----------------------------------- OS Specific Headers */
-+#include <linux/version.h>
- #include <linux/autoconf.h>
- #include <linux/spinlock.h>
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27)
- #include <asm/semaphore.h>
-+#else
-+#include <linux/semaphore.h>
-+#endif
- #include <linux/timer.h>
- #include <linux/sched.h>
- #include <linux/delay.h>
-diff -uNr codec_engine_2_21/cetools/packages/dsplink/gpp/src/osal/Linux/user.c codec_engine_2_21_fix/cetools/packages/dsplink_mod/gpp/src/osal/Linux/user.c ---- codec_engine_2_21/cetools/packages/dsplink/gpp/src/osal/Linux/user.c 2008-12-19 16:27:19.000000000 +0530 -+++ codec_engine_2_21_fix/cetools/packages/dsplink_mod/gpp/src/osal/Linux/user.c 2009-02-12 10:08:05.000000000 +0530 -@@ -30,9 +30,14 @@ -
-
- /* ----------------------------------- OS Specific Headers */
-+#include <linux/version.h>
- #include <linux/autoconf.h>
- #include <linux/spinlock.h>
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27)
- #include <asm/semaphore.h>
-+#else
-+#include <linux/semaphore.h>
-+#endif
- #include <linux/timer.h>
- #include <linux/sched.h>
- #include <linux/delay.h>
diff --git a/recipes/ti/files/dsplink_1_64_kernel_2_6_33_autoconf.patch b/recipes/ti/files/dsplink_1_64_kernel_2_6_33_autoconf.patch deleted file mode 100644 index 271b3043b5..0000000000 --- a/recipes/ti/files/dsplink_1_64_kernel_2_6_33_autoconf.patch +++ /dev/null @@ -1,335 +0,0 @@ -diff -uNr dsplink_linux_1_64a/dsplink/gpp/src/arch/DA8XXGEM/da8xxgem_hal_pwr.c dsplink_linux_1_64b/dsplink/gpp/src/arch/DA8XXGEM/da8xxgem_hal_pwr.c ---- dsplink_linux_1_64a/dsplink/gpp/src/arch/DA8XXGEM/da8xxgem_hal_pwr.c 2009-11-13 12:12:47.000000000 +0000 -+++ dsplink_linux_1_64b/dsplink/gpp/src/arch/DA8XXGEM/da8xxgem_hal_pwr.c 2010-02-09 17:42:37.000000000 +0000 -@@ -22,7 +22,12 @@ - - - /* ----------------------------------- OSAL Headers */ -+#include <linux/version.h> -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33) -+#include <generated/autoconf.h> -+#else - #include <linux/autoconf.h> -+#endif - #include <asm/page.h> - #include <asm/io.h> - -diff -uNr dsplink_linux_1_64a/dsplink/gpp/src/arch/DA8XXGEM/shmem/Linux/da8xxgem_phy_shmem.c dsplink_linux_1_64b/dsplink/gpp/src/arch/DA8XXGEM/shmem/Linux/da8xxgem_phy_shmem.c ---- dsplink_linux_1_64a/dsplink/gpp/src/arch/DA8XXGEM/shmem/Linux/da8xxgem_phy_shmem.c 2009-11-13 12:12:47.000000000 +0000 -+++ dsplink_linux_1_64b/dsplink/gpp/src/arch/DA8XXGEM/shmem/Linux/da8xxgem_phy_shmem.c 2010-02-09 17:43:06.000000000 +0000 -@@ -22,7 +22,12 @@ - - - /* ----------------------------------- OS Headers */ -+#include <linux/version.h> -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33) -+#include <generated/autoconf.h> -+#else - #include <linux/autoconf.h> -+#endif - #include <linux/module.h> - #include <linux/types.h> - #include <linux/kernel.h> -diff -uNr dsplink_linux_1_64a/dsplink/gpp/src/arch/DM6437/pci/dm6437_hal_pci_dma.c dsplink_linux_1_64b/dsplink/gpp/src/arch/DM6437/pci/dm6437_hal_pci_dma.c ---- dsplink_linux_1_64a/dsplink/gpp/src/arch/DM6437/pci/dm6437_hal_pci_dma.c 2009-11-13 12:12:46.000000000 +0000 -+++ dsplink_linux_1_64b/dsplink/gpp/src/arch/DM6437/pci/dm6437_hal_pci_dma.c 2010-02-09 17:45:06.000000000 +0000 -@@ -21,7 +21,12 @@ - */ - - -+#include <linux/version.h> -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33) -+#include <generated/autoconf.h> -+#else - #include <linux/autoconf.h> -+#endif - #include <asm/page.h> - #include <asm/io.h> - -diff -uNr dsplink_linux_1_64a/dsplink/gpp/src/arch/DM6437/pci/Linux/2.6.18/dm6437_phy_pci.c dsplink_linux_1_64b/dsplink/gpp/src/arch/DM6437/pci/Linux/2.6.18/dm6437_phy_pci.c ---- dsplink_linux_1_64a/dsplink/gpp/src/arch/DM6437/pci/Linux/2.6.18/dm6437_phy_pci.c 2009-11-13 12:12:46.000000000 +0000 -+++ dsplink_linux_1_64b/dsplink/gpp/src/arch/DM6437/pci/Linux/2.6.18/dm6437_phy_pci.c 2010-02-09 17:44:49.000000000 +0000 -@@ -22,7 +22,12 @@ - - - /* ----------------------------------- OS Headers */ -+#include <linux/version.h> -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33) -+#include <generated/autoconf.h> -+#else - #include <linux/autoconf.h> -+#endif - #include <linux/module.h> - #include <linux/types.h> - #include <linux/kernel.h> -diff -uNr dsplink_linux_1_64a/dsplink/gpp/src/arch/DM6446GEM/shmem/Linux/dm6446gem_phy_shmem.c dsplink_linux_1_64b/dsplink/gpp/src/arch/DM6446GEM/shmem/Linux/dm6446gem_phy_shmem.c ---- dsplink_linux_1_64a/dsplink/gpp/src/arch/DM6446GEM/shmem/Linux/dm6446gem_phy_shmem.c 2009-11-13 12:12:46.000000000 +0000 -+++ dsplink_linux_1_64b/dsplink/gpp/src/arch/DM6446GEM/shmem/Linux/dm6446gem_phy_shmem.c 2010-02-09 17:44:21.000000000 +0000 -@@ -22,7 +22,12 @@ - - - /* ----------------------------------- OS Headers */ -+#include <linux/version.h> -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33) -+#include <generated/autoconf.h> -+#else - #include <linux/autoconf.h> -+#endif - #include <linux/module.h> - #include <linux/types.h> - #include <linux/kernel.h> -diff -uNr dsplink_linux_1_64a/dsplink/gpp/src/arch/DM6467GEM/shmem/Linux/dm6467gem_phy_shmem.c dsplink_linux_1_64b/dsplink/gpp/src/arch/DM6467GEM/shmem/Linux/dm6467gem_phy_shmem.c ---- dsplink_linux_1_64a/dsplink/gpp/src/arch/DM6467GEM/shmem/Linux/dm6467gem_phy_shmem.c 2009-11-13 12:12:46.000000000 +0000 -+++ dsplink_linux_1_64b/dsplink/gpp/src/arch/DM6467GEM/shmem/Linux/dm6467gem_phy_shmem.c 2010-02-09 17:41:46.000000000 +0000 -@@ -22,7 +22,12 @@ - - - /* ----------------------------------- OS Headers */ -+#include <linux/version.h> -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33) -+#include <generated/autoconf.h> -+#else - #include <linux/autoconf.h> -+#endif - #include <linux/module.h> - #include <linux/types.h> - #include <linux/kernel.h> -diff -uNr dsplink_linux_1_64a/dsplink/gpp/src/arch/DM648/pci/dm648_hal_pci_dma.c dsplink_linux_1_64b/dsplink/gpp/src/arch/DM648/pci/dm648_hal_pci_dma.c ---- dsplink_linux_1_64a/dsplink/gpp/src/arch/DM648/pci/dm648_hal_pci_dma.c 2009-11-13 12:12:46.000000000 +0000 -+++ dsplink_linux_1_64b/dsplink/gpp/src/arch/DM648/pci/dm648_hal_pci_dma.c 2010-02-09 17:42:02.000000000 +0000 -@@ -20,7 +20,12 @@ - * ============================================================================ - */ - -+#include <linux/version.h> -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33) -+#include <generated/autoconf.h> -+#else - #include <linux/autoconf.h> -+#endif - #include <asm/page.h> - #include <asm/io.h> - -diff -uNr dsplink_linux_1_64a/dsplink/gpp/src/arch/DM648/pci/Linux/2.6.18/dm648_phy_pci.c dsplink_linux_1_64b/dsplink/gpp/src/arch/DM648/pci/Linux/2.6.18/dm648_phy_pci.c ---- dsplink_linux_1_64a/dsplink/gpp/src/arch/DM648/pci/Linux/2.6.18/dm648_phy_pci.c 2009-11-13 12:12:46.000000000 +0000 -+++ dsplink_linux_1_64b/dsplink/gpp/src/arch/DM648/pci/Linux/2.6.18/dm648_phy_pci.c 2010-02-09 17:42:21.000000000 +0000 -@@ -22,7 +22,12 @@ - - - /* ----------------------------------- OS Headers */ -+#include <linux/version.h> -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33) -+#include <generated/autoconf.h> -+#else - #include <linux/autoconf.h> -+#endif - #include <linux/module.h> - #include <linux/types.h> - #include <linux/kernel.h> -diff -uNr dsplink_linux_1_64a/dsplink/gpp/src/arch/OMAP2530/shmem/Linux/omap2530_phy_shmem.c dsplink_linux_1_64b/dsplink/gpp/src/arch/OMAP2530/shmem/Linux/omap2530_phy_shmem.c ---- dsplink_linux_1_64a/dsplink/gpp/src/arch/OMAP2530/shmem/Linux/omap2530_phy_shmem.c 2009-11-13 12:12:47.000000000 +0000 -+++ dsplink_linux_1_64b/dsplink/gpp/src/arch/OMAP2530/shmem/Linux/omap2530_phy_shmem.c 2010-02-09 17:43:29.000000000 +0000 -@@ -25,7 +25,12 @@ - - - /* ----------------------------------- OS Headers */ -+#include <linux/version.h> -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33) -+#include <generated/autoconf.h> -+#else - #include <linux/autoconf.h> -+#endif - #include <linux/module.h> - #include <linux/types.h> - #include <linux/kernel.h> -diff -uNr dsplink_linux_1_64a/dsplink/gpp/src/arch/OMAP3530/shmem/Linux/omap3530_phy_shmem.c dsplink_linux_1_64b/dsplink/gpp/src/arch/OMAP3530/shmem/Linux/omap3530_phy_shmem.c ---- dsplink_linux_1_64a/dsplink/gpp/src/arch/OMAP3530/shmem/Linux/omap3530_phy_shmem.c 2009-11-13 12:12:47.000000000 +0000 -+++ dsplink_linux_1_64b/dsplink/gpp/src/arch/OMAP3530/shmem/Linux/omap3530_phy_shmem.c 2010-02-09 17:43:50.000000000 +0000 -@@ -22,7 +22,12 @@ - - - /* ----------------------------------- OS Headers */ -+#include <linux/version.h> -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33) -+#include <generated/autoconf.h> -+#else - #include <linux/autoconf.h> -+#endif - #include <linux/module.h> - #include <linux/types.h> - #include <linux/kernel.h> -diff -uNr dsplink_linux_1_64a/dsplink/gpp/src/arch/TNETV107XGEM/shmem/Linux/tnetv107xgem_phy_shmem.c dsplink_linux_1_64b/dsplink/gpp/src/arch/TNETV107XGEM/shmem/Linux/tnetv107xgem_phy_shmem.c ---- dsplink_linux_1_64a/dsplink/gpp/src/arch/TNETV107XGEM/shmem/Linux/tnetv107xgem_phy_shmem.c 2009-11-13 12:12:47.000000000 +0000 -+++ dsplink_linux_1_64b/dsplink/gpp/src/arch/TNETV107XGEM/shmem/Linux/tnetv107xgem_phy_shmem.c 2010-02-09 17:44:06.000000000 +0000 -@@ -22,7 +22,12 @@ - - - /* ----------------------------------- OS Headers */ -+#include <linux/version.h> -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33) -+#include <generated/autoconf.h> -+#else - #include <linux/autoconf.h> -+#endif - #include <linux/module.h> - #include <linux/types.h> - #include <linux/kernel.h> -diff -uNr dsplink_linux_1_64a/dsplink/gpp/src/osal/Linux/2.6.18/dpc.c dsplink_linux_1_64b/dsplink/gpp/src/osal/Linux/2.6.18/dpc.c ---- dsplink_linux_1_64a/dsplink/gpp/src/osal/Linux/2.6.18/dpc.c 2009-11-13 12:12:47.000000000 +0000 -+++ dsplink_linux_1_64b/dsplink/gpp/src/osal/Linux/2.6.18/dpc.c 2010-02-09 17:47:25.000000000 +0000 -@@ -22,7 +22,12 @@ - - - /* ----------------------------------- OS Specific Headers */ -+#include <linux/version.h> -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33) -+#include <generated/autoconf.h> -+#else - #include <linux/autoconf.h> -+#endif - #include <linux/spinlock.h> - #include <linux/sched.h> - #include <linux/interrupt.h> -diff -uNr dsplink_linux_1_64a/dsplink/gpp/src/osal/Linux/2.6.18/isr.c dsplink_linux_1_64b/dsplink/gpp/src/osal/Linux/2.6.18/isr.c ---- dsplink_linux_1_64a/dsplink/gpp/src/osal/Linux/2.6.18/isr.c 2009-11-13 12:12:47.000000000 +0000 -+++ dsplink_linux_1_64b/dsplink/gpp/src/osal/Linux/2.6.18/isr.c 2010-02-09 17:46:54.000000000 +0000 -@@ -22,7 +22,12 @@ - - - /* ----------------------------------- OS Specific Headers */ -+#include <linux/version.h> -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33) -+#include <generated/autoconf.h> -+#else - #include <linux/autoconf.h> -+#endif - #include <linux/version.h> - #include <linux/spinlock.h> - #include <linux/sched.h> -diff -uNr dsplink_linux_1_64a/dsplink/gpp/src/osal/Linux/2.6.18/kfiledef.c dsplink_linux_1_64b/dsplink/gpp/src/osal/Linux/2.6.18/kfiledef.c ---- dsplink_linux_1_64a/dsplink/gpp/src/osal/Linux/2.6.18/kfiledef.c 2009-11-13 12:12:47.000000000 +0000 -+++ dsplink_linux_1_64b/dsplink/gpp/src/osal/Linux/2.6.18/kfiledef.c 2010-02-09 17:46:39.000000000 +0000 -@@ -22,7 +22,12 @@ - - - /* ----------------------------------- OS Specific Headers */ -+#include <linux/version.h> -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33) -+#include <generated/autoconf.h> -+#else - #include <linux/autoconf.h> -+#endif - #include <linux/spinlock.h> - #include <linux/kernel.h> - #include <linux/mm.h> -diff -uNr dsplink_linux_1_64a/dsplink/gpp/src/osal/Linux/2.6.18/mem.c dsplink_linux_1_64b/dsplink/gpp/src/osal/Linux/2.6.18/mem.c ---- dsplink_linux_1_64a/dsplink/gpp/src/osal/Linux/2.6.18/mem.c 2009-11-13 12:12:47.000000000 +0000 -+++ dsplink_linux_1_64b/dsplink/gpp/src/osal/Linux/2.6.18/mem.c 2010-02-09 17:46:25.000000000 +0000 -@@ -22,7 +22,12 @@ - - - /* ----------------------------------- OS Specific Headers */ -+#include <linux/version.h> -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33) -+#include <generated/autoconf.h> -+#else - #include <linux/autoconf.h> -+#endif - #include <linux/spinlock.h> - #include <linux/sched.h> - #include <linux/types.h> -diff -uNr dsplink_linux_1_64a/dsplink/gpp/src/osal/Linux/2.6.18/notify_knl.c dsplink_linux_1_64b/dsplink/gpp/src/osal/Linux/2.6.18/notify_knl.c ---- dsplink_linux_1_64a/dsplink/gpp/src/osal/Linux/2.6.18/notify_knl.c 2009-11-13 12:12:47.000000000 +0000 -+++ dsplink_linux_1_64b/dsplink/gpp/src/osal/Linux/2.6.18/notify_knl.c 2010-02-09 17:47:12.000000000 +0000 -@@ -22,7 +22,12 @@ - - - /* ----------------------------------- OS Specific Headers */ -+#include <linux/version.h> -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33) -+#include <generated/autoconf.h> -+#else - #include <linux/autoconf.h> -+#endif - #include <linux/spinlock.h> - #include <linux/signal.h> - #include <linux/kernel.h> -diff -uNr dsplink_linux_1_64a/dsplink/gpp/src/osal/Linux/2.6.18/sync.c dsplink_linux_1_64b/dsplink/gpp/src/osal/Linux/2.6.18/sync.c ---- dsplink_linux_1_64a/dsplink/gpp/src/osal/Linux/2.6.18/sync.c 2009-11-13 12:12:47.000000000 +0000 -+++ dsplink_linux_1_64b/dsplink/gpp/src/osal/Linux/2.6.18/sync.c 2010-02-09 17:47:39.000000000 +0000 -@@ -22,7 +22,12 @@ - - - /* ----------------------------------- OS Specific Headers */ -+#include <linux/version.h> -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33) -+#include <generated/autoconf.h> -+#else - #include <linux/autoconf.h> -+#endif - #include <linux/spinlock.h> - #include <linux/timer.h> - #include <linux/sched.h> -diff -uNr dsplink_linux_1_64a/dsplink/gpp/src/osal/Linux/prcs.c dsplink_linux_1_64b/dsplink/gpp/src/osal/Linux/prcs.c ---- dsplink_linux_1_64a/dsplink/gpp/src/osal/Linux/prcs.c 2009-11-13 12:12:47.000000000 +0000 -+++ dsplink_linux_1_64b/dsplink/gpp/src/osal/Linux/prcs.c 2010-02-09 17:45:44.000000000 +0000 -@@ -22,7 +22,12 @@ - - - /* ----------------------------------- OS Specific Headers */ -+#include <linux/version.h> -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33) -+#include <generated/autoconf.h> -+#else - #include <linux/autoconf.h> -+#endif - #include <linux/spinlock.h> - #include <linux/module.h> - #include <linux/mm.h> -diff -uNr dsplink_linux_1_64a/dsplink/gpp/src/osal/Linux/print.c dsplink_linux_1_64b/dsplink/gpp/src/osal/Linux/print.c ---- dsplink_linux_1_64a/dsplink/gpp/src/osal/Linux/print.c 2009-11-13 12:12:47.000000000 +0000 -+++ dsplink_linux_1_64b/dsplink/gpp/src/osal/Linux/print.c 2010-02-09 17:45:30.000000000 +0000 -@@ -22,7 +22,12 @@ - - - /* ----------------------------------- OS Specific Headers */ -+#include <linux/version.h> -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33) -+#include <generated/autoconf.h> -+#else - #include <linux/autoconf.h> -+#endif - #include <linux/spinlock.h> - #include <stdarg.h> - #include <linux/types.h> -diff -uNr dsplink_linux_1_64a/dsplink/gpp/src/osal/Linux/user.c dsplink_linux_1_64b/dsplink/gpp/src/osal/Linux/user.c ---- dsplink_linux_1_64a/dsplink/gpp/src/osal/Linux/user.c 2009-11-13 12:12:47.000000000 +0000 -+++ dsplink_linux_1_64b/dsplink/gpp/src/osal/Linux/user.c 2010-02-09 17:46:07.000000000 +0000 -@@ -22,7 +22,12 @@ - - - /* ----------------------------------- OS Specific Headers */ -+#include <linux/version.h> -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33) -+#include <generated/autoconf.h> -+#else - #include <linux/autoconf.h> -+#endif - #include <linux/spinlock.h> - #include <linux/timer.h> - #include <linux/sched.h> -diff -uNr dsplink_linux_1_64a/dsplink/gpp/src/pmgr/Linux/2.6.18/drv_pmgr.c dsplink_linux_1_64b/dsplink/gpp/src/pmgr/Linux/2.6.18/drv_pmgr.c ---- dsplink_linux_1_64a/dsplink/gpp/src/pmgr/Linux/2.6.18/drv_pmgr.c 2009-11-13 12:12:48.000000000 +0000 -+++ dsplink_linux_1_64b/dsplink/gpp/src/pmgr/Linux/2.6.18/drv_pmgr.c 2010-02-09 17:40:59.000000000 +0000 -@@ -33,7 +33,11 @@ - #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26) - #include <linux/device.h> - #endif -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33) -+#include <generated/autoconf.h> -+#else - #include <linux/autoconf.h> -+#endif - #include <linux/spinlock.h> - #include <linux/module.h> - #include <linux/init.h> diff --git a/recipes/ti/files/gstreamer-ti-tracker-824.patch b/recipes/ti/files/gstreamer-ti-tracker-824.patch deleted file mode 100644 index 634fa4aaf6..0000000000 --- a/recipes/ti/files/gstreamer-ti-tracker-824.patch +++ /dev/null @@ -1,147 +0,0 @@ ---- ticodecplugin/ChangeLog -+++ ticodecplugin.new/ChangeLog -@@ -1,3 +1,7 @@ -+2009-08-14 Don Darling, Texas Instruments, Inc. -+ * src/{gstticodecplugin_omap3530.cfg,gstticodecs_omap3530.c}: -+ Update OMAP3530 Support to use DVSDK 3.00.00.40. -+ - 2009-07-28 Brijesh Singh, Texas Instruments, Inc. - * src/{gstticircbuffer.c}: - Fix potential memory leak in circular buffer when accel framecopy flag is ---- ticodecplugin/src/gstticodecplugin_omap3530.cfg -+++ ticodecplugin.new/src/gstticodecplugin_omap3530.cfg -@@ -12,8 +12,6 @@ - * - */ - --prog.build.platform = "ti.platforms.evm3530"; -- - /* Load the Codec Engine 'Operating System Abstraction Layer' */ - var osalGlobal = xdc.useModule('ti.sdo.ce.osal.Global'); - -@@ -27,31 +25,20 @@ ipc.commType = ipc.COMM_DSPLINK; - /* - * ======== Engine Configuration ======== - */ --var Engine = xdc.useModule('ti.sdo.ce.Engine'); --var encEngine = Engine.createFromServer( -- "encode", -- "./encodeCombo.x64P", -- "ti.sdo.servers.encode" -- ); --var decEngine = Engine.createFromServer( -- "decode", -- "./decodeCombo.x64P", -- "ti.sdo.servers.decode" -+var Engine = xdc.useModule('ti.sdo.ce.Engine'); -+var demoEngine = Engine.createFromServer( -+ "codecServer", -+ "./bin/cs.x64P", -+ "ti.sdo.server.cs" - ); - --var encpath = "" + java.lang.System.getenv("ENCODE_COMBO"); --if (encpath != "" && encpath != "null") { -- encEngine.server = java.lang.System.getenv("ENCODE_COMBO"); --} -- --var decpath = "" + java.lang.System.getenv("DECODE_COMBO"); --if (decpath != "" && decpath != "null") { -- decEngine.server = java.lang.System.getenv("DECODE_COMBO"); -+var combopath = "" + java.lang.System.getenv("CODEC_SERVER"); -+if (combopath != "" && combopath != "null") { -+ demoEngine.server = java.lang.System.getenv("CODEC_SERVER"); - } - - /* Load support for the DMAI module */ - var DMAI = xdc.loadPackage('ti.sdo.dmai'); - --/* Load support for user space DMA */ --var SCPY = xdc.useModule("ti.sdo.fc.scpy.SCPY"); --var SDMA = xdc.useModule("ti.sdo.linuxutils.sdma.SDMA"); -+var SCPY = xdc.useModule('ti.sdo.fc.scpy.SCPY'); -+var SDMA = xdc.useModule('ti.sdo.linuxutils.sdma.SDMA'); ---- ticodecplugin/src/gstticodecs_omap3530.c -+++ ticodecplugin.new/src/gstticodecs_omap3530.c -@@ -22,8 +22,7 @@ - #include "gstticodecs.h" - - /* Declaration of the production engine and decoders shipped with the DVSDK */ --static Char decodeEngine[] = "decode"; --static Char encodeEngine[] = "encode"; -+static Char codecServer[] = "codecServer"; - - /* NULL terminated list of speech decoders in the engine to use in the demo */ - GstTICodec gst_ticodec_codecs[] = { -@@ -32,59 +31,55 @@ GstTICodec gst_ticodec_codecs[] = { - { - "AAC Audio Decoder", /* String name of codec used by plugin */ - "aachedec", /* String name of codec used by CE */ -- decodeEngine /* Engine that contains this codec */ -+ codecServer /* Engine that contains this codec */ - }, { - "MPEG1L2 Audio Decoder", /* String name of codec used by plugin */ - "mp3dec", /* String name of codec used by CE */ -- decodeEngine /* Engine that contains this codec */ -+ codecServer /* Engine that contains this codec */ - }, { - "MPEG1L3 Audio Decoder", /* String name of codec used by plugin */ - "mp3dec", /* String name of codec used by CE */ -- decodeEngine /* Engine that contains this codec */ -- }, { -- "WMA Audio Decoder", /* String name of codec used by plugin */ -- "wmadec", /* String name of codec used by CE */ -- decodeEngine /* Engine that contains this codec */ -+ codecServer /* Engine that contains this codec */ - }, -- -+ - /* Video Decoders */ - { - "H.264 Video Decoder", /* String name of codec used by plugin */ - "h264dec", /* String name of codec used by CE */ -- decodeEngine /* Engine that contains this codec */ -+ codecServer /* Engine that contains this codec */ - }, { - "MPEG4 Video Decoder", /* String name of codec used by plugin */ - "mpeg4dec", /* String name of codec used by CE */ -- decodeEngine /* Engine that contains this codec */ -+ codecServer /* Engine that contains this codec */ - }, { - "MPEG2 Video Decoder", /* String name of codec used by plugin */ - "mpeg2dec", /* String name of codec used by CE */ -- decodeEngine /* Engine that contains this codec */ -+ codecServer /* Engine that contains this codec */ - }, - - /* Image Decoders */ - { - "JPEG Image Decoder", /* String name of codec used by plugin */ - "jpegdec", /* String name of codec used by CE */ -- decodeEngine /* Engine that contains this codec */ -+ codecServer /* Engine that contains this codec */ - }, - - /* Video Encoders */ - { - "H.264 Video Encoder", /* String name of codec used by plugin */ - "h264enc", /* String name of codec used by CE */ -- encodeEngine /* Engine that contains this codec */ -+ codecServer /* Engine that contains this codec */ - }, { - "MPEG4 Video Encoder", /* String name of codec used by plugin */ - "mpeg4enc", /* String name of codec used by CE */ -- encodeEngine /* Engine that contains this codec */ -+ codecServer /* Engine that contains this codec */ - }, - - /* Image Encoders */ - { - "JPEG Image Encoder", /* String name of codec used by plugin */ - "jpegenc", /* String name of codec used by CE */ -- encodeEngine /* Engine that contains this codec */ -+ codecServer /* Engine that contains this codec */ - }, - - { NULL } - diff --git a/recipes/ti/files/loadmodules-ti-dmai-apps.sh b/recipes/ti/files/loadmodules-ti-dmai-apps.sh deleted file mode 100755 index 7120b74483..0000000000 --- a/recipes/ti/files/loadmodules-ti-dmai-apps.sh +++ /dev/null @@ -1,37 +0,0 @@ -# -# Default Memory Map - for OMAP3530 dvsdk examples from 3.00.00.29 - this memory map is used for DMAI apps -# -# Start Addr Size Description -# ------------------------------------------- -# 0x80000000 88 MB Linux -# 0x85800000 08 MB CMEM -# 0x86800000 16 MB DDRALGHEAP -# 0x87800000 6 MB DDR2 (BIOS, Codecs, Applications) -# 0x87E00000 1 MB DSPLINK (MEM) -# 0x87F00000 4 KB DSPLINK (RESET) -# 0x87F01000 1020 KB unused - -# sanity check to verify that we're using the right mem=xxM (88M in this case) -awk '/MemTotal:/ { - mem=$2 - - if (mem > 88 * 1024) - print "Warning! You need to use mem=88M or less on the kernel cmdline" - - printf "You have %dkB total memory for Linux\n", mem -}' /proc/meminfo - -# Select cmemk parameters for best fit, i.e. starting at 0x85000000 -modprobe cmemk phys_start=0x85800000 phys_end=0x86800000 pools=20x4096,8x131072,5x1048576,1x1429440,1x256000,1x3600000,5x829440 - -# insert DSP/BIOS Link driver -# -modprobe dsplinkk - -# make /dev/dsplink -#rm -f /dev/dsplink -#mknod /dev/dsplink c `awk "\\$2==\"dsplink\" {print \\$1}" /proc/devices` 0 - -# insert Local Power Manager driver -# -modprobe lpm_omap3530 diff --git a/recipes/ti/files/loadmodules-ti-dmai-dm355_al.sh b/recipes/ti/files/loadmodules-ti-dmai-dm355_al.sh deleted file mode 100755 index ca357e2095..0000000000 --- a/recipes/ti/files/loadmodules-ti-dmai-dm355_al.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh -# -# loadmodules.sh -# -# Copyright (C) $year Texas Instruments Incorporated - http://www.ti.com/ -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License as -# published by the Free Software Foundation version 2.1 of the License. -# -# This program is distributed #as is# WITHOUT ANY WARRANTY of any kind, -# whether express or implied; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. - -# 12MB -modprobe cmemk phys_start=0x87400000 phys_end=0x88000000 pools=1x2903040,1x1529856,7x829440,1x524288,1x108680,1x81920,2x8192,6x4096 - -./mapdmaq - -modprobe dm350mmap -rm -f /dev/dm350mmap -mknod /dev/dm350mmap c `awk "\\$2==\"dm350mmap\" {print \\$1}" /proc/devices` 0 diff --git a/recipes/ti/files/loadmodules-ti-dmai-dm365_al.sh b/recipes/ti/files/loadmodules-ti-dmai-dm365_al.sh deleted file mode 100644 index 921c924b9a..0000000000 --- a/recipes/ti/files/loadmodules-ti-dmai-dm365_al.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh -rmmod cmemk 2>/dev/null -rmmod irqk 2>/dev/null -rmmod edmak 2>/dev/null -rmmod dm365mmap 2>/dev/null - -# Pools configuration -insmod cmemk.ko phys_start=0x85000000 phys_end=0x88000000 pools=6x4096,2x8192,1x11908,2x13184,1x2697152,6x4096,1x30720,3x81920,1x3185664,64x56,1x320,1x640,1x81920,1x6650880,2x608,1x296,1x28,2x24,23x1548288,1x154288 allowOverlap=1 phys_start_1=0x00001000 phys_end_1=0x00008000 pools_1=1x28672 - -insmod irqk.ko -insmod edmak.ko -insmod dm365mmap.ko -rm -f /dev/dm365mmap -mknod /dev/dm365mmap c `awk "\\$2==\"dm365mmap\" {print \\$1}" /proc/devices` 0 diff --git a/recipes/ti/files/loadmodules-ti-dmai-dm6446_al.sh b/recipes/ti/files/loadmodules-ti-dmai-dm6446_al.sh deleted file mode 100755 index b4a230d590..0000000000 --- a/recipes/ti/files/loadmodules-ti-dmai-dm6446_al.sh +++ /dev/null @@ -1,19 +0,0 @@ -# -# loadmodules.sh -# -# Copyright (C) $year Texas Instruments Incorporated - http://www.ti.com/ -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License as -# published by the Free Software Foundation version 2.1 of the License. -# -# This program is distributed #as is# WITHOUT ANY WARRANTY of any kind, -# whether express or implied; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. - -modprobe cmemk phys_start=0x87800000 phys_end=0x88E00000 pools=20x4096,8x202752,10x131072,2x1048576,1x2097152,10x829440,1x6750000 -modprobe dsplinkk ddr_start=0x8F800000 ddr_size=0x600000 - -rm -rf /dev/dsplink -mknod /dev/dsplink c `awk "\\$2==\"dsplink\" {print \\$1}" /proc/devices` 0 diff --git a/recipes/ti/files/loadmodules-ti-dmai-dm6467_al.sh b/recipes/ti/files/loadmodules-ti-dmai-dm6467_al.sh deleted file mode 100755 index b4a230d590..0000000000 --- a/recipes/ti/files/loadmodules-ti-dmai-dm6467_al.sh +++ /dev/null @@ -1,19 +0,0 @@ -# -# loadmodules.sh -# -# Copyright (C) $year Texas Instruments Incorporated - http://www.ti.com/ -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License as -# published by the Free Software Foundation version 2.1 of the License. -# -# This program is distributed #as is# WITHOUT ANY WARRANTY of any kind, -# whether express or implied; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. - -modprobe cmemk phys_start=0x87800000 phys_end=0x88E00000 pools=20x4096,8x202752,10x131072,2x1048576,1x2097152,10x829440,1x6750000 -modprobe dsplinkk ddr_start=0x8F800000 ddr_size=0x600000 - -rm -rf /dev/dsplink -mknod /dev/dsplink c `awk "\\$2==\"dsplink\" {print \\$1}" /proc/devices` 0 diff --git a/recipes/ti/files/loadmodules-ti-dmai-o3530_al.sh b/recipes/ti/files/loadmodules-ti-dmai-o3530_al.sh deleted file mode 100755 index 076af07223..0000000000 --- a/recipes/ti/files/loadmodules-ti-dmai-o3530_al.sh +++ /dev/null @@ -1,42 +0,0 @@ -# loadmodules.sh -# -# Copyright (C) $year Texas Instruments Incorporated - http://www.ti.com/ -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License as -# published by the Free Software Foundation version 2.1 of the License. -# -# This program is distributed #as is# WITHOUT ANY WARRANTY of any kind, -# whether express or implied; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. - -# -# Default Memory Map -# -# Start Addr Size Description -# ------------------------------------------- -# 0x80000000 88 MB Linux -# 0x85800000 08 MB CMEM -# 0x86800000 24 MB DDRALGHEAP -# 0x87800000 6 MB DDR2 (BIOS, Codecs, Applications) -# 0x87E00000 1 MB DSPLINK (MEM) -# 0x87F00000 4 KB DSPLINK (RESET) -# 0x87F01000 1020 KB unused - -modprobe cmemk phys_start=0x85800000 phys_end=0x86800000 pools=20x4096,8x131072,4x829440,1x5250000,1x1429440,1x256000 - - -# insert DSP/BIOS Link driver -# -modprobe dsplinkk - -# make /dev/dsplink -rm -f /dev/dsplink -mknod /dev/dsplink c `awk "\\$2==\"dsplink\" {print \\$1}" /proc/devices` 0 - - -# insert Local Power Manager driver -# -modprobe lpm_omap3530 - diff --git a/recipes/ti/files/loadmodules-ti-dmai-ol138_al.sh b/recipes/ti/files/loadmodules-ti-dmai-ol138_al.sh deleted file mode 100755 index 2c98c7871a..0000000000 --- a/recipes/ti/files/loadmodules-ti-dmai-ol138_al.sh +++ /dev/null @@ -1,19 +0,0 @@ -# -# loadmodules.sh -# -# Copyright (C) $year Texas Instruments Incorporated - http://www.ti.com/ -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License as -# published by the Free Software Foundation version 2.1 of the License. -# -# This program is distributed #as is# WITHOUT ANY WARRANTY of any kind, -# whether express or implied; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. - -modprobe cmemk phys_start=0xC2200000 phys_end=0xC3200000 pools=1x5250000,3x1048576,3x829440,1x256000,4x131072 -modprobe dsplinkk - -rm -rf /dev/dsplink -mknod /dev/dsplink c `awk "\\$2==\"dsplink\" {print \\$1}" /proc/devices` 0 diff --git a/recipes/ti/files/loadmodules-ti-dsplink-apps.sh b/recipes/ti/files/loadmodules-ti-dsplink-apps.sh deleted file mode 100644 index 9cfb19d5c1..0000000000 --- a/recipes/ti/files/loadmodules-ti-dsplink-apps.sh +++ /dev/null @@ -1,25 +0,0 @@ -# -# Default Memory Map - for OMAP3530 dsplink examples -# -# Start Addr Size Description -# ------------------------------------------- -# 0x80000000 126 MB Linux -# 0x87E00000 2 MB DSPLINK (MEM) + DDR + DSPLINK (RESET) - -# sanity check to verify that we're using the right mem=xxM (126M in this case) -awk '/MemTotal:/ { - mem=$2 - - if (mem > 126 * 1024) - print "Warning! You need to use mem=126M or less on the kernel cmdline" - - printf "You have %dkB total memory for Linux\n", mem -}' /proc/meminfo - -# insert DSP/BIOS Link driver -# -modprobe dsplinkk - -# make /dev/dsplink -#rm -f /dev/dsplink -#mknod /dev/dsplink c `awk "\\$2==\"dsplink\" {print \\$1}" /proc/devices` 0 diff --git a/recipes/ti/files/unloadmodules-ti-dmai-apps.sh b/recipes/ti/files/unloadmodules-ti-dmai-apps.sh deleted file mode 100644 index 793d727f39..0000000000 --- a/recipes/ti/files/unloadmodules-ti-dmai-apps.sh +++ /dev/null @@ -1,12 +0,0 @@ -# Unload modules - DMAI - OMAP3530 - -# remove lpm module -rmmod lpm_omap3530 - -# remove DSP/BIOS Link driver -rmmod dsplinkk -#rm -f /dev/dsplink - -# remove cmem module -rmmod cmemk - diff --git a/recipes/ti/files/unloadmodules-ti-dsplink-apps.sh b/recipes/ti/files/unloadmodules-ti-dsplink-apps.sh deleted file mode 100644 index 48fa84b03d..0000000000 --- a/recipes/ti/files/unloadmodules-ti-dsplink-apps.sh +++ /dev/null @@ -1,5 +0,0 @@ -# Unload modules - DSPLINK - OMAP3530 - -# remove DSP/BIOS Link driver -rmmod dsplinkk -#rm -f /dev/dsplink |