Part Number: AM5716
Tool/software: Code Composer Studio
Hi,
I have a custom board with a AM5716. Linux runs on ARM15.
In the directory /lib/firmware there is a precompiled file dra7-dsp1-fw.xe66 with the IPC ping example and it works as expected.
During Linux boot I have the following log:
[ 0.438135] iommu: Adding device 40800000.dsp to group 0
[ 10.524042] omap-rproc 40800000.dsp: ignoring dependency for device, assuming no driver
Starting TI MultiCore Tools Daemon...
[ 10.631312] omap-rproc 40800000.dsp: ignoring dependency for device, assuming no driver
[ 10.725816] omap-rproc 40800000.dsp: assigned reserved memory node dsp1-memory@99000000
[ 10.854459] remoteproc remoteproc2: 40800000.dsp is available
[ 11.449362] remoteproc remoteproc2: powering up 40800000.dsp
[ 11.509401] remoteproc remoteproc2: Booting fw image dra7-dsp1-fw.xe66, size 4298240
[ 12.556180] remoteproc remoteproc2: remote processor 40800000.dsp is now up
At the end the remote processor 40800000.dsp is now up
In Code Composer Studio v8, I created a project with the source files taken from the IPC_MessageQ example. When I emulate the project, it works fine.
After this test, I take the compiled file (IPC_MessageQ.out) and I copy it in the folder /home/root/DSP_FW. Then I do the following:
root@am57xx-evm:~# cd /sys/bus/platform/drivers/omap-rproc/
root@am57xx-evm:/sys/bus/platform/drivers/omap-rproc# echo 40800000.dsp > unbind
root@am57xx-evm:/sys/bus/platform/drivers/omap-rproc# rm /lib/firmware/dra7-dsp1-fw.xe66
root@am57xx-evm:/sys/bus/platform/drivers/omap-rproc# ln -s /home/root/DSP_FW/IPC_MessageQ.out /lib/firmware/dra7-dsp1-fw.xe66
root@am57xx-evm:/sys/bus/platform/drivers/omap-rproc# echo 40800000.dsp > bind
root@am57xx-evm:/sys/bus/platform/drivers/omap-rproc# reboot
The log after reboot is the following:
[ 0.448124] iommu: Adding device 40800000.dsp to group 0 [ 10.439068] omap-rproc 40800000.dsp: ignoring dependency for device, assuming no driver Starting TI IPC Daemon... [ 10.637521] omap-rproc 40800000.dsp: ignoring dependency for device, assuming no driver [ 10.726312] omap-rproc 40800000.dsp: assigned reserved memory node dsp1-memory@99000000 [ 10.909660] remoteproc remoteproc2: 40800000.dsp is available [ 11.478305] remoteproc remoteproc2: powering up 40800000.dsp [ 11.478317] remoteproc remoteproc2: Booting fw image dra7-dsp1-fw.xe66, size 3224804
At the end the remote processor 40800000.dsp is not now up. I tried both Debug and Release.
Do I have to set any options in CCS?
Do I have to allocate memory in some particolar way in linker.cmd file?
Best regards
Francesco