[oe-commits] Brijesh Singh : gstreamer-ti: update loadmodules.sh
git version control
git at git.openembedded.org
Thu Sep 30 11:21:27 UTC 2010
Module: openembedded.git
Branch: org.openembedded.dev
Commit: dfdd6a064c1732fe5c7723a9997989ab4d63fcd1
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=dfdd6a064c1732fe5c7723a9997989ab4d63fcd1
Author: Brijesh Singh <bksingh at ti.com>
Date: Tue Sep 21 15:34:14 2010 -0500
gstreamer-ti: update loadmodules.sh
Signed-off-by: Roger Monk <r-monk at ti.com>
Signed-off-by: Koen Kooi <k-kooi at ti.com>
---
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 28358af..c70bee1 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
+
More information about the Openembedded-commits
mailing list