Guest User

Untitled

a guest
Jul 21st, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. /usr/share/ti/ti-dsplink-examples# cat ti-dsplink-examples-loadmodules.sh
  2. #
  3. # Default Memory Map - for OMAP3530 dsplink examples
  4. #
  5. # Start Addr Size Description
  6. # -------------------------------------------
  7. # 0x80000000 126 MB Linux
  8. # 0x87E00000 2 MB DSPLINK (MEM) + DDR + DSPLINK (RESET)
  9.  
  10. # sanity check to verify that we're using the right mem=xxM (126M in this case)
  11. awk '/MemTotal:/ {
  12. mem=$2
  13.  
  14. if (mem > 126 * 1024)
  15. print "Warning! You need to use mem=126M or less on the kernel cmdline"
  16.  
  17. printf "You have %dkB total memory for Linux\n", mem
  18. }' /proc/meminfo
  19.  
  20. # insert DSP/BIOS Link driver
  21. #
  22. modprobe dsplinkk
  23.  
  24. # make /dev/dsplink
  25. #rm -f /dev/dsplink
  26. #mknod /dev/dsplink c `awk "\\$2==\"dsplink\" {print \\$1}" /proc/devices` 0
Add Comment
Please, Sign In to add comment