diff options
author | Brijesh Singh <bksingh@ti.com> | 2010-09-21 15:34:14 -0500 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2010-09-30 13:20:25 +0200 |
commit | dfdd6a064c1732fe5c7723a9997989ab4d63fcd1 (patch) | |
tree | 74a7120bcada1dd175538bd9dff24d4d9de83247 /recipes | |
parent | 531c976450086cc2f219126448543b8f234e62d5 (diff) | |
download | openembedded-dfdd6a064c1732fe5c7723a9997989ab4d63fcd1.tar.gz |
gstreamer-ti: update loadmodules.sh
Signed-off-by: Roger Monk <r-monk@ti.com>
Signed-off-by: Koen Kooi <k-kooi@ti.com>
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/ti/gstreamer-ti/dm365-evm/loadmodules.sh | 32 |
1 files changed, 21 insertions, 11 deletions
diff --git a/recipes/ti/gstreamer-ti/dm365-evm/loadmodules.sh b/recipes/ti/gstreamer-ti/dm365-evm/loadmodules.sh index 28358afb32..c70bee1e30 100644 --- a/recipes/ti/gstreamer-ti/dm365-evm/loadmodules.sh +++ b/recipes/ti/gstreamer-ti/dm365-evm/loadmodules.sh @@ -1,27 +1,37 @@ #!/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 -rmmod irqk 2>/dev/null -rmmod edmak 2>/dev/null -rmmod dm365mmap 2>/dev/null # Pools configuration -insmod cmemk.ko phys_start=0x84d00000 phys_end=0x88000000 pools=1x16539648,1x4841472,4x1843200,14x1646592,1x282624,1x176128,1x147456,1x69632,1x61440,1x32768,2x20480,1x12288,1x8192,72x4096 +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 -#insmod cmemk.ko phys_start=0x83c00000 phys_end=0x88000000 pools=1x16539648,1x4841472,14x1646592,1x282624,1x176128,1x147456,1x69632,1x61440,1x32768,2x20480,1x12288,1x8192,64x4096 +#modprobe cmemk phys_start=0x83c00000 phys_end=0x88000000 pools=1x16539648,1x4841472,14x1646592,1x282624,1x176128,1x147456,1x69632,1x61440,1x32768,2x20480,1x12288,1x8192,64x4096 # Capture + Encode -#insmod cmemk.ko phys_start=0x83c00000 phys_end=0x88000000 pools=1x3112960,1x2764800,3x1536000,1x65536,1x61440,1x49152,1x20480,1x16384,2x8192,87x4096 +#modprobe cmemk phys_start=0x83c00000 phys_end=0x88000000 pools=1x3112960,1x2764800,3x1536000,1x65536,1x61440,1x49152,1x20480,1x16384,2x8192,87x4096 # Resizer -#insmod cmemk.ko phys_start=0x83c00000 phys_end=0x88000000 pools=3x1843200 +#modprobe cmemk phys_start=0x83c00000 phys_end=0x88000000 pools=3x1843200 # Non-accel display -#insmod cmemk.ko phys_start=0x83c00000 phys_end=0x88000000 pools=1x1843200 +#modprobe cmemk phys_start=0x83c00000 phys_end=0x88000000 pools=1x1843200 -insmod irqk.ko -insmod edmak.ko -insmod dm365mmap.ko +modprobe irqk +modprobe edmak +modprobe dm365mmap rm -f /dev/dm365mmap mknod /dev/dm365mmap c `awk "\\$2==\"dm365mmap\" {print \\$1}" /proc/devices` 0 + |