Ignore:
Timestamp:
Dec 4, 2013, 7:59:21 PM (11 years ago)
Author:
alain
Message:

Modify the name "boot" to "reset" to avoid confusion
between the pre-loader and the boot-loader...
Increase the size of the segment containing the stacks.

Location:
trunk/softs/tsar_boot/conf/platform_tsar_generic_iob
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/softs/tsar_boot/conf/platform_tsar_generic_iob/defs_platform.h

    r570 r586  
    1 #define NB_PROCS        1
    2 #define NB_CLUSTERS     4
     1#define NB_PROCS         1
     2#define NB_CLUSTERS      4
    33
    4 #define IRQ_PER_PROC    1
     4#define IRQ_PER_PROC     1
    55
    6 #define USE_IOB         1
    7 #define CACHE_COHERENCE 1
    8 #define CACHE_LINE_SIZE 64//bytes
     6#define USE_IOB          1
     7#define CACHE_COHERENCE  1
     8#define CACHE_LINE_SIZE  64   //  bytes
    99
    10 #define BOOT_DEBUG      1
    11 #define BOOT_DEBUG_IOC  0
     10#define RESET_DEBUG      0
    1211
    13 #define ICU_BASE        0xB0000000
    14 #define MCC_BASE        0xB2000000
    15 #define IOC_BASE        0xB3000000
    16 #define TTY_BASE        0xB4000000
     12#define ICU_PADDR_BASE   0xB0000000
     13#define MCC_PADDR_BASE   0xB2000000
     14#define IOC_PADDR_BASE   0xB3000000
     15#define TTY_PADDR_BASE   0xB4000000
  • trunk/softs/tsar_boot/conf/platform_tsar_generic_iob/ldscript

    r570 r586  
    55**********************************************************/
    66
    7 /* Definition of the base address for all segments */
     7/* Definition of the base address for code segment */
    88
    9 seg_stack_base    = 0x00040000;
    10 seg_boot_base     = 0xBFC00000;       /* le code de boot */
     9seg_reset_code_base     = 0xBFC00000;
     10
     11seg_reset_stack_base    = 0x00060000;
     12seg_reset_stack_size    = 0x00090000;
    1113
    1214/* Grouping sections into segments */
    1315
    14 ENTRY(boot)
     16ENTRY(reset)
     17
    1518SECTIONS
    1619{
    17     . = seg_boot_base;
    18     .text : {
    19         *(.boot)
     20    . = seg_reset_code_base;
     21    .text :
     22    {
    2023        *(.reset)
    21         *(.rodata)
    22         *(.rodata.*)
    23         . = ALIGN(0x4);
    24         dtb_addr = .;
    25         INCLUDE "build/platform.ld";
     24        *(.rodata)
     25        *(.rodata.*)
     26        . = ALIGN(0x4);
     27        dtb_addr = .;
     28        INCLUDE "build/platform.ld";
    2629    }
    2730
    28     . = seg_stack_base;
    29     .bss ALIGN(0x4) (NOLOAD) : {
     31    . = seg_reset_stack_base;
     32    .bss ALIGN(0x4) (NOLOAD) :
     33    {
    3034        *(.data)
    3135        *(.bss)
Note: See TracChangeset for help on using the changeset viewer.