Part Number: AM5728
Tool/software: TI-RTOS
Hi,
I am currently working on an issue required by customer. We have TI RTOS running on DSP and tasks should somehow loaded be after the DSP already boots, already runing RTOS with some background housekeeping tasks. Real tasks are in a separate project and now I have an .out file of the RTOS and .out file of the tasks. Their memories don't overlap. There are quite a few approaches on doing this and 3 I could come up with0 are:
1. Make a single .out file from rtos.out and tasks.out and run it via remoteproc.
I used this wiki article:processors.wiki.ti.com/.../Combining_executable_files and failed to do so. I can't get the lnk.cmd right. or something. build fails whilst linking. BTW what is ROM image and how is it used in Sitara DSP ?
second approach is to use dynamic linking. Described in chapter 12 here:
but this method seems outdated since tools and examples are from 2012, using ol'e SYSLINK. And I think that it colides with remoteproc and CMEM since they don't allow linux to do crumpets on the memory.
and last but not least to modify the remoteproc driver to load two images during probe function, by changing hardcoded link locations in /lib/firmware.
Could someone please say which path of three would be the best, and maybe some directions in the first case, since it seems the simplest (how to adjust the lnk.cmd to accomodate two files).
was anyone been able to do this sort of thing ?
Kind regards,
Nikola