Barry Wardell
82cdc6914d
Recent fix "Prevent the click of death when connecting an ipod to usb." is useful for the H10 also.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11660 a1c6a512-1295-4272-9138-f99709370657
2006-12-05 01:22:05 +00:00
Jens Arnold
31ffd7b154
Completed target tree move of the ata driver code. Some code cleanup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11655 a1c6a512-1295-4272-9138-f99709370657
2006-12-03 22:13:44 +00:00
Miika Pekkarinen
077ed4925e
Prevent the click of death when connecting an ipod to usb.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11622 a1c6a512-1295-4272-9138-f99709370657
2006-11-29 12:17:26 +00:00
Daniel Ankers
844d22f277
Allow GPIO debug screen on Sansa. Also remove a warning from the NAND driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11593 a1c6a512-1295-4272-9138-f99709370657
2006-11-25 15:57:07 +00:00
Daniel Ankers
8033628b46
Remove some development code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11591 a1c6a512-1295-4272-9138-f99709370657
2006-11-25 13:31:53 +00:00
Daniel Ankers
0b556b8f7b
ATA callback support for Sansa
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11590 a1c6a512-1295-4272-9138-f99709370657
2006-11-25 13:04:50 +00:00
Daniel Ankers
64cccb0f80
Detect USB inserted on Sansa
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11585 a1c6a512-1295-4272-9138-f99709370657
2006-11-24 20:41:15 +00:00
Daniel Ankers
43e2c01065
Sansa doesn't use a Wolfson codec. Various other changes to allow Sansa to compile correctly with a normal build. Based on FS#6336 by Pavel Gnelitsa
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11570 a1c6a512-1295-4272-9138-f99709370657
2006-11-22 00:49:16 +00:00
Daniel Ankers
336cb6898e
Add several dummy functions to allow Sansa to build correctly
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11568 a1c6a512-1295-4272-9138-f99709370657
2006-11-22 00:30:24 +00:00
Daniel Ankers
e7b025ba10
Initial NAND driver for Sansa. This has had limited testing, and no testing on 6 or 8Gb models
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11567 a1c6a512-1295-4272-9138-f99709370657
2006-11-21 22:55:39 +00:00
Jens Arnold
6bdf3ee6f2
Split 1 bit LCD code and move appropriate parts to target tree. Only archos code is tested.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11517 a1c6a512-1295-4272-9138-f99709370657
2006-11-12 13:22:59 +00:00
Barry Wardell
8d2711b7d2
Improved power management (FS#3001). Shutdown rockbox when the battery gets to a level where the device doesn't function properly. Calculate remaining charging time while charging (rather than remaining running time). Show "Low Battery" and "Battery Empty" warnings. Also fixes FS#4786.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11507 a1c6a512-1295-4272-9138-f99709370657
2006-11-11 01:18:57 +00:00
Tomasz Malesinski
29d8b917a8
Forgot to add new files for iFP move to target tree.
...
Fixed conifg-ifp7xx.h so that the simulator works.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11494 a1c6a512-1295-4272-9138-f99709370657
2006-11-10 07:43:36 +00:00
Marcoen Hirschberg
f9c8a891af
put back the PP5002 specific ATA code that got lost during the ipod target tree move
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11467 a1c6a512-1295-4272-9138-f99709370657
2006-11-08 12:34:21 +00:00
Marcoen Hirschberg
bce255d98b
implement the gigabeat backlight driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11434 a1c6a512-1295-4272-9138-f99709370657
2006-11-05 07:54:08 +00:00
Marcoen Hirschberg
6c3c5fb188
cleanup ata.c a bit by moving portalplayer defines to target_tree and removing unused portalplayer and gigabeat code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11365 a1c6a512-1295-4272-9138-f99709370657
2006-10-27 11:56:17 +00:00
Daniel Stenberg
77c915ad61
Renamed the ipod_i2c functions to the more appropriate pp_i2c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11361 a1c6a512-1295-4272-9138-f99709370657
2006-10-27 11:24:23 +00:00
Daniel Stenberg
522ae6e39a
kill two gigabeat warnings
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11359 a1c6a512-1295-4272-9138-f99709370657
2006-10-27 10:51:34 +00:00
Marcoen Hirschberg
1d7ebdfe26
generalise the wolfson codec code a bit
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11277 a1c6a512-1295-4272-9138-f99709370657
2006-10-20 17:12:42 +00:00
Daniel Ankers
d8ef7c58d8
Big Sansa update: Go back to using the common crt0-pp.S. Add LCD driver. Add ADC driver (may not be needed). Fix a bug in the button driver.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11237 a1c6a512-1295-4272-9138-f99709370657
2006-10-16 17:21:36 +00:00
Daniel Ankers
634f1d6b59
Fix a stupid bug (thanks to Frieder Ferlemann.) Get rid of MS-DOS line endings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11230 a1c6a512-1295-4272-9138-f99709370657
2006-10-16 00:18:49 +00:00
Daniel Ankers
8aed608bb1
Untested first attempt at a Sansa button driver. Based on work by MrH
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11220 a1c6a512-1295-4272-9138-f99709370657
2006-10-14 12:16:29 +00:00
Daniel Ankers
d282e14d33
Untested first attempt at a Sansa button driver. Based on work by MrH
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11219 a1c6a512-1295-4272-9138-f99709370657
2006-10-14 12:14:23 +00:00
Daniel Ankers
6a4ec1414d
Oops: Sansa and H10 need crt0 included in the bootloader
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11190 a1c6a512-1295-4272-9138-f99709370657
2006-10-11 17:47:32 +00:00
Daniel Ankers
5c6f32af95
Move iPod headphone detection into target tree (FS#6131 by Robert Keevil) and fix detection on 3G iPod
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11143 a1c6a512-1295-4272-9138-f99709370657
2006-10-07 12:19:34 +00:00
Barry Wardell
d4945dc0d0
Move all iPod targets into the target tree. FS#5890
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11129 a1c6a512-1295-4272-9138-f99709370657
2006-10-05 10:58:51 +00:00
Barry Wardell
c6ebfcce2c
Enable ATA poweroff option on H10 for a nice increase in battery life.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11107 a1c6a512-1295-4272-9138-f99709370657
2006-10-02 16:19:36 +00:00
Barry Wardell
b692fb11b3
Add support for H10 remote. Remote buttons have the same keymappings as their counterparts on the H10 itself, with vol-/vol+ being the same as scroll up/down.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11093 a1c6a512-1295-4272-9138-f99709370657
2006-09-29 15:59:08 +00:00
Marcoen Hirschberg
8e1e6f9b29
add the I2C driver for the Gigabeat
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11090 a1c6a512-1295-4272-9138-f99709370657
2006-09-29 10:54:01 +00:00
Marcoen Hirschberg
3496689c8e
add the ADC driver for the Gigabeat
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11089 a1c6a512-1295-4272-9138-f99709370657
2006-09-29 10:52:34 +00:00
Barry Wardell
03aa9c9fea
Apply Mike Sevakis' recent sleep/contrast fixes for the X5 LCD driver to the H10 20GB LCD driver. With this fix, sleeping the LCD on the H10 20GB now works as it should so enable it as an option to save extra battery.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11085 a1c6a512-1295-4272-9138-f99709370657
2006-09-28 12:06:56 +00:00
Barry Wardell
979c23a715
Fix "Upside down" behaviour on H10. We need to flip horizontally as well as vertically and also need to flip the scroll pad up/down.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11049 a1c6a512-1295-4272-9138-f99709370657
2006-09-25 18:45:03 +00:00
Barry Wardell
5a79b4e015
Add ADC to I/O ports debug menu on H10. Fix battery level reading empty when starting up on H10. Calibrated battery for H10 20GB.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11036 a1c6a512-1295-4272-9138-f99709370657
2006-09-23 17:47:54 +00:00
Barry Wardell
e63e62b2a1
Detect charger connected on H10. No need to sleep(HZ) when powering off.
...
More sensible USB support for H10: plugging in puts it into USB charging mode and leaves Rockbox usable, holding 'O' while pluggin in the USB cable will reboot the H10 (continuing to hold 'O' starts it up in UMS mode), holding any other button brings up the USB screen as previously.
Implement system_reboot() for all PP5020 devices.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11015 a1c6a512-1295-4272-9138-f99709370657
2006-09-20 23:21:59 +00:00
Barry Wardell
0b1ae73d3a
Fix behaviour of "Backlight (On Hold Key)" for H10. Make sure button GPIO ports are enabled on H10.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10943 a1c6a512-1295-4272-9138-f99709370657
2006-09-13 23:38:16 +00:00
Barry Wardell
8ccedc98da
Fix H10 bootloader build error introduced in last commit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10920 a1c6a512-1295-4272-9138-f99709370657
2006-09-10 17:59:59 +00:00
Barry Wardell
2937c504bb
Make "Backlight (On hold key)" option work.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10919 a1c6a512-1295-4272-9138-f99709370657
2006-09-10 13:18:33 +00:00
Barry Wardell
24ca76ffec
H10 fixes: Split LCD driver up into two drivers, one for each LCD type. Improvements to 20GB LCD driver - support for enable/disable, contrast adjustment, make the update code clearer and ~4% faster, support for flipping, support for invert. Fix CPU frequency for both models. Fix default battery capacity for 5/6GB.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10910 a1c6a512-1295-4272-9138-f99709370657
2006-09-09 19:02:18 +00:00
Thom Johansen
7d7b704ee2
Fix erronous label and replace mov with bx.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10901 a1c6a512-1295-4272-9138-f99709370657
2006-09-07 00:35:07 +00:00
Jens Arnold
9d2f7b5c6d
Assembler optimised memset16() for ARM, by Thom Johansen. Should speed up LCD clearing and solid rectangle drawing on colour iPods somewhat.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10900 a1c6a512-1295-4272-9138-f99709370657
2006-09-07 00:16:04 +00:00
Barry Wardell
9b1dd444b0
Fix display bugs with H10 LCDs (both 20GB and 5/6GB models). The 20GB LCD is actually a 128x160 LCD rotated 90 degrees, so we need to take account of this. The 5/6GB LCD is not rotated by 90 degrees but was treated as if it was (FS #5925 , patch thanks to Thilo-Alexander Ginkel)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10886 a1c6a512-1295-4272-9138-f99709370657
2006-09-04 23:10:27 +00:00
Barry Wardell
a27c1833aa
Basic support for the H10 scrollpad.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10882 a1c6a512-1295-4272-9138-f99709370657
2006-09-04 20:09:17 +00:00
Barry Wardell
e7a9ec4d13
Add backlight support for H10
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10848 a1c6a512-1295-4272-9138-f99709370657
2006-09-01 17:58:47 +00:00
Daniel Ankers
41997d3d89
Clean up crt0.S and move it to the target tree
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10830 a1c6a512-1295-4272-9138-f99709370657
2006-08-31 19:45:05 +00:00
Dave Chapman
657dcb5165
Initial commit of work for port to the Tatung Elio TPJ-1022 - yet another PortalPlayer PP5020 target.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10828 a1c6a512-1295-4272-9138-f99709370657
2006-08-31 19:19:35 +00:00
Barry Wardell
3d10a810ed
H10 changes: power_off() now actually powers off. Fix wrong bitwise operation when disabling sound. Fix filenames when building a bootloader.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10822 a1c6a512-1295-4272-9138-f99709370657
2006-08-31 09:59:35 +00:00
Barry Wardell
a396d7e742
Make LCD writing functions inline for ~33% performance increase. Add lcd_yuv_blit implementation.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10818 a1c6a512-1295-4272-9138-f99709370657
2006-08-31 01:27:54 +00:00
Daniel Stenberg
17e379bf49
added to allow the sansa bootloader to build again
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10795 a1c6a512-1295-4272-9138-f99709370657
2006-08-29 14:57:45 +00:00
Barry Wardell
d9199d10b1
Remove sleep() from adc_scan(). It causes Rockbox to hang and isn't necessary anyway.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10783 a1c6a512-1295-4272-9138-f99709370657
2006-08-28 10:39:24 +00:00
Barry Wardell
8269541370
Fixed silly bugs in H10 button driver.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10759 a1c6a512-1295-4272-9138-f99709370657
2006-08-26 15:48:17 +00:00