Commit graph

2714 commits

Author SHA1 Message Date
Linus Nielsen Feltzing
531bdf6925 iAudio: Removed duplicate register definitions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8336 a1c6a512-1295-4272-9138-f99709370657
2006-01-11 15:37:56 +00:00
Linus Nielsen Feltzing
e5f129728e Enable the EXTON and CHG wakeup again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8334 a1c6a512-1295-4272-9138-f99709370657
2006-01-11 15:36:20 +00:00
Linus Nielsen Feltzing
cb01be69a6 H300: set KEEP_ACT before initializing the data sections, otherwise the PCF50606 will time out and power off
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8333 a1c6a512-1295-4272-9138-f99709370657
2006-01-11 15:35:34 +00:00
Linus Nielsen Feltzing
08e06110dc Reverted the wakeup/debounce PCF50606 settings for now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8329 a1c6a512-1295-4272-9138-f99709370657
2006-01-11 00:49:54 +00:00
Linus Nielsen Feltzing
54da924e43 H300: Bootloader USB mode detection on EXTON wakeup
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8326 a1c6a512-1295-4272-9138-f99709370657
2006-01-10 23:11:57 +00:00
Hristo Kovachev
9cf5270f10 Don't init the lcd twice - once on lcd_init_device and the other one on first call of lcd_enable() (an old, known bug).
Linus, please check whether lcd_enable(true) is still required for the h300 bootloader (lcd_init() calls lcd_init_device())


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8317 a1c6a512-1295-4272-9138-f99709370657
2006-01-09 16:11:19 +00:00
Magnus Holmgren
e8b1787296 Discard some LAME header fields if the file length has changed since the header was written. Fixes some NPR podcasts.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8307 a1c6a512-1295-4272-9138-f99709370657
2006-01-08 08:58:58 +00:00
Dave Chapman
b82c441f29 iPod: Add USB detection. When inserting the USB cable, hold down MENU to charge via USB, otherwise Rockbox will reboot into the Disk Mode application stored in flash
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8303 a1c6a512-1295-4272-9138-f99709370657
2006-01-07 00:43:48 +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
Linus Nielsen Feltzing
4d03a466d2 iaudio: proper tlv320 prototypes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8297 a1c6a512-1295-4272-9138-f99709370657
2006-01-03 02:14:10 +00:00
Linus Nielsen Feltzing
bd2f678b70 Patch #1392287 by Brandon Low - faster LCD update for H300 with ASM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8293 a1c6a512-1295-4272-9138-f99709370657
2005-12-28 22:49:22 +00:00
Miika Pekkarinen
64fe299d70 Don't put S/PDIF out of sync when audio is being paused.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8289 a1c6a512-1295-4272-9138-f99709370657
2005-12-27 18:00:45 +00:00
Miika Pekkarinen
482a242792 Committed the pre-recording patch for iriver (#1387531 by Peter D'Hoye).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8287 a1c6a512-1295-4272-9138-f99709370657
2005-12-23 21:43:05 +00:00
Linus Nielsen Feltzing
e57471a1be H300: RTC support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8284 a1c6a512-1295-4272-9138-f99709370657
2005-12-22 23:48:32 +00:00
Magnus Holmgren
917f2c1804 Simulator fixes: id3 string pointers can be null.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8282 a1c6a512-1295-4272-9138-f99709370657
2005-12-22 21:42:00 +00:00
Hristo Kovachev
b1a230353e Oops:) Make the brightness setting purely numerical
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8281 a1c6a512-1295-4272-9138-f99709370657
2005-12-22 13:31:14 +00:00
Hristo Kovachev
9b83c6c4bd Patch No 1387627 by Peter D'Hoye: Backlight Brightness setting for H300
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8280 a1c6a512-1295-4272-9138-f99709370657
2005-12-22 10:43:36 +00:00
Linus Nielsen Feltzing
9d67765cae Reverted the H300 LCD DMA patch, since it iterfered with the recording DMA
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8279 a1c6a512-1295-4272-9138-f99709370657
2005-12-22 09:33:39 +00:00
Dave Chapman
bd544b6c20 iPod: Enable HAVE_SW_POWEROFF define and map power-off to a very long press on PLAY
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8278 a1c6a512-1295-4272-9138-f99709370657
2005-12-22 09:27:23 +00:00
Thom Johansen
2e55f1c9b0 Button driver would insert erronous events when wheel position overflowed, this fixes it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8277 a1c6a512-1295-4272-9138-f99709370657
2005-12-22 00:01:36 +00:00
Dave Chapman
f9295a6a65 Remove unused variables
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8276 a1c6a512-1295-4272-9138-f99709370657
2005-12-21 23:47:43 +00:00
Dave Chapman
4ba9eac894 Put the ipod into standby mode on shutdown. This is untested on the 5g, but should work...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8275 a1c6a512-1295-4272-9138-f99709370657
2005-12-21 23:32:19 +00:00
Linus Nielsen Feltzing
c70eb572c1 H300: Roughly 20% faster LCD updates with DMA
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8271 a1c6a512-1295-4272-9138-f99709370657
2005-12-21 00:52:02 +00:00
Linus Nielsen Feltzing
67f00224fb patch #1385256 by Hristo Kovachev - Turn off H300 LCD while backlight is off
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8268 a1c6a512-1295-4272-9138-f99709370657
2005-12-20 23:15:27 +00:00
Dave Chapman
da75d2d603 Oops. Reverse unintentional commit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8265 a1c6a512-1295-4272-9138-f99709370657
2005-12-19 14:38:59 +00:00
Dave Chapman
c3f9d0063f Correctly attribute Bernard Leach as the (C) holder for code taken from ipodlinux.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8264 a1c6a512-1295-4272-9138-f99709370657
2005-12-19 14:30:52 +00:00
Dave Chapman
0dc63c1b71 Remove IPOD_NANO_PAD definition - the Nano's keypad has turned out to be identical to the other 4G models
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8262 a1c6a512-1295-4272-9138-f99709370657
2005-12-19 00:11:28 +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
Jens Arnold
a601fb8d19 More compact & straight-forward headbytes handling.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8255 a1c6a512-1295-4272-9138-f99709370657
2005-12-17 12:17:11 +00:00
Jens Arnold
69f1870324 Fix red H300 simulator builds. The proper fix would be to simulate recording as well, also for H1x0. Probably just some function stubs are necessary.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8254 a1c6a512-1295-4272-9138-f99709370657
2005-12-17 11:15:32 +00:00
Linus Nielsen Feltzing
105e9b9edf Some UDA1380 definition corrections by Peter D'Hoye
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8253 a1c6a512-1295-4272-9138-f99709370657
2005-12-17 11:01:51 +00:00
Linus Nielsen Feltzing
7da0c40f4b Patch #1382969 by Peter D'Hoye - recording for H300
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8252 a1c6a512-1295-4272-9138-f99709370657
2005-12-17 10:13:29 +00:00
Miika Pekkarinen
a6a0c4b2d5 Now the file corruption bug when reading & writing the same file is
hopefully fully fixed.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8251 a1c6a512-1295-4272-9138-f99709370657
2005-12-16 20:44:41 +00:00
Dave Chapman
fa51eb4ee8 iPod: Correctly disable playback so we can test codec speeds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8250 a1c6a512-1295-4272-9138-f99709370657
2005-12-16 11:42:39 +00:00
Dave Chapman
149f5bbd2f Squash compiler warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8249 a1c6a512-1295-4272-9138-f99709370657
2005-12-16 11:18:04 +00:00
Dave Chapman
a472ed5114 iPod - Initial skeleton of an audio driver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8248 a1c6a512-1295-4272-9138-f99709370657
2005-12-16 11:00:44 +00:00
Linus Nielsen Feltzing
9ceb311328 Enabled the virtual ATA LED on the H300
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8241 a1c6a512-1295-4272-9138-f99709370657
2005-12-15 10:07:19 +00:00
Linus Nielsen Feltzing
a4b15a4f1f H300 FM radio support, with help from Peter D'Hoye
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8237 a1c6a512-1295-4272-9138-f99709370657
2005-12-15 01:11:19 +00:00
Miika Pekkarinen
d9dcb0fbcf Fixed a file system driver caching bug corrupting files on certain situations
(when reading and writing the same file).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8231 a1c6a512-1295-4272-9138-f99709370657
2005-12-13 16:11:00 +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
Thom Johansen
07a2ad2a22 Basic exceptions support for iPod and ARM targets. SDRAM for iPod targets remapped to base address 0 to facilitate. Changed some crt0.S #ifdefs to allow for code resuse on other ARM targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8223 a1c6a512-1295-4272-9138-f99709370657
2005-12-12 13:21:08 +00:00
Thom Johansen
40729e902b Added some symbolic names for control registers for PP5020 chipset.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8222 a1c6a512-1295-4272-9138-f99709370657
2005-12-11 22:21:10 +00:00
Dave Chapman
e066a20b67 iPod: Cleanup of i2c code and addition of RTC driver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8219 a1c6a512-1295-4272-9138-f99709370657
2005-12-11 10:52:17 +00:00
Dave Chapman
790b365595 Reworking of Archos RTC code to create a (slightly) more abstract RTC api
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8216 a1c6a512-1295-4272-9138-f99709370657
2005-12-11 00:47:40 +00:00
Linus Nielsen Feltzing
6ddfac0806 Patch #1377879 by Anders Kagerin - faster lcd_update_rect() for h300
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8215 a1c6a512-1295-4272-9138-f99709370657
2005-12-11 00:30:15 +00:00
Thom Johansen
27cd6ca152 Make threading code for iPod compile on all ARM CPUs, comment out sleep loop until we have iPod interrupts.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8214 a1c6a512-1295-4272-9138-f99709370657
2005-12-10 19:51:56 +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
a4ef8e0a6f PCF50606 I2C timing is now more on spec
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8207 a1c6a512-1295-4272-9138-f99709370657
2005-12-09 00:40:51 +00:00