diff options
author | Tomasz Moń <desowin@gmail.com> | 2011-11-16 14:08:01 +0000 |
---|---|---|
committer | Tomasz Moń <desowin@gmail.com> | 2011-11-16 14:08:01 +0000 |
commit | e8a8a1be43afe63079ae48ce1a9eb3052df3b1a4 (patch) | |
tree | 084e1cdf27a339ce58e24cff8fec8c31432b52db /firmware/target/arm/tms320dm320/boot.lds | |
parent | 992d4eb775cac48e107e18d72783ebfb39c4234f (diff) | |
download | rockbox-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.lds | 19 |
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 | ||
40 | PRO_STACK_SIZE = 0x2000; | 53 | PRO_STACK_SIZE = 0x2000; |
41 | IRQ_STACK_SIZE = 0x400; | 54 | IRQ_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 | ||
54 | SECTIONS | 67 | SECTIONS |