Hi community.
I have using i.MX8MP with yocto kirkstone(5.15.71).
Are the memories used by rpmsg the four listed in the dts file: vdev0vring0, vdev0vring1, vdevbuffer, and rsc_table?
{ /* DDR[0x4000_0000 - 0x8000_0000]: Memory with Normal type, not shareable, non-cacheable */
.RBAR = ARM_MPU_RBAR(3, 0x40000000U),
.RASR = ARM_MPU_RASR(0, ARM_MPU_AP_RO, 1, 0, 0, 0, 0, ARM_MPU_REGION_SIZE_1GB),
},
{ /* DDR[0x55000000 - 0x5500FFFF]: Memory with Normal type, SHAREABLE, not cacheable */
.RBAR = ARM_MPU_RBAR(4, 0x55000000), // vdev0vring0: vdev0vring0@55000000, vdev0vring1: vdev0vring1@55008000
.RASR = ARM_MPU_RASR(0, ARM_MPU_AP_FULL, 1, 1, 0, 0, 0, ARM_MPU_REGION_SIZE_64KB), // for vring. Determine this by referring to the vring item in the dts file.
},
{ /* DDR[0x550FF000 - 0x550FFFFF]: Memory with Normal type, SHAREABLE, not cacheable */
.RBAR = ARM_MPU_RBAR(5, 0x550ff000), // rsc_table: rsc_table@550ff000
.RASR = ARM_MPU_RASR(0, ARM_MPU_AP_FULL, 1, 1, 0, 0, 0, ARM_MPU_REGION_SIZE_4KB), // for rsc_table. Determine this by referring to the rsc_table item in the dts file.
},
{ /* DDR[0x55400000 - 0x54FFFFFF]: Memory with Normal type, SHAREABLE, not cacheable */
.RBAR = ARM_MPU_RBAR(6, 0x55400000), // vdevbuffer: vdevbuffer@55400000
.RASR = ARM_MPU_RASR(0, ARM_MPU_AP_FULL, 1, 1, 0, 0, 0, ARM_MPU_REGION_SIZE_1MB), // for vdevbuffer. Determine this by referring to the vdevbuffer item in the dts file.
},
Best Regards,
KASHIWAGI Takashi