summaryrefslogtreecommitdiff
path: root/firmware/target/arm/tcc77x/app.lds
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2021-04-23 11:09:49 -0400
committerSolomon Peachy <pizza@shaftnet.org>2021-04-26 07:41:51 -0400
commit3ba2f6e5c7383c5d7a6f8a1c38b6b5403a8a5dcb (patch)
tree2741885caf2393cf05ddd5fac7559df3abcd17dd /firmware/target/arm/tcc77x/app.lds
parent77188e41f5c9966432a0fbb3bffd2069d53cc608 (diff)
downloadrockbox-3ba2f6e5c7383c5d7a6f8a1c38b6b5403a8a5dcb.tar.gz
rockbox-3ba2f6e5c7383c5d7a6f8a1c38b6b5403a8a5dcb.zip
Nuke all TCC77x targets: iAudio 7, Sansa C100, M200(v1-3), Logik DAX
They were never finished, never saw any release ever, and haven't compiled for the better part of a decade. Given their HW capabilities [1], they are not worth trying to fix. [1] 1-2MB RAM, ~256MB onboard flash, no expandability Change-Id: I7b2a5806d687114c22156bb0458d4a10a9734190
Diffstat (limited to 'firmware/target/arm/tcc77x/app.lds')
-rw-r--r--firmware/target/arm/tcc77x/app.lds99
1 files changed, 0 insertions, 99 deletions
diff --git a/firmware/target/arm/tcc77x/app.lds b/firmware/target/arm/tcc77x/app.lds
deleted file mode 100644
index 991b7156fe..0000000000
--- a/firmware/target/arm/tcc77x/app.lds
+++ /dev/null
@@ -1,99 +0,0 @@
1#include "config.h"
2
3ENTRY(start)
4OUTPUT_FORMAT(elf32-littlearm)
5OUTPUT_ARCH(arm)
6STARTUP(target/arm/tcc77x/crt0.o)
7
8#define PLUGINSIZE PLUGIN_BUFFER_SIZE
9#define CODECSIZE CODEC_SIZE
10
11#define DRAMSIZE (MEMORYSIZE * 0x100000) - PLUGINSIZE - CODECSIZE
12
13#define DRAMORIG 0x20000000
14#define IRAMORIG 0x00000000
15#define IRAMSIZE 64K
16
17
18/* End of the audio buffer, where the codec buffer starts */
19#define ENDAUDIOADDR (DRAMORIG + DRAMSIZE)
20
21/* Where the codec buffer ends, and the plugin buffer starts */
22#define ENDADDR (ENDAUDIOADDR + CODECSIZE)
23
24
25MEMORY
26{
27#ifdef TCCBOOT
28 DRAM : ORIGIN = DRAMORIG + DRAMSIZE - 0x100000, LENGTH = 0x100000
29#else
30 DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE
31#endif
32 IRAM : ORIGIN = IRAMORIG, LENGTH = IRAMSIZE
33}
34
35SECTIONS
36{
37 .text : {
38 loadaddress = .;
39 _loadaddress = .;
40 . = ALIGN(0x200);
41 *(.init.text)
42 *(.text)
43 *(.text*)
44 *(.glue_7)
45 *(.glue_7t)
46 } > DRAM
47
48 .data : {
49 *(.icode)
50 *(.irodata)
51 *(.idata)
52 *(.data*)
53 *(.rodata.*)
54 *(.rodata)
55 . = ALIGN(0x4);
56 _dataend = . ;
57 } > DRAM
58
59 .stack :
60 {
61 *(.stack)
62 _stackbegin = .;
63 stackbegin = .;
64 . += 0x2000;
65 _stackend = .;
66 stackend = .;
67 } > DRAM
68
69 .bss : {
70 _edata = .;
71 *(.bss*);
72 *(.ibss);
73 *(COMMON)
74 _end = .;
75 } > DRAM
76 .audiobuf ALIGN(4) :
77 {
78 _audiobuffer = .;
79 audiobuffer = .;
80 } > DRAM
81
82 .audiobufend ENDAUDIOADDR:
83 {
84 audiobufend = .;
85 _audiobufend = .;
86 } > DRAM
87
88 .codec ENDAUDIOADDR:
89 {
90 codecbuf = .;
91 _codecbuf = .;
92 }
93
94 .plugin ENDADDR:
95 {
96 _pluginbuf = .;
97 pluginbuf = .;
98 }
99}