Other Parts Discussed in Thread: OMAP-L138, SYSBIOS
Hi There
I have followed the guide at location http://processors.wiki.ti.com/index.php/Power_Module_for_C6748_and_OMAP-L138
to put the C6748 to various sleep modes. I have used the example code on the C6748 LCDK board ant this works fine. When I hook this example into my own project on a custom board I have an issue when it comes to specifying this in the .cfg file
Program.sectMap[".text"] = "L3_CBA_RAM"; Program.sectMap[".bss"] = "L3_CBA_RAM"; Program.sectMap[".vecs"] = "L3_CBA_RAM"; Program.sectMap[".far"] = "L3_CBA_RAM";
It appears when I compile that these files are too large to store in L3 cache....compiler output:
<Linking>
"./configPkg/linker.cmd", line 275: error #10099-D: run placement fails for
object ".far", size 0x1b5ef2 (page 0). Available ranges:
L3_CBA_RAM size: 0x20000 unused: 0xb138 max hole: 0xb134
"./configPkg/linker.cmd", line 258: error #10099-D: placement fails for object
".text", size 0x44b81 (page 0). Available ranges:
L3_CBA_RAM size: 0x20000 unused: 0x18 max hole: 0x14
"./configPkg/linker.cmd", line 270: error #10099-D: placement fails for object
".const", size 0x60fb (page 0). Available ranges:
L3_CBA_RAM size: 0x20000 unused: 0x8 max hole: 0x4
"./configPkg/linker.cmd", line 260: error #10099-D: run placement fails for
object ".stack", size 0x2000 (page 0). Available ranges:
L3_CBA_RAM size: 0x20000 unused: 0x8 max hole: 0x4
"./configPkg/linker.cmd", line 279: error #10099-D: placement fails for object
".vecs", size 0x5ff (page 0). Available ranges:
L3_CBA_RAM size: 0x20000 unused: 0x8 max hole: 0x4
"./configPkg/linker.cmd", line 273: error #10099-D: placement fails for object
".switch", size 0x236 (page 0). Available ranges:
>> Compilation failure
L3_CBA_RAM size: 0x20000 unused: 0x8 max hole: 0x4
"./configPkg/linker.cmd", line 261: error #10099-D: run placement fails for
object "GROUP_1", size 0x188 (page 0). Available ranges:
L3_CBA_RAM size: 0x20000 unused: 0x8 max hole: 0x4
"./configPkg/linker.cmd", line 277: error #10099-D: run placement fails for
object ".cio", size 0x123 (page 0). Available ranges:
L3_CBA_RAM size: 0x20000 unused: 0x8 max hole: 0x4
"./configPkg/linker.cmd", line 267: error #10099-D: placement fails for object
".cinit", size 0x1156 (page 0). Available ranges:
L3_CBA_RAM size: 0x20000 unused: 0x4 max hole: 0x4
error #10010: errors encountered during linking; "icl_interrogator.out" not
built
gmake: *** [icl_interrogator.out] Error 1
The guide states that this data must reside on L2/L3 cache when bypassing the PLL1. Have you any suggestions as to what I could do to get around this?
All help appreciated,
Tony