From 473b56bd30af40ee5c73ab1659af7555d54441e4 Mon Sep 17 00:00:00 2001 From: Karl Kurbjun Date: Sun, 30 Sep 2007 20:52:39 +0000 Subject: Trying to get the main FW to boot git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14926 a1c6a512-1295-4272-9138-f99709370657 --- firmware/app.lds | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/firmware/app.lds b/firmware/app.lds index fdd15b3..67a7523 100644 --- a/firmware/app.lds +++ b/firmware/app.lds @@ -63,8 +63,8 @@ INPUT(target/sh/crt0.o) #define IRAM DRAM #elif CONFIG_CPU==DM320 #define DRAMORIG 0x00900000 + STUBOFFSET -#define IRAMORIG 0x00000100 -#define IRAMSIZE 0x4000-0x100 +#define IRAMORIG 0x00000000 +#define IRAMSIZE 0x4000 #elif CONFIG_CPU==IMX31L #define DRAMORIG (0x80000000 + STUBOFFSET) #define IRAMORIG 0x1FFFC000 @@ -152,7 +152,11 @@ SECTIONS } #if defined(CPU_ARM) +#if CONFIG_CPU==DM320 + .vectors IRAMORIG : +#else .vectors 0x0 : +#endif { _vectorsstart = .; *(.vectors); @@ -160,6 +164,8 @@ SECTIONS #if CONFIG_CPU==PNX0101 *(.dmabuf) } >IRAM0 AT> DRAM +#elif CONFIG_CPU==DM320 + } AT> IRAM #else } AT> DRAM #endif @@ -169,7 +175,7 @@ SECTIONS #if CONFIG_CPU==PNX0101 .iram IRAMORIG + SIZEOF(.vectors) : -#elif CONFIG_CPU==S3C2440 +#elif CONFIG_CPU==S3C2440 || CONFIG_CPU==DM320 .iram : #else .iram IRAMORIG : -- cgit v1.1