diff options
author | Denys Dmytriyenko <denys@ti.com> | 2012-06-11 20:44:56 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denys@ti.com> | 2012-06-11 20:44:56 -0400 |
commit | 88867c1d96684925027a0ecc9e25c6ea70040cc6 (patch) | |
tree | e1ad8651aa7663850f6dc1108b278f56a2b92a91 /extras/recipes-ti/codec-engine/ti-codec-engine/loadmodules-ti-codec-engine-apps.sh | |
parent | a1e2573369c6714956af561523ba274aa9c185f7 (diff) | |
download | meta-ti-split.tar.gz |
extras: move things to extrassplit
Move non-essential, outdated, best-effort pieces, as well, as those requiring
extra non-standard dependencies besides oe-core.
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'extras/recipes-ti/codec-engine/ti-codec-engine/loadmodules-ti-codec-engine-apps.sh')
-rw-r--r-- | extras/recipes-ti/codec-engine/ti-codec-engine/loadmodules-ti-codec-engine-apps.sh | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/extras/recipes-ti/codec-engine/ti-codec-engine/loadmodules-ti-codec-engine-apps.sh b/extras/recipes-ti/codec-engine/ti-codec-engine/loadmodules-ti-codec-engine-apps.sh new file mode 100644 index 00000000..9f9233d1 --- /dev/null +++ b/extras/recipes-ti/codec-engine/ti-codec-engine/loadmodules-ti-codec-engine-apps.sh | |||
@@ -0,0 +1,37 @@ | |||
1 | # | ||
2 | # Default Memory Map - for OMAP3530 CE 2.21 examples | ||
3 | # | ||
4 | # Start Addr Size Description | ||
5 | # ------------------------------------------- | ||
6 | # 0x80000000 80 MB Linux | ||
7 | # 0x85000000 08 MB CMEM | ||
8 | # 0x86000000 24 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 | ||
13 | |||
14 | # sanity check to verify that we're using the right mem=xxM (80M in this case) | ||
15 | awk '/MemTotal:/ { | ||
16 | mem=$2 | ||
17 | |||
18 | if (mem > 80 * 1024) | ||
19 | print "Warning! You need to use mem=80M or less on the kernel cmdline" | ||
20 | |||
21 | printf "You have %dkB total memory for Linux\n", mem | ||
22 | }' /proc/meminfo | ||
23 | |||
24 | # Select cmemk parameters for best fit, i.e. starting at 0x85000000 | ||
25 | modprobe cmemk phys_start=0x85000000 phys_end=0x86000000 pools=20x4096,8x131072,5x1048576,1x1429440,1x256000,1x3600000,5x829440 | ||
26 | |||
27 | # insert DSP/BIOS Link driver | ||
28 | # | ||
29 | modprobe dsplinkk | ||
30 | |||
31 | # make /dev/dsplink | ||
32 | #rm -f /dev/dsplink | ||
33 | #mknod /dev/dsplink c `awk "\\$2==\"dsplink\" {print \\$1}" /proc/devices` 0 | ||
34 | |||
35 | # insert Local Power Manager driver | ||
36 | # | ||
37 | modprobe lpm_omap3530 | ||