diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2011-08-06 15:14:29 +0200 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-08-16 09:46:07 +0200 |
commit | ae20ccf7fb8d63abb82a60a722685f71b5868a12 (patch) | |
tree | 3c172764561bce2a4d55cc27ccd12b71b11003b7 /recipes-ti/dmai/ti-dmai/loadmodules-ti-dmai-dm365_al.sh | |
parent | 1a9b46011d086e5b45a14af807ffd06e1ceecfc1 (diff) | |
download | meta-ti-ae20ccf7fb8d63abb82a60a722685f71b5868a12.tar.gz |
dmai: move into a seperate dir
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'recipes-ti/dmai/ti-dmai/loadmodules-ti-dmai-dm365_al.sh')
-rw-r--r-- | recipes-ti/dmai/ti-dmai/loadmodules-ti-dmai-dm365_al.sh | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes-ti/dmai/ti-dmai/loadmodules-ti-dmai-dm365_al.sh b/recipes-ti/dmai/ti-dmai/loadmodules-ti-dmai-dm365_al.sh new file mode 100644 index 00000000..36dc78ec --- /dev/null +++ b/recipes-ti/dmai/ti-dmai/loadmodules-ti-dmai-dm365_al.sh | |||
@@ -0,0 +1,25 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | # This loadmodules script is provided to support 1920x1080 resolution file based encode/decode DMAI unit test applications | ||
4 | |||
5 | # Sample bootargs is given below | ||
6 | # mem=60M console=ttyS0,115200n8 root=/dev/nfs rw nfsroot=<nfsroot> ip=dhcp video=davincifb:vid0=OFF:vid1=OFF:osd0=720x576x16,2025K dm365_imp.oper_mode=0 | ||
7 | |||
8 | depmod -a | ||
9 | rmmod cmemk 2>/dev/null | ||
10 | rmmod irqk 2>/dev/null | ||
11 | rmmod edmak 2>/dev/null | ||
12 | rmmod dm365mmap 2>/dev/null | ||
13 | |||
14 | # Pools configuration | ||
15 | modprobe cmemk phys_start=0x83C00000 phys_end=0x88000000 pools=1x384,2x5984,2x3133440,1x16384,1x48952,1x20480,1x60288,1x74,1x28,1x2048,1x6785280,1x146,1x896,1x65536,1x98,1x296,29x56,2x24,1x624,4x62,1x1456,1x18321120,1x65792,5x3523584,1x4194304,1x8355840 | ||
16 | |||
17 | #VC1 decode pool configuration | ||
18 | # insmod cmemk.ko phys_start=0x83C00000 phys_end=0x88000000 pools=1x384,1x112665,3x7680,1x319264,2x1024,5x7208960,1x80,1x116,1x29184,1x2688,1x30720,1x551680,2x128,1x74,1x28,1x10240,1x47232,1x448,2x1152,1x8192,2x272896,18x56,2x24,1x86,4x62,2x7808,1x2097152 | ||
19 | |||
20 | modprobe irqk | ||
21 | modprobe edmak | ||
22 | modprobe dm365mmap | ||
23 | |||
24 | rm -f /dev/dm365mmap | ||
25 | mknod /dev/dm365mmap c `awk "\\$2==\"dm365mmap\" {print \\$1}" /proc/devices` 0 | ||