Am Mon, 11 Feb 2008 23:42:03 +0530 schrieb Kamoolkar, Mugdha:
> 1. You can modify the configuration file in DSPLink directly:
> /dsplink/config/all/CFG_Davinci_DM6446.cReserve two regions of memory in
> LINKCFG_memTable_00 (add two more entries).
Okay. I used CFG_Davinci_DM6446.c
> Correspondingly, increase the value of MEMENTRIES field in
> LINKCFG_dspObjects to 8.
> 8, /* MEMENTRIES : Number of entries in memory
> table */
Okay.
> 2. In your Linux bootargs, reserve further 2 MB for this. So, if you
> were specifying mem=254M earlier, now specify mem=252M.
Okay.
bootargs=mem=118M console=ttyS0,115200n8 root=dev/hda1 rw noinitrd ip=dhcp
> 3. In the DSP-side TCI file, reserve these two regions of memory, to
> ensure that they are not used by anything else.
> In /dsplink/dsp/inc/DspBios/Davinci/DM6446/dsplink-davinci-base.tci,
> add:
okay. I changed the READMEM.base (second entry) to
READMEM.base = 0x8FD00000;
^
> 4. Finally, in your application, use PROC_read and PROC_write to
> directly write to and read from these addresses. For example, ARM can
> send data to DSP by using buffer WRITEMEM, and DSP can send data to ARM
> by using buffer READMEM.
Okay, I will give it a try!
Thank you and Bye - Robert
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source