]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/meta-ti-glsdk.git/blob - recipes-ti/codec-engine/ti-dmai/loadmodules-ti-dmai-apps.sh
import codec engine and dependencies from oe classic
[glsdk/meta-ti-glsdk.git] / recipes-ti / codec-engine / ti-dmai / loadmodules-ti-dmai-apps.sh
1 #
2 # Default Memory Map - for OMAP3530 dvsdk examples from 3.00.00.29 - this memory map is used for DMAI apps
3 #
4 # Start Addr    Size    Description
5 # -------------------------------------------
6 # 0x80000000    88 MB   Linux
7 # 0x85800000    08 MB   CMEM
8 # 0x86800000    16 MB   DDRALGHEAP
9 # 0x87800000     6 MB   DDR2 (BIOS, Codecs, Applications)
10 # 0x87E00000     1 MB   DSPLINK (MEM)
11 # 0x87F00000     4 KB   DSPLINK (RESET)
12 # 0x87F01000  1020 KB   unused
14 # sanity check to verify that we're using the right mem=xxM (88M in this case)
15 awk '/MemTotal:/ {
16     mem=$2
18     if (mem > 88 * 1024)
19         print "Warning! You need to use mem=88M or less on the kernel cmdline"
21     printf "You have %dkB total memory for Linux\n", mem
22 }' /proc/meminfo
24 # Select cmemk parameters for best fit, i.e. starting at 0x85000000
25 modprobe cmemk phys_start=0x85800000 phys_end=0x86800000 pools=20x4096,8x131072,5x1048576,1x1429440,1x256000,1x3600000,5x829440
27 # insert DSP/BIOS Link driver
28 #
29 modprobe dsplinkk
31 # make /dev/dsplink
32 #rm -f /dev/dsplink
33 #mknod /dev/dsplink c `awk "\\$2==\"dsplink\" {print \\$1}" /proc/devices` 0
35 # insert Local Power Manager driver
36 #
37 modprobe lpm_omap3530