Hi folks,
Has anyone else attempted to run http://processors.wiki.ti.com/index.php/Processor_SDK_Big_Data_IPC_Examples on the X15?
I built out the binaries on my build host but it appears as though either
The WIKI gives an account of how the CMEM area is allocated:
`
The DSP side memory layout can be found in the file host_linux/simple_buffer_example/shared//config.bld.
Also note the addition of the following section in host_linux/simple_buffer_example/shared//rsc_table_dsp.h.
Please note the reserved carve-out in the DSP resource table:
/* NOTE: Make sure this matches what is configured in the linux device tree */
define DSP_CMEM_IOBUFS 0xA0000000
define PHYS_CMEM_IOBUFS 0xA0000000
define DSP_CMEM_IOBUFS_SIZE (SZ_1M * 192)
The CMEM area allocated from this region is used for the big data buffers.
Also…
NOTE: The size of the big data buffer is configurable compile time by changing value of the define BIGDATA_SIZE in shared/AppCommon.h
`
In troubleshooting this, my question at the moment is - is there any way I can see how this reserved carved-out is configured in the linux device tree as per the WIKI recommendation on the 3rd line? I guess the WIKI assumes I have that know-how already which, sadly, I don’t.
I haven’t changed anything in the config.bld or rsc_table_dsp.h yet so the values correspond to the WIKI.
The config.bld shows both EXT_CODE and EXT_DATA being allocated a length of 0x1000000 so I’m not sure which one is causing my error. It probably doesn’t matter too much at this point:
var evmDRA7XX_ExtMemMapDsp = {
EXT_CODE: {
name: “EXT_CODE”,
base: 0x95000000,
len: 0x00100000,
space: “code”,
access: “RWX”
},
EXT_DATA: {
name: “EXT_DATA”,
base: 0x95100000,
len: 0x00100000,
space: “data”,
access: “RW”
},
Any help much appreciated.
Thanks,
Dermot