AnsweredAssumed Answered

RDC Permissions

Question asked by Imanol Allende on Feb 14, 2017
Latest reply on Feb 23, 2017 by Imanol Allende

I am using the i.MX6 SoloX SABRE-SD platform with Linux on the A9 and FreeRTOS on the M4. The "imx6sx-sdb-m4.dtb" has a shared memory region for both cores:


   fsl,shared-mem-addr = <0x91F000>;
   fsl,shared-mem-size = <0x1000>;


Nevertheless, I not interesting in sharing memory. I want to partition the memory as in the table:



0x900000 - 0x90FFFF


0x910000 - 0x91FFFF

If I delete the shared-mem-addr it only appears the partition of the A9:

&ocram {
    reg = <0x00901000 0xf000>;


Besides, I want to give only M4 permissions to the second partition with the RDC. I suppose I have to use the following function:

      RDC_SetMrAccess(RDC, rdcMrOcram, 0x910000, 0x91FFFF, 0x0C /*R/W permission for M4*/, true, false);


However, I get a Linux kernel panic while I am booting. Changing the RDC permissions to 0xFF works. Nevertheless, I want to give only permission to the M4. What I am doing wrong?