summaryrefslogtreecommitdiffstats
path: root/local_src/remoteproc-elf/linker.ld
blob: 2b38b6f76839b97dca242e4640892ff13fc75caf (plain)
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
OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm", "elf32-littlearm")
OUTPUT_ARCH(arm)
ENTRY(_start)

MEMORY {
	ocram_s (rx) : org = 0x00000000, l = 0x00008000
	tcmu (w)     : org = 0x20000000, l = 0x00008000
	ddri1 (w)     : org = 0x18000000, l = 0x00800000
	ddri2 (w)     : org = 0x18800000, l = 0x00080000
}

SECTIONS
{
	.text : {
		imx7m4.o (.text)
	} >ocram_s
	.fw : {
		. = 0x0200;
		imx7m4.o (.dts)
		. = 0x8000;
		imx7m4.o (.linux)
	} >ddri1
	.resource_table : {
		imx7m4.o (.resource_table)
	} >ddri2

}