Part Number: PROCESSOR-SDK-AM57X
Hello, support for loading sections to AM57x L1D/L1P memory via remoteproc was added to Linux in the following commit authored by s-anna@ti.com:
A problem that I am running into is that, by default, the AM57x DSP cores have their L1D/L1P SRAM configured as "all cache" (see registers L1DCFG and L1PCFG in the TRM). In general, a user would work around this by running a small piece of code that changes those registers so that L1D/L1P are treated as normal SRAM; this would be done prior to whatever bootloader is being used. However, in the case of using remoteproc, the remoteproc driver places the DSP core into a reset state prior to loading the firmware sections to memories. This reset state returns the L1D/L1P cache configuration to "all cache." Therefore, I have not been able to find a way (short of modifying remoteproc itself) to disable the L1D/L1P caches prior to loading the firmware sections.
Best regards,
Dave