Commit graph

114 commits

Author SHA1 Message Date
Marcoen Hirschberg
dd754886f5 update the gigabeat code and move to target_tree
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10535 a1c6a512-1295-4272-9138-f99709370657
2006-08-12 08:01:54 +00:00
Miika Pekkarinen
3b52bb9c68 Properly handle early USB mode, dircache and tagcache state files with
flashed rockbox.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10525 a1c6a512-1295-4272-9138-f99709370657
2006-08-11 10:13:16 +00:00
Miika Pekkarinen
954b732654 Initial support and use for EEPROM memory on H120 & H140 players when
Rockbox firmware has been flashed over original firmware (not yet
possible to do). Dircache & tagcache serialization for fast bootup
without the need to scan disk when Rockbox is in flash.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10464 a1c6a512-1295-4272-9138-f99709370657
2006-08-05 20:19:10 +00:00
Daniel Ankers
943ff8dc67 Implement frequency scaling on iPod 3Gs - FS #5686
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10313 a1c6a512-1295-4272-9138-f99709370657
2006-07-24 22:49:06 +00:00
Jens Arnold
0916540d06 Iriver: Faster ata timing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10129 a1c6a512-1295-4272-9138-f99709370657
2006-06-16 18:13:35 +00:00
Jens Arnold
977169ea7a H300: Rudimentary driver for the ISP1362 USB on-the-go controller. For now it just sends the chip to sleep, solving the poor battery runtime issue.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10128 a1c6a512-1295-4272-9138-f99709370657
2006-06-16 17:34:18 +00:00
Jens Arnold
b1feebeb2b Oops, correctly calculate the interrupt number in UIE().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9859 a1c6a512-1295-4272-9138-f99709370657
2006-05-02 07:36:39 +00:00
Jens Arnold
9e3da0d6d5 Fix red bootbox builds with gcc 4.x and -Os. Save a bit of code by not including the never called UIE0..UIE3.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9857 a1c6a512-1295-4272-9138-f99709370657
2006-05-01 22:15:36 +00:00
Jens Arnold
290801fe0b Ooops. Fix red bootbox builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9833 a1c6a512-1295-4272-9138-f99709370657
2006-04-29 13:18:40 +00:00
Jens Arnold
03cff5779b SH1: Moved exception vector table generation and weak aliasing into an asm block. Allows building with gcc 4.x
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9832 a1c6a512-1295-4272-9138-f99709370657
2006-04-29 12:42:55 +00:00
Jens Arnold
6e3fa1c467 Ooops.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9694 a1c6a512-1295-4272-9138-f99709370657
2006-04-16 23:37:48 +00:00
Jens Arnold
f2897e8180 H300: Optimised PCF50606 driver, significantly reduces CPU power drain from the button tick (with both main & remote buttons: 50%->13% at 11MHz, 12%->6% at 45MHz): * Delay is adapted to the current CPU clock, aiming at constant 400kHz i2c clock. * Reduced number of port accesses (accessing GPIO is very slow, especially with the atomic boolean instructions) by implementing an open-collector-like behaviour. * Time-critical functions implemented in assembler.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9693 a1c6a512-1295-4272-9138-f99709370657
2006-04-16 23:16:32 +00:00
Thom Johansen
8238b49c74 New crossfeed complete with no volume reducing bugs. Feedback on all the
new options is appreciated. Thanks to Dan Everton for the settings/GUI
code.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9609 a1c6a512-1295-4272-9138-f99709370657
2006-04-11 13:49:05 +00:00
Jens Arnold
bc26c89880 Coldfire: More appropriate condition for the refresh timings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9597 a1c6a512-1295-4272-9138-f99709370657
2006-04-10 20:33:35 +00:00
Dave Chapman
8204cd76a7 iPod: Enable dynamic CPU frequency changing on the 4G (both greyscale and colour) and the first generation mini
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9548 a1c6a512-1295-4272-9138-f99709370657
2006-04-07 12:16:27 +00:00
Jens Arnold
dc8de7ea3d iPod mini 2G: Use iPod 4G button driver instead of special minin 1G code. Buttons working now, rockbox no longer hangs at boot.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9364 a1c6a512-1295-4272-9138-f99709370657
2006-03-30 18:14:08 +00:00
Linus Nielsen Feltzing
e62152ddf9 Better sound quality on the iAudio X5 using the correct MCLK frequency
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9354 a1c6a512-1295-4272-9138-f99709370657
2006-03-30 10:01:04 +00:00
Linus Nielsen Feltzing
169cd33b37 iAudio: working PLL settings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9104 a1c6a512-1295-4272-9138-f99709370657
2006-03-18 21:29:17 +00:00
Thom Johansen
f18de23428 More sane define checking. To disable cpu boosting on ipods, just
commenting out the HAVE_ADJUSTABLE_CPU_FREQ line in the
config-ipodxxxx.h file will work now.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9077 a1c6a512-1295-4272-9138-f99709370657
2006-03-17 14:27:09 +00:00
Thom Johansen
4fead08e7b We need to allow set_cpu_frequency in the bootloader for adjustable CPU
freq targets. Fixes red build.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9074 a1c6a512-1295-4272-9138-f99709370657
2006-03-17 02:44:55 +00:00
Thom Johansen
176b38f548 Remove tabs...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9073 a1c6a512-1295-4272-9138-f99709370657
2006-03-17 02:13:49 +00:00
Thom Johansen
f6e856774c CPU boosting support for ipod nano and video. The rest of the targets
are either untested or do not work with the current code.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9070 a1c6a512-1295-4272-9138-f99709370657
2006-03-17 02:02:13 +00:00
Thom Johansen
fa60e306d1 Remove tabs...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9068 a1c6a512-1295-4272-9138-f99709370657
2006-03-17 00:18:22 +00:00
Thom Johansen
46de4c21fe Add timer.c module support for ipods. Remove uneeded SIMULATOR check.
Introduce TIMER_FREQ define.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9067 a1c6a512-1295-4272-9138-f99709370657
2006-03-17 00:08:39 +00:00
Dave Chapman
285079138b Patch #3060 from Andrew Scott - iPod mini button driver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8857 a1c6a512-1295-4272-9138-f99709370657
2006-02-27 12:35:05 +00:00
Dave Chapman
2f76763d73 iPod 3G - initial (completely untested) attempt at audio support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8847 a1c6a512-1295-4272-9138-f99709370657
2006-02-26 15:59:46 +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
Dave Chapman
987879b958 Further iPod 3G work from Seven Le Mesle
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8583 a1c6a512-1295-4272-9138-f99709370657
2006-02-05 17:34:49 +00:00
Tomasz Malesinski
507120c1b3 Added empty fiq routine for iFP.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8555 a1c6a512-1295-4272-9138-f99709370657
2006-02-03 23:26:14 +00:00
Dave Chapman
1446b210eb Oops - fix red iPod bootloader build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8501 a1c6a512-1295-4272-9138-f99709370657
2006-01-31 09:40:21 +00:00
Dave Chapman
f9dac40cf3 iPod: Fix the detection of lcd type for the iPod Photo - this should fix problems with that LCD. Affected users also need to install a new bootloader - available from the iPod Installation wiki page.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8499 a1c6a512-1295-4272-9138-f99709370657
2006-01-31 01:50:07 +00:00
Tomasz Malesinski
27c616fd46 made UIE for iPod common to all ARM targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8441 a1c6a512-1295-4272-9138-f99709370657
2006-01-24 23:32:16 +00:00
Thom Johansen
22e6c02f8e Removed PP5020_ prefix from register defines and added/renamed some
defines.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8438 a1c6a512-1295-4272-9138-f99709370657
2006-01-24 22:31:57 +00:00
Thom Johansen
127c3febc1 UIE handler for ARM/iPod. Currently does not support interrupts. Will
probably also work for other ARM based targets, like iFP.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8388 a1c6a512-1295-4272-9138-f99709370657
2006-01-19 15:03:34 +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
Dave Chapman
cb7e695ef9 iPod: Fix the bootloader so it can load and run the original Apple firmware again. The Rockbox firmware was doing too much to the hardware so we remove most of the initialisation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8301 a1c6a512-1295-4272-9138-f99709370657
2006-01-05 17:02:48 +00:00
Dave Chapman
2a7bd9fb7b New target - iPod Video.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8261 a1c6a512-1295-4272-9138-f99709370657
2005-12-18 13:04:00 +00:00
Thom Johansen
5cc7347463 Raise iPod CPU frequency and enable cache and add function needed for button driver.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8257 a1c6a512-1295-4272-9138-f99709370657
2005-12-17 19:11:43 +00:00
Thom Johansen
8bf079ffc1 Button and click wheel driver for iPod 4g and Nano.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8256 a1c6a512-1295-4272-9138-f99709370657
2005-12-17 19:08:55 +00:00
Thom Johansen
544b03cf9a Add interrupt handler for iPod. Add timer tick support. Remove temporary thread sleep solution. Remove temporary iPod current_tick solution.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8224 a1c6a512-1295-4272-9138-f99709370657
2005-12-12 13:53:22 +00:00
Linus Nielsen Feltzing
8e44d4bdc7 H300 max CPU frequency is now back to 124MHz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8208 a1c6a512-1295-4272-9138-f99709370657
2005-12-09 00:42:06 +00:00
Linus Nielsen Feltzing
ddef7ee171 Temporarily set the max CPU frequency to 90MHz on the H300
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8077 a1c6a512-1295-4272-9138-f99709370657
2005-11-27 01:12:16 +00:00
Dave Chapman
a3bf2ec61c More iPod changes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7825 a1c6a512-1295-4272-9138-f99709370657
2005-11-12 15:29:43 +00:00
Dave Chapman
d31a32c501 iPod: Code cleanup - the bootloader now compiles with zero warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7812 a1c6a512-1295-4272-9138-f99709370657
2005-11-11 17:51:35 +00:00
Jens Arnold
0b00108c3e SH1: Changed UIE() to use the same reset method as on coldfire, using the watchdog timer. Should be more reliable this way. Disabled LED handling and added reboot-with-on for Ondio. * All: #ifdef cleanup in panicf(), added reboot-with-on for Ondio.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7799 a1c6a512-1295-4272-9138-f99709370657
2005-11-09 00:54:43 +00:00
Dave Chapman
77372d1218 Initial commit of work-in-progress iPod port
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7781 a1c6a512-1295-4272-9138-f99709370657
2005-11-07 23:07:19 +00:00
Jens Arnold
747be871ba System reboot from UIE() now works in all cases, even from a debug interrupt (memory guard).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7756 a1c6a512-1295-4272-9138-f99709370657
2005-11-05 11:34:57 +00:00
Jens Arnold
8b88928dd3 Coldfire: The memory guard configuration routine didn't correctly return the old mode when setting a new one.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7744 a1c6a512-1295-4272-9138-f99709370657
2005-11-03 20:34:34 +00:00
Jens Arnold
8f71973918 Coldfire: Properly handle the SDRAM refresh timing on CPU frequency changes. For >= 92 MHz operation, tRC needs to be 6 clocks, otherwise 3 clocks are sufficient.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7743 a1c6a512-1295-4272-9138-f99709370657
2005-11-03 20:01:58 +00:00
Jens Arnold
c56069f01a Removed unused variable.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7630 a1c6a512-1295-4272-9138-f99709370657
2005-10-14 06:01:37 +00:00