-
Notifications
You must be signed in to change notification settings - Fork 11
/
FBOOT_S8500_b2x.lds
50 lines (46 loc) · 1.34 KB
/
FBOOT_S8500_b2x.lds
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
/*
; This file is part of Badadroid project.
;
; Copyright (C) 2012 Rebellos, mijoma, b_kubica
;
;
; Badadroid is free software: you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation, either version 3 of the License, or
; (at your option) any later version.
;
; Badadroid is distributed in the hope that it will be useful,
; but WITHOUT ANY WARRANTY; without even the implied warranty of
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
; GNU General Public License for more details.
;
; You should have received a copy of the GNU General Public License
; along with Badadroid. If not, see <http://www.gnu.org/licenses/>.
;
;
*/
OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
OUTPUT_ARCH(arm)
ENTRY(main)
MODEL = 0x30303538;
FOTA_NAND_START = 0x03300000;
BL3_DRAM_START = 0x42080000;
KERNEL_BUF = 0x44400000;
KERNEL_START = 0x22000000;
MEMORY
{
fota (i) : ORIGIN = 0x43200000, LENGTH = 0x280010
}
SECTIONS
{
.header 0x43200000: {out/header.o (.text)} > fota
.footer 0x43480000: {out/footer.o (.text)}
__fota_start = ADDR(.header);
. = __fota_start + 0x300;
.text :
{
*(.text)
}
.data : { *(.data) }
.bss 0x44000000: { *(.bss) }
}