Jens Arnold
|
4944a1c1e1
|
Common data must be included in .bss or it won't get zeroed in crt0. Fix the archos self-extractor as well to play safe.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19033 a1c6a512-1295-4272-9138-f99709370657
|
2008-11-07 00:15:53 +00:00 |
|
Jens Arnold
|
f0dcb34e82
|
Greyscale iPods: Fix the default contrast in the bootloader and the core before settings are loaded. Especially important on 1st..3rd Gen as we're setting up the LCD controller quite a bit different than the OF on those.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18290 a1c6a512-1295-4272-9138-f99709370657
|
2008-08-15 19:19:46 +00:00 |
|
Dave Chapman
|
ccf4ce98fd
|
Fix the iPod Photo/Color "type 0 LCD" bug introduced in r17715 by correctly initialising the LCD to accept big-endian data (the same format as the "type 1" LCDs). Also some tab policing. Closes FS#9122 and FS#9097
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18079 a1c6a512-1295-4272-9138-f99709370657
|
2008-07-17 10:09:12 +00:00 |
|
Bertrik Sikken
|
a12894c6dc
|
Ensure consistency between header file and implementation for iPod drivers, by #including the appropriate header file and #ifdef'fing out unused code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18066 a1c6a512-1295-4272-9138-f99709370657
|
2008-07-16 11:02:14 +00:00 |
|
Daniel Stenberg
|
2acc0ac542
|
Updated our source code header to explicitly mention that we are GPL v2 or
later. We still need to hunt down snippets used that are not. 1324 modified
files...
http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
|
2008-06-28 18:10:04 +00:00 |
|
Jens Arnold
|
538a387cca
|
Blind-add some code from ipodlinux that hopefully fixes the colour problem on iPod Photo reported on the forums.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17715 a1c6a512-1295-4272-9138-f99709370657
|
2008-06-12 05:56:34 +00:00 |
|
Michael Sevakis
|
fa5bd07f6b
|
Oops. Lost sync on a few instances and 'HI' registers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17684 a1c6a512-1295-4272-9138-f99709370657
|
2008-06-03 05:19:32 +00:00 |
|
Michael Sevakis
|
191320cd0f
|
Rename CPU/COP_INT_CLR to CPU/COP_INT_DIS since it's really a 'write one to disable' register and hasn't anything to do with acknowledging interrupts-- that's handled at the module level.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17683 a1c6a512-1295-4272-9138-f99709370657
|
2008-06-03 05:08:24 +00:00 |
|
Linus Nielsen Feltzing
|
07bfba21ae
|
Add the ADC_ACCESSORY channel on the ipod, to allow for accessory detection once we figure that out.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17648 a1c6a512-1295-4272-9138-f99709370657
|
2008-05-29 06:12:08 +00:00 |
|
Jens Arnold
|
ab46e463bd
|
Greyscale ipods: Use a somewhat darker shade for lightgrey, improving appearance.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17551 a1c6a512-1295-4272-9138-f99709370657
|
2008-05-17 09:55:23 +00:00 |
|
Andree Buschmann
|
e8df7c4904
|
Undo r17470 because of regressions in some debug menus.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17472 a1c6a512-1295-4272-9138-f99709370657
|
2008-05-12 15:37:03 +00:00 |
|
Andree Buschmann
|
0b81405225
|
Fix for FS#5162. Being able to read scrollwheel action via button_read_device() for iPod's and e200.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17470 a1c6a512-1295-4272-9138-f99709370657
|
2008-05-12 08:27:53 +00:00 |
|
Barry Wardell
|
27f59f64c6
|
Make the H10 bootloader work again. Also fix the same problem that might be affecting other PP bootloaders.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17357 a1c6a512-1295-4272-9138-f99709370657
|
2008-05-04 14:42:53 +00:00 |
|
Michael Giacomelli
|
5fc95a301d
|
Fix tabs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17338 a1c6a512-1295-4272-9138-f99709370657
|
2008-05-03 22:07:31 +00:00 |
|
Michael Giacomelli
|
e243db65b4
|
Commit FS#8920, fixed headphone detection for the Ipod 2G by Mark Fawcus.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17336 a1c6a512-1295-4272-9138-f99709370657
|
2008-05-03 21:15:13 +00:00 |
|
Barry Wardell
|
93b8a076ec
|
Make the linker complain if the bootloader isn't going to fit into IRAM on PP devices.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17298 a1c6a512-1295-4272-9138-f99709370657
|
2008-05-01 17:13:33 +00:00 |
|
Jens Arnold
|
2bbacf89fe
|
Make sure the linker considers crt0*.o before all files specified on the command line by using STARTUP() instead of INPUT() in the .lds. Using INPUT() makes the linker process crt0*.o after all files specified on the command line, making linking fail if there are librockbox.a members which are only referenced by crt0*.o. Remove the hackaround that was needed for building the gigabeat S bootloader before (aka UIE() problem).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17289 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-29 06:19:32 +00:00 |
|
Frank Gevaerts
|
7a2d9ddb08
|
move some data around to place qh_array at the start of iram. This saves up to about 2k iram on PP
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17194 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-20 18:43:47 +00:00 |
|
Andree Buschmann
|
850a11250a
|
Adding new setting to System Settings <Accessory Power Supply -- off by default). This setting can be used to enable/disable the power supply for accessories. With this commit implemented for iPods with PCF50605 power controller.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17193 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-20 18:28:25 +00:00 |
|
Robert Kukla
|
feb3b588e3
|
explicitly align the ibss section by adjusting _iramend - fixes hang on m:robe (and potential problem on other arm targets)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17024 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-07 18:24:23 +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
|
32bd0f8ab1
|
Greyscale library: Optionally put the greyscale ISR on COP on portalplayertargets (only use with the grey_info structure in IRAM atm\!). This speeds up doom by ~50%, and makes mpegplayer work without stuttering audio on targets using it (measured on iPod 2nd Gen and Mini 2nd Gen). It needs corelocking certain functions in the LCD driver on 1st/2nd Gen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16973 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-04 22:13:53 +00:00 |
|
Jens Arnold
|
8399749412
|
1st/2nd Gen: Backlight inversion needs to be protected from interrupts, because it can happen any time, even while the greyscale lib or something else is writing to the LCD from an ISR. Also make backlight inversion only hit the LCD if necessary. * Use register definition in the 1st..3rd Gen backlight drivers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16962 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-04 17:33:39 +00:00 |
|
Jens Arnold
|
b073f0cfc1
|
LCD driver tweaks for greyscale iPods: * Use 1/7 bias, 5x step-up and the highest step-up frequency on all 1st..3rd gen iPods, simplifying the driver this way. The default contrast for those iPods has changed - reset settings in case the display becomes unreadable. * Set n-line inversion drive to 9 lines, improving image quality on 1st..3rd gen iPods somewhat.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16932 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-02 19:01:16 +00:00 |
|
Jens Arnold
|
1f75bd5a8e
|
Use a better place to enable the interrupts.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16918 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-01 18:53:34 +00:00 |
|
Jens Arnold
|
e249ecc85b
|
iPod 1st..3rd Gen and Mini 1st Gen fixes/improvements: * Remove the unnecessary 'reverse' parameter from handle_scroll_wheel() (a remnant from IPL that's not needed in rockbox), and make it static. * Wheel power saving on 1st Gen needs to disable the respective GPIO interrupts as well, otherwise every wheel check might fire interrupts. Make wheel power saving more self-contained as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16916 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-01 17:52:22 +00:00 |
|
Jens Arnold
|
567105b219
|
Stop saving more registers than necessary.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16866 a1c6a512-1295-4272-9138-f99709370657
|
2008-03-28 18:56:50 +00:00 |
|
Marcoen Hirschberg
|
82c52302bd
|
split boot.lds and move it into the target tree
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16855 a1c6a512-1295-4272-9138-f99709370657
|
2008-03-27 23:58:03 +00:00 |
|
Andree Buschmann
|
2364bc213c
|
Save a few registers in assembler routines for iPod 5Gs LCD driver and YUV conversion.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16840 a1c6a512-1295-4272-9138-f99709370657
|
2008-03-27 07:46:04 +00:00 |
|
Michael Sevakis
|
af395f4db6
|
Do core interrupt masking in a less general fashion and save some instructions to decrease size and speed things up a little bit. Small fix to a few places where interrupts would get enabled again where they shouldn't have been (context switching calls when disabled).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16811 a1c6a512-1295-4272-9138-f99709370657
|
2008-03-26 01:50:41 +00:00 |
|
Jens Arnold
|
68a21689ae
|
Consistent naming scheme the various blit functions. * Removed lcd_blit_mono() for colour targets. Plugin API became incompatible, so sort, clean up & bump. * Implemented lcd_blit_mono() for M3.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16775 a1c6a512-1295-4272-9138-f99709370657
|
2008-03-24 00:35:53 +00:00 |
|
Karl Kurbjun
|
ef62d6891a
|
Split up app.lds to the respective target directories. The portalplayer devices replicate app.lds since their target tree doesn't follow a syntax typical to the newer arm targets - the portalplayers could be cleaned up further. boot.lds and plugin.lds still need to be cleaned up.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16651 a1c6a512-1295-4272-9138-f99709370657
|
2008-03-13 03:48:23 +00:00 |
|
Robert Keevil
|
746ff30003
|
Revert LCD changes - make sure the backlight remains on as a visible sign that the unit has powered off
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16314 a1c6a512-1295-4272-9138-f99709370657
|
2008-02-14 20:48:17 +00:00 |
|
Robert Keevil
|
15581e8ad5
|
Fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16312 a1c6a512-1295-4272-9138-f99709370657
|
2008-02-14 15:24:31 +00:00 |
|
Robert Keevil
|
5d6994ee99
|
Prevent the screen flashing white when shutting down colour ipods - fixes FS#7755
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16311 a1c6a512-1295-4272-9138-f99709370657
|
2008-02-14 15:02:06 +00:00 |
|
Michael Giacomelli
|
054447f9e6
|
Commit FS#8379 by Andree Buschmann. Disables much of the remaining unneeded hardware on PP50xx targets (Ipods, Sansa, H10s, etc) resulting in a large savings in power and consequent increase in battery life. Results vary from target to target and from codec to codec, but we now approach the OF runtime on several PP devices. For now, leave base CPU clock at 30MHz, although further savings is possible with some codecs if clock is reduced. Additionally, fix battery capacity on c200 and use my measurements to improve runtime estimation for Sandisk targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16259 a1c6a512-1295-4272-9138-f99709370657
|
2008-02-10 05:39:20 +00:00 |
|
Michael Giacomelli
|
31b6eb57b0
|
Commit FS#8387 by Adam Gashlin. Enables detection of firewire devices for charging on various Ipods. Note that charging itself is not yet implemented on these devices.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16124 a1c6a512-1295-4272-9138-f99709370657
|
2008-01-20 23:03:23 +00:00 |
|
Michael Sevakis
|
6a8379674c
|
Finally, out goes struct spinlock for anything but mutiprocessor targets where it becomes a reenterable corelock.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16105 a1c6a512-1295-4272-9138-f99709370657
|
2008-01-18 13:12:33 +00:00 |
|
Jens Arnold
|
28cd26c471
|
Some cleanup for readability. No code change.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16076 a1c6a512-1295-4272-9138-f99709370657
|
2008-01-13 13:58:18 +00:00 |
|
Jens Arnold
|
41cd44caa7
|
Greyscale ipod lcd driver: * Assembler optimised low level functions. PP5002 targets benefit most (lcd_update() speedup >50%, and the greyscale overlay no longer makes mp3 playback skip). * Consistent brace placement style.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16060 a1c6a512-1295-4272-9138-f99709370657
|
2008-01-12 00:59:18 +00:00 |
|
Jens Arnold
|
6a56c14e17
|
Greyscale library: Changed the internal data format once more (separated pixel values and phases), allowing for further optimisation of drawing, scrolling etc. * Optimised grey phase blitting in the core reduces CPU load on all architectures, most significantly on coldfire. Previous version was too slow to keep up at 45MHz, leading to unwanted graininess (update frequency was halved). Also fixed screendump on 2bpp targets with vertical pixel packing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16043 a1c6a512-1295-4272-9138-f99709370657
|
2008-01-09 23:48:26 +00:00 |
|
Jens Arnold
|
feb5b15e9b
|
All-new greyscale library, replacing the old one. Features: (1) Drawing/updating is faster than the old grayscale lib at full depth. (2) Always 129 shades instead of 2..33 shades. (3) No graininess caused by frequent updates (mpegplayer, doom, ...). (4) Needs less memory than the old grayscale lib at full depth. * The tradeoff is slightly higher CPU load in the ISR (frames are calculated 'live') and an extra function in the core. * Ported all plugins which used the graylib to use the new one. * Some slight optimisations for archos and H1x0 LCD update.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15998 a1c6a512-1295-4272-9138-f99709370657
|
2008-01-04 23:42:38 +00:00 |
|
Michael Sevakis
|
7126d64820
|
Further lockdown of multipart i2c operations that must be done without intrusion.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15823 a1c6a512-1295-4272-9138-f99709370657
|
2007-11-27 00:35:41 +00:00 |
|
Jens Arnold
|
120fb4f319
|
Speed up YUV blitting on iPod Video by ~8% (FS #8075 by Andree Buschmann).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15820 a1c6a512-1295-4272-9138-f99709370657
|
2007-11-26 23:48:23 +00:00 |
|
Linus Nielsen Feltzing
|
e75327b332
|
FS#7738 - Scroll wheel acceleration for iPod
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15681 a1c6a512-1295-4272-9138-f99709370657
|
2007-11-19 11:05:54 +00:00 |
|
Jens Arnold
|
940fe31f81
|
Move 4th Gen (grayscale and color) backlight init where it belongs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15661 a1c6a512-1295-4272-9138-f99709370657
|
2007-11-18 14:01:58 +00:00 |
|
Jens Arnold
|
6ef2db2c11
|
Significant LCD speedup for all greyscale iPods and Sansa c200 (c200, 4th Gen, Mini 1st Gen: >3.3x speedup, 1st..3rd Gen: ~2x speedup, Mini 2nd Gen: ~30% speedup).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15655 a1c6a512-1295-4272-9138-f99709370657
|
2007-11-18 12:49:24 +00:00 |
|
Jens Arnold
|
f4c5c6aa62
|
Fix bootloaders, and the backlight-modded Ondio build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15600 a1c6a512-1295-4272-9138-f99709370657
|
2007-11-12 19:19:38 +00:00 |
|
Jens Arnold
|
ef12b3b5c6
|
Hardware controlled backlight brightness for iPod Video and Nano, retaining the software PWM fade in/ fade out. * Backlight handling cleanup, getting rid of one layer of 'lowlevelness'. * Use atomic GPIO bit manipulation for PP502x backlight handling.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15599 a1c6a512-1295-4272-9138-f99709370657
|
2007-11-12 18:49:53 +00:00 |
|
Jens Arnold
|
20a39f485a
|
Get rid of some more inl/outl, and use the new macros for bitwise GPIO manipulation. No functional change.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15492 a1c6a512-1295-4272-9138-f99709370657
|
2007-11-06 00:36:39 +00:00 |
|