Hi,
We are using PSDK 02_00_00_00. We are using the H264 encoders and decoders from the PSDK. We wanted to understand the IPU MMU configuration done by the DCE server.
From our understanding, the MMU configurations are done through "IpuAmmu.cfg" file. We see that there is a large page with logical address 0x0 and the translation is disabled. With this information, it seems like, physical address is 0x0.
/* Instruction Code: Large page (512M); cacheable */
/* config large page[0] to map 512MB VA 0x0 to L3 0x0 */
AMMU.largePages[0].pageEnabled = AMMU.Enable_YES;
AMMU.largePages[0].logicalAddress = 0x0;
AMMU.largePages[0].translationEnabled = AMMU.Enable_NO;
AMMU.largePages[0].size = AMMU.Large_512M;
AMMU.largePages[0].L1_cacheable = AMMU.CachePolicy_CACHEABLE;
AMMU.largePages[0].L1_posted = AMMU.PostedPolicy_POSTED;
In the IPUMM configuration file "config.bld", we see that the "EXT_CODE" section is at 0x00004000.
var evmDRA7XX_ExtMemMapIpu2 = {
EXT_CODE: { name: "EXT_CODE", base: 0x00004000, len: 0x005FC000, space: "code", access: "RWX" },
EXT_DATA: { name: "EXT_DATA", base: 0x80000000, len: 0x00200000, space: "data", access: "RW" },
EXT_HEAP: { name: "EXT_HEAP", base: 0x80200000, len: 0x02900000, space: "data", access: "RW" },
TRACE_BUF: { name: "TRACE_BUF", base: 0x9F000000, len: 0x00060000, space: "data", access: "RW" },
EXC_DATA: { name: "EXC_DATA", base: 0x9F060000, len: 0x00010000, space: "data", access: "RW" },
PM_DATA: { name: "PM_DATA", base: 0x9F070000, len: 0x00020000, space: "data", access: "RWX" }
};
When we refer to the TRM IPU memory map, there are 2 entries for physical address 0x0: One is IPU boot space (16KB) and the other is GPMC (512MB)
In which region does the "EXT_CODE" segment for dce server reside? GPMC does not seem to be a correct mapping for IPU. Is there any internal memory for this region?
Regards,
Apoorva