gstreamer-ti: remove outdated component
PATCH 2/2 codec-engine: remove outdated components
In reply to Denys DmytriyenkoRemove the old 2.x version of Codec Engine, that hasn't been updated in years and the corresponding codecs-omap3530 package.
--- recipes-ti/codec-engine/ti-codec-engine.inc | 199 -------------------- .../bypass-GCArmv5T-used-is-sealed.patch | 22 --- ...-08-Examples-Add-LPM_INSTALL_DIR-packages.patch | 60 ------ .../ti-codec-engine/dm365-evm/loadmodules.sh | 49 ----- .../loadmodules-ti-codec-engine-apps.sh | 37 ---- .../unloadmodules-ti-codec-engine-apps.sh | 12 -- .../codec-engine/ti-codec-engine_2.26.02.11.bb | 12 -- .../ti-codecs-omap3530/disable-c6accel.diff | 47 ----- .../ti-codecs-omap3530/mp3dec_cs1omap3530.patch | 41 ---- .../codec-engine/ti-codecs-omap3530_4.00.00.00.bb | 208 --------------------- 10 files changed, 687 deletions(-) delete mode 100644 recipes-ti/codec-engine/ti-codec-engine.inc delete mode 100644 recipes-ti/codec-engine/ti-codec-engine/bypass-GCArmv5T-used-is-sealed.patch delete mode 100644 recipes-ti/codec-engine/ti-codec-engine/ce-2-26-00-08-Examples-Add-LPM_INSTALL_DIR-packages.patch delete mode 100644 recipes-ti/codec-engine/ti-codec-engine/dm365-evm/loadmodules.sh delete mode 100644 recipes-ti/codec-engine/ti-codec-engine/loadmodules-ti-codec-engine-apps.sh delete mode 100644 recipes-ti/codec-engine/ti-codec-engine/unloadmodules-ti-codec-engine-apps.sh delete mode 100644 recipes-ti/codec-engine/ti-codec-engine_2.26.02.11.bb delete mode 100644 recipes-ti/codec-engine/ti-codecs-omap3530/disable-c6accel.diff delete mode 100644 recipes-ti/codec-engine/ti-codecs-omap3530/mp3dec_cs1omap3530.patch delete mode 100644 recipes-ti/codec-engine/ti-codecs-omap3530_4.00.00.00.bb
recipes-ti/codec-engine/ti-codec-engine.inc deleted +0 -199
@@ -1,199 +0,0 @@ -DESCRIPTION = "Codec Engine for TI ARM/DSP processors" -HOMEPAGE = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/ce" -SECTION = "devel" -LICENSE = "BSD" - -# TODO :: Add Codec Engine Library Rebuild -# TODO :: Add Examples APP_LOCAL build as well? -# TODO :: Check DEPENDS - are the DSP side packages required for ARM-only products? - -require recipes-ti/includes/ti-paths.inc -require recipes-ti/includes/ti-staging.inc - -PROVIDES += "ti-codec-engine-examples" - -PR = "${MACHINE_KERNEL_PR}" - -S = "${WORKDIR}/codec_engine_${PV}" - -SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/ce/${PV}/exports/codec_engine_${PV},lite.tar.gz;name=cetarball " - -DEPENDS = "ti-framework-components ti-xdais ti-xdctools ti-linuxutils" -DEPENDS_append_dm6446 = " ti-dspbios ti-dsplink ti-local-power-manager ti-cgt6x ti-biosutils ti-edma3lld" -DEPENDS_append_dm6467 = " ti-dspbios ti-dsplink ti-cgt6x ti-biosutils ti-edma3lld" -DEPENDS_append_omap3 = " ti-dspbios ti-dsplink ti-local-power-manager ti-cgt6x ti-biosutils ti-edma3lld" -DEPENDS_append_omapl137 = " ti-dspbios ti-dsplink ti-cgt6x ti-biosutils ti-edma3lld" -DEPENDS_append_omapl138 = " ti-dspbios ti-dsplink ti-cgt6x ti-biosutils ti-edma3lld" - -# SOC_FAMILY configuration - -# Define DEVICES variable -CEEXAMPLESDEVICES_dm6446 = "DM6446" -CEEXAMPLESDEVICES_dm6467 = "DM6467" -CEEXAMPLESDEVICES_omap3 = "OMAP3530" -CEEXAMPLESDEVICES_dm355 = "DM355" -CEEXAMPLESDEVICES_dm365 = "DM365" -CEEXAMPLESDEVICES_omapl137 = "OMAPL137" -CEEXAMPLESDEVICES_omapl138 = "OMAPL138" -CEEXAMPLESDEVICES ?= "<UNDEFINED_CEEXAMPLESDEVICES>" - -# Define GPPOS variable -CEEXAMPLESGPPOS_dm6446 = "LINUX_GCC" -CEEXAMPLESGPPOS_dm6467 = "LINUX_GCC" -CEEXAMPLESGPPOS_omap3 = "LINUX_GCC" -CEEXAMPLESGPPOS_dm355 = "LINUX_GCC" -CEEXAMPLESGPPOS_dm365 = "LINUX_GCC" -CEEXAMPLESGPPOS_omapl137 = "LINUX_GCC" -CEEXAMPLESGPPOS_omapl138 = "LINUX_GCC" -CEEXAMPLESGPPOS ?= "<UNDEFINED_CEEXAMPLESGPPOS>" - -# Define PROGRAM variable -CEEXAMPLESPROGRAMS_dm6446 = "APP_CLIENT DSP_SERVER" -CEEXAMPLESPROGRAMS_dm6467 = "APP_CLIENT DSP_SERVER" -CEEXAMPLESPROGRAMS_omap3 = "APP_CLIENT DSP_SERVER" -CEEXAMPLESPROGRAMS_dm355 = "APP_LOCAL" -CEEXAMPLESPROGRAMS_dm365 = "APP_LOCAL" -CEEXAMPLESPROGRAMS_omapl137 = "APP_CLIENT DSP_SERVER" -CEEXAMPLESPROGRAMS_omapl138 = "APP_CLIENT DSP_SERVER" -CEEXAMPLESPROGRAMS ?= "<UNDEFINED_CEEXAMPLESPROGRAMS>" - -do_configure() { - - # No way to pass this via ENV? - sed -i \ - -e s:arm-none-linux-gnueabi-:${TARGET_PREFIX}:g \ - ${S}/examples/xdcpaths.mak - - # compiler is not under ${TOOLCHAIN_PATH}/bin anymore... - sed -i \ - -e s:bin/${TARGET_PREFIX}gcc:${TARGET_PREFIX}gcc:g \ - ${S}/examples/xdcpaths.mak - - # ... and ar is not there too -# sed -i \ -# -e s:/arm-angstrom-linux-gnueabi/bin/ar:/arm-angstrom-linux-gnueabi-ar:g \ -# ${S}/examples/ti/xdais/dm/examples/viddec1_copy/package.mak -} - -do_prepsources() { - - for i in codecs extensions servers apps ; do - cd ${S}/examples/ti/sdo/ce/examples/$i - make DEVICES="${CEEXAMPLESDEVICES}" \ - GPPOS="${CEEXAMPLESGPPOS}" \ - PROGRAMS="${CEEXAMPLESPROGRAMS}" \ - CE_INSTALL_DIR="${S}" \ - XDC_INSTALL_DIR="${XDC_INSTALL_DIR}" \ - BIOS_INSTALL_DIR="${BIOS_INSTALL_DIR}" \ - BIOSUTILS_INSTALL_DIR="${BIOSUTILS_INSTALL_DIR}" \ - DSPLINK_INSTALL_DIR="${LINK_INSTALL_DIR}" \ - XDAIS_INSTALL_DIR="${XDAIS_INSTALL_DIR}" \ - FC_INSTALL_DIR="${FC_INSTALL_DIR}" \ - CMEM_INSTALL_DIR="${CMEM_INSTALL_DIR}" \ - LPM_INSTALL_DIR="${LPM_INSTALL_DIR}" \ - EDMA3_LLD_INSTALL_DIR="${EDMA3_LLD_INSTALL_DIR}" \ - CGTOOLS_V5T="${TOOLCHAIN_PATH}" \ - CGTOOLS_C64P="${CODEGEN_INSTALL_DIR}" \ - CGTOOLS_C674="${CODEGEN_INSTALL_DIR}" \ - clean - # '.make' target was used in CE < 2.26, but its no longer - # supported in CE >= 2.26. Now we are moved to >=2.26 - # hence commenting out the .make target. - # .make clean - done -} - -addtask prepsources after do_configure before do_compile - -do_compile () { - - for i in codecs extensions servers apps ; do - cd ${S}/examples/ti/sdo/ce/examples/$i - make DEVICES="${CEEXAMPLESDEVICES}" \ - GPPOS="${CEEXAMPLESGPPOS}" \ - PROGRAMS="${CEEXAMPLESPROGRAMS}" \ - CE_INSTALL_DIR="${S}" \ - XDC_INSTALL_DIR="${XDC_INSTALL_DIR}" \ - BIOS_INSTALL_DIR="${BIOS_INSTALL_DIR}" \ - BIOSUTILS_INSTALL_DIR="${BIOSUTILS_INSTALL_DIR}" \ - DSPLINK_INSTALL_DIR="${LINK_INSTALL_DIR}" \ - XDAIS_INSTALL_DIR="${XDAIS_INSTALL_DIR}" \ - FC_INSTALL_DIR="${FC_INSTALL_DIR}" \ - CMEM_INSTALL_DIR="${CMEM_INSTALL_DIR}" \ - LPM_INSTALL_DIR="${LPM_INSTALL_DIR}" \ - EDMA3_LLD_INSTALL_DIR="${EDMA3_LLD_INSTALL_DIR}" \ - CGTOOLS_V5T="${TOOLCHAIN_PATH}" \ - CGTOOLS_C64P="${CODEGEN_INSTALL_DIR}" \ - CGTOOLS_C674="${CODEGEN_INSTALL_DIR}" \ - all - done -} - -do_install() { - - install -d ${D}/${installdir}/ti-codec-engine-examples - if [ -e ${S}/examples/apps/system_files/${CEEXAMPLESDEVICES}/loadmodules.sh ]; then - cp ${S}/examples/apps/system_files/${CEEXAMPLESDEVICES}/loadmodules.sh ${D}/${installdir}/ti-codec-engine-examples - elif [ -e ${WORKDIR}/loadmodules.sh ]; then - cp ${WORKDIR}/loadmodules.sh ${D}/${installdir}/ti-codec-engine-examples - fi - - cd ${S}/examples/ti/sdo/ce/examples - - # Install the apps, servers and test data, mirroring the source directory structure - # - Put the servers inside the same folder as the executable - # - TODO - Check nested dirs (e.g. dualcpu_separateconfig) - - # Put all servers in separate tree. - for i in $(find . -name "*.${DSPSUFFIX}"); do - install -d ${D}/${installdir}/ti-codec-engine-examples/servers/`dirname ${i} | cut -f3 -d /` - install ${i} ${D}/${installdir}/ti-codec-engine-examples/servers/`dirname ${i} | cut -f3 -d /` - done - - for i in $(find . -name "*.xv5T"); do - install -d ${D}/${installdir}/ti-codec-engine-examples/`dirname ${i} | cut -f3 -d /` - install ${i} ${D}/${installdir}/ti-codec-engine-examples/`dirname ${i} | cut -f3 -d /` - done - - for i in $(find . -name "*.dat"); do - install -d ${D}/${installdir}/ti-codec-engine-examples/`dirname ${i} | cut -f3 -d /` - install ${i} ${D}/${installdir}/ti-codec-engine-examples/`dirname ${i} | cut -f3 -d /` - done - - # For each directory, softlink to the app server, except special cases - cd ${D}/${installdir}/ti-codec-engine-examples - for i in $(find . -type d | grep -v servers); do - { - pwd - cd ${D}/${installdir}/ti-codec-engine-examples/$i - if [ $(basename $i) = "audio1_ires" ] ; then - ln -s ../servers/audio1_ires/audio1_ires.${DSPSUFFIX} - elif [ $(basename $i) = "server_api_example" ] ; then - ln -s ../servers/server_api_example/audio_copy.${DSPSUFFIX} - elif [ $(basename $i) != "." ] ; then - ln -s ../servers/all_codecs/all.${DSPSUFFIX} - else - echo Skipping $i - fi - } - done - - # Install/Stage the Source Tree - install -d ${D}${CE_INSTALL_DIR_RECIPE} - cp -pPrf ${S}/* ${D}${CE_INSTALL_DIR_RECIPE} -} - -PACKAGE_ARCH = "${MACHINE_ARCH}" - -PACKAGES += "ti-codec-engine-examples" - -RDEPENDS_ti-codec-engine-examples = " ti-cmem-module" -RDEPENDS_ti-codec-engine-examples_append_dm6446 = " ti-dsplink-module ti-lpm-module" -RDEPENDS_ti-codec-engine-examples_append_dm6467 = " ti-dsplink-module" -RDEPENDS_ti-codec-engine-examples_append_omap3 = " ti-dsplink-module ti-lpm-module" -RDEPENDS_ti-codec-engine-examples_append_omapl137 = " ti-dsplink-module" -RDEPENDS_ti-codec-engine-examples_append_omapl138 = " ti-dsplink-module" -FILES_ti-codec-engine-examples = "${installdir}/ti-codec-engine-examples/*" -INSANE_SKIP_ti-codec-engine-examples = "1" - -FILES_${PN}-dbg += "${installdir}/ti-codec-engine-examples/*/.debug"
recipes-ti/codec-engine/ti-codec-engine/bypass-GCArmv5T-used-is-sealed.patch deleted +0 -22
@@ -1,22 +0,0 @@ -do_compile produces: - -js: "/prj/oe/bb/build/tmp-eglibc/work/beagleboard-angstrom-linux-gnueabi/ti-codec-engine-2_26_02_11-r114a/codec_engine_2_26_02_11/packages/ti/sdo/ce/osal/linux/package.xs", line 50: XDC runtime error: gnu.targets.arm.GCArmv5T: '$used' is sealed - -Fix per suggestion in http://e2e.ti.com/support/dsp/omap_applications_processors/f/447/t/110920.aspx - ---- ./packages/ti/sdo/ce/osal/linux/package.xs.orig 2010-12-01 23:24:48.000000000 -0600 -+++ ./packages/ti/sdo/ce/osal/linux/package.xs 2011-12-27 14:59:39.382423341 -0600 -@@ -47,10 +47,10 @@ - } - - /* Conditionally load CMEM here */ -- var targetMod = xdc.useModule(prog.build.target.$name); -- if ((":"+targetMod.getISAChain().join(":")+":").match(/:v5T:/i)) { -+ //var targetMod = xdc.useModule(prog.build.target.$name); -+ //if ((":"+targetMod.getISAChain().join(":")+":").match(/:v5T:/i)) { - xdc.useModule('ti.sdo.linuxutils.cmem.CMEM'); -- } -+ //} - - var osalGlobal = xdc.useModule('ti.sdo.ce.osal.Global'); -
recipes-ti/codec-engine/ti-codec-engine/ce-2-26-00-08-Examples-Add-LPM_INSTALL_DIR-packages.patch deleted +0 -60
60 lines not on this page · raw message
recipes-ti/codec-engine/ti-codec-engine/dm365-evm/loadmodules.sh deleted +0 -49
49 lines not on this page · raw message
recipes-ti/codec-engine/ti-codec-engine/loadmodules-ti-codec-engine-apps.sh deleted +0 -37
@@ -1,37 +0,0 @@ -# -# Default Memory Map - for OMAP3530 CE 2.21 examples -# -# Start Addr Size Description -# ------------------------------------------- -# 0x80000000 80 MB Linux -# 0x85000000 08 MB CMEM -# 0x86000000 24 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 (80M in this case) -awk '/MemTotal:/ { - mem=$2 - - if (mem > 80 * 1024) - print "Warning! You need to use mem=80M 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=0x85000000 phys_end=0x86000000 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
recipes-ti/codec-engine/ti-codec-engine/unloadmodules-ti-codec-engine-apps.sh deleted +0 -12
@@ -1,12 +0,0 @@ -# Unload modules - CODEC ENGINE - OMAP3530 - -# remove lpm module -rmmod lpm_omap3530 - -# remove DSP/BIOS Link driver -rmmod dsplinkk -#rm -f /dev/dsplink - -# remove cmem module -rmmod cmemk -
recipes-ti/codec-engine/ti-codec-engine_2.26.02.11.bb deleted +0 -12
@@ -1,12 +0,0 @@ -require ti-codec-engine.inc - -LIC_FILES_CHKSUM = "file://codec_engine_${PV}_manifest.html;md5=912535f1b02ecf329a3979bf313f91e0" -PV = "2_26_02_11" -PR_append = "b" - -SRC_URI += "file://bypass-GCArmv5T-used-is-sealed.patch" - -SRC_URI[cetarball.md5sum] = "4f755f77119e4da19ab5cc7ae7ccfdb4" -SRC_URI[cetarball.sha256sum] = "17fa053719265e0901fe3c3f90c9204957c6d0f5351d6b3ba4900df58cb7300f" - -INSANE_SKIP_${PN} = "installed-vs-shipped"
recipes-ti/codec-engine/ti-codecs-omap3530/disable-c6accel.diff deleted +0 -47
47 lines not on this page · raw message
recipes-ti/codec-engine/ti-codecs-omap3530/mp3dec_cs1omap3530.patch deleted +0 -41
41 lines not on this page · raw message
recipes-ti/codec-engine/ti-codecs-omap3530_4.00.00.00.bb deleted +0 -208
208 lines not on this page · raw message
Signature · 1 line
2.7.4
PATCH 1/2 gstreamer-ti: remove outdated component
gstreamer-ti hasn't been updated in years. All the modern gstreamer plugins and bindings for TI platforms now reside in meta-arago-extras layer.
--- recipes-ti/gstreamer-ti/gstreamer-ti.inc | 165 --- .../gstreamer-ti/0001-add-omapdmaifbsink.patch | 1336 -------------------- ...ting-the-display-framerate-directly-when-.patch | 86 -- ...04-Cosmetic-cleanup-clarify-some-comments.patch | 73 -- ...e-setting-the-framerate-directly-on-DM365.patch | 33 - ...06-Remove-the-repeat_with_refresh-feature.patch | 132 -- ...-for-pad-allocated-buffers-in-TIDmaiVideo.patch | 313 ----- ...rt-for-pad-allocated-buffers-in-TIViddec2.patch | 302 ----- .../0009-dmaisink-compilation-fix.patch | 26 - ...te-dm365-cfg-to-work-with-platinum-codecs.patch | 26 - ...p3530_dv400-platform-support-with-omap353.patch | 119 -- .../gstreamer-ti/gstreamer-ti/dm355-evm/gst-ti.sh | 12 - .../gstreamer-ti/dm365-evm/loadmodules.sh | 37 - .../gstreamer-ti/gstreamer-ti/gstreamer-ti-rc.sh | 28 - .../gstreamer-ti/gstreamer-ti/gstti-init.service | 10 - .../gstreamer-ti/gstreamer-ti/omap3/loadmodules.sh | 22 - .../gstreamer-ti/omapl137/loadmodules.sh | 12 - .../omapl138/da850-omapl138-evm/loadmodules.sh | 16 - .../gstreamer-ti/omapl138/loadmodules.sh | 15 - .../gstreamer-ti/r962-remove-include-videodev.diff | 22 - recipes-ti/gstreamer-ti/gstreamer-ti_svn.bb | 26 - 21 files changed, 2811 deletions(-) delete mode 100644 recipes-ti/gstreamer-ti/gstreamer-ti.inc delete mode 100644 recipes-ti/gstreamer-ti/gstreamer-ti/0001-add-omapdmaifbsink.patch delete mode 100644 recipes-ti/gstreamer-ti/gstreamer-ti/0003-Support-setting-the-display-framerate-directly-when-.patch delete mode 100644 recipes-ti/gstreamer-ti/gstreamer-ti/0004-Cosmetic-cleanup-clarify-some-comments.patch delete mode 100644 recipes-ti/gstreamer-ti/gstreamer-ti/0005-Enable-setting-the-framerate-directly-on-DM365.patch delete mode 100644 recipes-ti/gstreamer-ti/gstreamer-ti/0006-Remove-the-repeat_with_refresh-feature.patch delete mode 100644 recipes-ti/gstreamer-ti/gstreamer-ti/0007-Add-support-for-pad-allocated-buffers-in-TIDmaiVideo.patch delete mode 100644 recipes-ti/gstreamer-ti/gstreamer-ti/0008-Add-support-for-pad-allocated-buffers-in-TIViddec2.patch delete mode 100644 recipes-ti/gstreamer-ti/gstreamer-ti/0009-dmaisink-compilation-fix.patch delete mode 100644 recipes-ti/gstreamer-ti/gstreamer-ti/0009-update-dm365-cfg-to-work-with-platinum-codecs.patch delete mode 100644 recipes-ti/gstreamer-ti/gstreamer-ti/0010-replace-omap3530_dv400-platform-support-with-omap353.patch delete mode 100644 recipes-ti/gstreamer-ti/gstreamer-ti/dm355-evm/gst-ti.sh delete mode 100644 recipes-ti/gstreamer-ti/gstreamer-ti/dm365-evm/loadmodules.sh delete mode 100644 recipes-ti/gstreamer-ti/gstreamer-ti/gstreamer-ti-rc.sh delete mode 100644 recipes-ti/gstreamer-ti/gstreamer-ti/gstti-init.service delete mode 100644 recipes-ti/gstreamer-ti/gstreamer-ti/omap3/loadmodules.sh delete mode 100644 recipes-ti/gstreamer-ti/gstreamer-ti/omapl137/loadmodules.sh delete mode 100644 recipes-ti/gstreamer-ti/gstreamer-ti/omapl138/da850-omapl138-evm/loadmodules.sh delete mode 100644 recipes-ti/gstreamer-ti/gstreamer-ti/omapl138/loadmodules.sh delete mode 100644 recipes-ti/gstreamer-ti/gstreamer-ti/r962-remove-include-videodev.diff delete mode 100644 recipes-ti/gstreamer-ti/gstreamer-ti_svn.bb
recipes-ti/gstreamer-ti/gstreamer-ti.inc deleted +0 -165
@@ -1,165 +0,0 @@ -DESCRIPTION = "GSTREAMER Plugin (gstreamer-ti) for TI ARM/DSP processors" -HOMEPAGE = "https://gforge.ti.com/gf/project/gstreamer_ti/" -SECTION = "multimedia" -LICENSE = "LGPL" - -# TODO :: Replace omapl137 with official support in GST (currently linking to omapl138) -# TODO :: Codec Server Environment Variables shouldn't be required -# TODO :: Add (and check) rc scripts for all targets (just copied for now) (365,6467,omapl137) -# TODO :: Check if CPPFLAGS_append is still required -# TODO :: Remove ENCODE/DECODE combo exports - these are not used anymore (check?) - -inherit autotools-brokensep -inherit update-rc.d -require recipes-ti/includes/ti-paths.inc -require recipes-ti/includes/ti-staging.inc - -# Rebuild on kernel change since it links statically to ti-dmai, ti-codec-engine, etc -PR = "r85+${MACHINE_KERNEL_PR}" - -DEPENDS = "ti-dmai gstreamer gst-plugins-base" - -# enable c6accel elements on omapl138 and omap3 -#DEPENDS_append_omapl138 = " ti-c6accel " -#EXTRA_OECONF_omapl138 = "--enable-c6accel" -#DEPENDS_append_omap3 = " ti-c6accel " -#EXTRA_OECONF_omap3 = "--enable-c6accel" -export C6ACCEL_INSTALL_DIR - -# gstreamer_ti picks up some config variables from the environment -# - variables are used in the gstreamer makefile -# - PLATFORM, XDC_PLATFORM, XDC_TARGET, MVTOOL_DIR -# - others used by config.bld (which it gets from the dmai config.bld) -# - CROSS_COMPILE, PLATFORM_XDC - -PLATFORM_dm6446 = "dm6446" -PLATFORM_dm6467 = "dm6467" -PLATFORM_dm6467t = "dm6467t" -PLATFORM_omap3 = "omap3530" -PLATFORM_dm355 = "dm355" -PLATFORM_dm365 = "dm365" -PLATFORM_omapl137 = "omapl137" -PLATFORM_omapl138 = "omapl138" -PLATFORM ?= "UNDEFINED_PLATFORM" -GST_TI_PLATFORM = "${PLATFORM}" - -XDC_PLATFORM_dm6446 = "ti.platforms.evmDM6446" -XDC_PLATFORM_dm6467 = "ti.platforms.evmDM6467" -XDC_PLATFORM_omap3 = "ti.platforms.evm3530" -XDC_PLATFORM_dm355 = "ti.platforms.evmDM355" -XDC_PLATFORM_dm365 = "ti.platforms.evmDM365" -XDC_PLATFORM_omapl137 = "ti.platforms.evmOMAPL137" -XDC_PLATFORM_omapl138 = "ti.platforms.evmOMAPL138" -XDC_PLATFORM ?= "UNDEFINED_XDC_PLATFORM" - -MEMARGS_omap3 = "99M@0x80000000" -MEMARGS ?= "UNDEFINED_MEM_ARGS" - -export MEMARGS -export PLATFORM -export GST_TI_PLATFORM -export XDC_PLATFORM -export XDC_TARGET = "gnu.targets.arm.GCArmv5T" -export PLATFORM_XDC = "${XDC_PLATFORM}" -export CSTOOL_DIR = "${TOOLCHAIN_PATH}" -export MVTOOL_DIR = "${TOOLCHAIN_PATH}" -export MVTOOL_PREFIX = "${TARGET_PREFIX}" -export CROSS_COMPILE = "${TOOLCHAIN_PATH}/${TARGET_PREFIX}" -export LINK_XDC_ROOT = "${LINK_INSTALL_DIR}" - -# export codec combo (or server) locations -# Why do we need to do this?? - These will get picked up from CODEC_INSTALL_DIR? -# Sould only need this if we change from default server - -export CODEC_SERVER = "${installdir}/ti-codecs-server/cs.x64P" -CPPFLAGS_append = " -DPlatform_${PLATFORM}" - -# We are still using encode/decode combo for DM6446 -export ENCODE_COMBO = "${installdir}/ti-codecs-server/encodeCombo.x64P" -export DECODE_COMBO = "${installdir}/ti-codecs-server/decodeCombo.x64P" -# Makefile also expects to be able to find the kernel headers from the envirionment -export LINUXKERNEL_INSTALL_DIR = "${STAGING_KERNEL_DIR}" - -do_configure_prepend() { - # PSP kernel is based on older DSS. we need to replace linux/omapfb.h with mach/omapfb.h - if ! [ -e ${STAGING_KERNEL_DIR}/include/linux/omapfb.h ] ; then - sed -i -e s:linux/omapfb:mach/omapfb:g ${S}/src/omapfb.h || true - fi - - # Angstrom 2008 breaks with -Wl,-T, while angstrom 2010 needs it - if [ $(${TARGET_PREFIX}gcc -dumpversion | awk -F. '{print $2}') -gt 3 ] ; then - # Fix up linkerscripts, recent toolchains need -T to prepend the default script to the custom one - for makefile in $(find ${S} -name "Makefile.am") ; do - sed -i -e 's:-Wl,$(XDC_CONFIG_BASENAME)/linker.cmd:-Wl,-T,$(XDC_CONFIG_BASENAME)/linker.cmd:g' $makefile - done - fi -} - -do_compile() { - # Recent kernel headers warn against inclusion from userspace - for makefile in $(find ${S} -name "Makefile") ; do - sed -i -e s:-Werror::g $makefile - done - - oe_runmake -} - -do_install_prepend () { - - install -d ${D}/${installdir}/gst/${PLATFORM} - - # copy gstreamer demo scripts - cp -R ${WORKDIR}/gstreamer_ti/gstreamer_demo/shared ${D}/${installdir}/gst - - # If we have loadmodules.sh in WORKDIR then give preference to this over - # the default gst-ti loadmdules.sh - if [ -f ${WORKDIR}/loadmodules.sh ]; then - cp ${WORKDIR}/loadmodules.sh ${D}/${installdir}/gst/${PLATFORM} - else - cp -R ${WORKDIR}/gstreamer_ti/gstreamer_demo/${PLATFORM} ${D}/${installdir}/gst - fi - - # delete .svn files - find ${D}/${installdir}/gst -name .svn -type d | xargs rm -rf - chmod 0755 ${D}/${installdir}/gst -R - - install -d ${D}${sysconfdir}/init.d/ - install -m 0755 ${WORKDIR}/gstreamer-ti-rc.sh ${D}${sysconfdir}/init.d/gstti-init - sed -i -e 's|<platform>|${PLATFORM}|g' ${D}${sysconfdir}/init.d/gstti-init - - install -d ${D}${base_libdir}/systemd/system - install -m 0644 ${WORKDIR}/gstti-init.service ${D}${base_libdir}/systemd/system/ - sed -i -e 's|<platform>|${PLATFORM}|g' -e 's|MEMARGS|${MEMARGS}|' ${D}${base_libdir}/systemd/system/gstti-init.service -} - -RRECOMMENDS_${PN}_append_dm6446 += "ti-codecs-dm6446-server ti-cmem-module ti-dsplink-module" -RRECOMMENDS_${PN}_append_dm6467 += "ti-codecs-dm6467 ti-cmem-module ti-dsplink-module" -RRECOMMENDS_${PN}_append_omap3 += "ti-codecs-omap3530-server ti-cmem-module ti-dsplink-module ti-lpm-module ti-sdma-module" -RRECOMMENDS_${PN}_append_dm355 += "ti-codecs-dm355 ti-cmem-module ti-dm355mm-module" -RRECOMMENDS_${PN}_append_dm365 += "ti-codecs-dm365 ti-cmem-module ti-dm365mm-module ti-edma-module ti-irq-module" -RRECOMMENDS_${PN}_append_omapl137 += "ti-codecs-omapl137-server ti-cmem-module ti-dsplink-module" -RRECOMMENDS_${PN}_append_omapl138 += "ti-codecs-omapl138-server ti-cmem-module ti-dsplink-module" - -FILES_${PN} += "${libdir}/gstreamer-0.10/*.so ${sysconfdir} ${installdir} ${base_libdir}/systemd" -FILES_${PN}-dev += "${libdir}/gstreamer-0.10/*.la" -FILES_${PN}-staticdev += "${libdir}/gstreamer-0.10/*.a" -FILES_${PN}-dbg += "${libdir}/gstreamer-0.10/.debug" - -pkg_postinst_${PN} () { -if test "x$D" != "x"; then - echo "Can't run gstreamer-ti postinst offline" - exit 1 -fi - if [ -e ${base_bindir}/systemctl ] ; then - systemctl enable gstti-init.service - fi - - if [ -d ${installdir}/ti-codecs-server/ ]; then - ln -sf ${installdir}/ti-codecs-server/* ${installdir}/gst/${PLATFORM}/ - fi -} - -PACKAGE_ARCH = "${MACHINE_ARCH}" - -INITSCRIPT_NAME = "gstti-init" -INITSCRIPT_PARAMS = "start 30 5 2 . stop 40 0 1 6 ."
recipes-ti/gstreamer-ti/gstreamer-ti/0001-add-omapdmaifbsink.patch deleted +0 -1336
1,336 lines not on this page · raw message
recipes-ti/gstreamer-ti/gstreamer-ti/0003-Support-setting-the-display-framerate-directly-when-.patch deleted +0 -86
86 lines not on this page · raw message
recipes-ti/gstreamer-ti/gstreamer-ti/0004-Cosmetic-cleanup-clarify-some-comments.patch deleted +0 -73
73 lines not on this page · raw message
recipes-ti/gstreamer-ti/gstreamer-ti/0005-Enable-setting-the-framerate-directly-on-DM365.patch deleted +0 -33
@@ -1,33 +0,0 @@ -From 1cffa12c9ceb07558d2e4b35cc674070c7a3b8ee Mon Sep 17 00:00:00 2001 -From: Don Darling <[email protected]> -Date: Thu, 26 Aug 2010 18:27:50 -0500 -Subject: [PATCH 5/8] Enable setting the framerate directly on DM365. - -This is supported by recent changes to the display driver. DM365 will no -longer use the "repeat_with_refresh" method to display frames more than once. ---- - .../ticodecplugin/src/gsttidmaivideosink.c | 7 ++----- - 1 files changed, 2 insertions(+), 5 deletions(-) - -diff --git a/gstreamer_ti/ti_build/ticodecplugin/src/gsttidmaivideosink.c b/gstreamer_ti/ti_build/ticodecplugin/src/gsttidmaivideosink.c -index 1d04e1c..3615bfd 100644 ---- a/gstreamer_ti/ti_build/ticodecplugin/src/gsttidmaivideosink.c -+++ b/gstreamer_ti/ti_build/ticodecplugin/src/gsttidmaivideosink.c -@@ -475,12 +475,9 @@ static void gst_tidmaivideosink_init(GstTIDmaiVideoSink * dmaisink, - g_assert(GST_VALUE_HOLDS_FRACTION(&dmaisink->oattrs.framerate)); - gst_value_set_fraction(&dmaisink->oattrs.framerate, 0, 1); - -- /* On DM365, we don't have the bandwidth to copy a frame multiple times to -- * display them more than once. We must put a frame to the display once -- * and let it be refreshed multiple times. -- */ -+ /* DM365 supports setting the display framerate */ - #if defined(Platform_dm365) -- dmaisink->repeat_with_refresh = TRUE; -+ dmaisink->can_set_display_framerate = TRUE; - #endif - - gst_tidmaivideosink_init_env(dmaisink); --- -1.7.0.4 -
recipes-ti/gstreamer-ti/gstreamer-ti/0006-Remove-the-repeat_with_refresh-feature.patch deleted +0 -132
132 lines not on this page · raw message
recipes-ti/gstreamer-ti/gstreamer-ti/0007-Add-support-for-pad-allocated-buffers-in-TIDmaiVideo.patch deleted +0 -313
313 lines not on this page · raw message
recipes-ti/gstreamer-ti/gstreamer-ti/0008-Add-support-for-pad-allocated-buffers-in-TIViddec2.patch deleted +0 -302
302 lines not on this page · raw message
recipes-ti/gstreamer-ti/gstreamer-ti/0009-dmaisink-compilation-fix.patch deleted +0 -26
@@ -1,26 +0,0 @@ -From 721970f80e6bff0f231625f00301fa37473a2bb3 Mon Sep 17 00:00:00 2001 -From: Brijesh Singh <[email protected]> -Date: Wed, 7 Jul 2010 19:21:01 -0500 -Subject: [PATCH 9/9] dmaisink compilation fix - -temporary fix - should go in svn trunk ---- - src/gsttidmaivideosink.c | 2 +- - 1 files changed, 1 insertions(+), 1 deletions(-) - -diff --git a/src/gsttidmaivideosink.c b/src/gsttidmaivideosink.c -index 99ca25d..2fb5aad 100644 ---- a/src/gsttidmaivideosink.c -+++ b/src/gsttidmaivideosink.c -@@ -1817,7 +1817,7 @@ static gboolean gst_tidmaivideosink_alloc_display_buffers( - return FALSE; - } - -- GST_INFO("Allocating %ld display buffers", sink->dAttrs.numBufs); -+ GST_INFO("Allocating %d display buffers", sink->dAttrs.numBufs); - - /* Set the dimensions for the display */ - if (VideoStd_getResolution(sink->dAttrs.videoStd, &gfxAttrs.dim.width, --- -1.7.0.4 -
recipes-ti/gstreamer-ti/gstreamer-ti/0009-update-dm365-cfg-to-work-with-platinum-codecs.patch deleted +0 -26
@@ -1,26 +0,0 @@ -From d5601a8beec6144fb39ebdc93778c081028a7fdd Mon Sep 17 00:00:00 2001 -From: Brijesh Singh <[email protected]> -Date: Tue, 28 Sep 2010 19:35:14 -0500 -Subject: [PATCH] update dm365 cfg to work with platinum codecs - ---- - src/gstticodecplugin_dm365.cfg | 3 +++ - 1 files changed, 3 insertions(+), 0 deletions(-) - -diff --git a/src/gstticodecplugin_dm365.cfg b/src/gstticodecplugin_dm365.cfg -index d682643..43174b1 100644 ---- a/src/gstticodecplugin_dm365.cfg -+++ b/src/gstticodecplugin_dm365.cfg -@@ -86,6 +86,9 @@ var ADDRSPACE = xdc.useModule('ti.sdo.fc.ires.addrspace.ADDRSPACE'); - - var CMEM = xdc.useModule('ti.sdo.linuxutils.cmem.CMEM'); - -+var MEMTCM = xdc.useModule('ti.sdo.fc.ires.memtcm.MEMTCM'); -+MEMTCM.cmemBlockId = 1; //Since we use _1 in our insmod command. -+ - /* Uncomment these lines if you wish to debug FC and enable FC trace */ - /* - /* --- -1.7.0.4 -
recipes-ti/gstreamer-ti/gstreamer-ti/0010-replace-omap3530_dv400-platform-support-with-omap353.patch deleted +0 -119
119 lines not on this page · raw message
recipes-ti/gstreamer-ti/gstreamer-ti/dm355-evm/gst-ti.sh deleted +0 -12
@@ -1,12 +0,0 @@ -#!/bin/sh - -# Disable XDM 0.9 elements -export GST_TI_TIViddec_DISABLE=1 -export GST_TI_TIAuddec_DISABLE=1 -export GST_TI_TIVidenc_DISABLE=1 -export GST_TI_TIImgdec_DISABLE=1 -export GST_TI_TIImgenc_DISABLE=1 - -# Disable XDM 1.x audio decoder -export GST_TI_TIAuddec1_DISABLE=1 -
recipes-ti/gstreamer-ti/gstreamer-ti/dm365-evm/loadmodules.sh deleted +0 -37
@@ -1,37 +0,0 @@ -#!/bin/sh -# -# Default DM365 Memory Map 128 MB -# -# Start Addr Size Description -# ---------------------------------------------------------------- -# 0x00001000 32K ARM926 TCM memory used by platinum codec -# 0x80000000 48 MB Linux -# 0x83000000 12 MB Video driver memory (Linux) -# 0x83C00000 68 MB CMEM -# 0x88000000 BOTTOM ADDRESS -# - -rmmod cmemk 2>/dev/null - -# Pools configuration -modprobe cmemk phys_start=0x83C00000 phys_end=0x88000000 pools=1x16539648,1x4841472,4x1843200,14x1646592,1x282624,1x176128,1x147456,1x69632,1x61440,1x32768,2x20480,1x16384,1x12288,4x8192,69x4096 allowOverlap=1 phys_start_1=0x00001000 phys_end_1=0x00008000 pools_1=1x28672 - -# Decode + Display -#modprobe cmemk phys_start=0x83c00000 phys_end=0x88000000 pools=1x16539648,1x4841472,14x1646592,1x282624,1x176128,1x147456,1x69632,1x61440,1x32768,2x20480,1x12288,1x8192,64x4096 - -# Capture + Encode -#modprobe cmemk phys_start=0x83c00000 phys_end=0x88000000 pools=1x3112960,1x2764800,3x1536000,1x65536,1x61440,1x49152,1x20480,1x16384,2x8192,87x4096 - -# Resizer -#modprobe cmemk phys_start=0x83c00000 phys_end=0x88000000 pools=3x1843200 - -# Non-accel display -#modprobe cmemk phys_start=0x83c00000 phys_end=0x88000000 pools=1x1843200 - -modprobe irqk -modprobe edmak -modprobe dm365mmap - -rm -f /dev/dm365mmap -mknod /dev/dm365mmap c `awk "\\$2==\"dm365mmap\" {print \\$1}" /proc/devices` 0 -
recipes-ti/gstreamer-ti/gstreamer-ti/gstreamer-ti-rc.sh deleted +0 -28
@@ -1,28 +0,0 @@ -#!/bin/sh -# -# configure kernel modules to run gst-ti plugins elements -# - -load_module() { - echo - echo -n "Running /usr/share/ti/gst/<platform>/loadmodules.sh" - /usr/share/ti/gst/<platform>/loadmodules.sh -} - -case "$1" in - start) - echo -n "Loading kernel modules for gstreamer-ti... " - load_module - echo " done" - ;; - stop) - echo "Nothing to do" - ;; - restart) - echo "Nothing to do" - ;; - *) - echo "$0 <start/stop/restart>" - ;; -esac -
recipes-ti/gstreamer-ti/gstreamer-ti/gstti-init.service deleted +0 -10
@@ -1,10 +0,0 @@ -[Unit] -Description=TI Gstreamer plugins init -ConditionKernelCommandLine=mem=MEMARGS - -[Service] -ExecStart=/usr/share/ti/gst/<platform>/loadmodules.sh -RemainAfterExit=yes - -[Install] -WantedBy=multi-user.target
recipes-ti/gstreamer-ti/gstreamer-ti/omap3/loadmodules.sh deleted +0 -22
@@ -1,22 +0,0 @@ -#!/bin/sh -# -# CMEM Allocation -# 1x5250000 Circular buffer -# 6x829440,1x691200 Video buffers (max D1 PAL) -# 1x345600 Underlying software components (codecs, etc.) -# 1x1 Dummy buffer used during final flush - -rmmod cmemk 2>/dev/null - -modprobe cmemk allowOverlap=1 phys_start=0x86300000 phys_end=0x87300000 \ - pools=1x5250000,6x829440,1x345600,1x691200,1x1 - -# insert DSP/BIOS Link driver -modprobe dsplinkk - -# insert Local Power Manager driver -modprobe lpm_omap3530 - -# insert SDMA driver -modprobe sdmak -
recipes-ti/gstreamer-ti/gstreamer-ti/omapl137/loadmodules.sh deleted +0 -12
@@ -1,12 +0,0 @@ -#!/bin/sh -# -# configure kernel modules for TI DSP based gstreamer plugin -# - -# insert cmemk, tell it to occupy physical 34MB-64MB. -# -modprobe cmemk phys_start=0xC2200000 phys_end=0xC3200000 \ - pools=1x5250000,3x1048576,3x829440,1x256000,4x131072 - -modprobe dsplinkk -
recipes-ti/gstreamer-ti/gstreamer-ti/omapl138/da850-omapl138-evm/loadmodules.sh deleted +0 -16
@@ -1,16 +0,0 @@ -#!/bin/sh -# -# configure kernel modules for TI DSP based gstreamer plugin -# -rmmod cmemk 2>/dev/null -rmmod dsplink 2>/dev/null - -modprobe cmemk phys_start=0xC2200000 phys_end=0xC3200000 \ - pools=1x5250000,3x1048576,3x829440,1x256000,4x131072 \ - allowOverlap=1 - -modprobe dsplinkk - -rm -f /dev/dsplink -mknod /dev/dsplink c `awk "\\$2==\"dsplink\" {print \\$1}" /proc/devices` 0 -
recipes-ti/gstreamer-ti/gstreamer-ti/omapl138/loadmodules.sh deleted +0 -15
@@ -1,15 +0,0 @@ -#!/bin/sh -# -# configure kernel modules for TI DSP based gstreamer plugin -# - -rmmod cmemk 2>/dev/null - -modprobe cmemk phys_start=0xC2200000 phys_end=0xC3200000 \ - pools=1x5250000,3x1048576,3x829440,1x256000,4x131072 - -modprobe dsplinkk - -rm -f /dev/dsplink -mknod /dev/dsplink c `awk "\\$2==\"dsplink\" {print \\$1}" /proc/devices` 0 -
recipes-ti/gstreamer-ti/gstreamer-ti/r962-remove-include-videodev.diff deleted +0 -22
@@ -1,22 +0,0 @@ -diff -ur ticodecplugin_orig/src/gstticapturesrc.c ticodecplugin/src/gstticapturesrc.c ---- ticodecplugin_orig/src/gstticapturesrc.c 2011-08-09 17:03:39.201308305 +0200 -+++ ticodecplugin/src/gstticapturesrc.c 2011-08-09 17:02:35.177308274 +0200 -@@ -25,7 +25,6 @@ - #include <gst/gst.h> - #include <string.h> - #include <gst/gstmarshal.h> --#include <linux/videodev.h> - #include <linux/videodev2.h> - #include <sys/ioctl.h> - -diff -ur ticodecplugin_orig/src/gsttidisplaysink2.c ticodecplugin/src/gsttidisplaysink2.c ---- ticodecplugin_orig/src/gsttidisplaysink2.c 2011-08-09 17:03:53.329308312 +0200 -+++ ticodecplugin/src/gsttidisplaysink2.c 2011-08-09 17:03:11.337308292 +0200 -@@ -28,7 +28,6 @@ - #include <gst/video/video.h> - #include <string.h> - #include <gst/gstmarshal.h> --#include <linux/videodev.h> - #include <linux/videodev2.h> - #include <sys/ioctl.h> -
recipes-ti/gstreamer-ti/gstreamer-ti_svn.bb deleted +0 -26
@@ -1,26 +0,0 @@ -require gstreamer-ti.inc - -LIC_FILES_CHKSUM = "file://COPYING;md5=c8a292be1d17ba07ecbf7b49049cbf22" - -PV = "svnr${SRCREV}" - -S = "${WORKDIR}/gstreamer_ti/ti_build/ticodecplugin" - -SRCREV = "962" - -# apply patches from tracker 1208 to get zero copy support. -# https://gstreamer.ti.com/gf/project/gstreamer_ti/tracker/?action=TrackerItemEdit&tracker_item_id=1208&start=175 - -SRC_URI = "svn://gforge.ti.com/svn/gstreamer_ti/trunk;module=gstreamer_ti;protocol=https;user=anonymous;pswd='' \ - file://gstreamer-ti-rc.sh \ - file://r962-remove-include-videodev.diff \ - file://gstti-init.service \ -" - -# use local loadmodules.sh for these platform -# TODO: must be removed onces these loadmodules goes in gstreamer.ti.com -SRC_URI_append_dm365 = " file://loadmodules.sh" -SRC_URI_append_omapl137 = " file://loadmodules.sh" -SRC_URI_append_omapl138 = " file://loadmodules.sh " -SRC_URI_append_omap3 = " file://loadmodules.sh " -
Signature · 1 line
2.7.4