summaryrefslogtreecommitdiff
path: root/firmware/target/arm/ipod
AgeCommit message (Collapse)Author
2009-11-03FS#9728: Battery current measuring on the Video iPodTorne Wuff
Patch by Boris Gjenero. Displays the current flowing into or out of the battery on the ipodvideo. Other ipods do not appear to have this ADC channel connected. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23500 a1c6a512-1295-4272-9138-f99709370657
2009-10-21Add iPod Nano 2G µsec timer, and use it in the clickwheel driver.Michael Sparmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23309 a1c6a512-1295-4272-9138-f99709370657
2009-10-20Convert lcd_activation callbacks to use the event system to allow for ↵Thomas Martitz
multiple parallel callbacks (for custom statusbar). Increase maximum event count as we need more (I actually had a report about it during custom statusbar testing). Removed corresponding functions from the core and plugin api. Bump min version and sort. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23302 a1c6a512-1295-4272-9138-f99709370657
2009-10-18Use wrap-safe TIME_BEFORE/TIME_AFTER macros to compare times with ↵Bertrik Sikken
current_time, instead of comparing them directly. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23246 a1c6a512-1295-4272-9138-f99709370657
2009-10-12Fix the iPod Nano 2G clickwheel when releasing the hold switchMichael Sparmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23122 a1c6a512-1295-4272-9138-f99709370657
2009-10-10Nano2G - implement "Pause on headphone unplug" featureDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23072 a1c6a512-1295-4272-9138-f99709370657
2009-10-02Unify the button driver for the Nano 2G with the driver for earlier ↵Dave Chapman
clickwheel ipods. The clickwheel hardware appears to be the same - the differences are just related to the hardware init and how the data is read. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22878 a1c6a512-1295-4272-9138-f99709370657
2009-09-17Fix a comment so that it matches the codeDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22718 a1c6a512-1295-4272-9138-f99709370657
2009-08-19fix redNils Wallménius
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22432 a1c6a512-1295-4272-9138-f99709370657
2009-08-06Various files: make functions static if they're local or make sure there is ↵Bertrik Sikken
a proper #include if not git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22184 a1c6a512-1295-4272-9138-f99709370657
2009-07-29Fix FS#5230 - reinit the opto-i2c after disabling hold so the buttons work againJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22078 a1c6a512-1295-4272-9138-f99709370657
2009-07-11ARM asm LCD and ATA driver functions: Don't save r12 as it is a scratch reg. ↵Jens Arnold
Saves a bit of stack and execution time. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21795 a1c6a512-1295-4272-9138-f99709370657
2009-05-17Fix duplicate #includesBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20977 a1c6a512-1295-4272-9138-f99709370657
2009-04-26Remove workaround for FS#10130 from 5G iPod LCD sleep codeBoris Gjenero
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20806 a1c6a512-1295-4272-9138-f99709370657
2009-04-25Remove unnecessary #include "adc.h"Bertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20791 a1c6a512-1295-4272-9138-f99709370657
2009-04-19Fix FS#9926 - On Photo and Color iPods, correct check for whether battery is ↵Boris Gjenero
charging git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20752 a1c6a512-1295-4272-9138-f99709370657
2009-04-19Add USB power detection for 4G, Photo, Color, 1G Mini and 2G Mini iPods. ↵Boris Gjenero
(See FS#5826 and FS#7727) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20745 a1c6a512-1295-4272-9138-f99709370657
2009-04-13Code police: fix brace placement, remove trailing spacesBoris Gjenero
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20702 a1c6a512-1295-4272-9138-f99709370657
2009-04-12Fix redBoris Gjenero
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20696 a1c6a512-1295-4272-9138-f99709370657
2009-04-12Fixes and improvements for FS#9890 - iPod 5G: LCD sleep, BCM shutdown and ↵Boris Gjenero
bootstrap * Ensure LCD is updated if lcd_update() is called while the LCD is initializing * Turn on BCM and LCD in lcd_init_device() if it is off * Speed up lcd_awake() * Shorten minimum length of time BCM must stay off and fix related code git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20695 a1c6a512-1295-4272-9138-f99709370657
2009-03-17One more try: Fix remaining reds and yellowsThomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20335 a1c6a512-1295-4272-9138-f99709370657
2009-03-17Fix reds and yellows (hopefully). Some targets apparently didn't properly ↵Thomas Martitz
#ifdef lcd_enable and lcd_sleep code out, so that it got partly active in the bootloader; rename the ui simulator stub fixes most reds; for the clip: move the hook code into lcd-1bit-vert.c which should fix the bootloader red. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20333 a1c6a512-1295-4272-9138-f99709370657
2009-03-17Rework lcd_enabled and lcd_set/call_enable hookThomas Martitz
a) lcd_enabled() is now lcd_active(), and is available for HAVE_LCD_SLEEP only targets (e.g. ipod video) too. It was depandent on HAVE_LCD_ENALE only before b) rename the hook accordingly, and implement the hook for other other targets too (e.g. the clip [the only mono target with lcd_enable/lcd_sleep yet, so the code is still in the lcd driver], ipod, fuze, c200) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20331 a1c6a512-1295-4272-9138-f99709370657
2009-02-21Submit FS#9890 by Boris Gjenero. Enabling option for iPod Video to shut down ↵Andree Buschmann
LCD and BCM (controller) after backlight was switched off. With this option the user can decide whether to keep the transflective LCD switched on (e.g. during daylight use) or to switch it off (to save power). The power saving is extreme and increases the battery runtime by far (measured >30%). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20076 a1c6a512-1295-4272-9138-f99709370657
2009-02-20Reclaim .iram areas in DRAM by overlapping their load addresses with the ↵Michael Sevakis
uninitialized data sections. I did what I could test out-- not any flash image linker scripts or other target processors. Move any .iram copies in crt0.S's to be the first operation even if not _strictly_ necessary to be emphatic (aka. 'beware'). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20061 a1c6a512-1295-4272-9138-f99709370657
2009-02-15Firewire charger detection for ipod 3G, patch by Boris Gjenero. Fixes FS#9900Nils Wallménius
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20008 a1c6a512-1295-4272-9138-f99709370657
2009-01-27Fix red once more :/Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19862 a1c6a512-1295-4272-9138-f99709370657
2009-01-26Fix redThomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19861 a1c6a512-1295-4272-9138-f99709370657
2009-01-26Commit FS#9724, which reworks the preprocessor defines related to backlight ↵Thomas Martitz
fading to a CONFIG_BACKLIGHT_FADING style. The apps/ code will only see which setting is supposed to be used, specific backlight fading handling is kept in firmware, slightly reword the manual text about software fading too with regards to the Gigabeat S git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19860 a1c6a512-1295-4272-9138-f99709370657
2009-01-18Commit battery discharge curve for the Ipod Photo. We still need one for ↵Michael Giacomelli
the 4G and Mini. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19794 a1c6a512-1295-4272-9138-f99709370657
2008-12-25Commit FS#8624 by Linus Nielsen, Ryan Press, Craig Elliott, and Kenderes ↵Michael Giacomelli
Tamas. Adds preliminary support for numerous accessories that use the ipod serial port on the dock connector. See IpodAccessories for a list of tested devices. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19585 a1c6a512-1295-4272-9138-f99709370657
2008-12-03Straighten out some powermanagement stuff. Give target complete control over ↵Michael Sevakis
how power inputs are sensed. Clean SIMULATOR stuff out of target files. Get rid of USB charging option on targets that don't support it or don't implement it yet. Menu string remains to avoid language incompatibility but should be removed on next cleanup for targets not using it (notice in english.lang). global_settings becomes incompatible for some builds and so plugin API version is incremented. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19315 a1c6a512-1295-4272-9138-f99709370657
2008-11-07Common data must be included in .bss or it won't get zeroed in crt0. Fix the ↵Jens Arnold
archos self-extractor as well to play safe. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19033 a1c6a512-1295-4272-9138-f99709370657
2008-08-15Greyscale iPods: Fix the default contrast in the bootloader and the core ↵Jens Arnold
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-07-17Fix the iPod Photo/Color "type 0 LCD" bug introduced in r17715 by correctly ↵Dave Chapman
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-16Ensure consistency between header file and implementation for iPod drivers, ↵Bertrik Sikken
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-06-28Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg
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-12Blind-add some code from ipodlinux that hopefully fixes the colour problem ↵Jens Arnold
on iPod Photo reported on the forums. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17715 a1c6a512-1295-4272-9138-f99709370657
2008-06-03Oops. Lost sync on a few instances and 'HI' registers.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17684 a1c6a512-1295-4272-9138-f99709370657
2008-06-03Rename CPU/COP_INT_CLR to CPU/COP_INT_DIS since it's really a 'write one to ↵Michael Sevakis
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-05-29Add the ADC_ACCESSORY channel on the ipod, to allow for accessory detection ↵Linus Nielsen Feltzing
once we figure that out. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17648 a1c6a512-1295-4272-9138-f99709370657
2008-05-17Greyscale ipods: Use a somewhat darker shade for lightgrey, improving ↵Jens Arnold
appearance. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17551 a1c6a512-1295-4272-9138-f99709370657
2008-05-12Undo r17470 because of regressions in some debug menus.Andree Buschmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17472 a1c6a512-1295-4272-9138-f99709370657
2008-05-12Fix for FS#5162. Being able to read scrollwheel action via ↵Andree Buschmann
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-04Make the H10 bootloader work again. Also fix the same problem that might be ↵Barry Wardell
affecting other PP bootloaders. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17357 a1c6a512-1295-4272-9138-f99709370657
2008-05-03Fix tabs.Michael Giacomelli
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17338 a1c6a512-1295-4272-9138-f99709370657
2008-05-03Commit FS#8920, fixed headphone detection for the Ipod 2G by Mark Fawcus.Michael Giacomelli
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17336 a1c6a512-1295-4272-9138-f99709370657
2008-05-01Make the linker complain if the bootloader isn't going to fit into IRAM on ↵Barry Wardell
PP devices. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17298 a1c6a512-1295-4272-9138-f99709370657
2008-04-29Make sure the linker considers crt0*.o before all files specified on the ↵Jens Arnold
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-20move some data around to place qh_array at the start of iram. This saves up ↵Frank Gevaerts
to about 2k iram on PP git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17194 a1c6a512-1295-4272-9138-f99709370657