Last change
on this file since 525 was
425,
checked in by cfuguet, 11 years ago
|
Modifications in tsar_boot:
- Creating new files boot_utils.[c h] containing the memcpy, memset and some
ELF format debug functions
- Introducing assert in the boot_elf_loader to show an error when some of
segments to load conflicts with some of the pre-loader segments
- Cosmetic changes in boot_elf_loader to improve code readibility
- Fixing bug in dcache_buf_invalidate function used by boot_ioc_read when
cache coherence not supported. The condition in the for loop was erroneous.
- Modification in Makefile: The SYSCLK_FREQ parameter is not passed anymore
as a Makefile parameter but it is definesd in the defs_platform.h file
|
File size:
616 bytes
|
Rev | Line | |
---|
[368] | 1 | /********************************************************** |
---|
| 2 | File : ldscript |
---|
| 3 | Author : Cesar Fuguet |
---|
| 4 | Date : June 2011 |
---|
| 5 | **********************************************************/ |
---|
| 6 | |
---|
| 7 | /* Definition of the base address for all segments */ |
---|
| 8 | |
---|
[425] | 9 | seg_stack_base = 0x00018000; |
---|
[368] | 10 | seg_boot_base = 0xBFC00000; /* le code de boot */ |
---|
| 11 | |
---|
| 12 | /* Grouping sections into segments */ |
---|
| 13 | |
---|
| 14 | ENTRY(boot) |
---|
| 15 | SECTIONS |
---|
| 16 | { |
---|
| 17 | . = seg_boot_base; |
---|
| 18 | .text : { |
---|
| 19 | *(.boot) |
---|
| 20 | *(.reset) |
---|
| 21 | } |
---|
| 22 | |
---|
| 23 | .data ALIGN(0x4) : { |
---|
| 24 | *(.reset_data) |
---|
| 25 | . = ALIGN(0x4); |
---|
| 26 | dtb_addr = .; |
---|
| 27 | INCLUDE "build/platform.ld"; |
---|
| 28 | } |
---|
| 29 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.