Hi ,
I use QCA4020 eval board with Hello World project to extend heap size.
My plan is that I move "RAM_FOM_APPS_RO_MEMORY" 128K to "RAM_FOM_APPS_DATA_MEMORY" with no adding "RAM_FOM_APPS_DATA_MEMORY" size.
Therefore , I follow " QCA402x(CDB2x) Programmer's Guide 80-YA121-142 Rev.D 11/20, 2018 " , section 4.3.4 "Resize application memory" instruction :
1. modify DefaultTemplateLinkerScript.ld :
change
RAM_FOM_APPS_RO_MEMORY (Rx) : ORIGIN = 0x10046000, LENGTH = 0x3a000
RAM_FOM_APPS_DATA_MEMORY (W) : ORIGIN = 0x10080000, LENGTH = 0x10000
to
RAM_FOM_APPS_RO_MEMORY (Rx) : ORIGIN = 0x10046000, LENGTH = 0x1a000
RAM_FOM_APPS_DATA_MEMORY (W) : ORIGIN = 0x10060000, LENGTH = 0x10000 // I keep length to 0x10000
2.. modify DevCfg_master_devcfg_out.xml :
change
<!-- FOM Code and Data region = --> 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x10, 0x00, 0x02, 0xF1, 0x06, 0x00,
to
<!-- FOM Code and Data region = --> 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x10, 0x00, 0x02, 0xF9, 0x06, 0x00,
------------------------------------------------------------------------------
After modifying these change, i finish building the code.
However, qca4020 demo board couldn't run this image....
I have been troubled for some time of this problem
Could you help me to figure out what step i have wrong?
Thank you so much
2.. modify DevCfg_master_devcfg_out.xml // This is used for default QCA402x EVK board
Kindly Modify DevCfg_master_devcfg_out_cdb.xml // for CDB2x device