1 #!/bin/sh
2 #
3 # loadmodules.sh
4 #
5 # Copyright (C) $year Texas Instruments Incorporated - http://www.ti.com/
6 #
7 # This program is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU Lesser General Public License as
9 # published by the Free Software Foundation version 2.1 of the License.
10 #
11 # This program is distributed #as is# WITHOUT ANY WARRANTY of any kind,
12 # whether express or implied; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 # Lesser General Public License for more details.
16 # 12MB
17 modprobe cmemk phys_start=0x87400000 phys_end=0x88000000 pools=1x2903040,1x1529856,7x829440,1x524288,1x108680,1x81920,2x8192,6x4096
19 ./mapdmaq
21 modprobe dm350mmap
22 rm -f /dev/dm350mmap
23 mknod /dev/dm350mmap c `awk "\\$2==\"dm350mmap\" {print \\$1}" /proc/devices` 0