Add ARM basic bootloader build

This commit is contained in:
2022-05-07 23:00:22 -07:00
parent 47059c1c15
commit d83d42fb60
4 changed files with 100 additions and 0 deletions

32
arm/bootloader.ld Normal file
View File

@@ -0,0 +1,32 @@
MEMORY
{
ICTM (rwx) : ORIGIN = 0x00000000, LENGTH = 16384
}
SECTIONS
{
.text :
{
KEEP(vector_table.o(.vector_table))
*(.text*)
*(.rodata*)
} > ICTM
.bss (NOLOAD) :
{
_bss_begin = .;
*(.bss*)
*(COMMON)
_bss_end = .;
} > ICTM
.data :
{
*(.data*)
__exidx_start = .;
*(.exidx*)
__exidx_end = .;
} > ICTM
}