summaryrefslogtreecommitdiff
path: root/firmware/target/arm/ipod
AgeCommit message (Collapse)Author
2007-10-22Assembler optimised lcd_yuv_blit() for iPod Video (Fs #7951 by Andree ↵Jens Arnold
Buschmann, adapted and separated into an .S file by me). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15257 a1c6a512-1295-4272-9138-f99709370657
2007-10-16Parts of FS #7951 by Andree Buschmann. Faster YUV BLIT (means faster ↵Thom Johansen
mpegplayer) for Ipods Nano and Video while we're waiting for the assembler ones. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15147 a1c6a512-1295-4272-9138-f99709370657
2007-10-16Finally full multicore support for PortalPlayer 502x targets with an eye ↵Michael Sevakis
towards the possibility of other types. All SVN targets the low-lag code to speed up blocking operations. Most files are modified here simple due to a name change to actually support a real event object and a param change to create_thread. Add some use of new features but just sit on things for a bit and leave full integration for later. Work will continue on to address size on sensitive targets and simplify things if possible. Any PP target having problems with SWP can easily be changed to sw corelocks with one #define change in config.h though only PP5020 has shown an issue and seems to work without any difficulties. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15134 a1c6a512-1295-4272-9138-f99709370657
2007-10-12PP LCD drivers: * Optimised and cleaned up PP colour LCD drivers. ↵Jens Arnold
Immeasurable speedup on iPod Color, huge speedup on small H10 (a factor of 3). Should be a bit faster on big H10 too. * Big H10 changed bitmap format, so needs reconfiguring + full rebuild. * Better register naming for the mono LCD bridge. Register names for the colour LCD bridge. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15082 a1c6a512-1295-4272-9138-f99709370657
2007-10-07* Use proper definitions for the PP (mono) LCD bridge. * Clean up pp5002.h a ↵Jens Arnold
bit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15018 a1c6a512-1295-4272-9138-f99709370657
2007-09-29Fix the LCD line remaining active after shutdown on grayscale ipods ↵Nicolas Pennequin
(FS#5199). Original patch by Tomasz Mon, modified by me. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14907 a1c6a512-1295-4272-9138-f99709370657
2007-09-28FS #7763 by Andree Buschmann. Speed up video rendering for Ipod Video.Thom Johansen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14882 a1c6a512-1295-4272-9138-f99709370657
2007-09-12* Don't touch the backlight(s) (and buttonlight) at backlight init in order ↵Jens Arnold
to avoid a short flash when the lights are both disabled in the bootloader and in rockbox settings. * Properly reflect the backlight state set by the 1st/2nd gen bootloader. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14679 a1c6a512-1295-4272-9138-f99709370657
2007-08-18iPod 1st Gen: Dynamic wheel enable. This reduces wheel power consumption to ↵Jens Arnold
about 0.5% when hold is not enabled and there is no activity, and keeps it disabled on hold. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14386 a1c6a512-1295-4272-9138-f99709370657
2007-08-18iPod 1st Gen: Electronically disable the wheel when hold is enabled, saving ↵Jens Arnold
quite some power. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14383 a1c6a512-1295-4272-9138-f99709370657
2007-08-17First step of powermanagement rework: * Move target specific stuff into ↵Jens Arnold
target tree, starting with battery voltage tables and voltage reading. (This revealed some incorrect percent_to_voltage_charging mappings). * Voltage reading on 1st gen ipods is now correct. * Clean up obsolete config #defines. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14375 a1c6a512-1295-4272-9138-f99709370657
2007-08-15Make the wheel work on 1st gen iPod.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14359 a1c6a512-1295-4272-9138-f99709370657
2007-08-10iPod greyscale LCD driver: * Further speedup (timeout check turned out to be ↵Jens Arnold
unnecessary, as well as setting the LCD control register every time on Mini G2. Put lcd_write_data() in IRAM on PP5002). * Better blacklevel stability on 1st...3rd gen. * lcd_enable() function in preparation for suspend on 1st/2nd gen, and shutdown without a black line remaining. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14264 a1c6a512-1295-4272-9138-f99709370657
2007-08-08iPod greyscale LCD driver: Slight speedup and correct greylevels for other ↵Jens Arnold
targets than 1st/2nd gen. * Code cleanup. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14240 a1c6a512-1295-4272-9138-f99709370657
2007-08-06Use correct 1/3 and 2/3 greylevels.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14223 a1c6a512-1295-4272-9138-f99709370657
2007-08-03Disk poweroff for 3rd gen iPods.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14171 a1c6a512-1295-4272-9138-f99709370657
2007-08-03Disk poweroff for 1st/2nd gen iPods.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14157 a1c6a512-1295-4272-9138-f99709370657
2007-07-30Interrupt driven ADC reading on the 2nd gen.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14086 a1c6a512-1295-4272-9138-f99709370657
2007-07-30First version of a 1st/2nd gen ADC driver. 1st gen is untested yet.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14082 a1c6a512-1295-4272-9138-f99709370657
2007-07-29iPod 1st..3rd gen: Interrupt driven button driver for 100% smooth wheel ↵Jens Arnold
operation. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14054 a1c6a512-1295-4272-9138-f99709370657
2007-07-272nd gen: Correct LCD inversion state on init. * Fine tuned default contrast.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14025 a1c6a512-1295-4272-9138-f99709370657
2007-07-27iPod 2nd gen: * Fake battery voltage of 4.00V so rockbox doesn't shutdown ↵Jens Arnold
(ADC is not yet implemented). * Fix button hold polarity for main rockbox. * Implement backlight inversion (the 1st/2nd gen backlight works in a way that makes the LCD look inverted when active). * Fix default contrast and clean up target tree. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14022 a1c6a512-1295-4272-9138-f99709370657
2007-07-27Rockbox compiles and boots now on the 2nd gen, but doesn't work properly yet.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14021 a1c6a512-1295-4272-9138-f99709370657
2007-07-25Remove the hack which read the ipod hardware revision from flash in the ↵Dave Chapman
bootloader and passed it to Rockbox via a fixed address in SDRAM. Rockbox now remaps flash and so can just read the value itself. Also clean up the debug menu a little - only display the hw revision for ipods, and add the lcd_type variable to indicate the type of LCD (0 or 1) for ipod Color/Photo. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13986 a1c6a512-1295-4272-9138-f99709370657
2007-07-02Improved CPU clock setup for PP502x. PP5020 and PP5022 are not register ↵Jens Arnold
compatible here, so define the PP5022 targets properly, and introduce a CPU_PP502x macro for easier family check. Improves stability on PP5020 (less freezing, tested with Mini G1) and reduces clock change penalty (500us on PP5020; uses the relock bit on PP5022). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13763 a1c6a512-1295-4272-9138-f99709370657
2007-04-12Moved archos backlight code to target tree. Changed old mutlivalue ↵Jens Arnold
CONFIG_BACKLIGHT to a simple HAVE_BACKLIGHT. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13136 a1c6a512-1295-4272-9138-f99709370657
2007-04-11Moved SH1 system code to target tree. * First shot at hwcompat cleanup.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13114 a1c6a512-1295-4272-9138-f99709370657
2007-03-03Replace some inl/outl with register #define's instead. Also tidy up pp5020.h ↵Barry Wardell
so that it's in increasing address order. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12574 a1c6a512-1295-4272-9138-f99709370657
2007-02-25Moved ipod LCD code to target tree.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12479 a1c6a512-1295-4272-9138-f99709370657
2007-01-19iPod G3: Touching the wheel now resets the poweroff timer the same way as on ↵Jens Arnold
the other iPods. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12071 a1c6a512-1295-4272-9138-f99709370657
2007-01-18iPods: Touching the wheel now resets the poweroff timer, so the iPod no ↵Jens Arnold
longer shuts down unexpectedly while operating the wheel only, e.g. in the text viewer. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12068 a1c6a512-1295-4272-9138-f99709370657
2006-12-20Combine USB code for all PortalPlayer targets since they most likely all use ↵Barry Wardell
the same USB hardware. Add register defines for the USB hardware addresses, based off the Freescale i.MX31 datasheet. Use usb_init() from the iPod code, but modified to use the new register defines rather than oul/inl on the hardware addresses. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11823 a1c6a512-1295-4272-9138-f99709370657
2006-12-19Convert queues to use intptr_t for event data and return values as most of ↵Michael Sevakis
the time pointer are not passed and it should make some things a bit cleaner. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11818 a1c6a512-1295-4272-9138-f99709370657
2006-11-29Prevent the click of death when connecting an ipod to usb.Miika Pekkarinen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11622 a1c6a512-1295-4272-9138-f99709370657
2006-10-07Move iPod headphone detection into target tree (FS#6131 by Robert Keevil) ↵Daniel Ankers
and fix detection on 3G iPod git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11143 a1c6a512-1295-4272-9138-f99709370657
2006-10-05Move all iPod targets into the target tree. FS#5890Barry Wardell
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11129 a1c6a512-1295-4272-9138-f99709370657