Changeset 554
- Timestamp:
- Oct 22, 2013, 8:15:05 PM (11 years ago)
- Location:
- trunk/softs/tsar_boot
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/softs/tsar_boot/README.txt
r425 r554 54 54 We define two segments: 55 55 seg_stack_base: Base address of the stack used by processor 0 56 during the boot process. 56 during the boot process. read-write data and bss will also 57 be there. 57 58 58 seg_boot_base: Base address of the code and data defined for59 59 seg_boot_base: Base address of the code and read-only data 60 defined for this loader 60 61 61 62 Makefile Makefile for compile the boot loader. -
trunk/softs/tsar_boot/conf/platform_fpga_de2-115/ldscript
r368 r554 19 19 *(.boot) 20 20 *(.reset) 21 *(.rodata) 22 *(.rodata.*) 23 . = ALIGN(0x4); 24 dtb_addr = .; 25 INCLUDE "build/platform.ld"; 21 26 } 22 27 28 . = seg_stack_base; 23 29 .data ALIGN(0x4) : { 24 *(.reset_data) 25 . = ALIGN(0x4); 26 dtb_addr = .; 27 INCLUDE "build/platform.ld"; 30 *(.data) 31 *(.bss) 28 32 } 29 33 } -
trunk/softs/tsar_boot/conf/platform_tsarv4_mono_mmu_ioc/ldscript
r413 r554 19 19 *(.boot) 20 20 *(.reset) 21 *(.rodata) 22 *(.rodata.*) 23 . = ALIGN(0x4); 24 dtb_addr = .; 25 INCLUDE "build/platform.ld"; 21 26 } 22 27 28 . = seg_stack_base; 23 29 .data ALIGN(0x4) : { 24 *(.reset_data) 25 . = ALIGN(0x4); 26 dtb_addr = .; 27 INCLUDE "build/platform.ld"; 30 *(.data) 31 *(.bss) 28 32 } 29 33 } -
trunk/softs/tsar_boot/conf/platform_vgsb_xicu_mmu/ldscript
r425 r554 19 19 *(.boot) 20 20 *(.reset) 21 *(.rodata) 22 *(.rodata.*) 23 . = ALIGN(0x4); 24 dtb_addr = .; 25 INCLUDE "build/platform.ld"; 21 26 } 22 27 28 . = seg_stack_base; 23 29 .data ALIGN(0x4) : { 24 *(.reset_data) 25 . = ALIGN(0x4); 26 dtb_addr = .; 27 INCLUDE "build/platform.ld"; 30 *(.data) 31 *(.bss) 28 32 } 29 33 } -
trunk/softs/tsar_boot/src/boot_elf_loader.c
r425 r554 17 17 18 18 #if (BOOT_DEBUG == 1) 19 static char *init_state_str[] = {19 static char const * const init_state_str[] = { 20 20 "ELF_HEADER_STATE", 21 21 "ELF_PROGRAM_HEADER_STATE", -
trunk/softs/tsar_boot/src/boot_ioc.c
r425 r554 4 4 5 5 static struct sdcard_dev _sdcard_device; 6 static struct spi_dev * _spi_device = ( struct spi_dev * )IOC_BASE;6 static struct spi_dev *const _spi_device = ( struct spi_dev * )IOC_BASE; 7 7 8 8 #endif // end ifndef SOCLIB_IOC -
trunk/softs/tsar_boot/src/reset.S
r502 r554 139 139 /* Initializes stack pointer */ 140 140 141 la k1, seg_stack_base 142 li k0, BOOT_STACK_SIZE 143 addu sp, k1, k0 /* sp <= seg_stack_base + BOOT_STACK_SIZE */ 141 la sp, stk 144 142 145 143 la a0, versionstr … … 220 218 .set reorder 221 219 220 .section .data 221 .space BOOT_STACK_SIZE 222 stk: 223 .space 1 224 222 225 /* 223 226 * vim: tabstop=4 : shiftwidth=4 : expandtab
Note: See TracChangeset
for help on using the changeset viewer.