forked from len0rd/rockbox
imx233/fuze+: make config.h more correct, remove logo from bootloader, update linker file and crt0 to produce a single blob into dram
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30111 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
fed77808c5
commit
82ecc75e68
5 changed files with 59 additions and 37 deletions
|
|
@ -14,32 +14,6 @@ MEMORY
|
|||
|
||||
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*)
|
||||
|
|
@ -52,13 +26,34 @@ SECTIONS
|
|||
_dataend = . ;
|
||||
} > DRAM
|
||||
|
||||
.iram :
|
||||
{
|
||||
_iramstart = .; // always 0
|
||||
*(.vectors)
|
||||
KEEP(*(.vectors));// otherwise there are no reference to it and the linker strip it
|
||||
*(.icode)
|
||||
*(.irodata)
|
||||
*(.idata)
|
||||
. = ALIGN(0x4);
|
||||
_iramend = .;
|
||||
} > IRAM AT> DRAM
|
||||
|
||||
_iramcopy = LOADADDR(.iram);
|
||||
|
||||
.ibss (NOLOAD) :
|
||||
{
|
||||
_iedata = .;
|
||||
*(.qharray)
|
||||
*(.ibss)
|
||||
. = ALIGN(0x4);
|
||||
_iend = .;
|
||||
} > IRAM
|
||||
|
||||
.stack (NOLOAD) :
|
||||
{
|
||||
*(.stack)
|
||||
_stackbegin = .;
|
||||
stackbegin = .;
|
||||
. += 0x2000;
|
||||
_stackend = .;
|
||||
stackend = .;
|
||||
} > DRAM
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue