I'm having this issue on imx8mp with M7 core where ITCM section is not copied in the final .rimage because the corresponding section is marked as detached.
Here is the memory map for A53/M7 cores for ITCM:
It looks like SOF marks any sections that's between this two limits:
define SOF_MODULE_DRAM_LINK_START» 0
#define SOF_MODULE_DRAM_LINK_END» 0x08000000
as detached and not copied in the final rimage.
So, what is the purpose of this detached section? Is there a way we can easily make this work? Would it make sense to add a per platform option named ignore_detached ?
Cc: @lyakh @lgirdwood
I'm having this issue on imx8mp with M7 core where ITCM section is not copied in the final .rimage because the corresponding section is marked as
detached.Here is the memory map for A53/M7 cores for ITCM:
It looks like SOF marks any sections that's between this two limits:
as detached and not copied in the final
rimage.So, what is the purpose of this
detachedsection? Is there a way we can easily make this work? Would it make sense to add a per platform option namedignore_detached?Cc: @lyakh @lgirdwood