Tool/software: Linux
According to the chapter 6.6 of VisionSDK_UserGuide_MemoryMap.pdf, if we use the 512M DDR, it should modify the vpsInitPrms.virtBaseAddr = 0x80000000U to vpsInitPrms.virtBaseAddr = 0xA0000000U. So, if we still use 1G DDR, it does not modify the vpsInitPrms.virtBaseAddr ? That is to say, if we use 1G DDR, do we need to enable the translation between virtual address and physical address? Below is the part of patch from the chapter 6.6 of VisionSDK_UserGuide_MemoryMap.pdf,
Thanks
Terence
============================================================
diff --git a/links_fw/src/rtos/links_ipu/system/system_bsp_init.c
b/links_fw/src/rtos/links_ipu/system/system_bsp_init.c
index 97287ff..5a18372 100755
--- a/links_fw/src/rtos/links_ipu/system/system_bsp_init.c
+++ b/links_fw/src/rtos/links_ipu/system/system_bsp_init.c
@@ -251,8 +251,10 @@ Int32 System_bspInit(void)
#ifdef A15_TARGET_OS_LINUX
/* This one to one mapping is required for the 1GB Linux builds */
- vpsInitPrms.virtBaseAddr = 0x80000000U;
+ vpsInitPrms.virtBaseAddr = 0xA0000000U;
vpsInitPrms.physBaseAddr = 0x80000000U;
+ /* if Virtual address != Physical address then enable translation */
+ vpsInitPrms.isAddrTransReq = TRUE;
#else
vpsInitPrms.virtBaseAddr = 0xA0000000U;
vpsInitPrms.physBaseAddr = 0x80000000U;