This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

McFW creating new section

Hi all,

I am using DVRRDK 3.0 with DM8168EVM. I am developing my application in McFW.Now I want to add some new section to place my data 、heap. So I should modified the BIOS_c6xdsp.cfg. I added :

Program.sectMap[".MyMem"] = "DDR3_DSP";
Program.sectMap[".MyHeap"] = "DDR3_DSP";

But the remaining space of DDR3_DSP is too small for my data and heap.

So I modified it to SR1,when I build it,some errors:
"/usr/local/DVRRDK_03_00_00_00/DVRRDK_03.00.00.00/dvr_rdk/../dvr_rdk/bu
ild/dvr_rdk/obj/ti816x-
evm/c6xdsp/debug/dvr_rdk_configuro/linker_mod.cmd", line 260: error:
run placement fails for object ".MyHeap", size 0x4000007 (page 0).
Available ranges:
SR1 size: 0xd000000 unused: 0x0 max hole: 0x0


So, what can I use instead of DDR3_DSP?? or other suggestions you have??

Thanks.

JQ Zhao

  • Do not place anything in SR1. It will not work. To increase DDR2_DSP size modify

    /dvr_rdk/mcfw/src_bios6/cfg/ti816x/config_1G_256MLinux.bld

    SR1_SIZE                   = 201*MB - 4 * MB;

    DSP_DATA_SIZE              = 14*MB  + 100*KB + 4*MB;

     

    After above change rebuild all firmare using make dvr_rdk and use the rebuilt firmware.

    I assume you are using 1G total memory with 256M Linux configuration.