Commit graph

109 commits

Author SHA1 Message Date
Rafaël Carré
6aa807d321 Sansa AMS: PCM driver (FS#9592)
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-12-04 22:27:48 +00:00
Rafaël Carré
c198bac47d plugin linker script: define memory sizes/origin for AS3525
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19050 a1c6a512-1295-4272-9138-f99709370657
2008-11-09 10:17:41 +00:00
Dave Chapman
d462a64a91 Initial commit of iaudio 7 port by Vitja Makarov (FS#9245). Port is at 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-09-06 17:50:59 +00:00
Rob Purchase
ed95be983c D2: Editing config.h wasn't enough to fully disable IRAM - also disable it 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-06-24 07:38:35 +00:00
Michael Sevakis
63effbf11c CPU model must be compared to CONFIG_CPU.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17517 a1c6a512-1295-4272-9138-f99709370657
2008-05-14 21:41:25 +00:00
Andree Buschmann
77087eba4e Make use of 128KB IRAM for PP5022/PP5024 targets. The additional 32KB are 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-14 19:30:34 +00:00
Michael Sevakis
209aa8eda5 Real fake IRAM by placing .i.... section in the analagous DRAM sections in 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-10 22:03:45 +00:00
Michael Sevakis
a74d15025e Build the remaining plugins for Gigabeat S and straigten out the fake IRAM in the codecs and plugins.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17303 a1c6a512-1295-4272-9138-f99709370657
2008-05-02 00:38:11 +00:00
Karl Kurbjun
7510335fc4 This is a big chunk of code necessary to prepare for Gigabeat F flash loading and and implementation of rolo. There should be no noticible changes for the user. A new bootloader is not needed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17213 a1c6a512-1295-4272-9138-f99709370657
2008-04-22 04:34:25 +00:00
Michael Sevakis
05099149f1 Enable nocache sections using the linker. PP5022/4 must use SW_CORELOCK now with shared variables in DRAM (it seems swp(b) is at least partially broken on all PP or I'm doing something very wrong here :\). For core-shared data use SHAREDBSS/DATA_ATTR. NOCACHEBSS/DATA_ATTR is available whether or not single core is forced for static peripheral-DMA buffer allocation without use of the UNCACHED_ADDR macro in code and is likely useful on a non-PP target with a data cache (although not actually enabled in config.h and the .lds's in this commit).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16981 a1c6a512-1295-4272-9138-f99709370657
2008-04-06 04:34:57 +00:00
Jens Arnold
8a6291dd63 More iAudio M3 work. Target build compiles, but same problem regarding plugins as the simulator. Boots to the menu, but it can't be used yet because only main & remote Play button work. USB works.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16660 a1c6a512-1295-4272-9138-f99709370657
2008-03-14 08:54:54 +00:00
Will Robertson
8215b34fdb Plugins now enabled and working for the Gigabeat S.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16323 a1c6a512-1295-4272-9138-f99709370657
2008-02-17 12:23:02 +00:00
Rob Purchase
47ea030e2e Initial Cowon D2 commit:
* bootloader test program (basic LCD & button drivers, reads touchscreen)
* work-in-progress stubs for main build


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16090 a1c6a512-1295-4272-9138-f99709370657
2008-01-14 22:04:48 +00:00
Karl Kurbjun
38548c7118 Build some more plugins for M:Robe most work, doom builds and runs if you use a hack - need to fix the user timer so that it works properly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15403 a1c6a512-1295-4272-9138-f99709370657
2007-11-02 05:21:34 +00:00
Jonathan Gordon
902a1b5fae get the mrobe plugins running again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15295 a1c6a512-1295-4272-9138-f99709370657
2007-10-25 06:17:36 +00:00
Karl Kurbjun
a56b65342f Move some more files around and get the main build compiling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14919 a1c6a512-1295-4272-9138-f99709370657
2007-09-30 16:29:21 +00:00
Will Robertson
590501cfe4 Merge the Gigabeat S branch back into trunk. Fingers crossed nothing breaks.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14805 a1c6a512-1295-4272-9138-f99709370657
2007-09-21 15:51:53 +00:00
Jens Arnold
8876018d25 Bring up the M5 port to a working stage: Extended numerous explicit checks for IAUDIO_X5 to also check for IAUDIO_M5, moved code around the target tree, added preliminary background for the sim.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12610 a1c6a512-1295-4272-9138-f99709370657
2007-03-05 00:04:00 +00:00
Greg White
355be5010a Setup LCD ourselves; move LCD buffer and TTB to free up 1.7MB of memory
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11994 a1c6a512-1295-4272-9138-f99709370657
2007-01-13 02:24:15 +00:00
Marcoen Hirschberg
295367686e merge a big part of the unofficial gigabeat cvs back. Includes working bootloader and rockbox with audio.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11850 a1c6a512-1295-4272-9138-f99709370657
2006-12-29 02:49:12 +00:00
Tomasz Malesinski
80da8b141c FS#6357, patch 1: let iramcopy and bss share the same space in codecs and
plugins. Currently, in case of plugins using IRAM bss is cleared twice,
once in the loader, once in PLUGIN_IRAM_INIT. For codecs, bss is cleared only
during codec initialization. Also, removed double variables in codecs
storing a pointer to codec_api.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11606 a1c6a512-1295-4272-9138-f99709370657
2006-11-26 18:31:41 +00:00
Daniel Ankers
242cbd5cd7 Change if CONFIG_CPU==PP50XX to ifdef CPU_PP where appropriate
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11569 a1c6a512-1295-4272-9138-f99709370657
2006-11-22 00:41:30 +00:00
Jens Arnold
2e383a430d X5: Changed IRAM splitting between core and codecs/plugins. (a) Codecs benefit more from IRAM than the core. Further changes are required to actually make use of this. (b) This way, all core IRAM is DMA capable (wasn't the case before), so one less pitfall.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11482 a1c6a512-1295-4272-9138-f99709370657
2006-11-09 21:15:49 +00:00
Tomasz Malesinski
4e36352567 Iriver iFP7xx memory layout adjustment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10553 a1c6a512-1295-4272-9138-f99709370657
2006-08-12 22:43:44 +00:00
Daniel Stenberg
d2848f3d72 moved the LCD framebuffer to IRAM for iAudio X5 - gives ~40% speed boost
I also extended the iram size properly since the 5250 coldfire has 128K


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9604 a1c6a512-1295-4272-9138-f99709370657
2006-04-11 10:37:37 +00:00
Linus Nielsen Feltzing
7664a4f7e0 Correct IRAM size for the iAudio X5 app
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9159 a1c6a512-1295-4272-9138-f99709370657
2006-03-21 12:25:40 +00:00
Dave Chapman
fb4e384367 More iPod 3G work from Seven Le Mesle
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8835 a1c6a512-1295-4272-9138-f99709370657
2006-02-24 20:54:09 +00:00
Tomasz Malesinski
e7f7c3d15c Mapped iFP DRAM to 0xc00000 and enabled caching in this area.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8668 a1c6a512-1295-4272-9138-f99709370657
2006-02-12 23:16:05 +00:00
Dave Chapman
d350e80b40 iPod: Make the plugins compile on the iPod 4G grayscale
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8588 a1c6a512-1295-4272-9138-f99709370657
2006-02-05 19:27:23 +00:00
Jens Arnold
22ffc9bf03 The .entry section does no longer exist.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8363 a1c6a512-1295-4272-9138-f99709370657
2006-01-18 00:17:50 +00:00
Dave Chapman
d6d5da1841 iPod: Correct the definition of DRAMORIG for the ipod - RAM is remapped to 0x0 from its original location at 0x10000000
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8351 a1c6a512-1295-4272-9138-f99709370657
2006-01-16 12:57:46 +00:00
Jens Arnold
a36b1d4083 New plugin loader. Solves the crashes introduced with the .bss changes while keeping the small binary size. The model & api version check is now part of the plugin loader. Codecs are not yet adapted, but the old method still works for them. Simulator plugins are not (yet) version-checked. API version numbering restarted, as this is an all-new system. Uses the target ID from configure, so don't change that too often.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8349 a1c6a512-1295-4272-9138-f99709370657
2006-01-15 18:20:18 +00:00
Dave Chapman
d83e929f3f Work-in-progress iriver iFP-7xx port by Tomasz Malesinski
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8342 a1c6a512-1295-4272-9138-f99709370657
2006-01-12 00:35:50 +00:00
Jens Arnold
a991de3730 Don't include the .bss section in the archos rockboy overlay as well. Explicitly add common symbols to .bss section for plugins and codecs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8309 a1c6a512-1295-4272-9138-f99709370657
2006-01-08 23:45:29 +00:00
Jens Arnold
07c4254135 Don't include the .bss and .ibss sections in the binary image for codecs and plugins. Saves quite some disk space (and buffer space in case of codec changes during playback).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8308 a1c6a512-1295-4272-9138-f99709370657
2006-01-08 22:50:14 +00:00
Dave Chapman
afbd4386ff iPod: Implement plugin.lds and enable codec building for all SWCODEC platforms, not just H100 series
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7829 a1c6a512-1295-4272-9138-f99709370657
2005-11-12 16:01:15 +00:00
Jens Arnold
abd9f83e92 Two new sections for IRAM usage: .irodata (selectable with the ICONST_ATTR attribute macro), allowing to put 'const' data into IRAM without causing a section type conflict, and .ibss (selectable with the IBSS_ATTR attribute macro) for uninitialised data. * Rockbox core: Adjusted the linker scripts and init code to not include the .ibss section in the binary, it is cleared instead. Saves ~500 bytes on archos and ~30KB on iriver. Codecs and plugins don't handle .ibss in a special way yet. * The init code properly handles empty sections now (except .stack, which should never be empty). * Unified the init code for SH1 and coldfire a bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7644 a1c6a512-1295-4272-9138-f99709370657
2005-10-19 19:35:24 +00:00
Jens Arnold
a317d74d8e Iriver: Changed the IRAM splitting between core and plugins to 48KB/48KB, and reduced the main thread stack to 8KB, same size as on archos.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7447 a1c6a512-1295-4272-9138-f99709370657
2005-09-01 20:57:33 +00:00
Christian Gmeiner
c6ff1f5eb5 Added CPU_COLDFIRE define - one step closer to iAudio-port
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7186 a1c6a512-1295-4272-9138-f99709370657
2005-07-18 12:40:29 +00:00
Linus Nielsen Feltzing
62c768c0db Recovered from my major brain failure and reverted to using the same load address for both H110 and H120/140
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7082 a1c6a512-1295-4272-9138-f99709370657
2005-07-09 07:46:42 +00:00
Linus Nielsen Feltzing
2d25122431 H110 adjustments
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7071 a1c6a512-1295-4272-9138-f99709370657
2005-07-08 15:08:59 +00:00
Daniel Stenberg
8493ccb285 Renamed the iriver h120 defines and configs to "h120"! Added initial support
for the h100 series.

Please re-run configure.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7062 a1c6a512-1295-4272-9138-f99709370657
2005-07-08 06:31:13 +00:00
Jens Arnold
305a7ce1a2 Enabled sectioned compilation for the plugin library, and linking with garbage collection for the plugins. The effect is that functions and data objects from one object file in the plugin library are included in the .elf individually, not as a whole. It makes maintaining larger plugin library packages easier, as it is no longer necessary to split the source files by function to avoid dead code to get included in the plugins.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6931 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 21:04:22 +00:00
Daniel Stenberg
3a78ab9a4f fix to enable plugins to build fine for h300
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6913 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 13:12:45 +00:00
Jens Arnold
91f572c3b5 Iriver: Fix codec <-> plugin start address clash, leading to crashes when trying to run plugins while playing music.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6903 a1c6a512-1295-4272-9138-f99709370657
2005-06-28 21:12:11 +00:00
Daniel Stenberg
a24017f4da Moved the codec and plugin buffer sizes to the config-*.h files instead of
having it repeated in numerous files where they all had to be updated to the
same value if ever changed. This allows specific models to actually have its
own buffer sizes.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6901 a1c6a512-1295-4272-9138-f99709370657
2005-06-27 21:23:03 +00:00
Daniel Stenberg
d6cf3a0305 increase codec buffer size to fit the mpc codec properly (NOTE: the codec
loader does not detect when the full codec doesn't fit)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6827 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 21:34:11 +00:00
Linus Nielsen Feltzing
ecf2f747ed Daniel's fix that loads codecs in their own memory space
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6794 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 02:47:54 +00:00
Linus Nielsen Feltzing
c88b5b74fd Ooops
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6327 a1c6a512-1295-4272-9138-f99709370657
2005-04-20 18:54:20 +00:00
Linus Nielsen Feltzing
e638eadaff Temporary solution for code and data in IRAM for iriver codecs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6029 a1c6a512-1295-4272-9138-f99709370657
2005-02-22 00:42:22 +00:00
Dave Chapman
9d4a79b444 Discard .eh_frame, otherwise the codec viewer plugins are about 800MB in size. See http://www.rockbox.org/mail/archive/rockbox-archive-2004-07/0445.shtml
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5960 a1c6a512-1295-4272-9138-f99709370657
2005-02-15 22:25:53 +00:00
Dave Chapman
e452383359 Increase PLUGINSIZE to 768k for devices with at least 32MB of RAM (currently only iRiver).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5952 a1c6a512-1295-4272-9138-f99709370657
2005-02-15 14:00:37 +00:00
Linus Nielsen Feltzing
3fcfdffe88 Added .rodata.str1.1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5783 a1c6a512-1295-4272-9138-f99709370657
2005-02-04 12:40:47 +00:00
Daniel Stenberg
bc54fbd673 set the start address for iRiver plugins (this is still not working)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5782 a1c6a512-1295-4272-9138-f99709370657
2005-02-04 12:25:18 +00:00
Daniel Stenberg
0a0c4d5379 allow different output formats for other targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5771 a1c6a512-1295-4272-9138-f99709370657
2005-02-04 08:34:20 +00:00
Jörg Hohensohn
5d761f79aa Suggestion by Magnus Holmgren: avoid odd bytecount for plugins
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3918 a1c6a512-1295-4272-9138-f99709370657
2003-08-04 19:13:42 +00:00
Björn Stenberg
13d56150b6 Added plugin support for 8MB-modified units. This bumps the plugin API version number again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3831 a1c6a512-1295-4272-9138-f99709370657
2003-07-13 22:15:19 +00:00
Linus Nielsen Feltzing
9381f14ff9 string section patch by Nix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3812 a1c6a512-1295-4272-9138-f99709370657
2003-07-06 09:26:45 +00:00
Björn Stenberg
ba371fb595 Added plugin loader. Moved games, demos and the text viewer to loadable plugins. Copy your *.rock files to /.rockbox/rocks/
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3769 a1c6a512-1295-4272-9138-f99709370657
2003-06-29 16:33:04 +00:00