-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathDM648.cmd
54 lines (49 loc) · 2.19 KB
/
DM648.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/****************************************************************************/
/* DM648.cmd */
/* Copyright (c) 2012 Texas Instruments Incorporated */
/* Author: Rafael de Souza */
/* */
/* Description: This file is a sample linker command file that can be */
/* used for linking programs built with the C compiler and */
/* running the resulting .out file on a DM648. */
/* Use it as a guideline. You will want to */
/* change the memory layout to match your specific */
/* target system. You may want to change the allocation */
/* scheme according to the size of your program. */
/* */
/****************************************************************************/
MEMORY
{
L2RAM: o = 0x00A00000 l = 0x00400000 /* 4MB L2 RAM/Cache */
L1PRAM: o = 0x00E00000 l = 0x00008000 /* 32kB L1 Program RAM/Cache */
L1DRAM: o = 0x00F00000 l = 0x00008000 /* 32kB L1 Data RAM/Cache */
EMIFA_CS2: o = 0xA0000000 l = 0x04000000 /* 64MB EMIFA CE2 */
EMIFA_CS3: o = 0xB0000000 l = 0x04000000 /* 64MB EMIFA CE3 */
DDR2: o = 0xE0000000 l = 0x20000000 /* 512MB External DDR2 */
}
SECTIONS
{
.text > L2RAM
.stack > L2RAM
.bss > L2RAM
.cio > L2RAM
.const > L2RAM
.data > L2RAM
.switch > L2RAM
.sysmem > L2RAM
.far > L2RAM
.args > L2RAM
.ppinfo > L2RAM
.ppdata > L2RAM
/* TI-ABI or COFF sections */
.pinit > L2RAM
.cinit > L2RAM
/* EABI sections */
.binit > L2RAM
.init_array > L2RAM
.neardata > L2RAM
.fardata > L2RAM
.rodata > L2RAM
.c6xabi.exidx > L2RAM
.c6xabi.extab > L2RAM
}