URL
https://opencores.org/ocsvn/s6soc/s6soc/trunk
[/] [s6soc/] [trunk/] [sw/] [zipos/] [cmodram.ld] - Diff between revs 29 and 45
Show entire file |
Details |
Blame |
View Log
Rev 29 |
Rev 45 |
Line 38... |
Line 38... |
|
|
ENTRY(_start)
|
ENTRY(_start)
|
|
|
MEMORY
|
MEMORY
|
{
|
{
|
blkram (wx) : ORIGIN = 0x002000, LENGTH = 0x001000
|
blkram (wx) : ORIGIN = 0x0004000, LENGTH = 0x0004000
|
flash (rx) : ORIGIN = 0x400000, LENGTH = 0x400000
|
flash (rx) : ORIGIN = 0x1000000, LENGTH = 0x1000000
|
}
|
}
|
|
|
_top_of_stack = ORIGIN(blkram) + LENGTH(blkram) - 1;
|
_flash = ORIGIN(flash);
|
|
_blkram = ORIGIN(blkram);
|
|
_sdram = 0;
|
|
_top_of_stack = ORIGIN(blkram) + LENGTH(blkram) - 4;
|
|
_sdram_image_start = 0;
|
|
_sdram_image_end = 0;
|
|
|
SECTIONS
|
SECTIONS
|
{
|
{
|
. = 0x0480000;
|
.rocode 0x1200000 : ALIGN(4) {
|
.rocode 0x0480000 : { *(.start)
|
_boot_address = .;
|
|
*(.start) *(.boot)
|
obj-zip/bootloader.o(.text)
|
obj-zip/bootloader.o(.text)
|
obj-zip/ksetup.o(.text)
|
obj-zip/ksetup.o(.text)
|
obj-zip/pipesetup.o(.text)
|
obj-zip/pipesetup.o(.text)
|
obj-zip/taskp.o(.text)
|
obj-zip/taskp.o(.text)
|
obj-zip/doorbell.o(.text)
|
obj-zip/keypad.o(.text*)
|
obj-zip/keypad.o(.text)
|
obj-zip/display.o(.text*)
|
obj-zip/display.o(.text)
|
obj-zip/rtcsim.o(.text*)
|
obj-zip/rtcsim.o(.text)
|
obj-zip/doorbell.o(.text*)
|
*(.rodata*) *(.strings)
|
*(.rodata*)
|
load_image_start = . ;
|
*(.strings*)
|
|
__rocode_alignment = (. + 3) & ~ 3;
|
|
. = __rocode_alignment;
|
} > flash
|
} > flash
|
.ramcode : {
|
_kernel_image_start = . ;
|
obj-zip/kernel.o(.text)
|
.ramcode : ALIGN_WITH_INPUT {
|
obj-zip/syspipe.o(.text)
|
obj-zip/kernel.o(.text*)
|
|
obj-zip/syspipe.o(.text*)
|
} > blkram AT> flash
|
} > blkram AT> flash
|
.data : { *(.fixdata) *(.data) *(COMMON)
|
.data : ALIGN_WITH_INPUT {
|
load_image_end = . ;
|
*(.kernel*)
|
|
*(.fixdata*)
|
|
*(.data*)
|
|
*(COMMON*)
|
|
_kernel_image_end = . ;
|
} > blkram AT> flash
|
} > blkram AT> flash
|
.bss : { *(.bss) bss_image_end = . ; } > blkram
|
_blkram_image_end = . ;
|
|
.bss : ALIGN_WITH_INPUT {
|
|
*(.bss*)
|
|
_bss_image_end = . ;
|
|
} > blkram
|
_top_of_heap = .;
|
_top_of_heap = .;
|
}
|
}
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.