Hello
I am using am5718idk with linux on ARM and TI-RTOS on dsp processor.
I have to access pru-ethenet from dsp and all other processor(ipu1 and ipu2) are not used.
I have assigned 152MB memory for DSP instead for 64MB already in device tree.
I have modified the reserved memory in DTS file
memory@80000000 {
device_type = "memory";
reg = <0x0 0x80000000 0x0 0x40000000>;
};
reserved-memory {
#address-cells = <0x2>;
#size-cells = <0x2>;
ranges;
ipu2-memory@95800000 {
compatible = "shared-dma-pool";
reg = <0x0 0x95800000 0x0 0x3800000>;
reusable;
status = "disabled";
phandle = <0xc4>;
};
dsp1-memory@0x95800000 {
compatible = "shared-dma-pool";
reg = <0x0 0x95800000 0x0 0x9800000>;
reusable;
status = "okay";
phandle = <0xca>;
};
ipu1-memory@9d000000 {
compatible = "shared-dma-pool";
reg = <0x0 0x9d000000 0x0 0x2000000>;
reusable;
status = "disabled";
phandle = <0xbd>;
};
cmem_block_mem@a0000000 {
reg = <0x0 0xa0000000 0x0 0xc000000>;
no-map;
status = "okay";
phandle = <0x131>;
};
};
I have also modified the memory map of the Ti-RTOS file to fit in this memory range(0x95800000 0x0 0x9800000>;) and tested independently
while loading the DSP image from linux following error is comming
root@am57xx-evm:/sys/bus/platform/drivers/omap-rproc# echo 40800000.dsp > unbind
[10098.211292] remoteproc remoteproc2: releasing 40800000.dsp
root@am57xx-evm:/sys/bus/platform/drivers/omap-rproc# echo 40800000.dsp > bind
[10136.981421] omap-rproc 40800000.dsp: assigned reserved memory node dsp1-memory@99000000(already in orginal map)
[10136.995642] remoteproc remoteproc2: 40800000.dsp is available
[10137.002835] remoteproc remoteproc2: Direct firmware load for dra7-dsp1-fw.xe66 failed with error -2
root@am57xx-evm:/sys/bus/platform/drivers/omap-rproc# [10137.015043] remoteproc remoteproc2: powering up 40800000.dsp
[10137.026850] remoteproc remoteproc2: Direct firmware load for dra7-dsp1-fw.xe66 failed with error -2
[10137.037307] remoteproc remoteproc2: request_firmware failed: -2
Even though I have modified the memory range used by the DSP in device tree,error log showing no change in the default memory map
Regards
Satheesh KumarS