diff options
Diffstat (limited to 'extras/recipes-ti/gstreamer-ti/gstreamer-ti/dm365-evm/loadmodules.sh')
-rw-r--r-- | extras/recipes-ti/gstreamer-ti/gstreamer-ti/dm365-evm/loadmodules.sh | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/extras/recipes-ti/gstreamer-ti/gstreamer-ti/dm365-evm/loadmodules.sh b/extras/recipes-ti/gstreamer-ti/gstreamer-ti/dm365-evm/loadmodules.sh new file mode 100644 index 00000000..c70bee1e --- /dev/null +++ b/extras/recipes-ti/gstreamer-ti/gstreamer-ti/dm365-evm/loadmodules.sh | |||
@@ -0,0 +1,37 @@ | |||
1 | #!/bin/sh | ||
2 | # | ||
3 | # Default DM365 Memory Map 128 MB | ||
4 | # | ||
5 | # Start Addr Size Description | ||
6 | # ---------------------------------------------------------------- | ||
7 | # 0x00001000 32K ARM926 TCM memory used by platinum codec | ||
8 | # 0x80000000 48 MB Linux | ||
9 | # 0x83000000 12 MB Video driver memory (Linux) | ||
10 | # 0x83C00000 68 MB CMEM | ||
11 | # 0x88000000 BOTTOM ADDRESS | ||
12 | # | ||
13 | |||
14 | rmmod cmemk 2>/dev/null | ||
15 | |||
16 | # Pools configuration | ||
17 | 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 | ||
18 | |||
19 | # Decode + Display | ||
20 | #modprobe cmemk phys_start=0x83c00000 phys_end=0x88000000 pools=1x16539648,1x4841472,14x1646592,1x282624,1x176128,1x147456,1x69632,1x61440,1x32768,2x20480,1x12288,1x8192,64x4096 | ||
21 | |||
22 | # Capture + Encode | ||
23 | #modprobe cmemk phys_start=0x83c00000 phys_end=0x88000000 pools=1x3112960,1x2764800,3x1536000,1x65536,1x61440,1x49152,1x20480,1x16384,2x8192,87x4096 | ||
24 | |||
25 | # Resizer | ||
26 | #modprobe cmemk phys_start=0x83c00000 phys_end=0x88000000 pools=3x1843200 | ||
27 | |||
28 | # Non-accel display | ||
29 | #modprobe cmemk phys_start=0x83c00000 phys_end=0x88000000 pools=1x1843200 | ||
30 | |||
31 | modprobe irqk | ||
32 | modprobe edmak | ||
33 | modprobe dm365mmap | ||
34 | |||
35 | rm -f /dev/dm365mmap | ||
36 | mknod /dev/dm365mmap c `awk "\\$2==\"dm365mmap\" {print \\$1}" /proc/devices` 0 | ||
37 | |||