ti-dmai: add lost loadmodules.sh file
authorDenys Dmytriyenko <denis@denix.org>
Thu, 21 Jan 2010 17:34:44 +0000 (12:34 -0500)
committerKoen Kooi <koen@openembedded.org>
Mon, 12 Apr 2010 17:43:13 +0000 (19:43 +0200)
Signed-off-by: Koen Kooi <k-kooi@ti.com>
recipes/ti/files/loadmodules-ti-dmai-dm6467_al.sh [new file with mode: 0755]

diff --git a/recipes/ti/files/loadmodules-ti-dmai-dm6467_al.sh b/recipes/ti/files/loadmodules-ti-dmai-dm6467_al.sh
new file mode 100755 (executable)
index 0000000..b4a230d
--- /dev/null
@@ -0,0 +1,19 @@
+#
+# loadmodules.sh
+#
+# Copyright (C) $year Texas Instruments Incorporated - http://www.ti.com/
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as
+# published by the Free Software Foundation version 2.1 of the License.
+#
+# This program is distributed #as is# WITHOUT ANY WARRANTY of any kind,
+# whether express or implied; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+
+modprobe cmemk phys_start=0x87800000 phys_end=0x88E00000 pools=20x4096,8x202752,10x131072,2x1048576,1x2097152,10x829440,1x6750000
+modprobe dsplinkk ddr_start=0x8F800000  ddr_size=0x600000
+
+rm -rf /dev/dsplink
+mknod /dev/dsplink c `awk "\\$2==\"dsplink\" {print \\$1}" /proc/devices` 0