summaryrefslogtreecommitdiff
path: root/recipes/ti/gstreamer-ti/gstreamer-ti-omap3530-rc.sh
diff options
context:
space:
mode:
authorBrijesh Singh <bksingh@ti.com>2010-05-09 11:21:07 -0500
committerKoen Kooi <koen@openembedded.org>2010-06-12 11:03:51 +0200
commit6080d94ac0c1d9c985f4cf677000b4cd50e1e9ae (patch)
tree5e6afafe7d2c093c189f7d7e303cd329e7404ac9 /recipes/ti/gstreamer-ti/gstreamer-ti-omap3530-rc.sh
parente891fc68026e6005c844480f9ee519b814053130 (diff)
gstreamer_ti: use latest svn rev and apply the patches from tracker 1055.
* move the common build logic in gstreamer-ti.inc * rebase patches to latest svn rev. * add profile .sh to disable XDM 0.9 elements. * Except beagleboard, do not autoload kernel module in initscript. this is mainly because gst-ti loadmodule is not enough for all application (e.g dvsdk demo, dmai etc). And since beagle community is not installing dvsdk demo's hence its safe to install those kernel modules as the boot time. Signed-off-by: Brijesh Singh <bksingh@ti.com> Signed-off-by: Koen Kooi <k-kooi@ti.com>
Diffstat (limited to 'recipes/ti/gstreamer-ti/gstreamer-ti-omap3530-rc.sh')
-rw-r--r--recipes/ti/gstreamer-ti/gstreamer-ti-omap3530-rc.sh71
1 files changed, 0 insertions, 71 deletions
diff --git a/recipes/ti/gstreamer-ti/gstreamer-ti-omap3530-rc.sh b/recipes/ti/gstreamer-ti/gstreamer-ti-omap3530-rc.sh
deleted file mode 100644
index b61b40c176..0000000000
--- a/recipes/ti/gstreamer-ti/gstreamer-ti-omap3530-rc.sh
+++ /dev/null
@@ -1,71 +0,0 @@
-#!/bin/sh
-#
-# configure kernel modules for TI DSP based gstreamer plugin
-#
-# Default Memory Map
-#
-# Start Addr Size Description
-# -------------------------------------------
-# 0x80000000 99 MB Linux
-# 0x86300000 16 MB CMEM
-# 0x87300000 13 MB CODEC SERVER
-#
-
-# 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
-
-load_module() {
- #
- # 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
- 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
-}
-
-unload_module() {
- rmmod cmemk
- rmmod lpm_omap3530
- rmmod dsplinkk
- rmmod sdmak
-}
-
-case "$1" in
- start)
- echo -n "Loading kernel modules for gstreamer-ti... "
- load_module
- echo " done"
- ;;
- stop)
- echo -n "Unloading kernel module ..."
- unload_module
- echo " done"
- ;;
- restart)
- echo -n "Unloading kernel module ..."
- unload_module
- echo " done"
- echo -n "Loading kernel modules for gstreamer-ti... "
- load_module
- echo " done"
- ;;
- *)
- echo "$0 <start/stop/restart>"
- ;;
-esac
-