Ignore:
Timestamp:
Oct 22, 2013, 8:15:05 PM (11 years ago)
Author:
bouyer
Message:

Make sure the boot loader won't try to write to the ROM.
Store read-write data in BSS along with the stack at seg_stack_base.

Location:
trunk/softs/tsar_boot/conf
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/softs/tsar_boot/conf/platform_fpga_de2-115/ldscript

    r368 r554  
    1919        *(.boot)
    2020        *(.reset)
     21        *(.rodata)
     22        *(.rodata.*)
     23        . = ALIGN(0x4);
     24        dtb_addr = .;
     25        INCLUDE "build/platform.ld";
    2126    }
    2227
     28    . = seg_stack_base;
    2329    .data ALIGN(0x4) : {
    24         *(.reset_data)
    25         . = ALIGN(0x4);
    26         dtb_addr = .;
    27         INCLUDE "build/platform.ld";
     30        *(.data)
     31        *(.bss)
    2832    }
    2933}
  • trunk/softs/tsar_boot/conf/platform_tsarv4_mono_mmu_ioc/ldscript

    r413 r554  
    1919        *(.boot)
    2020        *(.reset)
     21        *(.rodata)
     22        *(.rodata.*)
     23        . = ALIGN(0x4);
     24        dtb_addr = .;
     25        INCLUDE "build/platform.ld";
    2126    }
    2227
     28    . = seg_stack_base;
    2329    .data ALIGN(0x4) : {
    24         *(.reset_data)
    25         . = ALIGN(0x4);
    26         dtb_addr = .;
    27         INCLUDE "build/platform.ld";
     30        *(.data)
     31        *(.bss)
    2832    }
    2933}
  • trunk/softs/tsar_boot/conf/platform_vgsb_xicu_mmu/ldscript

    r425 r554  
    1919        *(.boot)
    2020        *(.reset)
     21        *(.rodata)
     22        *(.rodata.*)
     23        . = ALIGN(0x4);
     24        dtb_addr = .;
     25        INCLUDE "build/platform.ld";
    2126    }
    2227
     28    . = seg_stack_base;
    2329    .data ALIGN(0x4) : {
    24         *(.reset_data)
    25         . = ALIGN(0x4);
    26         dtb_addr = .;
    27         INCLUDE "build/platform.ld";
     30        *(.data)
     31        *(.bss)
    2832    }
    2933}
Note: See TracChangeset for help on using the changeset viewer.