This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM5728: Port a sys/bios c66x software to start up from Linux

Part Number: AM5728

Hi There,

I'm using processor_sdk_rtos_am57xx_4_03_00_05 and ccsv7.

I have a big project developed for c66x DSP1. We always used the debugger to load and test it.

Now we would like to start it up from Linux running on the A15.

I've been going over

https://software-dl.ti.com/processor-sdk-rtos/esd/docs/latest/rtos/index_how_to_guides.html#create-dsp-and-ipu-firmware-using-pdk-drivers-and-ipc-to-load-from-arm-linux-on-am57xx-devices

More than a few times and added what I thought was required.

At the moment when I execute

# echo 40800000.dsp > /sys/bus/platform/drivers/omap-rproc/bind

on the Linux command line I get the following output


mc@am57xx-evm:~$ [ 224.414795] omap-rproc 40800000.dsp: assigned reserved memory node dsp1-memory@99000000
[ 224.422954] remoteproc remoteproc2: 40800000.dsp is available
[ 224.491837] remoteproc remoteproc2: powering up 40800000.dsp
[ 224.497536] remoteproc remoteproc2: Booting fw image dra7-dsp1-fw.xe66, size 4301164
[ 224.513987] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
[ 224.519875] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
[ 224.525756] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
[ 224.545306] virtio_rpmsg_bus virtio0: rpmsg host is online
[ 224.547980] virtio_rpmsg_bus virtio0: creating channel rpmsg-proto addr 0x3d
[ 224.557988] remoteproc remoteproc2: registered virtio0 (type 7)
[ 224.566990] remoteproc remoteproc2: remote processor 40800000.dsp is now up
[ 224.572876] NET: Registered protocol family 44

which seems to be okay, but nothing comes up on the UART the DSP software is attached to, and when connecting with the debugger to DSP1

it is just sitting there in address 0x00800000.

Can you tell me what I'm missing?

Thanks a lot,

Nir.

  • I'm not interested in any communication between Linux on A15 and RTOS on DSP, therefore I'd prefer not integrate IPC at all with my project.

    The only thing required is that Linux will start up the DSP with the image created by CCS7 c66x project.

    As I understand, just load the image to the memory and release DSP1 core out of reset.

    Is there a simple way to do that? Can Linux driver remoteproc do that without being dependent on IPC?