diff options
| author | Phil Blundell <philb@gnu.org> | 2009-06-12 15:25:16 +0100 |
|---|---|---|
| committer | Phil Blundell <philb@gnu.org> | 2009-06-12 15:25:16 +0100 |
| commit | 99aba1b132cf3d716cd76e1da2a2e71cf40a4fe0 (patch) | |
| tree | df98215a5e66f96a46ed3877bcec030af1df3354 /recipes/dvsdk/files/loadmodules-ti-dsplink-apps.sh | |
| parent | 5510cb2417ce83040600903e7fa853c9a9769dbe (diff) | |
| parent | 50bb21e8041c91963cc6e057074e5d6e857acce5 (diff) | |
Merge branch 'org.openembedded.dev' of git@new.openembedded.org:openembedded into org.openembedded.dev
Diffstat (limited to 'recipes/dvsdk/files/loadmodules-ti-dsplink-apps.sh')
| -rwxr-xr-x | recipes/dvsdk/files/loadmodules-ti-dsplink-apps.sh | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes/dvsdk/files/loadmodules-ti-dsplink-apps.sh b/recipes/dvsdk/files/loadmodules-ti-dsplink-apps.sh new file mode 100755 index 0000000000..9cfb19d5c1 --- /dev/null +++ b/recipes/dvsdk/files/loadmodules-ti-dsplink-apps.sh @@ -0,0 +1,25 @@ +# +# Default Memory Map - for OMAP3530 dsplink examples +# +# Start Addr Size Description +# ------------------------------------------- +# 0x80000000 126 MB Linux +# 0x87E00000 2 MB DSPLINK (MEM) + DDR + DSPLINK (RESET) + +# sanity check to verify that we're using the right mem=xxM (126M in this case) +awk '/MemTotal:/ { + mem=$2 + + if (mem > 126 * 1024) + print "Warning! You need to use mem=126M or less on the kernel cmdline" + + printf "You have %dkB total memory for Linux\n", mem +}' /proc/meminfo + +# insert DSP/BIOS Link driver +# +modprobe dsplinkk + +# make /dev/dsplink +#rm -f /dev/dsplink +#mknod /dev/dsplink c `awk "\\$2==\"dsplink\" {print \\$1}" /proc/devices` 0 |
