summaryrefslogtreecommitdiff
path: root/apps/plugins/plugin.lds (unfollow)
Commit message (Collapse)Author
2013-07-11Fix .ncbss from possibly overlapping .ncdata in plugins/codecs.Michael Sevakis
(Take #2) If .bss wasn't large enough, and .ncdata was empty, .ncbss would be at an address overlapping the alignment-padded end of .ncdata and and linking would fail with an overlap error. Adds plugin load end address that accounts for IRAM going past the final .bss sections, making IRAM overlay compatible. load_code could also use this instead of the file size. The .lds becomes a bit more straightforward and explicit when assigning addresses. Change-Id: Id0c33f257710e97ece2c831e0feaaa32c1a14e05
2013-07-11Revert "Fix .ncbss from possibly overlapping .ncdata in plugins/codecs."Michael Sevakis
This reverts commit 5c2ad2fd36be7a0d1ec2468e6b270047c36d8a6f. The .ncbss bug is still showing up. Will try again shortly.
2013-07-10Fix .ncbss from possibly overlapping .ncdata in plugins/codecs.Michael Sevakis
If .bss wasn't large enough, and .ncdata was empty, .ncbss would be at an address overlapping the alignment-padded end of .ncdata and and linking would fail with an overlap error. There also should no longer be an issue that needs special correction with iramcopy and empty .bss. The .maps look good in that case. Change-Id: I02bf73a0acef2c0c04b5d135ecf4e18fb97ee339
2012-04-29M5/X5 (MCF5250): Scoot the core/plugin IRAM boundary forward by 0x800.Michael Sevakis
Change-Id: I482fe3f4f2f59a3f17026e796c245c4efa8279f3
2011-11-16Sandisk Sansa Connect port (FS #12363)Tomasz Moń
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
2011-10-02imx233/fuze+: enable pluginsAmaury Pouly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30700 a1c6a512-1295-4272-9138-f99709370657
2011-10-02imx233/fuze+: don't use iram in plugins and in codecsAmaury Pouly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30641 a1c6a512-1295-4272-9138-f99709370657
2011-09-06rk27xx - enable a few test pluginsMarcin Bukat
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30459 a1c6a512-1295-4272-9138-f99709370657
2011-01-02New port: iPod Classic (also known as iPod 6G/6.5G/7G)Michael Sparmann
Major known issues: - No bootloader yet - No support for the first-generation 160GB CE-ATA hard disk drive yet - Audio playback is slow, only FLAC seems to reach realtime git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28953 a1c6a512-1295-4272-9138-f99709370657
2010-11-21FS#6321: Universal Image ViewerTeruaki Kawashima
This unifies jpeg viewer, png viewer, and bmp viewer to one plugin, image viewer, so that you can navigate through different image formats. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28626 a1c6a512-1295-4272-9138-f99709370657
2010-11-02Reconfigure IRAM for S5L870x. S5L8700 has 256 KB of IRAM, use a 48 KB / 208 ↵Andree Buschmann
KB split for core/codec. S5L8701 has 176 KB of IRAM, use a 48 KB / 128 KB split for core/codec. This will allow further speed optimization of codecs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28463 a1c6a512-1295-4272-9138-f99709370657
2010-08-272nd try: Introduce a small api for loading code (codecs,plugins) from ↵Thomas Martitz
disk/memory. It's a used by codec/plugin loading and vastly reduces code duplication. It's also a step forward in getting rid of libuisimulator in the application ports. Apparently sh needs linker symbols prefixed with _ even if they're referenced without from C code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27902 a1c6a512-1295-4272-9138-f99709370657
2010-05-31Enable IRAM on TCC7801 (Cowon D2) for a 6-12% speedup in codecs that use it, ↵Rob Purchase
and a small increase in battery life. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26436 a1c6a512-1295-4272-9138-f99709370657
2010-05-25Fix M:Robe Plugins and Codecs.Karl Kurbjun
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26279 a1c6a512-1295-4272-9138-f99709370657
2010-05-08Gigabeat S: Reclaim about 800K of memory that was laying unused. Get rid of ↵Michael Sevakis
DEVBSS_ATTR for this target and implement as NOCACHEBSS_ATTR. Plugin and codec buffers move so all that is now incompatible (do full update). No version increase for plugins/codecs because the loader will reject them. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25895 a1c6a512-1295-4272-9138-f99709370657
2010-04-11FS #11153 by Marcin Bukat: Make memory layout for plugins and codecs only ↵Jens Arnold
depend on SoC for coldfire as well, in preparation for the MPIO HD200 port. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25598 a1c6a512-1295-4272-9138-f99709370657
2010-04-05as3525v2: Move codec into iram freeing 1MB for the audio buffer and also a ↵Thomas Martitz
small decoding speedup (iram seems to be 50% faster than dram when boosted and the same when unboosed). 32k is still reserved for the core and can be readjusted if needed. Codecs don't appear to ever need the 1MB (usually <350k only). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25491 a1c6a512-1295-4272-9138-f99709370657
2010-03-07Set IRAM split to 48KB / 80KB (apps / plugins) for M5 and X5. This way ↵Andree Buschmann
codecs can be optimized further. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25057 a1c6a512-1295-4272-9138-f99709370657
2010-02-22as3525v2: build normal firmware properly (Clipv2/+)Rafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24840 a1c6a512-1295-4272-9138-f99709370657
2010-02-17Revert accidental changes from r24723Michael Sparmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24724 a1c6a512-1295-4272-9138-f99709370657
2010-02-17Add more information to the battery debug screen for Nano2GMichael Sparmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24723 a1c6a512-1295-4272-9138-f99709370657
2010-01-03Onda VX747/VX777: cleanup linker files a bitMaurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24169 a1c6a512-1295-4272-9138-f99709370657
2009-11-20Fix codec and plugin issues on ARM EABI caused by .iram sometimes being ↵Andrew Mahone
assigned an incorrect load address. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23674 a1c6a512-1295-4272-9138-f99709370657
2009-10-04Correct the IRAM definitions for the S5L8700/8701 and add definitions for ↵Dave Chapman
plugins/codecs. The current split (64/64 core/plugins for S5L8700 and 96/80 core/plugins for S5L8701) is arbitrary and should probably be tweaked later git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22905 a1c6a512-1295-4272-9138-f99709370657
2009-09-01D2: Enable ARM cache coherency functions (eg. during codec load), which ↵Rob Purchase
should eliminate data aborts/freezes on track changes. NOTE: The linker script reserves space at the end of DRAM for the TTB, but this is not currently used. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22595 a1c6a512-1295-4272-9138-f99709370657
2009-07-30Ingenic Jz4740 targets: don't use IRAM in plugins as there's almost none ↵Maurus Cuelenaere
available git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22089 a1c6a512-1295-4272-9138-f99709370657
2009-06-13Fix redKarl Kurbjun
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21281 a1c6a512-1295-4272-9138-f99709370657
2009-06-13M:Robe 500: Fix up 256 color blitting when in portrait mode, fix a mistake ↵Karl Kurbjun
in the plugin linker script, reduce the amount of memory used by overwriting IRAM with bss after program has started, clean up some tabs and formatting, resize the simulator when building for 640x480 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21280 a1c6a512-1295-4272-9138-f99709370657
2009-05-20Fix reds and yellows. The targets that showed have more that just #define ↵Thomas Martitz
(like inline functions) in their soc specific header, which the linker doesn't like of course. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21002 a1c6a512-1295-4272-9138-f99709370657
2009-05-20Sansa AMS: Centralise mapping of RAM and IRAM in as3525.h via #defines. This ↵Thomas Martitz
will hopefully make ongoing mmu work easier as less places need to be changed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21000 a1c6a512-1295-4272-9138-f99709370657
2009-04-20Fix red.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20762 a1c6a512-1295-4272-9138-f99709370657
2009-04-20FS#10141 - Modify AMS Sansa #defines in plugin.lds to account for as3525 ↵Thomas Martitz
MEMORYSIZE > 2 by Jack Halpin. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20760 a1c6a512-1295-4272-9138-f99709370657
2009-04-10FS#10114 - Sansa AMS : use IRAM for codecs on >2MB targets Rafaël CarréThomas Martitz
Activates IRAM for AMS Sansas to be used by codecs and core. Fixes Reboot-on-mp3 and gives speed up on codecs using IRAM in general. I've made a change: the core/codec ratio is 0x20000/0x30000 instead of 0x10000/0x40000, 0x30000 is way more than codecs currently use (0x14000 at max) and the core might need more than 0x10000. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20678 a1c6a512-1295-4272-9138-f99709370657
2009-04-09M:Robe 500: More LCD initialization, QVGA (vs. VGA) is now enabled by ↵Karl Kurbjun
default for performance, 256 color palette mode added, include some linker cleanups and reorganization. Doom and MPEGPlayer now run reaonably well. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20664 a1c6a512-1295-4272-9138-f99709370657
2009-04-01M:Robe 500i: More LCD initialization, and beginnings of support for QVGA as ↵Karl Kurbjun
well as VGA on the LCD. MPEGPlayer now works with reasonable performance on smaller videos, but YUV blitting persists after MPEGPlayer is left, some cleanup/changes to the initialization code. This should be functionally equivalent for the ZVM, but the #ifdef's may need to be added back for app.lds. Get the bootloader building again. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20598 a1c6a512-1295-4272-9138-f99709370657
2009-03-11Ladies and Gentlemen we now have sound through the codecs on the M:Robe 500i ↵Karl Kurbjun
(DM320)\! git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20285 a1c6a512-1295-4272-9138-f99709370657
2009-03-02Calculate the optimal memory location for overlay plugins, and use ↵Jens Arnold
plugin.lds for linking them. This gets rid of hand-adjusted archos.lds, making it easy to use overlay plugins on other lowmem targets. * Fix some duplicate and incorrect dependencies. * Change the way libs are filtered, so that a lib can be specified more than once. This allows to get rid of explicitly linking gcc-support.o, fixing empty plugins on some simulator platforms. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20163 a1c6a512-1295-4272-9138-f99709370657
2009-02-26Ingenic Jz4740:Maurus Cuelenaere
* Add initial RoLo support * Don't enable IRAM in plugins for now * Initial try at getting PCM working (doesn't crash anymore at least) * Replace hard-coded constant with #define in usb-jz4740 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20115 a1c6a512-1295-4272-9138-f99709370657
2009-02-09make sure plugin.lds is not processed when building sims since it isn't used ↵Daniel Stenberg
for anything then! git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19957 a1c6a512-1295-4272-9138-f99709370657
2009-02-09do the #error for unknown CPU in the cases we're not building a simDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19956 a1c6a512-1295-4272-9138-f99709370657
2009-02-09don't do #error if no CPU define was found since we don't set it on simulatorDaniel Stenberg
builds! git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19955 a1c6a512-1295-4272-9138-f99709370657
2009-02-09Onda VX747: commit some parts to get apps/ to compile (more will follow)Maurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19954 a1c6a512-1295-4272-9138-f99709370657
2008-12-04Sansa AMS: PCM driver (FS#9592)Rafaël Carré
Note that on low memory targets (Clip/m200v4 tested) you will encounter random crashes. Applying FS#9332 seems to help a lot. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19342 a1c6a512-1295-4272-9138-f99709370657
2008-11-09plugin linker script: define memory sizes/origin for AS3525Rafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19050 a1c6a512-1295-4272-9138-f99709370657
2008-09-06Initial commit of iaudio 7 port by Vitja Makarov (FS#9245). Port is at ↵Dave Chapman
quite an advanced stage, but is troubled by the lack of a reliable NAND driver (similar to the Cowon D2 port) and is not yet suitable for non-developers. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18435 a1c6a512-1295-4272-9138-f99709370657
2008-06-24D2: Editing config.h wasn't enough to fully disable IRAM - also disable it ↵Rob Purchase
in *.lds for a crash fix and further 100% increase in codec performance. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17779 a1c6a512-1295-4272-9138-f99709370657
2008-05-14CPU model must be compared to CONFIG_CPU.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17517 a1c6a512-1295-4272-9138-f99709370657
2008-05-14Make use of 128KB IRAM for PP5022/PP5024 targets. The additional 32KB are ↵Andree Buschmann
given to plugins/codecs with this change. Through this change performance optimizations especially for codecs are possible. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17506 a1c6a512-1295-4272-9138-f99709370657
2008-05-10Real fake IRAM by placing .i.... section in the analagous DRAM sections in ↵Michael Sevakis
the linker scripts that hasn't done this yet. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17449 a1c6a512-1295-4272-9138-f99709370657
2008-05-02Build the remaining plugins for Gigabeat S and straigten out the fake IRAM ↵Michael Sevakis
in the codecs and plugins. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17303 a1c6a512-1295-4272-9138-f99709370657