My understanding is that c6run project is suppose to cover DSPlink and not let you worry about specifics of it. I seccessfully compiled all the examples and when running them on the DSP get the MMU fault error. Followed all the instructions in C6. I already read the about the where the error comes from but the examples should be ready to run as they are in C6 without changing anything. Not sure what to do....
Running OMAP3530 on Gumstix Overo
Boot settings:
mmc init
fatload mmc 0 0x80000000 uImage
setenv bootargs console=${console} vram=${vram} mem=120M omapfb.mode=dvi:${dvimode} omapfb.debug=y omapdss.def_disp=${defaultdisplay} root=/dev/mmcblk0p2 rw
rootfstype=ext3
bootm 0x80000000
Load the CMEM module here:
DSP_REGION_START_ADDR="0x8c800000"
DSP_REGION_END_ADDR="0x8E500000"
insmod cmemk.ko phys_start=0x87800000 phys_end=0x89500000,pools=20x4096,10x13107,2x1048576
# Insert DSP/BIOS Link driver
if [ -e ./dsplinkk.ko ]; then
insmod ./dsplinkk.ko
else
modprobe dsplinkk
fi
# make /dev/dsplink
rm -f /dev/dsplink
mknod /dev/dsplink c `awk "\\$2==\"dsplink\" {print \\$1}" /proc/devices` 0
# Insert LPM driver
if [ -e ./lpm_omap3530.ko ]; then
insmod ./lpm_omap3530.ko
else
modprobe lpm_omap3530
fi
# make /dev/lpm0
rm -f /dev/lpm0
mknod /dev/lpm0 c `awk "/lpm/ {print \\$1}" /proc/devices` 0