Hi Igor,
thanks for responding to my question.
So if CONTEXT_BASE is an address in the Data Memory Space, this means that the contexts are stored at the beginning (first half) of the RAM. So user scripts and their data must use the 2nd half of the RAM.
The image sdma-imx6q.bin from linux-firmware.git contains 2004 (0x7d4 at offset 0x1C in the image) bytes RAM code which is copied to address 0x1800 (at offset 0xA4 in the image). 0x1800 doesn't look like a RAM address in Data Memory Space but in Instruction Memory Space this starting at the 2nd half of the the RAM which makes sense.
Figure 43-18 on page 2745 confirms that ("Content Area" seems to be misspelled, Program Memory seems to be used synonymous for Instruction Memory).
Prior starting my first SDMA project I would like to know how much memory is available for my own code. So currently about 2 kB seems to be available.
How can I determine whether any SDMA RAM is used for DATA by the NXP ROM/RAM scripts?
regards
Christian