diff options
Diffstat (limited to 'extras/recipes-ti/gstreamer-ti/gstreamer-ti/omapl138/da850-omapl138-evm/loadmodules.sh')
-rw-r--r-- | extras/recipes-ti/gstreamer-ti/gstreamer-ti/omapl138/da850-omapl138-evm/loadmodules.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/extras/recipes-ti/gstreamer-ti/gstreamer-ti/omapl138/da850-omapl138-evm/loadmodules.sh b/extras/recipes-ti/gstreamer-ti/gstreamer-ti/omapl138/da850-omapl138-evm/loadmodules.sh new file mode 100644 index 00000000..f4017251 --- /dev/null +++ b/extras/recipes-ti/gstreamer-ti/gstreamer-ti/omapl138/da850-omapl138-evm/loadmodules.sh | |||
@@ -0,0 +1,16 @@ | |||
1 | #!/bin/sh | ||
2 | # | ||
3 | # configure kernel modules for TI DSP based gstreamer plugin | ||
4 | # | ||
5 | rmmod cmemk 2>/dev/null | ||
6 | rmmod dsplink 2>/dev/null | ||
7 | |||
8 | modprobe cmemk phys_start=0xC2200000 phys_end=0xC3200000 \ | ||
9 | pools=1x5250000,3x1048576,3x829440,1x256000,4x131072 \ | ||
10 | allowOverlap=1 | ||
11 | |||
12 | modprobe dsplinkk | ||
13 | |||
14 | rm -f /dev/dsplink | ||
15 | mknod /dev/dsplink c `awk "\\$2==\"dsplink\" {print \\$1}" /proc/devices` 0 | ||
16 | |||