diff options
Diffstat (limited to 'recipes-ti/codec-engine/ti-dmai/loadmodules-ti-dmai-o3530_al.sh')
-rwxr-xr-x | recipes-ti/codec-engine/ti-dmai/loadmodules-ti-dmai-o3530_al.sh | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/recipes-ti/codec-engine/ti-dmai/loadmodules-ti-dmai-o3530_al.sh b/recipes-ti/codec-engine/ti-dmai/loadmodules-ti-dmai-o3530_al.sh new file mode 100755 index 00000000..076af072 --- /dev/null +++ b/recipes-ti/codec-engine/ti-dmai/loadmodules-ti-dmai-o3530_al.sh | |||
@@ -0,0 +1,42 @@ | |||
1 | # loadmodules.sh | ||
2 | # | ||
3 | # Copyright (C) $year Texas Instruments Incorporated - http://www.ti.com/ | ||
4 | # | ||
5 | # This program is free software; you can redistribute it and/or modify | ||
6 | # it under the terms of the GNU Lesser General Public License as | ||
7 | # published by the Free Software Foundation version 2.1 of the License. | ||
8 | # | ||
9 | # This program is distributed #as is# WITHOUT ANY WARRANTY of any kind, | ||
10 | # whether express or implied; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
12 | # Lesser General Public License for more details. | ||
13 | |||
14 | # | ||
15 | # Default Memory Map | ||
16 | # | ||
17 | # Start Addr Size Description | ||
18 | # ------------------------------------------- | ||
19 | # 0x80000000 88 MB Linux | ||
20 | # 0x85800000 08 MB CMEM | ||
21 | # 0x86800000 24 MB DDRALGHEAP | ||
22 | # 0x87800000 6 MB DDR2 (BIOS, Codecs, Applications) | ||
23 | # 0x87E00000 1 MB DSPLINK (MEM) | ||
24 | # 0x87F00000 4 KB DSPLINK (RESET) | ||
25 | # 0x87F01000 1020 KB unused | ||
26 | |||
27 | modprobe cmemk phys_start=0x85800000 phys_end=0x86800000 pools=20x4096,8x131072,4x829440,1x5250000,1x1429440,1x256000 | ||
28 | |||
29 | |||
30 | # insert DSP/BIOS Link driver | ||
31 | # | ||
32 | modprobe dsplinkk | ||
33 | |||
34 | # make /dev/dsplink | ||
35 | rm -f /dev/dsplink | ||
36 | mknod /dev/dsplink c `awk "\\$2==\"dsplink\" {print \\$1}" /proc/devices` 0 | ||
37 | |||
38 | |||
39 | # insert Local Power Manager driver | ||
40 | # | ||
41 | modprobe lpm_omap3530 | ||
42 | |||