Hi,
What the the requirements on the placement of the data and code sections? I tried many combinations, some works, some does not, and I could not figure out what the patterns are.
For example, this won't work
SECTIONS
{
.cinit > L2RAM // Initialization Tables
.pinit > L2RAM // Constructor Tables
.init_array > L2RAM //
.binit > L2RAM // Boot Tables
.const > L2RAM // Constant Data
.switch > L2RAM // Jump Tables
.text > L3_CBA_RAM // Executable Code
.text:_c_int00: align=1024 > L3_CBA_BOOT // Entrypoint
GROUP (NEARDP_DATA) // group near data
{
.neardata
.rodata
.bss // note: removed fill = 0
} > L2RAM
.far: fill = 0x0, load > L2RAM // Far Global & Static Variables
.fardata > L2RAM // Far RW Data
.stack > DDR2 // Software System Stack
.sysmem > DDR2 // Dynamic Memory Allocation Area
.cio > L2RAM // C I/O Buffer
.vecs > L2RAM // Interrupt Vectors
}