Commit d20b9991154241466802ceb17169dc8b5f7e58df
Committed by
Stefan Roese
1 parent
ac69243d83
Exists in
master
and in
54 other branches
xilinx-ppc4xx-generic: Use common u-boot.lds
Use common ppc4xx linker script for xilinx ppc440 and ppc405 related boards. Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Stefan Roese <sr@denx.de>
Showing 10 changed files with 26 additions and 559 deletions Side-by-side Diff
- arch/powerpc/cpu/ppc4xx/start.S
- arch/powerpc/cpu/ppc4xx/u-boot.lds
- board/xilinx/ppc405-generic/Makefile
- board/xilinx/ppc405-generic/u-boot-ram.lds
- board/xilinx/ppc405-generic/u-boot-rom.lds
- board/xilinx/ppc440-generic/Makefile
- board/xilinx/ppc440-generic/u-boot-ram.lds
- board/xilinx/ppc440-generic/u-boot-rom.lds
- boards.cfg
- include/configs/xilinx-ppc.h
arch/powerpc/cpu/ppc4xx/start.S
... | ... | @@ -267,7 +267,7 @@ |
267 | 267 | /* NOTREACHED - board_init_f() does not return */ |
268 | 268 | #endif |
269 | 269 | |
270 | -#if defined(CONFIG_SYS_RAMBOOT) | |
270 | +#if defined(CONFIG_SYS_RAMBOOT) || defined(CONFIG_BOOT_FROM_XMD) | |
271 | 271 | /* |
272 | 272 | * 4xx RAM-booting U-Boot image is started from offset 0 |
273 | 273 | */ |
arch/powerpc/cpu/ppc4xx/u-boot.lds
... | ... | @@ -23,8 +23,12 @@ |
23 | 23 | #include "config.h" /* CONFIG_BOARDDIR */ |
24 | 24 | |
25 | 25 | #ifndef RESET_VECTOR_ADDRESS |
26 | +#ifdef CONFIG_RESET_VECTOR_ADDRESS | |
27 | +#define RESET_VECTOR_ADDRESS CONFIG_RESET_VECTOR_ADDRESS | |
28 | +#else | |
26 | 29 | #define RESET_VECTOR_ADDRESS 0xfffffffc |
27 | 30 | #endif |
31 | +#endif | |
28 | 32 | |
29 | 33 | OUTPUT_ARCH(powerpc) |
30 | 34 | |
31 | 35 | |
... | ... | @@ -100,7 +104,11 @@ |
100 | 104 | * start.o, since the first shadow TLB only covers 4k |
101 | 105 | * of address space. |
102 | 106 | */ |
107 | +#ifdef CONFIG_INIT_TLB | |
108 | + CONFIG_INIT_TLB (.bootpg) | |
109 | +#else | |
103 | 110 | CONFIG_BOARDDIR/init.o (.bootpg) |
111 | +#endif | |
104 | 112 | } :text = 0xffff |
105 | 113 | #endif |
106 | 114 |
board/xilinx/ppc405-generic/Makefile
board/xilinx/ppc405-generic/u-boot-ram.lds
1 | -/* | |
2 | - * (C) Copyright 2000-2004 | |
3 | - * Wolfgang Denk, DENX Software Engineering, wd@denx.de. | |
4 | - * | |
5 | - * See file CREDITS for list of people who contributed to this | |
6 | - * project. | |
7 | - * | |
8 | - * This program is free software; you can redistribute it and/or | |
9 | - * modify it under the terms of the GNU General Public License as | |
10 | - * published by the Free Software Foundation; either version 2 of | |
11 | - * the License, or (at your option) any later version. | |
12 | - * | |
13 | - * This program is distributed in the hope that it will be useful, | |
14 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 | - * GNU General Public License for more details. | |
17 | - * | |
18 | - * You should have received a copy of the GNU General Public License | |
19 | - * along with this program; if not, write to the Free Software | |
20 | - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, | |
21 | - * MA 02111-1307 USA | |
22 | - */ | |
23 | - | |
24 | -OUTPUT_ARCH(powerpc) | |
25 | -ENTRY(_start) | |
26 | - | |
27 | -SECTIONS | |
28 | -{ | |
29 | - /* Read-only sections, merged into text segment: */ | |
30 | - . = + SIZEOF_HEADERS; | |
31 | - .interp : { *(.interp) } | |
32 | - .hash : { *(.hash) } | |
33 | - .dynsym : { *(.dynsym) } | |
34 | - .dynstr : { *(.dynstr) } | |
35 | - .rel.text : { *(.rel.text) } | |
36 | - .rela.text : { *(.rela.text) } | |
37 | - .rel.data : { *(.rel.data) } | |
38 | - .rela.data : { *(.rela.data) } | |
39 | - .rel.rodata : { *(.rel.rodata) } | |
40 | - .rela.rodata : { *(.rela.rodata) } | |
41 | - .rel.got : { *(.rel.got) } | |
42 | - .rela.got : { *(.rela.got) } | |
43 | - .rel.ctors : { *(.rel.ctors) } | |
44 | - .rela.ctors : { *(.rela.ctors) } | |
45 | - .rel.dtors : { *(.rel.dtors) } | |
46 | - .rela.dtors : { *(.rela.dtors) } | |
47 | - .rel.bss : { *(.rel.bss) } | |
48 | - .rela.bss : { *(.rela.bss) } | |
49 | - .rel.plt : { *(.rel.plt) } | |
50 | - .rela.plt : { *(.rela.plt) } | |
51 | - .init : { *(.init) } | |
52 | - .plt : { *(.plt) } | |
53 | - .text : | |
54 | - { | |
55 | - /* WARNING - the following is hand-optimized to fit within */ | |
56 | - /* the sector layout of our flash chips! XXX FIXME XXX */ | |
57 | - | |
58 | - | |
59 | - *(.text) | |
60 | - *(.got1) | |
61 | - } | |
62 | - _etext = .; | |
63 | - PROVIDE (etext = .); | |
64 | - .rodata : | |
65 | - { | |
66 | - *(.eh_frame) | |
67 | - *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) | |
68 | - } | |
69 | - .fini : { *(.fini) } =0 | |
70 | - .ctors : { *(.ctors) } | |
71 | - .dtors : { *(.dtors) } | |
72 | - | |
73 | - /* Read-write section, merged into data segment: */ | |
74 | - . = (. + 0x00FF) & 0xFFFFFF00; | |
75 | - _erotext = .; | |
76 | - PROVIDE (erotext = .); | |
77 | - .reloc : | |
78 | - { | |
79 | - *(.got) | |
80 | - _GOT2_TABLE_ = .; | |
81 | - *(.got2) | |
82 | - _FIXUP_TABLE_ = .; | |
83 | - *(.fixup) | |
84 | - } | |
85 | - __got2_entries = (_FIXUP_TABLE_ - _GOT2_TABLE_) >>2; | |
86 | - __fixup_entries = (. - _FIXUP_TABLE_)>>2; | |
87 | - | |
88 | - .data : | |
89 | - { | |
90 | - *(.data) | |
91 | - *(.data1) | |
92 | - *(.sdata) | |
93 | - *(.sdata2) | |
94 | - *(.dynamic) | |
95 | - CONSTRUCTORS | |
96 | - } | |
97 | - _edata = .; | |
98 | - PROVIDE (edata = .); | |
99 | - | |
100 | - . = .; | |
101 | - __u_boot_cmd_start = .; | |
102 | - .u_boot_cmd : { *(.u_boot_cmd) } | |
103 | - __u_boot_cmd_end = .; | |
104 | - | |
105 | - | |
106 | - . = .; | |
107 | - __start___ex_table = .; | |
108 | - __ex_table : { *(__ex_table) } | |
109 | - __stop___ex_table = .; | |
110 | - | |
111 | - . = ALIGN(256); | |
112 | - __init_begin = .; | |
113 | - .text.init : { *(.text.init) } | |
114 | - .data.init : { *(.data.init) } | |
115 | - . = ALIGN(256); | |
116 | - __init_end = .; | |
117 | - | |
118 | - __bss_start = .; | |
119 | - .bss (NOLOAD) : | |
120 | - { | |
121 | - *(.sbss) *(.scommon) | |
122 | - *(.dynbss) | |
123 | - *(.bss) | |
124 | - *(COMMON) | |
125 | - } | |
126 | - | |
127 | - ppcenv_assert = ASSERT(. < 0xFFFFB000, ".bss section too big, overlaps .ppcenv section. Please update your configuration: CONFIG_SYS_MONITOR_BASE, CONFIG_SYS_MONITOR_LEN and CONFIG_SYS_TEXT_BASE may need to be modified."); | |
128 | - | |
129 | - _end = . ; | |
130 | - PROVIDE (end = .); | |
131 | -} |
board/xilinx/ppc405-generic/u-boot-rom.lds
1 | -/* | |
2 | - * (C) Copyright 2000-2004 | |
3 | - * Wolfgang Denk, DENX Software Engineering, wd@denx.de. | |
4 | - * | |
5 | - * See file CREDITS for list of people who contributed to this | |
6 | - * project. | |
7 | - * | |
8 | - * This program is free software; you can redistribute it and/or | |
9 | - * modify it under the terms of the GNU General Public License as | |
10 | - * published by the Free Software Foundation; either version 2 of | |
11 | - * the License, or (at your option) any later version. | |
12 | - * | |
13 | - * This program is distributed in the hope that it will be useful, | |
14 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 | - * GNU General Public License for more details. | |
17 | - * | |
18 | - * You should have received a copy of the GNU General Public License | |
19 | - * along with this program; if not, write to the Free Software | |
20 | - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, | |
21 | - * MA 02111-1307 USA | |
22 | - */ | |
23 | - | |
24 | -OUTPUT_ARCH(powerpc) | |
25 | -ENTRY(_start) | |
26 | - | |
27 | -SECTIONS | |
28 | -{ | |
29 | - .resetvec 0xFFFFFFFC : | |
30 | - { | |
31 | - *(.resetvec) | |
32 | - } = 0xffff | |
33 | - | |
34 | - .bootpg 0xFFFFF000 : | |
35 | - { | |
36 | - arch/powerpc/cpu/ppc4xx/start.o (.bootpg) | |
37 | - } = 0xffff | |
38 | - | |
39 | - /* Read-only sections, merged into text segment: */ | |
40 | - . = + SIZEOF_HEADERS; | |
41 | - .interp : { *(.interp) } | |
42 | - .hash : { *(.hash) } | |
43 | - .dynsym : { *(.dynsym) } | |
44 | - .dynstr : { *(.dynstr) } | |
45 | - .rel.text : { *(.rel.text) } | |
46 | - .rela.text : { *(.rela.text) } | |
47 | - .rel.data : { *(.rel.data) } | |
48 | - .rela.data : { *(.rela.data) } | |
49 | - .rel.rodata : { *(.rel.rodata) } | |
50 | - .rela.rodata : { *(.rela.rodata) } | |
51 | - .rel.got : { *(.rel.got) } | |
52 | - .rela.got : { *(.rela.got) } | |
53 | - .rel.ctors : { *(.rel.ctors) } | |
54 | - .rela.ctors : { *(.rela.ctors) } | |
55 | - .rel.dtors : { *(.rel.dtors) } | |
56 | - .rela.dtors : { *(.rela.dtors) } | |
57 | - .rel.bss : { *(.rel.bss) } | |
58 | - .rela.bss : { *(.rela.bss) } | |
59 | - .rel.plt : { *(.rel.plt) } | |
60 | - .rela.plt : { *(.rela.plt) } | |
61 | - .init : { *(.init) } | |
62 | - .plt : { *(.plt) } | |
63 | - .text : | |
64 | - { | |
65 | - /* WARNING - the following is hand-optimized to fit within */ | |
66 | - /* the sector layout of our flash chips! XXX FIXME XXX */ | |
67 | - | |
68 | - | |
69 | - *(.text) | |
70 | - *(.got1) | |
71 | - } | |
72 | - _etext = .; | |
73 | - PROVIDE (etext = .); | |
74 | - .rodata : | |
75 | - { | |
76 | - *(.eh_frame) | |
77 | - *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) | |
78 | - } | |
79 | - .fini : { *(.fini) } =0 | |
80 | - .ctors : { *(.ctors) } | |
81 | - .dtors : { *(.dtors) } | |
82 | - | |
83 | - /* Read-write section, merged into data segment: */ | |
84 | - . = (. + 0x00FF) & 0xFFFFFF00; | |
85 | - _erotext = .; | |
86 | - PROVIDE (erotext = .); | |
87 | - .reloc : | |
88 | - { | |
89 | - *(.got) | |
90 | - _GOT2_TABLE_ = .; | |
91 | - *(.got2) | |
92 | - _FIXUP_TABLE_ = .; | |
93 | - *(.fixup) | |
94 | - } | |
95 | - __got2_entries = (_FIXUP_TABLE_ - _GOT2_TABLE_) >>2; | |
96 | - __fixup_entries = (. - _FIXUP_TABLE_)>>2; | |
97 | - | |
98 | - .data : | |
99 | - { | |
100 | - *(.data) | |
101 | - *(.data1) | |
102 | - *(.sdata) | |
103 | - *(.sdata2) | |
104 | - *(.dynamic) | |
105 | - CONSTRUCTORS | |
106 | - } | |
107 | - _edata = .; | |
108 | - PROVIDE (edata = .); | |
109 | - | |
110 | - . = .; | |
111 | - __u_boot_cmd_start = .; | |
112 | - .u_boot_cmd : { *(.u_boot_cmd) } | |
113 | - __u_boot_cmd_end = .; | |
114 | - | |
115 | - | |
116 | - . = .; | |
117 | - __start___ex_table = .; | |
118 | - __ex_table : { *(__ex_table) } | |
119 | - __stop___ex_table = .; | |
120 | - | |
121 | - . = ALIGN(256); | |
122 | - __init_begin = .; | |
123 | - .text.init : { *(.text.init) } | |
124 | - .data.init : { *(.data.init) } | |
125 | - . = ALIGN(256); | |
126 | - __init_end = .; | |
127 | - | |
128 | - __bss_start = .; | |
129 | - .bss (NOLOAD) : | |
130 | - { | |
131 | - *(.sbss) *(.scommon) | |
132 | - *(.dynbss) | |
133 | - *(.bss) | |
134 | - *(COMMON) | |
135 | - } | |
136 | - | |
137 | - ppcenv_assert = ASSERT(. < 0xFFFFB000, ".bss section too big, overlaps .ppcenv section. Please update your configuration: CONFIG_SYS_MONITOR_BASE, CONFIG_SYS_MONITOR_LEN and CONFIG_SYS_TEXT_BASE may need to be modified."); | |
138 | - | |
139 | - _end = . ; | |
140 | - PROVIDE (end = .); | |
141 | -} |
board/xilinx/ppc440-generic/Makefile
board/xilinx/ppc440-generic/u-boot-ram.lds
1 | -/* | |
2 | - * (C) Copyright 2000-2004 | |
3 | - * Wolfgang Denk, DENX Software Engineering, wd@denx.de. | |
4 | - * | |
5 | - * See file CREDITS for list of people who contributed to this | |
6 | - * project. | |
7 | - * | |
8 | - * This program is free software; you can redistribute it and/or | |
9 | - * modify it under the terms of the GNU General Public License as | |
10 | - * published by the Free Software Foundation; either version 2 of | |
11 | - * the License, or (at your option) any later version. | |
12 | - * | |
13 | - * This program is distributed in the hope that it will be useful, | |
14 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 | - * GNU General Public License for more details. | |
17 | - * | |
18 | - * You should have received a copy of the GNU General Public License | |
19 | - * along with this program; if not, write to the Free Software | |
20 | - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, | |
21 | - * MA 02111-1307 USA | |
22 | - */ | |
23 | - | |
24 | -OUTPUT_ARCH(powerpc) | |
25 | -ENTRY(_start_440) | |
26 | - | |
27 | -SECTIONS | |
28 | -{ | |
29 | - /* Read-only sections, merged into text segment: */ | |
30 | - . = + SIZEOF_HEADERS; | |
31 | - .interp : { *(.interp) } | |
32 | - .hash : { *(.hash) } | |
33 | - .dynsym : { *(.dynsym) } | |
34 | - .dynstr : { *(.dynstr) } | |
35 | - .rel.text : { *(.rel.text) } | |
36 | - .rela.text : { *(.rela.text) } | |
37 | - .rel.data : { *(.rel.data) } | |
38 | - .rela.data : { *(.rela.data) } | |
39 | - .rel.rodata : { *(.rel.rodata) } | |
40 | - .rela.rodata : { *(.rela.rodata) } | |
41 | - .rel.got : { *(.rel.got) } | |
42 | - .rela.got : { *(.rela.got) } | |
43 | - .rel.ctors : { *(.rel.ctors) } | |
44 | - .rela.ctors : { *(.rela.ctors) } | |
45 | - .rel.dtors : { *(.rel.dtors) } | |
46 | - .rela.dtors : { *(.rela.dtors) } | |
47 | - .rel.bss : { *(.rel.bss) } | |
48 | - .rela.bss : { *(.rela.bss) } | |
49 | - .rel.plt : { *(.rel.plt) } | |
50 | - .rela.plt : { *(.rela.plt) } | |
51 | - .init : { *(.init) } | |
52 | - .plt : { *(.plt) } | |
53 | - .text : | |
54 | - { | |
55 | - /* WARNING - the following is hand-optimized to fit within */ | |
56 | - /* the sector layout of our flash chips! XXX FIXME XXX */ | |
57 | - | |
58 | - | |
59 | - *(.text) | |
60 | - *(.got1) | |
61 | - } | |
62 | - _etext = .; | |
63 | - PROVIDE (etext = .); | |
64 | - .rodata : | |
65 | - { | |
66 | - *(.eh_frame) | |
67 | - *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) | |
68 | - } | |
69 | - .fini : { *(.fini) } =0 | |
70 | - .ctors : { *(.ctors) } | |
71 | - .dtors : { *(.dtors) } | |
72 | - | |
73 | - /* Read-write section, merged into data segment: */ | |
74 | - . = (. + 0x00FF) & 0xFFFFFF00; | |
75 | - _erotext = .; | |
76 | - PROVIDE (erotext = .); | |
77 | - .reloc : | |
78 | - { | |
79 | - *(.got) | |
80 | - _GOT2_TABLE_ = .; | |
81 | - *(.got2) | |
82 | - _FIXUP_TABLE_ = .; | |
83 | - *(.fixup) | |
84 | - } | |
85 | - __got2_entries = (_FIXUP_TABLE_ - _GOT2_TABLE_) >>2; | |
86 | - __fixup_entries = (. - _FIXUP_TABLE_)>>2; | |
87 | - | |
88 | - .data : | |
89 | - { | |
90 | - *(.data) | |
91 | - *(.data1) | |
92 | - *(.sdata) | |
93 | - *(.sdata2) | |
94 | - *(.dynamic) | |
95 | - CONSTRUCTORS | |
96 | - } | |
97 | - _edata = .; | |
98 | - PROVIDE (edata = .); | |
99 | - | |
100 | - . = .; | |
101 | - __u_boot_cmd_start = .; | |
102 | - .u_boot_cmd : { *(.u_boot_cmd) } | |
103 | - __u_boot_cmd_end = .; | |
104 | - | |
105 | - | |
106 | - . = .; | |
107 | - __start___ex_table = .; | |
108 | - __ex_table : { *(__ex_table) } | |
109 | - __stop___ex_table = .; | |
110 | - | |
111 | - . = ALIGN(256); | |
112 | - __init_begin = .; | |
113 | - .text.init : { *(.text.init) } | |
114 | - .data.init : { *(.data.init) } | |
115 | - . = ALIGN(256); | |
116 | - __init_end = .; | |
117 | - | |
118 | - __bss_start = .; | |
119 | - .bss (NOLOAD) : | |
120 | - { | |
121 | - *(.sbss) *(.scommon) | |
122 | - *(.dynbss) | |
123 | - *(.bss) | |
124 | - *(COMMON) | |
125 | - . = ALIGN(4); | |
126 | - } | |
127 | - | |
128 | - ppcenv_assert = ASSERT(. < 0xFFFFB000, ".bss section too big, overlaps .ppcenv section. Please update your confguration: CONFIG_SYS_MONITOR_BASE, CONFIG_SYS_MONITOR_LEN and CONFIG_SYS_TEXT_BASE may need to be modified."); | |
129 | - | |
130 | - _end = . ; | |
131 | - PROVIDE (end = .); | |
132 | -} |
board/xilinx/ppc440-generic/u-boot-rom.lds
1 | -/* | |
2 | - * (C) Copyright 2000-2004 | |
3 | - * Wolfgang Denk, DENX Software Engineering, wd@denx.de. | |
4 | - * | |
5 | - * See file CREDITS for list of people who contributed to this | |
6 | - * project. | |
7 | - * | |
8 | - * This program is free software; you can redistribute it and/or | |
9 | - * modify it under the terms of the GNU General Public License as | |
10 | - * published by the Free Software Foundation; either version 2 of | |
11 | - * the License, or (at your option) any later version. | |
12 | - * | |
13 | - * This program is distributed in the hope that it will be useful, | |
14 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 | - * GNU General Public License for more details. | |
17 | - * | |
18 | - * You should have received a copy of the GNU General Public License | |
19 | - * along with this program; if not, write to the Free Software | |
20 | - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, | |
21 | - * MA 02111-1307 USA | |
22 | - */ | |
23 | - | |
24 | -OUTPUT_ARCH(powerpc) | |
25 | -ENTRY(_start_440) | |
26 | - | |
27 | -SECTIONS | |
28 | -{ | |
29 | - .resetvec 0xFFFFFFFC : | |
30 | - { | |
31 | - *(.resetvec) | |
32 | - } = 0xffff | |
33 | - | |
34 | - .bootpg 0xFFFFF000 : | |
35 | - { | |
36 | - arch/powerpc/cpu/ppc4xx/start.o (.bootpg) | |
37 | - } = 0xffff | |
38 | - | |
39 | - /* Read-only sections, merged into text segment: */ | |
40 | - . = + SIZEOF_HEADERS; | |
41 | - .interp : { *(.interp) } | |
42 | - .hash : { *(.hash) } | |
43 | - .dynsym : { *(.dynsym) } | |
44 | - .dynstr : { *(.dynstr) } | |
45 | - .rel.text : { *(.rel.text) } | |
46 | - .rela.text : { *(.rela.text) } | |
47 | - .rel.data : { *(.rel.data) } | |
48 | - .rela.data : { *(.rela.data) } | |
49 | - .rel.rodata : { *(.rel.rodata) } | |
50 | - .rela.rodata : { *(.rela.rodata) } | |
51 | - .rel.got : { *(.rel.got) } | |
52 | - .rela.got : { *(.rela.got) } | |
53 | - .rel.ctors : { *(.rel.ctors) } | |
54 | - .rela.ctors : { *(.rela.ctors) } | |
55 | - .rel.dtors : { *(.rel.dtors) } | |
56 | - .rela.dtors : { *(.rela.dtors) } | |
57 | - .rel.bss : { *(.rel.bss) } | |
58 | - .rela.bss : { *(.rela.bss) } | |
59 | - .rel.plt : { *(.rel.plt) } | |
60 | - .rela.plt : { *(.rela.plt) } | |
61 | - .init : { *(.init) } | |
62 | - .plt : { *(.plt) } | |
63 | - .text : | |
64 | - { | |
65 | - /* WARNING - the following is hand-optimized to fit within */ | |
66 | - /* the sector layout of our flash chips! XXX FIXME XXX */ | |
67 | - | |
68 | - | |
69 | - *(.text) | |
70 | - *(.got1) | |
71 | - } | |
72 | - _etext = .; | |
73 | - PROVIDE (etext = .); | |
74 | - .rodata : | |
75 | - { | |
76 | - *(.eh_frame) | |
77 | - *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) | |
78 | - } | |
79 | - .fini : { *(.fini) } =0 | |
80 | - .ctors : { *(.ctors) } | |
81 | - .dtors : { *(.dtors) } | |
82 | - | |
83 | - /* Read-write section, merged into data segment: */ | |
84 | - . = (. + 0x00FF) & 0xFFFFFF00; | |
85 | - _erotext = .; | |
86 | - PROVIDE (erotext = .); | |
87 | - .reloc : | |
88 | - { | |
89 | - *(.got) | |
90 | - _GOT2_TABLE_ = .; | |
91 | - *(.got2) | |
92 | - _FIXUP_TABLE_ = .; | |
93 | - *(.fixup) | |
94 | - } | |
95 | - __got2_entries = (_FIXUP_TABLE_ - _GOT2_TABLE_) >>2; | |
96 | - __fixup_entries = (. - _FIXUP_TABLE_)>>2; | |
97 | - | |
98 | - .data : | |
99 | - { | |
100 | - *(.data) | |
101 | - *(.data1) | |
102 | - *(.sdata) | |
103 | - *(.sdata2) | |
104 | - *(.dynamic) | |
105 | - CONSTRUCTORS | |
106 | - } | |
107 | - _edata = .; | |
108 | - PROVIDE (edata = .); | |
109 | - | |
110 | - . = .; | |
111 | - __u_boot_cmd_start = .; | |
112 | - .u_boot_cmd : { *(.u_boot_cmd) } | |
113 | - __u_boot_cmd_end = .; | |
114 | - | |
115 | - | |
116 | - . = .; | |
117 | - __start___ex_table = .; | |
118 | - __ex_table : { *(__ex_table) } | |
119 | - __stop___ex_table = .; | |
120 | - | |
121 | - . = ALIGN(256); | |
122 | - __init_begin = .; | |
123 | - .text.init : { *(.text.init) } | |
124 | - .data.init : { *(.data.init) } | |
125 | - . = ALIGN(256); | |
126 | - __init_end = .; | |
127 | - | |
128 | - __bss_start = .; | |
129 | - .bss (NOLOAD) : | |
130 | - { | |
131 | - *(.sbss) *(.scommon) | |
132 | - *(.dynbss) | |
133 | - *(.bss) | |
134 | - *(COMMON) | |
135 | - . = ALIGN(4); | |
136 | - } | |
137 | - | |
138 | - ppcenv_assert = ASSERT(. < 0xFFFFB000, ".bss section too big, overlaps .ppcenv section. Please update your confguration: CONFIG_SYS_MONITOR_BASE, CONFIG_SYS_MONITOR_LEN and CONFIG_SYS_TEXT_BASE may need to be modified."); | |
139 | - | |
140 | - _end = . ; | |
141 | - PROVIDE (end = .); | |
142 | -} |
boards.cfg
... | ... | @@ -675,10 +675,10 @@ |
675 | 675 | yosemite powerpc ppc4xx yosemite amcc - yosemite:YOSEMITE |
676 | 676 | yucca powerpc ppc4xx - amcc |
677 | 677 | AP1000 powerpc ppc4xx ap1000 amirix |
678 | -fx12mm powerpc ppc4xx fx12mm avnet - fx12mm:SYS_TEXT_BASE=0x03000000,SYS_LDSCRIPT=$(SRCTREE)/board/xilinx/ppc405-generic/u-boot-ram.lds | |
679 | -fx12mm_flash powerpc ppc4xx fx12mm avnet - fx12mm:SYS_TEXT_BASE=0xFFCB0000,SYS_LDSCRIPT=$(SRCTREE)/board/xilinx/ppc405-generic/u-boot-rom.lds | |
680 | -v5fx30teval powerpc ppc4xx v5fx30teval avnet - v5fx30teval:SYS_TEXT_BASE=0x03000000,SYS_LDSCRIPT=$(SRCTREE)/board/xilinx/ppc440-generic/u-boot-ram.lds | |
681 | -v5fx30teval_flash powerpc ppc4xx v5fx30teval avnet - v5fx30teval:SYS_TEXT_BASE=0xFF1C0000,SYS_LDSCRIPT=$(SRCTREE)/board/xilinx/ppc440-generic/u-boot-rom.lds | |
678 | +fx12mm powerpc ppc4xx fx12mm avnet - fx12mm:SYS_TEXT_BASE=0x04000000,RESET_VECTOR_ADDRESS=0x03FFFFFC,INIT_TLB=board/xilinx/ppc405-generic/init.o | |
679 | +fx12mm_flash powerpc ppc4xx fx12mm avnet - fx12mm:SYS_TEXT_BASE=0xF7F60000,RESET_VECTOR_ADDRESS=0xF7FFFFFC,INIT_TLB=board/xilinx/ppc405-generic/init.o | |
680 | +v5fx30teval powerpc ppc4xx v5fx30teval avnet - v5fx30teval:SYS_TEXT_BASE=0x04000000,RESET_VECTOR_ADDRESS=0x03FFFFFC,BOOT_FROM_XMD=1,INIT_TLB=board/xilinx/ppc440-generic/init.o | |
681 | +v5fx30teval_flash powerpc ppc4xx v5fx30teval avnet - v5fx30teval:SYS_TEXT_BASE=0xF7F60000,RESET_VECTOR_ADDRESS=0xF7FFFFFC,INIT_TLB=board/xilinx/ppc440-generic/init.o | |
682 | 682 | CRAYL1 powerpc ppc4xx L1 cray |
683 | 683 | CATcenter powerpc ppc4xx PPChameleonEVB dave - CATcenter:PPCHAMELEON_MODULE_MODEL=1 |
684 | 684 | CATcenter_25 powerpc ppc4xx PPChameleonEVB dave - CATcenter:PPCHAMELEON_MODULE_MODEL=1,PPCHAMELEON_CLK_25 |
... | ... | @@ -736,12 +736,12 @@ |
736 | 736 | KAREF powerpc ppc4xx karef sandburst |
737 | 737 | METROBOX powerpc ppc4xx metrobox sandburst |
738 | 738 | xpedite1000 powerpc ppc4xx - xes |
739 | -ml507 powerpc ppc4xx ml507 xilinx - ml507:SYS_TEXT_BASE=0x04000000,SYS_LDSCRIPT=$(SRCTREE)/board/xilinx/ppc440-generic/u-boot-ram.lds | |
740 | -ml507_flash powerpc ppc4xx ml507 xilinx - ml507:SYS_TEXT_BASE=0xFE360000,SYS_LDSCRIPT=$(SRCTREE)/board/xilinx/ppc440-generic/u-boot-rom.lds | |
741 | -xilinx-ppc405-generic powerpc ppc4xx ppc405-generic xilinx - xilinx-ppc405-generic:SYS_TEXT_BASE=0x04000000,SYS_LDSCRIPT=$(SRCTREE)/board/xilinx/ppc405-generic/u-boot-ram.lds | |
742 | -xilinx-ppc405-generic_flash powerpc ppc4xx ppc405-generic xilinx - xilinx-ppc405-generic:SYS_TEXT_BASE=0xFE360000,SYS_LDSCRIPT=$(SRCTREE)/board/xilinx/ppc405-generic/u-boot-rom.lds | |
743 | -xilinx-ppc440-generic powerpc ppc4xx ppc440-generic xilinx - xilinx-ppc440-generic:SYS_TEXT_BASE=0x04000000,SYS_LDSCRIPT=$(SRCTREE)/board/xilinx/ppc440-generic/u-boot-ram.lds | |
744 | -xilinx-ppc440-generic_flash powerpc ppc4xx ppc440-generic xilinx - xilinx-ppc440-generic:SYS_TEXT_BASE=0xFE360000,SYS_LDSCRIPT=$(SRCTREE)/board/xilinx/ppc440-generic/u-boot-rom.lds | |
739 | +ml507 powerpc ppc4xx ml507 xilinx - ml507:SYS_TEXT_BASE=0x04000000,RESET_VECTOR_ADDRESS=0x03FFFFFC,BOOT_FROM_XMD=1,INIT_TLB=board/xilinx/ppc440-generic/init.o | |
740 | +ml507_flash powerpc ppc4xx ml507 xilinx - ml507:SYS_TEXT_BASE=0xF7F60000,RESET_VECTOR_ADDRESS=0xF7FFFFFC,INIT_TLB=board/xilinx/ppc440-generic/init.o | |
741 | +xilinx-ppc405-generic powerpc ppc4xx ppc405-generic xilinx - xilinx-ppc405-generic:SYS_TEXT_BASE=0x04000000,RESET_VECTOR_ADDRESS=0x03FFFFFC | |
742 | +xilinx-ppc405-generic_flash powerpc ppc4xx ppc405-generic xilinx - xilinx-ppc405-generic:SYS_TEXT_BASE=0xF7F60000,RESET_VECTOR_ADDRESS=0xF7FFFFFC | |
743 | +xilinx-ppc440-generic powerpc ppc4xx ppc440-generic xilinx - xilinx-ppc440-generic:SYS_TEXT_BASE=0x04000000,RESET_VECTOR_ADDRESS=0x03FFFFFC,BOOT_FROM_XMD=1 | |
744 | +xilinx-ppc440-generic_flash powerpc ppc4xx ppc440-generic xilinx - xilinx-ppc440-generic:SYS_TEXT_BASE=0xF7F60000,RESET_VECTOR_ADDRESS=0xF7FFFFFC | |
745 | 745 | rsk7203 sh sh2 rsk7203 renesas - |
746 | 746 | mpr2 sh sh3 mpr2 - - |
747 | 747 | ms7720se sh sh3 ms7720se - - |