forked from len0rd/rockbox
Sansa Fuze+: initial commit (bootloader only, LCD basically working)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29808 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c0838cbfd8
commit
08fb3f6574
30 changed files with 2187 additions and 11 deletions
71
firmware/target/arm/imx233/boot.lds
Normal file
71
firmware/target/arm/imx233/boot.lds
Normal file
|
|
@ -0,0 +1,71 @@
|
|||
#include "config.h"
|
||||
#include "cpu.h"
|
||||
|
||||
ENTRY(start)
|
||||
OUTPUT_FORMAT(elf32-littlearm)
|
||||
OUTPUT_ARCH(arm)
|
||||
STARTUP(target/arm/imx233/crt0.o)
|
||||
|
||||
MEMORY
|
||||
{
|
||||
IRAM : ORIGIN = IRAM_ORIG, LENGTH = IRAM_SIZE
|
||||
DRAM : ORIGIN = DRAM_ORIG, LENGTH = DRAM_SIZE - TTB_SIZE
|
||||
}
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
.vectors 0 :
|
||||
{
|
||||
*(.vectors);
|
||||
. = ALIGN(0x4);
|
||||
} > IRAM
|
||||
|
||||
.itext :
|
||||
{
|
||||
*(.icode)
|
||||
*(.init.text)
|
||||
. = ALIGN(0x4);
|
||||
} > IRAM
|
||||
|
||||
.idata :
|
||||
{
|
||||
*(.qharray)
|
||||
*(.idata)
|
||||
*(.irodata)
|
||||
. = ALIGN(0x4);
|
||||
} > IRAM
|
||||
|
||||
.ibss :
|
||||
{
|
||||
*(.ibss)
|
||||
} > IRAM
|
||||
|
||||
.text :
|
||||
{
|
||||
*(.text*)
|
||||
} > DRAM
|
||||
|
||||
.data :
|
||||
{
|
||||
*(.data*)
|
||||
*(.rodata*)
|
||||
_dataend = . ;
|
||||
} > DRAM
|
||||
|
||||
.stack (NOLOAD) :
|
||||
{
|
||||
*(.stack)
|
||||
_stackbegin = .;
|
||||
stackbegin = .;
|
||||
. += 0x2000;
|
||||
_stackend = .;
|
||||
stackend = .;
|
||||
} > DRAM
|
||||
|
||||
.bss (NOLOAD) :
|
||||
{
|
||||
_edata = .;
|
||||
*(.bss*);
|
||||
_end = .;
|
||||
} > DRAM
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue