aboutsummaryrefslogtreecommitdiffstats
path: root/extras/recipes-ti/gstreamer-ti/gstreamer-ti/omap3
diff options
context:
space:
mode:
Diffstat (limited to 'extras/recipes-ti/gstreamer-ti/gstreamer-ti/omap3')
-rw-r--r--extras/recipes-ti/gstreamer-ti/gstreamer-ti/omap3/loadmodules.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/extras/recipes-ti/gstreamer-ti/gstreamer-ti/omap3/loadmodules.sh b/extras/recipes-ti/gstreamer-ti/gstreamer-ti/omap3/loadmodules.sh
new file mode 100644
index 00000000..eb758834
--- /dev/null
+++ b/extras/recipes-ti/gstreamer-ti/gstreamer-ti/omap3/loadmodules.sh
@@ -0,0 +1,22 @@
+#!/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
+