summaryrefslogtreecommitdiff
path: root/firmware/target/arm/tms320dm320/boot.lds
diff options
context:
space:
mode:
authorTomasz Moń <desowin@gmail.com>2011-11-16 14:08:01 +0000
committerTomasz Moń <desowin@gmail.com>2011-11-16 14:08:01 +0000
commite8a8a1be43afe63079ae48ce1a9eb3052df3b1a4 (patch)
tree084e1cdf27a339ce58e24cff8fec8c31432b52db /firmware/target/arm/tms320dm320/boot.lds
parent992d4eb775cac48e107e18d72783ebfb39c4234f (diff)
downloadrockbox-e8a8a1be43afe63079ae48ce1a9eb3052df3b1a4.tar.gz
rockbox-e8a8a1be43afe63079ae48ce1a9eb3052df3b1a4.zip
Sandisk Sansa Connect port (FS #12363)
Included are drivers for buttons, backlight, lcd, audio and storage. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31000 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/tms320dm320/boot.lds')
-rw-r--r--firmware/target/arm/tms320dm320/boot.lds19
1 files changed, 16 insertions, 3 deletions
diff --git a/firmware/target/arm/tms320dm320/boot.lds b/firmware/target/arm/tms320dm320/boot.lds
index 2b9f345a23..65649d7268 100644
--- a/firmware/target/arm/tms320dm320/boot.lds
+++ b/firmware/target/arm/tms320dm320/boot.lds
@@ -28,14 +28,27 @@ STARTUP(target/arm/tms320dm320/crt0.o)
28#define LCD_TTB_AREA 0x100000*((LCD_BUFFER_SIZE>>19)+1) 28#define LCD_TTB_AREA 0x100000*((LCD_BUFFER_SIZE>>19)+1)
29 29
30/* Bootloader only uses/knows about the upper 32 M */ 30/* Bootloader only uses/knows about the upper 32 M */
31#define DRAMORIG 0x02900000 31#define DRAMORIG CONFIG_SDRAM_START+0x02000000
32#define DRAMSIZE (MEMORYSIZE * 0x80000) 32#define DRAMSIZE (MEMORYSIZE * 0x80000)
33 33
34#define IRAMORIG 0x00000000 34#define IRAMORIG 0x00000000
35#define IRAMSIZE 0x4000 35#define IRAMSIZE 0x4000
36 36
37#ifdef SANSA_CONNECT
38/* Offset in flash from beginning, we don't want overwrite OF bootloader
39 due to recovery mode and more importantly - hardware block protection.
40 This offset makes Rockbox bootloader a replacement for OF vmlinux.
41 In .srr file header add any valid memory address from following
42 <0x1000000; 0x1300180) u (0x131EAF4; 0x1420000) u (0x1440000; 0x5000000>
43 ensuring that complete bootloader fits in.
44 Entry point in .srr file should be 0x120010. */
45#define FLASHOFFSET 0x20010
46#else
47#define FLASHOFFSET 0
48#endif
49
37#define FLASHORIG 0x00100000 50#define FLASHORIG 0x00100000
38#define FLASHSIZE 0x00800000 51#define FLASHSIZE 0x00800000-FLASHOFFSET
39 52
40PRO_STACK_SIZE = 0x2000; 53PRO_STACK_SIZE = 0x2000;
41IRQ_STACK_SIZE = 0x400; 54IRQ_STACK_SIZE = 0x400;
@@ -48,7 +61,7 @@ MEMORY
48{ 61{
49 DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE 62 DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE
50 IRAM : ORIGIN = IRAMORIG, LENGTH = IRAMSIZE 63 IRAM : ORIGIN = IRAMORIG, LENGTH = IRAMSIZE
51 FLASH : ORIGIN = FLASHORIG, LENGTH = FLASHSIZE 64 FLASH : ORIGIN = FLASHORIG+FLASHOFFSET, LENGTH = FLASHSIZE
52} 65}
53 66
54SECTIONS 67SECTIONS