summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-08-26 11:34:23 +0200
committerKoen Kooi <koen@openembedded.org>2009-08-26 11:34:23 +0200
commitbac5eef9c8a73672ee114926011addabb36610eb (patch)
treefbfc79e876b7e18a0871099a909035d50303e58c /recipes
parentaf56cd467bcc76f5499199fb1f14252abe1e1e2a (diff)
dvsdk: merge in new versions from arago and clean them up a bit
Diffstat (limited to 'recipes')
-rw-r--r--recipes/dvsdk/README30
-rw-r--r--recipes/dvsdk/files/cmem-remove-show-pte-function.patch56
-rw-r--r--recipes/dvsdk/files/dvsdk-rules/Makefile119
-rw-r--r--recipes/dvsdk/files/gstreamer-ti-tracker-824.patch125
-rw-r--r--recipes/dvsdk/gstreamer-ti/codec_combo_directory_fix.patch12
-rw-r--r--recipes/dvsdk/gstreamer-ti_svn.bb46
-rw-r--r--recipes/dvsdk/readme.txt5
-rw-r--r--recipes/dvsdk/ti-cgt6x-native_6.0.21.bb4
-rw-r--r--recipes/dvsdk/ti-cgt6x-native_6.1.9.bb22
-rw-r--r--recipes/dvsdk/ti-cgt6x-sdk_6.0.21.bb26
-rw-r--r--recipes/dvsdk/ti-cmem-module_2.23.1.bb7
-rw-r--r--recipes/dvsdk/ti-codec-combo-dm355-sdk_1.13.bb34
-rw-r--r--recipes/dvsdk/ti-codec-combo-dm355_1.13.bb15
-rw-r--r--recipes/dvsdk/ti-codec-combo-dm6446-sdk_2.05.bb31
-rw-r--r--recipes/dvsdk/ti-codec-combo-dm6446.inc39
-rw-r--r--recipes/dvsdk/ti-codec-combo-dm6446_2.05.bb38
-rw-r--r--recipes/dvsdk/ti-codec-combo-omap3530-sdk_3.16.1.bb35
-rw-r--r--recipes/dvsdk/ti-codec-combo-omap3530_3.16.1.bb40
-rw-r--r--recipes/dvsdk/ti-codec-combo-omapl137_1.0.bb23
-rw-r--r--recipes/dvsdk/ti-codec-combos_3.16.bb1
-rw-r--r--recipes/dvsdk/ti-codec-engine-sdk_2.23.1.bb50
-rw-r--r--recipes/dvsdk/ti-codec-engine_2.23.1.bb2
-rw-r--r--recipes/dvsdk/ti-codec-engine_2.24.01.bb94
-rw-r--r--recipes/dvsdk/ti-cs1-omap3530.inc41
-rw-r--r--recipes/dvsdk/ti-cs1-omap3530_1.0.1.bb53
-rw-r--r--recipes/dvsdk/ti-dm355mm-module_1.13.bb5
-rw-r--r--recipes/dvsdk/ti-dmai-sdk_svn.bb21
-rw-r--r--recipes/dvsdk/ti-dmai.inc8
-rw-r--r--recipes/dvsdk/ti-dmai_svn.bb57
-rw-r--r--recipes/dvsdk/ti-dspbios-native_5.33.02.bb6
-rw-r--r--recipes/dvsdk/ti-dspbios-native_5.33.04.bb22
-rw-r--r--recipes/dvsdk/ti-dspbios-sdk_5.33.02.bb26
-rw-r--r--recipes/dvsdk/ti-dsplink-module_1.61.3.bb50
-rw-r--r--recipes/dvsdk/ti-lpm-module_2.23.1.bb4
-rw-r--r--recipes/dvsdk/ti-paths.inc72
-rw-r--r--recipes/dvsdk/ti-rules-make-sdk.bb63
-rw-r--r--recipes/dvsdk/ti-sdma-module_2.23.1.bb5
-rw-r--r--recipes/dvsdk/ti-xdctools-native_3.10.03.bb2
-rw-r--r--recipes/dvsdk/ti-xdctools-native_3.15.01.59.bb22
-rw-r--r--recipes/dvsdk/ti-xdctools-sdk_3.10.03.bb25
40 files changed, 728 insertions, 608 deletions
diff --git a/recipes/dvsdk/README b/recipes/dvsdk/README
new file mode 100644
index 0000000000..fa1b481f68
--- /dev/null
+++ b/recipes/dvsdk/README
@@ -0,0 +1,30 @@
+Depending on platform you need to download one or more components from the external URL and put in downloads directory.
+
+DM355
+-----
+ - Code Engine 2.24
+
+OMAP3530/DM6446
+------
+ - Code Engine 2.24
+ - DSP/BIOS Link for Linux 1.61.03
+ - DSP/BIOS 5.33.04
+ - C6000 Code Generation Tools v6.1.9 Linux
+
+URL's:
+------
+* CE 2.24 (codec_engine_2_24.tar.gz)
+ http://software-dl.ti.com/dsps/dsps_registered_sw/sdo_sb/targetcontent/CE/ce_2_24/index.html
+
+* DSP/BIOS 5.33.04 (bios_setuplinux_5_33_04.bin)
+ http://software-dl.ti.com/dsps/dsps_registered_sw/sdo_sb/targetcontent/bios/bios_5_33/bios_5_33_04/index_external.html
+
+* DSP/BIOS Link for Linux 1.61.03 (dsplink_1_61_03.tar.gz)
+ http://software-dl.ti.com/dsps/dsps_registered_sw/sdo_sb/targetcontent/link/link_1_60/index.html
+
+* C6000 Code Generation Tools v6.1.9 Linux (ti_cgt_c6000_6.1.9_setup_linux_x86.bin)
+ https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/download.htm
+
+* Generic download URI
+ http://software-dl.ti.com/dsps/dsps_registered_sw/sdo_sb/targetcontent/
+
diff --git a/recipes/dvsdk/files/cmem-remove-show-pte-function.patch b/recipes/dvsdk/files/cmem-remove-show-pte-function.patch
new file mode 100644
index 0000000000..2d0fe672ef
--- /dev/null
+++ b/recipes/dvsdk/files/cmem-remove-show-pte-function.patch
@@ -0,0 +1,56 @@
+--- codec_engine_2_23_01/cetools/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c 2009-04-20 14:43:31.000000000 -0400
++++ codec_engine_2_23_01.new/cetools/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c 2009-07-28 10:48:38.000000000 -0400
+@@ -1018,53 +1018,6 @@
+ }
+
+
+-/*
+- * This is useful to dump out the page tables associated with
+- * 'addr' in mm 'mm'.
+- */
+-void show_pte(struct mm_struct *mm, unsigned long addr)
+-{
+- pgd_t *pgd;
+-
+- if (!mm)
+- mm = &init_mm;
+-
+- printk(KERN_ALERT "pgd = %p\n", mm->pgd);
+- pgd = pgd_offset(mm, addr);
+- printk(KERN_ALERT "[%08lx] *pgd=%08lx", addr, pgd_val(*pgd));
+-
+- do {
+- pmd_t *pmd;
+- pte_t *pte;
+-
+- if (pgd_none(*pgd))
+- break;
+-
+- if (pgd_bad(*pgd)) {
+- printk("(bad)");
+- break;
+- }
+-
+- pmd = pmd_offset(pgd, addr);
+-
+- if (pmd_none(*pmd))
+- break;
+-
+- if (pmd_bad(*pmd)) {
+- printk("(bad)");
+- break;
+- }
+-
+- /* We must not map this if we have highmem enabled */
+- pte = pte_offset_map(pmd, addr);
+- printk(", *pte=%08lx", pte_val(*pte));
+- printk(", *ppte=%08lx", pte_val(pte[-PTRS_PER_PTE]));
+- pte_unmap(pte);
+- } while(0);
+-
+- printk("\n");
+-}
+-
+ static int set_noncached(struct vm_area_struct *vma)
+ {
+ vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
diff --git a/recipes/dvsdk/files/dvsdk-rules/Makefile b/recipes/dvsdk/files/dvsdk-rules/Makefile
index edb74e0999..bc1eabf249 100644
--- a/recipes/dvsdk/files/dvsdk-rules/Makefile
+++ b/recipes/dvsdk/files/dvsdk-rules/Makefile
@@ -6,20 +6,20 @@ REPOSITORIES:=$(addsuffix /packages, $(COMPONENTS))
CHECKLIST:=$(REPOSITORIES) $(CODEGEN_INSTALL_DIR)/bin/cl6x $(MVTOOL_PREFIX)gcc $(LINUXKERNEL_INSTALL_DIR)/Documentation $(DEMO_INSTALL_DIR)/$(PLATFORM) $(PSP_INSTALL_DIR)/docs
-.PHONY: all clean everything clobber help cmem cmem_clean dmai dmai_clean demos demos_clean examples examples_clean dvtb dvtb_clean dm355mm dm355mm_clean dsplink dsplink_arm dsplink_dsp dsplink_samples dsplink_clean codecs codecs_clean linux linux_clean psp_examples psp_clean info check install
+.PHONY: all clean everything clobber help cmem cmem_clean dmai dmai_clean dm355mm dm355mm_clean dsplink dsplink_arm dsplink_dsp dsplink_samples dsplink_clean codecs codecs_clean linux linux_clean info check install
#==============================================================================
# Set up platform dependent variables.
#==============================================================================
ifeq ($(PLATFORM),dm6446)
-LINUXKERNEL_CONFIG=davinci_dm644x_defconfig
+LINUXKERNEL_CONFIG=davinci_all_defconfig
LINUXSAMPLES_PLATFORM=dm644x
DSPLINK_CONFIG=--platform=DAVINCI --nodsp=1 --dspcfg_0=DM6446GEMSHMEM --dspos_0=DSPBIOS5XX --gppos=MVL5G --comps=ponslrm
DSPLINK_MODULE=$(LINK_INSTALL_DIR)/packages/dsplink/gpp/export/BIN/Linux/DAVINCI/RELEASE/dsplinkk.ko
DMAI_PLATFORM=dm6446_al
else
ifeq ($(PLATFORM),dm6467)
-LINUXKERNEL_CONFIG=davinci_dm6467_defconfig
+LINUXKERNEL_CONFIG=davinci_all_defconfig
LINUXSAMPLES_PLATFORM=dm646x
DSPLINK_CONFIG=--platform=DAVINCIHD --nodsp=1 --dspcfg_0=DM6467GEMSHMEM --dspos_0=DSPBIOS5XX --gppos=MVL5G --comps=ponslrm
DSPLINK_MODULE=$(LINK_INSTALL_DIR)/packages/dsplink/gpp/export/BIN/Linux/DAVINCIHD/RELEASE/dsplinkk.ko
@@ -38,22 +38,22 @@ endif
#==============================================================================
# The default build target.
#==============================================================================
-all: check cmem dm355mm dmai demos examples dvtb
+all: check cmem dm355mm dmai
#==============================================================================
# Clean up the targets built by 'make all'.
#==============================================================================
-clean: cmem_clean dm355mm_clean dmai_clean demos_clean examples_clean dvtb_clean
+clean: cmem_clean dm355mm_clean dmai_clean
#==============================================================================
# Build everything rebuildable.
#==============================================================================
-everything: check codecs linux dsplink psp_examples all
+everything: check codecs linux dsplink all
#==============================================================================
# Clean up all targets.
#==============================================================================
-clobber: clean dsplink_clean linux_clean codecs_clean psp_clean
+clobber: clean dsplink_clean linux_clean codecs_clean
#==============================================================================
# A help message target.
@@ -63,48 +63,36 @@ help:
@echo "Available build targets are:"
@echo
@echo " check : Make sure Rules.make is set up properly"
- @echo " info : List versions of DVSDK components"
+ @echo " info : List versions of DVSDK components"
@echo
@echo " all : Build the components below"
@echo " clean : Remove files generated by the 'all' target"
@echo
- @echo " cmem : Build the CMEM kernel module for $(PLATFORM)"
- @echo " cmem_clean : Remove generated cmem files."
+ @echo " cmem : Build the CMEM kernel module for $(PLATFORM)"
+ @echo " cmem_clean : Remove generated cmem files."
@echo
- @echo " dmai : Build DMAI for $(PLATFORM)_al"
- @echo " dmai_clean : Remove generated DMAI files."
- @echo
- @echo " demos : Build the DVSDK demos for $(PLATFORM)"
- @echo " demos_clean : Remove generated DVSDK demo files."
- @echo
- @echo " examples : Build examples for $(PLATFORM)"
- @echo " examples_clean : Build examples for $(PLATFORM)"
- @echo
- @echo " dvtb : Build DVTB for $(PLATFORM)"
- @echo " dvtb_clean : Remove generated DVTB files"
+ @echo " dmai : Build DMAI for $(PLATFORM)_al"
+ @echo " dmai_clean : Remove generated DMAI files."
@echo
@echo " dm355mm : Build the dm355mm kernel module"
- @echo " dm355mm_clean : Remove generated dm355mm files"
+ @echo " dm355mm_clean : Remove generated dm355mm files"
@echo
@echo "The following targets have to be explicitly built and cleaned:"
@echo
- @echo " everything : Rebuild everything including below targets"
+ @echo " everything : Rebuild everything including below targets"
@echo " clobber : Remove all generated files"
@echo
@echo " dsplink : Configure and build DSP Link for $(PLATFORM) ARM and DSP"
- @echo " dsplink_arm : Configure and build DSP Link for $(PLATFORM) ARM"
- @echo " dsplink_dsp : Configure and build DSP Link for $(PLATFORM) DSP"
- @echo " dsplink_samples : Build DSP Link ARM and DSP sample applications for $(PLATFORM)"
- @echo " dsplink_clean : Remove generated DSP Link files"
+ @echo " dsplink_arm : Configure and build DSP Link for $(PLATFORM) ARM"
+ @echo " dsplink_dsp : Configure and build DSP Link for $(PLATFORM) DSP"
+ @echo " dsplink_samples : Build DSP Link ARM and DSP sample applications "
+ @echo " dsplink_clean : Remove generated DSP Link files"
@echo
@echo " codecs : Build codec servers for $(PLATFORM)"
- @echo " codecs_clean : Remove generated codec server files"
+ @echo " codecs_clean : Remove generated codec server files"
@echo
@echo " linux : Build Linux kernel uImage for $(PLATFORM)"
- @echo " linux_clean : Remove generated Linux kernel files"
- @echo
- @echo " psp_examples : Build Linux examples for $(PLATFORM)"
- @echo " psp_clean : Build Linux examples for $(PLATFORM)"
+ @echo " linux_clean : Remove generated Linux kernel files"
@echo
@echo " install : Install binaries to $(EXEC_DIR)"
@echo
@@ -122,28 +110,6 @@ check:
@CHECKLIST="$(CHECKLIST)" $(DVSDK_INSTALL_DIR)/bin/check.sh
#==============================================================================
-# Build the dvsdk demos for the configured platform. Also, an explicit cleanup
-# target is defined.
-#==============================================================================
-demos:
- $(MAKE) -C $(DEMO_INSTALL_DIR)/$(PLATFORM)
-
-demos_clean:
- $(MAKE) -C $(DEMO_INSTALL_DIR)/$(PLATFORM) clean
-
-#==============================================================================
-# Build the Digital Video Test Bench for the configured platform. Also, an
-# explicit cleanup target is defined.
-#==============================================================================
-dvtb:
- $(MAKE) -C $(DVTB_INSTALL_DIR) $(PLATFORM)
- @echo
- @echo "dvtb can be found under $(DVTB_INSTALL_DIR)/packages/ti/sdo/dvtb/$(PLATFORM)/bin"
-
-dvtb_clean:
- $(MAKE) -C $(DVTB_INSTALL_DIR) clean
-
-#==============================================================================
# Build the Linux kernel. Also, an explicit cleanup target is defined.
#==============================================================================
linux:
@@ -156,17 +122,6 @@ linux_clean:
$(MAKE) -C $(LINUXKERNEL_INSTALL_DIR) CROSS_COMPILE=$(MVTOOL_PREFIX) clean
#==============================================================================
-# Build the PSP Linux examples. Also, an explicit cleanup target is defined.
-#==============================================================================
-psp_examples:
- $(MAKE) -C $(PSP_INSTALL_DIR)/examples PLATFORM=$(LINUXSAMPLES_PLATFORM) LINUXKERNEL_INSTALL_DIR=$(LINUXKERNEL_INSTALL_DIR) CROSS_COMPILE=$(MVTOOL_PREFIX)
- @echo
- @echo "PSP examples can be found under $(PSP_INSTALL_DIR)/examples/$(LINUXSAMPLES_PLATFORM)"
-
-psp_clean:
- $(MAKE) -C $(PSP_INSTALL_DIR)/examples PLATFORM=$(LINUXSAMPLES_PLATFORM) LINUXKERNEL_INSTALL_DIR=$(LINUXKERNEL_INSTALL_DIR) clean
-
-#==============================================================================
# Build the CMEM kernel module for the configured platform, and make sure the
# kernel_binaries directory is kept in sync. Also, an explicit cleanup target
# is defined.
@@ -216,34 +171,24 @@ ifeq ($(PLATFORM),dm355)
endif
#==============================================================================
-# Build the DVSDK examples for the configured platform. Also, an explicit
-# cleanup target is defined.
-#==============================================================================
-examples:
- $(MAKE) -C examples/$(PLATFORM)
-
-examples_clean:
- $(MAKE) -C examples/$(PLATFORM) clean
-
-#==============================================================================
# Build the Davinci Multimedia Application Interface for the configured
# platform. Also, an explicit cleanup target is defined.
#==============================================================================
dmai:
@$(MAKE) -C $(DMAI_INSTALL_DIR) PLATFORM=${DMAI_PLATFORM} \
CE_INSTALL_DIR_${DMAI_PLATFORM}=$(CE_INSTALL_DIR) \
- CODEC_INSTALL_DIR_${DMAI_PLATFORM}=$(CODEC_INSTALL_DIR) \
- LINK_INSTALL_DIR_${DMAI_PLATFORM}=$(LINK_INSTALL_DIR) \
- CMEM_INSTALL_DIR_${DMAI_PLATFORM}=$(CMEM_INSTALL_DIR) \
- FC_INSTALL_DIR_${DMAI_PLATFORM}=$(FC_INSTALL_DIR) \
- LPM_INSTALL_DIR_${DMAI_PLATFORM}=$(LPM_INSTALL_DIR) \
- XDAIS_INSTALL_DIR_${DMAI_PLATFORM}=$(XDAIS_INSTALL_DIR) \
- BIOS_INSTALL_DIR_${DMAI_PLATFORM}=$(BIOS_INSTALL_DIR) \
- LINUXLIBS_INSTALL_DIR_${DMAI_PLATFORM}=$(LINUXLIBS_INSTALL_DIR)\
- LINUXKERNEL_INSTALL_DIR_${DMAI_PLATFORM}=$(LINUXKERNEL_INSTALL_DIR) \
- CROSS_COMPILE_${DMAI_PLATFORM}=$(CSTOOL_PREFIX) \
- XDC_INSTALL_DIR_${DMAI_PLATFORM}=$(XDC_INSTALL_DIR) \
- EXEC_DIR_${DMAI_PLATFORM}=$(EXEC_DIR) all
+ CODEC_INSTALL_DIR_${DMAI_PLATFORM}=$(CODEC_INSTALL_DIR) \
+ LINK_INSTALL_DIR_${DMAI_PLATFORM}=$(LINK_INSTALL_DIR) \
+ CMEM_INSTALL_DIR_${DMAI_PLATFORM}=$(CMEM_INSTALL_DIR) \
+ FC_INSTALL_DIR_${DMAI_PLATFORM}=$(FC_INSTALL_DIR) \
+ LPM_INSTALL_DIR_${DMAI_PLATFORM}=$(LPM_INSTALL_DIR) \
+ XDAIS_INSTALL_DIR_${DMAI_PLATFORM}=$(XDAIS_INSTALL_DIR) \
+ BIOS_INSTALL_DIR_${DMAI_PLATFORM}=$(BIOS_INSTALL_DIR) \
+ LINUXLIBS_INSTALL_DIR_${DMAI_PLATFORM}=$(LINUXLIBS_INSTALL_DIR)\
+ LINUXKERNEL_INSTALL_DIR_${DMAI_PLATFORM}=$(LINUXKERNEL_INSTALL_DIR) \
+ CROSS_COMPILE_${DMAI_PLATFORM}=$(CSTOOL_PREFIX) \
+ XDC_INSTALL_DIR_${DMAI_PLATFORM}=$(XDC_INSTALL_DIR) \
+ EXEC_DIR_${DMAI_PLATFORM}=$(EXEC_DIR) all
@echo
@echo "DMAI applications can be found under $(DMAI_INSTALL_DIR)/packages/ti/sdo/dmai/apps"
diff --git a/recipes/dvsdk/files/gstreamer-ti-tracker-824.patch b/recipes/dvsdk/files/gstreamer-ti-tracker-824.patch
new file mode 100644
index 0000000000..852e60adbc
--- /dev/null
+++ b/recipes/dvsdk/files/gstreamer-ti-tracker-824.patch
@@ -0,0 +1,125 @@
+diff -uNr ticodecplugin/src/gstticodecplugin_omap3530.cfg ticodecplugin.new/src/gstticodecplugin_omap3530.cfg
+--- ticodecplugin/src/gstticodecplugin_omap3530.cfg 2009-06-10 17:29:59.000000000 -0500
++++ ticodecplugin.new/src/gstticodecplugin_omap3530.cfg 2009-08-07 16:17:24.000000000 -0500
+@@ -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,21 +25,15 @@
+ /*
+ * ======== 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"
+ );
+
+ /* 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');
+diff -uNr ticodecplugin/src/gstticodecs_omap3530.c ticodecplugin.new/src/gstticodecs_omap3530.c
+--- ticodecplugin/src/gstticodecs_omap3530.c 2009-06-10 17:29:59.000000000 -0500
++++ ticodecplugin.new/src/gstticodecs_omap3530.c 2009-08-07 16:17:24.000000000 -0500
+@@ -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 @@
+ {
+ "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/dvsdk/gstreamer-ti/codec_combo_directory_fix.patch b/recipes/dvsdk/gstreamer-ti/codec_combo_directory_fix.patch
index 72a0ab319f..7c03641707 100644
--- a/recipes/dvsdk/gstreamer-ti/codec_combo_directory_fix.patch
+++ b/recipes/dvsdk/gstreamer-ti/codec_combo_directory_fix.patch
@@ -21,8 +21,8 @@ diff -Naur ticodecplugin.orig/src/gstticodecplugin_dm6446.cfg ticodecplugin/src/
"./encodeCombo.x64P",
"ti.sdo.servers.encode"
);
-+encodeEngine.server = "/usr/share/ti-codec-combos/encodeCombo.x64P";
-+decodeEngine.server = "/usr/share/ti-codec-combos/decodeCombo.x64P";
++codecServer.server = "/usr/share/ti-codec-combos/cs.x64P";
++
/* Load support for the 'Davinci Multimedia Application Interface' modules */
var DMAI = xdc.loadPackage('ti.sdo.dmai');
@@ -33,8 +33,8 @@ diff -Naur ticodecplugin.orig/src/gstticodecplugin_dm6467.cfg ticodecplugin/src/
"./encodeCombo.x64P",
"ti.sdo.servers.encode"
);
-+encodeEngine.server = "/usr/share/ti-codec-combos/encodeCombo.x64P";
-+decodeEngine.server = "/usr/share/ti-codec-combos/decodeCombo.x64P";
++codecServer.server = "/usr/share/ti-codec-combos/cs.x64P";
++
/* Load support for the 'Davinci Multimedia Application Interface' modules */
var DMAI = xdc.loadPackage('ti.sdo.dmai');
@@ -45,8 +45,8 @@ diff -Naur ticodecplugin.orig/src/gstticodecplugin_omap3530.cfg ticodecplugin/sr
"./decodeCombo.x64P",
"ti.sdo.servers.decode"
);
-+encEngine.server = "/usr/share/ti-codec-combos/encodeCombo.x64P";
-+decEngine.server = "/usr/share/ti-codec-combos/decodeCombo.x64P";
++codecServer.server = "/usr/share/ti-codec-combos/cs.x64P";
++
/* Load support for the DMAI module */
var DMAI = xdc.loadPackage('ti.sdo.dmai');
diff --git a/recipes/dvsdk/gstreamer-ti_svn.bb b/recipes/dvsdk/gstreamer-ti_svn.bb
index e1c4c1e2e9..7d13c7186a 100644
--- a/recipes/dvsdk/gstreamer-ti_svn.bb
+++ b/recipes/dvsdk/gstreamer-ti_svn.bb
@@ -1,47 +1,27 @@
DESCRIPTION = "Gstreamer plugin for TI Davinci and OMAP processors"
+require ti-paths.inc
+
inherit autotools
DEPENDS = "ti-dmai gstreamer gst-plugins-base gst-plugins-good gst-plugins-ugly"
# Fetch source from svn repo
-SRCREV = "308"
+SRCREV = "285"
SRC_URI = "svn://gforge.ti.com/svn/gstreamer_ti/trunk;module=gstreamer_ti;proto=https;user=anonymous;pswd='' \
-file://codec_combo_directory_fix.patch;patch=1 \
- "
+ file://gstreamer-ti-tracker-824.patch;patch=1 \
+"
# Again, no '.' in PWD allowed :(
-PR = "r24"
+PR = "r28"
PV = "svnr${SRCREV}"
S = "${WORKDIR}/gstreamer_ti/ti_build/ticodecplugin"
-installdir = "${datadir}/ti"
-
-META_SDK_PATH ?= "${CROSS_DIR}"
-
-DMAI_INSTALL_DIR = "${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/ti-dmai"
-CE_INSTALL_DIR="${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/ti-codec-engine"
-FC_INSTALL_DIR="${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/ti-codec-engine/cetools"
-CODEC_INSTALL_DIR_dm355-evm="${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/ti-codec-combo-dm355"
-CODEC_INSTALL_DIR_dm6446-evm="${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/ti-codec-combo-dm6446"
-CODEC_INSTALL_DIR_omap3evm="${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/ti-codec-combo-omap3530"
-CODEC_INSTALL_DIR_beagleboard="${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/ti-codec-combo-omap3530"
-XDC_INSTALL_DIR="${STAGING_DIR}/${BUILD_SYS}/ti-xdctools-native"
-CODEGEN_INSTALL_DIR="${STAGING_DIR}/${BUILD_SYS}/ti-cgt6x-native"
-
-export DMAI_INSTALL_DIR
-export CE_INSTALL_DIR
-export FC_INSTALL_DIR
-export CODEC_INSTALL_DIR
-export XDC_INSTALL_DIR
-export CODEGEN_INSTALL_DIR
-
XDC_TARGET = gnu.targets.arm.GCArmv5T
XDC_PLATFORM_dm355-evm = ti.platforms.evmDM355
XDC_PLATFORM_dm6446-evm = ti.platforms.evmDM6446
-XDC_PLATFORM_omap3evm = ti.platforms.evm3530
-XDC_PLATFORM_beagleboard = ti.platforms.evm3530
+XDC_PLATFORM_da830-omapl137-evm = ti.platforms.omapl137
PLATFORM_XDC = ${XDC_PLATFORM}
export XDC_TARGET
@@ -50,17 +30,7 @@ export PLATFORM_XDC
PLATFORM_dm355-evm = "dm355"
PLATFORM_dm6446-evm = "dm6446"
-PLATFORM_omap3evm = "omap3530"
-PLATFORM_beagleboard = "omap3530"
-
-export PLATFORM
-
-CROSS_COMPILE=${META_SDK_PATH}/bin/${TARGET_PREFIX}
-CSTOOL_DIR=${META_SDK_PATH}
-MVTOOL_DIR=${META_SDK_PATH}
-export CROSS_COMPILE
-export CSTOOL_DIR
-export MVTOOL_DIR
+PLATFORM_da830-omapl137-evm = "ol137"
CPPFLAGS_append = " -DPlatform_${PLATFORM}"
diff --git a/recipes/dvsdk/readme.txt b/recipes/dvsdk/readme.txt
deleted file mode 100644
index daf7bf6be5..0000000000
--- a/recipes/dvsdk/readme.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-
-The software needed can be downloaded from:
-* http://software-dl.ti.com/dsps/dsps_registered_sw/sdo_sb/targetcontent/
-* https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/download.htm
-
diff --git a/recipes/dvsdk/ti-cgt6x-native_6.0.21.bb b/recipes/dvsdk/ti-cgt6x-native_6.0.21.bb
index d980f46c16..e030b81f43 100644
--- a/recipes/dvsdk/ti-cgt6x-native_6.0.21.bb
+++ b/recipes/dvsdk/ti-cgt6x-native_6.0.21.bb
@@ -1,6 +1,8 @@
require ti-cgt6x.inc
inherit native
+# download ti_cgt_c6000_6.0.21_setup_linux_x86.bin from https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/download.htm and copy in Arago (or OE) download directory.
+
SRC_URI = "http://install.source.dir.com/ti_cgt_c6000_6.0.21_setup_linux_x86.bin"
BINFILE="ti_cgt_c6000_6.0.21_setup_linux_x86.bin"
@@ -16,5 +18,5 @@ do_stage() {
cp -pPrf ${S}/* ${STAGING_DIR_NATIVE}/${PN}/
}
-AUTOTOOLS_NATIVE_STAGE_INSTALL="1"
+AUTOTOOLS_NATIVE_STAGE_INSTALL = "1"
diff --git a/recipes/dvsdk/ti-cgt6x-native_6.1.9.bb b/recipes/dvsdk/ti-cgt6x-native_6.1.9.bb
new file mode 100644
index 0000000000..55c1b6ca06
--- /dev/null
+++ b/recipes/dvsdk/ti-cgt6x-native_6.1.9.bb
@@ -0,0 +1,22 @@
+require ti-cgt6x.inc
+inherit native
+
+# download ti_cgt_c6000_6.1.9_setup_linux_x86.bin from https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/download.htm and copy in Arago (or OE) download directory.
+
+SRC_URI = "http://install.source.dir.com/ti_cgt_c6000_6.1.9_setup_linux_x86.bin"
+
+BINFILE = "ti_cgt_c6000_6.1.9_setup_linux_x86.bin"
+
+S = "${WORKDIR}/cgt"
+
+# Yes, the xdc stuff still breaks with a '.' in PWD
+PV = "6190"
+PR = "r1"
+
+do_stage() {
+ install -d ${STAGING_DIR_NATIVE}/${PN}
+ cp -pPrf ${S}/* ${STAGING_DIR_NATIVE}/${PN}/
+}
+