source: trunk/softs/tsar_boot/conf/platform_tsarv4_mono_mmu_ioc/ldscript @ 653

Last change on this file since 653 was 653, checked in by cfuguet, 10 years ago

Introducing a RAMDISK driver in the preloader.

When using RAMDISK, execute the make command with the flags
SOCLIB=1 and RAMDISK=1. The RDK_PADDR_BASE variable must
also be set on the conf/<platform>/defs_platform.h

These modifications are backward compatibles. Therefore,
when no using RAMDISK, none modifications applied on the
platform configuration file.

File size: 771 bytes
RevLine 
[413]1/**********************************************************
2  File   : ldscript
3  Author : Cesar Fuguet
4  Date   : June 2011
5**********************************************************/
6
[653]7/* Definition of the base address for code segment */
[413]8
[653]9seg_reset_boot_base     = 0xBFC00000;       /* le code de boot */
[413]10
[653]11seg_reset_stack_base    = 0x10000000 - 0x8000 - 0x4;
12seg_reset_stack_base    = 0x00008000;
13
[413]14/* Grouping sections into segments */
15
[653]16ENTRY(reset)
17
[413]18SECTIONS
19{
[653]20    . = seg_reset_code_base;
21    .text :
22    {
[413]23        *(.reset)
[653]24        *(.rodata)
25        *(.rodata.*)
26        . = ALIGN(0x4);
27        dtb_addr = .;
28        INCLUDE "build/platform.ld";
[413]29    }
30
[653]31    . = seg_reset_stack_base;
32    .bss ALIGN(0x4) (NOLOAD) :
33    {
[554]34        *(.data)
35        *(.bss)
[413]36    }
37}
Note: See TracBrowser for help on using the repository browser.