[BACK]Return to boot.ld CVS log [TXT][DIR] Up to [local] / prex-old / boot / arm / cats

File: [local] / prex-old / boot / arm / cats / boot.ld (download)

Revision 1.2, Sun Jul 20 22:49:24 2008 UTC (15 years, 10 months ago) by nbrk
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -2 lines

switch to new memory partitioning model:
'prexos' loads at 0; boot stack and boot_info resides below 0x00100000.
bootldr starts at 0 and loads kernel and friends upwards from 0x00100000 (1M);
then, bootldr rewrites himself with first 15 words of kernel .text and jumps
into actual loaded kernel (0x00100000 + entry).
Kernel assigns new SVC, SYS and IRQ stacks - all below BOOT_INFO (1M - BOOT_INFO_SIZE).
This means that zero MB holds vectors trampolines into higher addresses, boot_info and
all kernel stacks.

SECTIONS {
	. = 0x00000000;
	.text . : {
		*(.text)
	}
	.rodata . : {
		*(.rodata)
	}
	.data . : {
		*(.data)
	}
	.bss . : {
		*(.bss)
		*(COMMON)
	}
	. = 0x00001fff;
	.tail : {
		*(.tail)
	}
}