Commit graph

5557 commits

Author SHA1 Message Date
Maurus Cuelenaere
9407ae838e Onda VX747:
* Button driver rework
 * Backlight driver rework
 * LCD driver rework


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18543 a1c6a512-1295-4272-9138-f99709370657
2008-09-17 21:44:47 +00:00
Jens Arnold
3655a32a3e Further MMC driver touchup: * Save a tiny amount of power by not enabling the internal flash clock when accessing the MMC. * R2W factors > 32 are valid in newer MMC specs, so don't limit to 32 anymore. * Revise the port setup, and only do the basic setup once.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18541 a1c6a512-1295-4272-9138-f99709370657
2008-09-17 18:53:11 +00:00
Frank Gevaerts
d29faf07a3 set svn properties
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18540 a1c6a512-1295-4272-9138-f99709370657
2008-09-17 18:50:34 +00:00
Frank Gevaerts
0a584fb06c annotate init sequence
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18539 a1c6a512-1295-4272-9138-f99709370657
2008-09-17 18:50:18 +00:00
Jens Arnold
cf978b9fa3 Fix wrong #endif placement.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18534 a1c6a512-1295-4272-9138-f99709370657
2008-09-16 21:59:01 +00:00
Jens Arnold
3a2bc2a617 Make Ondio builds without multivolume and hotswap support compile again (only relevant for testing purposes).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18533 a1c6a512-1295-4272-9138-f99709370657
2008-09-16 17:42:36 +00:00
Frank Gevaerts
66045bca7d add s6d0154 register definitions, and flesh out lcd_init_device()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18532 a1c6a512-1295-4272-9138-f99709370657
2008-09-16 17:38:33 +00:00
Frank Gevaerts
c0e898ae29 Now reads the LCD controller ID succesfully and flashes it using the backlight
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18531 a1c6a512-1295-4272-9138-f99709370657
2008-09-16 16:51:25 +00:00
Frank Gevaerts
95bc9fd596 fix off-by-one error when reading spi data
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18530 a1c6a512-1295-4272-9138-f99709370657
2008-09-16 16:47:13 +00:00
Rob Purchase
1a08f46329 Commit fs#9404 (iAudio 7 updates by vitja). Also fixes play/pause behaviour on D2.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18528 a1c6a512-1295-4272-9138-f99709370657
2008-09-16 08:09:44 +00:00
Jens Arnold
e42a7373f6 Fix error handling in multiple block read and multiple block write state. When an error occurs, the host still needs to send CMD_STOP_TRANSMISSION resp. the STOP_TRAN token.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18524 a1c6a512-1295-4272-9138-f99709370657
2008-09-15 21:10:08 +00:00
Bertrik Sikken
1a904eb1eb Revert v18522 for firmware/backlight.c, it breaks a couple of bootloaders
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18523 a1c6a512-1295-4272-9138-f99709370657
2008-09-15 20:01:07 +00:00
Bertrik Sikken
f13184e472 Fix some more #includes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18522 a1c6a512-1295-4272-9138-f99709370657
2008-09-15 19:50:55 +00:00
Frank Gevaerts
816eea85de use bitwise operators to manipulate bits
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18521 a1c6a512-1295-4272-9138-f99709370657
2008-09-15 18:48:11 +00:00
Jens Arnold
36e311f68b Implement chasing bitswap for reading. Speeds up reading single 512-byte blocks by 15..20%. * Restructure the write buffer handling a bit, making it more readable and a bit smaller. Also fixes an old corner case bug: writing data from address 0x0 (archos boot ROM dump) would have written wrong data.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18516 a1c6a512-1295-4272-9138-f99709370657
2008-09-14 23:38:31 +00:00
Jens Arnold
b1a584a1b6 Simplify & fix the MMC driver. After more than 3 years I found that the MMC specs were a bit misleading, and the 'large' MMC which state a block size of 1024 or 2048 bytes and no partial read and/or partial write capability are happily accepting a block size of 512 bytes. So go KISS and remove all the variable/partial block handling code. This fixes the driver for the Transcend 4GB MMCplus, which doesn't cope when we actually set the 2048 byte block size it states. It also makes write operations involving small blocks faster and more reliable. * Note: The 4GB Transcend still doesn't work when plugged at boot, but works when hotplugged.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18515 a1c6a512-1295-4272-9138-f99709370657
2008-09-14 20:33:24 +00:00
Maurus Cuelenaere
ebe652b51a Forgot this..
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18513 a1c6a512-1295-4272-9138-f99709370657
2008-09-14 16:28:35 +00:00
Maurus Cuelenaere
1e294e3f25 Onda VX747:
* Get rid of bug when interrupts are enabled
 * Get threading to work (although with some weirdness)
 * Other fixes/optimizations


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18512 a1c6a512-1295-4272-9138-f99709370657
2008-09-14 16:26:08 +00:00
Jens Arnold
6938083e4f iPod Video: Fix playback after recording (FS #7402). Implement recording gain adjustment. * Enable timeout for zero-crossing detection (SLOWCLK), avoids hanging volume/ gain due to DC offsets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18509 a1c6a512-1295-4272-9138-f99709370657
2008-09-13 19:34:16 +00:00
Bertrik Sikken
56e2764116 Make local function static and add missing #includes for Archos player
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18505 a1c6a512-1295-4272-9138-f99709370657
2008-09-12 21:11:06 +00:00
Bertrik Sikken
05707cc570 Make local function static in mp3_playback.c and match usb_init_device prototype to implementation for Archos recorder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18504 a1c6a512-1295-4272-9138-f99709370657
2008-09-12 20:57:19 +00:00
Maurus Cuelenaere
69ec3bfdbe Get basic NAND driver working on Onda targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18499 a1c6a512-1295-4272-9138-f99709370657
2008-09-12 00:07:55 +00:00
Frank Gevaerts
1898ff753f * move qt1106 specific things to their own files
* use CHANGE pin


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18496 a1c6a512-1295-4272-9138-f99709370657
2008-09-11 18:18:40 +00:00
Karl Kurbjun
b8a7a373f2 Fix the Gigabeat F/X bootloader and add some code from Barry Wardell that was accidentally removed a while ago. Some of these changes are also more work towards getting the bootloader working from flash; it works but the player will not shutdown fully. About 16 mA are still drawn after calling the rom_shutdown routine. If anyone has some insight why I would be very interested.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18492 a1c6a512-1295-4272-9138-f99709370657
2008-09-11 01:34:52 +00:00
Jens Arnold
3656382f7d iPod G4, Color/Photo and Nano audio driver rework: Fix playback after recording (FS #7402). Implement recording gain adjustment. * Fix slightly off Bass/Treble scale.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18490 a1c6a512-1295-4272-9138-f99709370657
2008-09-10 23:50:26 +00:00
Maurus Cuelenaere
2b64418a17 More VX767 work...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18489 a1c6a512-1295-4272-9138-f99709370657
2008-09-10 22:02:36 +00:00
Bertrik Sikken
37a384c541 Minor missing #include and static function fixes for mrobe
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18487 a1c6a512-1295-4272-9138-f99709370657
2008-09-10 20:14:22 +00:00
Maurus Cuelenaere
1cf8331d7a Hopefully fix LCD problems
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18485 a1c6a512-1295-4272-9138-f99709370657
2008-09-10 19:59:52 +00:00
Frank Gevaerts
3637ef9b32 First reading out of the touchpad!
disabled power handling for now, so the device will power off when unplugged again (because there is no other poweroff method provided)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18480 a1c6a512-1295-4272-9138-f99709370657
2008-09-10 19:08:46 +00:00
Bertrik Sikken
5a0c3ec9e2 Some header file / static function fixes for creative zvm
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18479 a1c6a512-1295-4272-9138-f99709370657
2008-09-10 19:03:49 +00:00
Jens Arnold
7f71041031 Fix deemphasis control bit position.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18478 a1c6a512-1295-4272-9138-f99709370657
2008-09-09 21:49:28 +00:00
Maurus Cuelenaere
ce2ab4b44d Get rid of static buffer and use buffer_alloc() instead
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18450 a1c6a512-1295-4272-9138-f99709370657
2008-09-08 11:10:33 +00:00
Rob Purchase
e682143af5 Telechips NAND: split out a couple of small functions to help readability, and add a note about LPT blocks. No functional changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18440 a1c6a512-1295-4272-9138-f99709370657
2008-09-07 19:44:23 +00:00
Jens Arnold
b6058de5f9 Remove leftover cruft.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18439 a1c6a512-1295-4272-9138-f99709370657
2008-09-07 18:00:00 +00:00
Maurus Cuelenaere
23fc923bde ZVM:
* Optimize MiniFS handling
 * Add basic CFS handling (doesn't work yet)
 * Remove hacky stuff in disk.c


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18438 a1c6a512-1295-4272-9138-f99709370657
2008-09-07 17:24:14 +00:00
Dave Chapman
d462a64a91 Initial commit of iaudio 7 port by Vitja Makarov (FS#9245). Port is at quite an advanced stage, but is troubled by the lack of a reliable NAND driver (similar to the Cowon D2 port) and is not yet suitable for non-developers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18435 a1c6a512-1295-4272-9138-f99709370657
2008-09-06 17:50:59 +00:00
Maurus Cuelenaere
e144638167 Add Onda VX767 target
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18422 a1c6a512-1295-4272-9138-f99709370657
2008-09-05 15:09:40 +00:00
Maurus Cuelenaere
16c9b16ec2 WPS editor:
* Fix some typo's in TODO & README
 * Fix libwps Makefile in Windows


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18408 a1c6a512-1295-4272-9138-f99709370657
2008-09-04 15:19:59 +00:00
Maurus Cuelenaere
561df3827e WPS editor:
* Simplify Makefile
 * Get rid of buildall.*
 * Change library loading behaviour to work with MODEL_NAME
Screenshot:
 * Simplify Makefile
config-*.h:
 * Add MODEL_NAME


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18407 a1c6a512-1295-4272-9138-f99709370657
2008-09-04 14:49:53 +00:00
Frank Gevaerts
ebe3e032b9 remove obviously obsolete TODO comment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18405 a1c6a512-1295-4272-9138-f99709370657
2008-09-03 22:57:43 +00:00
Marianne Arnold
23ab966f64 C200: Also flip the function of the volume buttons when display flip is enabled. I think it is more consistent, especially when thinking of cases where these buttons are used for something else (e.g. left/right in brickmania). Taken from FS#8393 by Volker Mische - add him to CREDITS too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18404 a1c6a512-1295-4272-9138-f99709370657
2008-09-03 22:30:30 +00:00
Maurus Cuelenaere
f3d5700df7 ... but still be compatible with OF..
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18396 a1c6a512-1295-4272-9138-f99709370657
2008-09-03 12:47:45 +00:00
Maurus Cuelenaere
aefbd6301a * Clean up Jz4740 USB tool a bit
* Make IHFSsplit compile under Windows
 * Change SDRAM base address + remove hack for Onda VX747


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18395 a1c6a512-1295-4272-9138-f99709370657
2008-09-03 12:42:14 +00:00
Jens Arnold
f2c7a69403 Font cleanup step 3 - The Big Shuffle: Renamed all fonts to a consistent naming scheme that allows easy selection of alternatives based on size, as discussed on IRC. Adjusted themes in SVN and Makefile for the sysfont. ** Attention **: Clean up your /.rockbox/fonts folder before installing the new release, and then install a new font pack as well. Adjust font names in your custom .cfg files. A reference table can be found in fonts/README.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18388 a1c6a512-1295-4272-9138-f99709370657
2008-09-02 22:31:11 +00:00
Frank Gevaerts
d88094daa4 set PWRON bit to 1 so the player doesn't turn off immediately (should work on M6SL and M3, not sure about the others)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18386 a1c6a512-1295-4272-9138-f99709370657
2008-09-02 20:19:12 +00:00
Frank Gevaerts
6549d312ee enable full init code, as it seems to work
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18382 a1c6a512-1295-4272-9138-f99709370657
2008-09-02 01:51:43 +00:00
Jens Arnold
a4124e00b9 Font cleanup step 1: * alt8x8 - completely broken encoding. * atari-small - ASCII only, not used by any theme. * clR6x8-8859-2 - integrated into rockbox_default. * courB* - not used by any theme. * Hebrew-* - bad unicode coverage, essentially unused. * ter-u??v - 'EGA/VGA bold' versions of ter-u??b, meaningless in rockbox. * timR08 - not used by any theme. * uwe_prop - proportional is a slightly improved version of that.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18381 a1c6a512-1295-4272-9138-f99709370657
2008-09-02 00:09:19 +00:00
Frank Gevaerts
ab7cfd2855 revert r18327, as it introduces serious issues on non-sd players (like ipods)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18370 a1c6a512-1295-4272-9138-f99709370657
2008-08-31 15:11:04 +00:00
Frank Gevaerts
5d22e3cbdd Add wpseditor, the Google Summer of Code 2008 project of Rostislav Chekan. Closes FS#9327
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18362 a1c6a512-1295-4272-9138-f99709370657
2008-08-29 21:08:38 +00:00
Frank Gevaerts
1f7b22bd37 Make usb_storage work on all targets again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18357 a1c6a512-1295-4272-9138-f99709370657
2008-08-28 09:02:28 +00:00
Maurus Cuelenaere
944c33403c * Commit dual-boot support for Creative ZVx family
* Add mkzenboot: makes it possible to integrate Rockbox bootloader with
   Creative firmwares without the need of distributing binaries
 * Add Tadeusz Pyś to credits, who figured out the minifs file system
 * Fix bootloader


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18352 a1c6a512-1295-4272-9138-f99709370657
2008-08-27 20:32:12 +00:00
Maurus Cuelenaere
62c4a2838e Onda VX747:
* Overall cleanup (still needs work)
  * Add preliminary USB support
  * Add power off support
  * Add preliminary MMU handling


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18348 a1c6a512-1295-4272-9138-f99709370657
2008-08-26 21:48:49 +00:00
Maurus Cuelenaere
1392dc2144 Commit FS#9308: differentiate between TOUCHPAD & TOUCHSCREEN
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18338 a1c6a512-1295-4272-9138-f99709370657
2008-08-23 09:46:38 +00:00
Michael Giacomelli
207a092ebd Add rough estimate for iPod 4G power consumption. Probably a little off, but better then using the Archos numbers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18330 a1c6a512-1295-4272-9138-f99709370657
2008-08-21 20:01:32 +00:00
Frank Gevaerts
3dad671ef3 Use cached memory for ata_write_sectors(). This seems to finally fix FS#8663
Thanks to Martin Ritter for finding out that the uncached accesses were somehow causing this

SERIALIZE_WRITES can probably be removed, but this requires a bit more testing first


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18327 a1c6a512-1295-4272-9138-f99709370657
2008-08-21 10:10:58 +00:00
Frank Gevaerts
b3bebc73d5 properly remount the filesystem after usb disconnect with software usb
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18323 a1c6a512-1295-4272-9138-f99709370657
2008-08-20 20:32:12 +00:00
Jens Arnold
0d49141637 Since several S/PDIF sources do not set the valnogood bit properly, valnogood shouldn't be considered as an error.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18322 a1c6a512-1295-4272-9138-f99709370657
2008-08-19 23:07:54 +00:00
Rob Purchase
78cf5cc1dd Add NAND chip data for Samsung K9F4G08UOM (Sansa M230 512Mb)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18311 a1c6a512-1295-4272-9138-f99709370657
2008-08-18 22:20:17 +00:00
Magnus Holmgren
1076df4f99 Fix a problem reading some ID3v2.4 tags. The data length refers to the size of the frame without compression, unsynchronization and the like, so it should not be used when skipping unsupported frames in the file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18304 a1c6a512-1295-4272-9138-f99709370657
2008-08-17 12:31:32 +00:00
Peter D'Hoye
631d947749 The high pass filter setting of the WM8731 seems to work the other way around. Disabling it removes the DC offset. This fixes FS #9248
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18294 a1c6a512-1295-4272-9138-f99709370657
2008-08-15 23:35:48 +00:00
Jens Arnold
f0dcb34e82 Greyscale iPods: Fix the default contrast in the bootloader and the core 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-08-15 19:19:46 +00:00
Maurus Cuelenaere
f6224b7860 Change 18 char limit to (LCD_WIDTH/SYSFONT_WIDTH) in panicf() (FS#9282)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18288 a1c6a512-1295-4272-9138-f99709370657
2008-08-15 16:49:02 +00:00
Maurus Cuelenaere
6321262854 Jz4740: get exception handling working
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18287 a1c6a512-1295-4272-9138-f99709370657
2008-08-15 15:52:54 +00:00
Maurus Cuelenaere
57c0b6a474 Onda VX747:
* kill TABs in jz4740.h
 * clean up LCD
 * make CONFIG_ORIENTATION work in both ways


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18286 a1c6a512-1295-4272-9138-f99709370657
2008-08-15 14:39:39 +00:00
Bertrik Sikken
9464fdde2d Apply FS#9155 (Simplified battery bench). This is a simplification/rework of the current battery bench code. Battery measurements are now done simply once a minute (no more dependency on HDD specific timeouts) and are flushed to disk by using the ata_idle callback instead of polling ata_disk_is_active (this call is removed from the plugin API now) to make the plugin as unobtrusive as possible. This battery bench plugin also works for flash-based targets like sansa e200.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18281 a1c6a512-1295-4272-9138-f99709370657
2008-08-14 22:35:00 +00:00
Daniel Stenberg
a30f5e4b64 gcc 4.3.1 quite rightfully warnings when printf-style functions use "format
not a string literal and no format arguments". Those occurances can (will?)
lead to future nasty and surprising bugs. These are just a few of a very large
amount of necessary fixes.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18274 a1c6a512-1295-4272-9138-f99709370657
2008-08-13 21:38:33 +00:00
Nils Wallménius
22e0603d52 Use shorter fields in sound_settings_info struct to save some bytes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18241 a1c6a512-1295-4272-9138-f99709370657
2008-08-11 13:01:01 +00:00
Maurus Cuelenaere
4bf4d2bb55 * Get interrupts working (but crashes after 10-30secs)
* Make current_tick increase
* Convert button driver into SADC driver
* Make touchscreen handling work better (still needs good calibration routine)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18240 a1c6a512-1295-4272-9138-f99709370657
2008-08-10 21:44:48 +00:00
Jonathan Gordon
c50eef0582 ok, that was bigger than expected... reduce the max to 12 open dirs as a happy compromise.., If you still have errors rethink your directory layout
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18235 a1c6a512-1295-4272-9138-f99709370657
2008-08-10 13:22:31 +00:00
Jonathan Gordon
eb0137fcb5 "waste" a bit more RAM on targets with more than 8MB so more directories can be opened at the same time (most obvious when you have really deep directory trees)
closes FS#6410, FS#6512, FS#6514


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18234 a1c6a512-1295-4272-9138-f99709370657
2008-08-10 12:46:15 +00:00
Maurus Cuelenaere
99fa8cddb8 Remove unneeded request_irq()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18230 a1c6a512-1295-4272-9138-f99709370657
2008-08-09 23:33:48 +00:00
Maurus Cuelenaere
447ffc8bf8 * Add interrupt handling (but still not working)
* Clean up linker script and bootup routines


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18229 a1c6a512-1295-4272-9138-f99709370657
2008-08-09 23:31:38 +00:00
Jens Arnold
5dac9119f4 Add 4 extended latin letters which are needed for Czech and Polish, and an additional Greek letter that comes almost for free.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18224 a1c6a512-1295-4272-9138-f99709370657
2008-08-08 21:04:47 +00:00
Maurus Cuelenaere
88f649f9c5 * Add myself to some areas in docs/MAINTAINERS
* Add lcd_call_enable_hook() call


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18204 a1c6a512-1295-4272-9138-f99709370657
2008-08-06 21:07:45 +00:00
Maurus Cuelenaere
88ae9024e4 * Add basic (non-working) support for NAND flash
* Add panicf() handling
* Add not-yet-enabled dma acceleration
* Other (minor) fixes


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18203 a1c6a512-1295-4272-9138-f99709370657
2008-08-06 20:39:02 +00:00
Bertrik Sikken
f2213c8fc2 Apply FS#9195 (LCD disable for sansa c200), which puts the sansa c200 display controller in standby when the backlight is turned off and thereby improves runtime. I measured 40 minutes improvement over a runtime of about 14h.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18198 a1c6a512-1295-4272-9138-f99709370657
2008-08-05 20:17:17 +00:00
Bertrik Sikken
b0b72a84ff Fix sansa c200 battery type comment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18197 a1c6a512-1295-4272-9138-f99709370657
2008-08-05 19:45:57 +00:00
Maurus Cuelenaere
0a09022a39 Fix compiling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18149 a1c6a512-1295-4272-9138-f99709370657
2008-07-30 09:54:25 +00:00
Michael Giacomelli
52bdcbae85 Commit FS#9170 by Dave Hooper. Adds support for profiling on ARM, and fixes various issues with compiling profile builds. Also, note that profile_reader.pl syntax has changed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18142 a1c6a512-1295-4272-9138-f99709370657
2008-07-28 22:43:41 +00:00
Bertrik Sikken
2e1da4d474 Comment/line length/spelling police
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18127 a1c6a512-1295-4272-9138-f99709370657
2008-07-27 12:09:33 +00:00
Dominik Wenger
25bb37bb68 commit asap codec. plays .sap files. At the moment it only plays the default song. So subSongs are ignored.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18121 a1c6a512-1295-4272-9138-f99709370657
2008-07-26 15:16:10 +00:00
Bertrik Sikken
8d0126f355 Fix missing #includes and make local functions static for gigabeat
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18091 a1c6a512-1295-4272-9138-f99709370657
2008-07-18 23:28:54 +00:00
Bertrik Sikken
70dd64d23d Make local variable static
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18089 a1c6a512-1295-4272-9138-f99709370657
2008-07-18 22:32:44 +00:00
Maurus Cuelenaere
1f692e5f55 1) Set svn:keywords where they should've been set
2) Onda VX747 specific changes


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18080 a1c6a512-1295-4272-9138-f99709370657
2008-07-17 10:13:56 +00:00
Dave Chapman
ccf4ce98fd Fix the iPod Photo/Color "type 0 LCD" bug introduced in r17715 by correctly 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-17 10:09:12 +00:00
Maurus Cuelenaere
3f82e03f11 Remove obsolete function + cleanup code a bit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18072 a1c6a512-1295-4272-9138-f99709370657
2008-07-16 15:29:03 +00:00
Maurus Cuelenaere
975261f003 Fix the LCD bug!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18071 a1c6a512-1295-4272-9138-f99709370657
2008-07-16 15:25:35 +00:00
Maurus Cuelenaere
753cac37b7 Implement working lcd_off/lcd_on routine
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18070 a1c6a512-1295-4272-9138-f99709370657
2008-07-16 13:56:41 +00:00
Maurus Cuelenaere
e3b2f4ffed Switch screen 90 degrees clockwise
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18069 a1c6a512-1295-4272-9138-f99709370657
2008-07-16 12:54:43 +00:00
Maurus Cuelenaere
ffddab1e66 Use register defines
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18068 a1c6a512-1295-4272-9138-f99709370657
2008-07-16 12:25:27 +00:00
Bertrik Sikken
a12894c6dc Ensure consistency between header file and implementation for iPod drivers, 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-07-16 11:02:14 +00:00
Rob Purchase
635ad63539 Fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18064 a1c6a512-1295-4272-9138-f99709370657
2008-07-15 21:46:46 +00:00
Rob Purchase
3352b265e6 Update the Telechips NAND driver to use the nand_identify() function introduced in r18052.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18063 a1c6a512-1295-4272-9138-f99709370657
2008-07-15 21:32:20 +00:00
Rob Purchase
7776c7a6f4 Fix red for target with insanely wide LCDs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18060 a1c6a512-1295-4272-9138-f99709370657
2008-07-15 18:59:05 +00:00
Rob Purchase
adb6a00c59 Update lcd-as-memframe.S to only rotate YUV data for portrait LCDs (and remove the D2's temporary C implementation). Enable MpegPlayer dithering option for D2.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18055 a1c6a512-1295-4272-9138-f99709370657
2008-07-15 17:54:58 +00:00
Maurus Cuelenaere
ebb612fbcc Onda VX747:
1) Improve touchscreen handling
2) Add RTC driver
4) Add NAND Flash ID scanning
3) Other minor fixes

Nand_ID:
Add a generic NAND ID database (currently only containg Samsung chips)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18052 a1c6a512-1295-4272-9138-f99709370657
2008-07-15 17:17:01 +00:00
Maurus Cuelenaere
b632ddf9ca And set svn:eol-style ...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18034 a1c6a512-1295-4272-9138-f99709370657
2008-07-14 15:19:29 +00:00
Maurus Cuelenaere
e6248f2e5d Remove svn:executable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18033 a1c6a512-1295-4272-9138-f99709370657
2008-07-14 15:09:22 +00:00
Maurus Cuelenaere
0709f0a5c6 Add preliminary support for the Onda VX747 (MIPS target)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18032 a1c6a512-1295-4272-9138-f99709370657
2008-07-14 15:03:10 +00:00
Marc Guay
4f19981748 Revert r18029 as well. It's more complicated than I thought as Rockbox currently seems to assume that all targets have microphone recording abilities. Will recheck, and verify more thoroughly before committing from now on.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18031 a1c6a512-1295-4272-9138-f99709370657
2008-07-14 14:13:28 +00:00
Marc Guay
37400f8d4d Revert most of r18029 as recording through line-in is possible on the H10, just not currently functional. Leave the /nopt for line-in on the Sansas.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18030 a1c6a512-1295-4272-9138-f99709370657
2008-07-14 06:17:40 +00:00
Marc Guay
4bcd54e75a Remove the Mic Recording capacity from the iPod Nano and Video as they can only record through the dock connector. Manual updated accordingly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18029 a1c6a512-1295-4272-9138-f99709370657
2008-07-14 04:34:26 +00:00
Marc Guay
beb3b6b039 Fix FS#7541 by removing the line-in recording capacity and the manual entry for the H10 (and Sansas). More work needs to be done in this department.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18028 a1c6a512-1295-4272-9138-f99709370657
2008-07-14 03:58:19 +00:00
Rob Purchase
4d97165bf6 Fix a slightly misleading logf
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18026 a1c6a512-1295-4272-9138-f99709370657
2008-07-13 17:34:58 +00:00
Rob Purchase
586437656c Delete an empty file that does not appear to be included by any target.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18021 a1c6a512-1295-4272-9138-f99709370657
2008-07-12 23:11:14 +00:00
Rob Purchase
ee72b3bbc6 Make the TCC780x NAND driver also build for 77x targets. This is work-in-progress stuff and does not yet work fully on 77x, but it's a step in the right direction. Also replace some magic numbers with #defines.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18019 a1c6a512-1295-4272-9138-f99709370657
2008-07-12 23:01:49 +00:00
Jonathan Gordon
5cb85a81d2 fix the sleeptimer which got broken in r17872
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18006 a1c6a512-1295-4272-9138-f99709370657
2008-07-10 02:33:00 +00:00
Frank Gevaerts
df7d6d0e6e define SERIALIZE_WRITES for all HAVE_ATA_SD, not just the sansas
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18001 a1c6a512-1295-4272-9138-f99709370657
2008-07-09 21:00:38 +00:00
Rob Purchase
b564ac44cd D2: A working implementation of lcd_blit_yuv() by Thibaut Girka.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18000 a1c6a512-1295-4272-9138-f99709370657
2008-07-09 20:51:47 +00:00
Rob Purchase
0eb51e8a73 D2: Add the tuner_power() function which was missing from the previous FM commit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17999 a1c6a512-1295-4272-9138-f99709370657
2008-07-09 20:42:47 +00:00
Frank Gevaerts
3f3bb75d6a Don't do overlapping USB transactions and SD writes. This seems to avoid FS#8663
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17997 a1c6a512-1295-4272-9138-f99709370657
2008-07-09 19:56:09 +00:00
Jens Arnold
105eef98fa AB repeat: define single button mode for the Player so that it becomes usable, and enable AB repeat for the Ondios, also in single button mode.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17975 a1c6a512-1295-4272-9138-f99709370657
2008-07-07 07:04:07 +00:00
Marc Guay
a5ed793fe1 Get rid of useless bits.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17973 a1c6a512-1295-4272-9138-f99709370657
2008-07-06 21:38:29 +00:00
Marc Guay
f6cde72ce9 Fix a few dead references in the manual and add an 's' where one was missing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17972 a1c6a512-1295-4272-9138-f99709370657
2008-07-06 21:32:59 +00:00
Marc Guay
a5f99f2a51 Bring the H300 charging-only button in line with the other targets. Hold the AB button on connect for this feature. To discuss a greater reworking of the function, see FS#8702.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17940 a1c6a512-1295-4272-9138-f99709370657
2008-07-04 18:12:01 +00:00
Christian Gmeiner
1ffa86fed1 cleanup some audio driver headers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17924 a1c6a512-1295-4272-9138-f99709370657
2008-07-02 23:01:21 +00:00
Jonathan Gordon
144f39b4ea revert that scroll engine stuff... good in theory, but broken.
commit a band-aid fix for FS#9140 which is fine untill someone decides to not use the whole screen for it...


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17916 a1c6a512-1295-4272-9138-f99709370657
2008-07-02 13:02:57 +00:00
Jonathan Gordon
d69573e314 going out for a while and dont want to leave it partially broken.. ill re-enable this code later tonight/tomorow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17915 a1c6a512-1295-4272-9138-f99709370657
2008-07-02 10:03:53 +00:00
Jonathan Gordon
4d2e91d252 fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17914 a1c6a512-1295-4272-9138-f99709370657
2008-07-02 09:55:01 +00:00
Jonathan Gordon
88055b2f2e fix FS#9140 by changing stop_scroll so it stops scrolling lines which would overlap the current viewport. This shouldnt cause any problems because when this happens the vp owning the line should redraw when the new vp's screen is exited.
Also fix a potential bug where only one scrolling line in a viewport was stopped


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17913 a1c6a512-1295-4272-9138-f99709370657
2008-07-02 09:42:36 +00:00
Andree Buschmann
a0bf57c7f1 Fix possible ATA-error on startup for iPod nano. Was introduced with r17721.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17908 a1c6a512-1295-4272-9138-f99709370657
2008-07-01 20:42:19 +00:00
Frank Gevaerts
b9f0c2b385 fix a stray yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17896 a1c6a512-1295-4272-9138-f99709370657
2008-06-30 19:38:19 +00:00
Maurus Cuelenaere
bbcb790129 Don't handle a touchscreen press when backlight is off
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17877 a1c6a512-1295-4272-9138-f99709370657
2008-06-29 14:52:04 +00:00
Jens Arnold
0884582228 Colour targets: Revert an optimisation from almost 18 months ago that actually turned out to slow down things. Speeds up mono bitmap drawing by ~15..60% depending on target and drawmode.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17876 a1c6a512-1295-4272-9138-f99709370657
2008-06-29 12:56:01 +00:00
Bertrik Sikken
4e15aead43 Move declaration of button_int and clickwheel_int to the proper header file instead of declaring it locally in the .c file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17874 a1c6a512-1295-4272-9138-f99709370657
2008-06-29 11:03:12 +00:00
Jonathan Gordon
6f6fcfc3a8 fix FS#8187 - charging breaks sleep timer. Now if the timer goes off and the player is charging or connected to USB it will turn off the audio, but stay on
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17872 a1c6a512-1295-4272-9138-f99709370657
2008-06-29 09:44:07 +00:00
Bertrik Sikken
604447c475 Moved microsd_int declaration from system-pp502x.c to ata-sd-target.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17855 a1c6a512-1295-4272-9138-f99709370657
2008-06-28 19:36:21 +00:00
Daniel Stenberg
2acc0ac542 Updated our source code header to explicitly mention that we are GPL v2 or
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-28 18:10:04 +00:00
Marcoen Hirschberg
aab068631b fix typo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17824 a1c6a512-1295-4272-9138-f99709370657
2008-06-28 00:02:07 +00:00
Marcoen Hirschberg
b2ce7e2801 set the s5l8700 i2c define to a unique number
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17822 a1c6a512-1295-4272-9138-f99709370657
2008-06-28 00:02:03 +00:00
Marcoen Hirschberg
1d04485789 remove leftover debug stuff
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17820 a1c6a512-1295-4272-9138-f99709370657
2008-06-27 23:44:17 +00:00
Marcoen Hirschberg
7b10ef9a7c initial Meizu M6SL port (take 2)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17819 a1c6a512-1295-4272-9138-f99709370657
2008-06-27 23:24:34 +00:00
Dominik Wenger
7135f2d9f4 make mrobe100 touchstrip driver less sensitive by checking for the finger bit. Also little cleanup in driver.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17810 a1c6a512-1295-4272-9138-f99709370657
2008-06-27 20:19:27 +00:00
Mark Arigo
22e7bf32b8 My Devcon 2008 contribution: port for Philips GoGear HDD1630 (PP5022-based). Current status is that the bootloader works to load Rockbox, but dual boot does not work: it freezes after decrypting the OF. When Rockbox boots, it freezes somewhere between showing the logo and the main menu. And there's no driver for the touchpad. So lots of work left.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17809 a1c6a512-1295-4272-9138-f99709370657
2008-06-27 18:40:25 +00:00
Rob Purchase
39aaa2f2b5 D2: Small optimisation to the PCM FIQ (only stack registers when necessary).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17806 a1c6a512-1295-4272-9138-f99709370657
2008-06-27 12:39:03 +00:00
Rob Purchase
38b02f3d7a D2: Make the nand driver's sanity checks a little more... sane. This should allow booting on a few older D2's.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17805 a1c6a512-1295-4272-9138-f99709370657
2008-06-27 12:35:50 +00:00
Rob Purchase
ed95be983c D2: Editing config.h wasn't enough to fully disable IRAM - also disable it in *.lds for a crash fix and further 100% increase in codec performance.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17779 a1c6a512-1295-4272-9138-f99709370657
2008-06-24 07:38:35 +00:00
Rob Purchase
e7a31c16dc Disable IRAM usage on TCC780x, giving at least a 2x speedup in codecs and elsewhere. To be re-instated only when the issue is fully understood.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17774 a1c6a512-1295-4272-9138-f99709370657
2008-06-23 22:25:33 +00:00
Rob Purchase
3ca42e4aac D2: Take notice of the hold button.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17773 a1c6a512-1295-4272-9138-f99709370657
2008-06-23 21:38:11 +00:00
Rob Purchase
9aa7ceb0df Fix the D2 click/popping every second. Lesson from PCM-driver 101: don't disable FIQs unless you really, really need to.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17765 a1c6a512-1295-4272-9138-f99709370657
2008-06-23 18:23:56 +00:00
Jonathan Gordon
bdbdb97f19 FS#9051 - remove LCD margins... use viewports if you need them...
NOTE to WPS people....
%m has been removed, but (i think) because of the other %m tags it wont fail if you try loading a wps with %m|..|, it will just be ignored.
Also note that if the statusbar is enabled the default viewport is 8 pixels shorter than when its not, i.e (0,0) is really (0,8) if the statusbar is shown... I dont think this will be a major issue because almost no WPS show the bar and use bitmaps... text only WPS shouldnt be affected.

Please report problem screens in http://forums.rockbox.org/index.php?topic=17358.0


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17763 a1c6a512-1295-4272-9138-f99709370657
2008-06-23 13:20:35 +00:00
Rob Purchase
e62aa9e156 Oops, fix red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17754 a1c6a512-1295-4272-9138-f99709370657
2008-06-22 19:01:44 +00:00
Rob Purchase
d6159ea7d7 Initial D2 sound playback support (known issues to follow on the CowonD2Info wiki page).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17753 a1c6a512-1295-4272-9138-f99709370657
2008-06-22 18:48:22 +00:00
Marc Guay
b362b7f9ea Hopefully update the keywords. Thanks bluebrother.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17744 a1c6a512-1295-4272-9138-f99709370657
2008-06-21 16:07:59 +00:00
Marc Guay
1ccc3e72f0 Forgot the export/config file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17743 a1c6a512-1295-4272-9138-f99709370657
2008-06-21 15:22:33 +00:00
Marc Guay
b93667b306 Add the Sansa c100 as a build target with basic drivers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17742 a1c6a512-1295-4272-9138-f99709370657
2008-06-21 15:18:36 +00:00
Andree Buschmann
3d40144e34 Commit FS#9076, unification of PCF-initialization for iPod Video and nano. The nano's runtime will increase by about 45min.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17721 a1c6a512-1295-4272-9138-f99709370657
2008-06-14 22:22:51 +00:00
Jens Arnold
538a387cca Blind-add some code from ipodlinux that hopefully fixes the colour problem on iPod Photo reported on the forums.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17715 a1c6a512-1295-4272-9138-f99709370657
2008-06-12 05:56:34 +00:00
Rob Purchase
0efad8d925 D2: Configure NAND GPIO lines /before/ attempting to use them. Should fix 16Gb support.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17713 a1c6a512-1295-4272-9138-f99709370657
2008-06-10 18:03:13 +00:00
Rob Purchase
bca9703b83 D2: Fixes for 16Gb models with four NAND banks: update MAX_BANKS, configure the chip select GPIO as output and use a couple of #defines to tidy things up.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17705 a1c6a512-1295-4272-9138-f99709370657
2008-06-09 08:11:11 +00:00
Rob Purchase
51d6d4054f Update the LV24020 FM driver so that it can be used on the D2. Register read/write and chip_id detection works now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17703 a1c6a512-1295-4272-9138-f99709370657
2008-06-07 19:23:57 +00:00
Frank Gevaerts
6d9f55efff corrected sign of error return value
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17693 a1c6a512-1295-4272-9138-f99709370657
2008-06-05 15:49:35 +00:00
Frank Gevaerts
27ad822a44 add usb_allowed_current() function, so powermanagement code can know when it's allowed to charge from usb
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17688 a1c6a512-1295-4272-9138-f99709370657
2008-06-04 18:55:58 +00:00
Michael Sevakis
fa5bd07f6b Oops. Lost sync on a few instances and 'HI' registers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17684 a1c6a512-1295-4272-9138-f99709370657
2008-06-03 05:19:32 +00:00
Michael Sevakis
191320cd0f Rename CPU/COP_INT_CLR to CPU/COP_INT_DIS since it's really a 'write one to 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-06-03 05:08:24 +00:00
Michael Sevakis
606d9d0c83 Reinstate the awful ATA hack that has no proper reason to exist for iPod 5.5g 60GB and/or 80GB.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17682 a1c6a512-1295-4272-9138-f99709370657
2008-06-03 04:23:09 +00:00
Rob Purchase
3f7f5d7431 D2: Stop panic screen from crashing instantly (seems this has been broken for a while).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17670 a1c6a512-1295-4272-9138-f99709370657
2008-05-31 11:30:24 +00:00
Michael Sevakis
023cd578fa Commit FS#9024 - apply proper line-in gain for h10's radio by Przemyslaw Holubowski with one change: make "0x1e" "0x1f" since that's actually +12dB.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17665 a1c6a512-1295-4272-9138-f99709370657
2008-05-31 08:31:46 +00:00
Karl Kurbjun
9ba4864d73 Simplify the button handling code on the Gigabeat F/X a bit for the side buttons. Plugins should be updated with this revision, or the buttons in plugins will not operate properly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17659 a1c6a512-1295-4272-9138-f99709370657
2008-05-29 22:22:44 +00:00
Jens Arnold
d52bea8a90 Fix FS #8840 for irivers by slowing down the driver some more. Signal quality is obviously varying a lot among the iriver remotes. Speed is now around halfway between pre-r16832 and r17006 when boosted.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17657 a1c6a512-1295-4272-9138-f99709370657
2008-05-29 21:41:47 +00:00
Michael Sevakis
c541e04632 Gigabeat F/X:
Allow chaning of touchpad sensitivity in the System settings menu. Some
units are dodgey at "Normal" senitivity and some at "High". "High" can make
some units difficult to navigate and may even require a settings reset so try
it and don't use "High" again if it doesn't work out :-). Defaults to "Normal"
 which behaves like older builds.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17656 a1c6a512-1295-4272-9138-f99709370657
2008-05-29 21:27:44 +00:00
Peter D'Hoye
f76122f0e7 Accept FS #9052 by Alexander Levin with a fix by me. Changes HAS_BUTTONBAR into HAVE_BUTTONBAR to bring it in line with the other defines
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17655 a1c6a512-1295-4272-9138-f99709370657
2008-05-29 20:32:39 +00:00
Jonathan Gordon
43f0770943 move the HAS_BUTTONBAR define to the config-<target>.h files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17652 a1c6a512-1295-4272-9138-f99709370657
2008-05-29 09:14:32 +00:00
Linus Nielsen Feltzing
07bfba21ae Add the ADC_ACCESSORY channel on the ipod, to allow for accessory detection once we figure that out.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17648 a1c6a512-1295-4272-9138-f99709370657
2008-05-29 06:12:08 +00:00
Michael Sevakis
0f7f5f2267 Fix yellow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17642 a1c6a512-1295-4272-9138-f99709370657
2008-05-28 10:49:00 +00:00
Michael Sevakis
adf2e4c9a0 Targets with HAVE_LCD_ENABLE: Provide a means to receive notifications when the lcd is enabled and the image is refreshed so overlayed drawing can also be refreshed. Chiefly mpegplayer needs this so it can redraw the YUV data after the backlight is turned on while paused or when using 'Set Start Time'.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17640 a1c6a512-1295-4272-9138-f99709370657
2008-05-28 10:17:16 +00:00
Bertrik Sikken
705e703f45 Increased MAX_SYS_EVENTS from 10 to 16, since there are potentially more than 10 events that can registered. Should fix FS#9039 - *PANIC* event line full (reproduceable).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17632 a1c6a512-1295-4272-9138-f99709370657
2008-05-26 06:54:57 +00:00
Peter D'Hoye
825d89fe28 Accept FS #9021 by James Vasile and apply the fix to the other drivers that have the same issue.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17630 a1c6a512-1295-4272-9138-f99709370657
2008-05-25 21:19:07 +00:00
Michael Sevakis
69f4ffe686 Fix a comment since it was very wrong.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17627 a1c6a512-1295-4272-9138-f99709370657
2008-05-25 02:43:51 +00:00
Michael Sevakis
d892214d88 Gigabeat S: Add charge current and battery temp readout in power management and display in the battery screen. Thermistor data was obtained experimentally from one pulled off a dead board and appears basically correct when read back on a working device (which requires letting it settle to ambient temperature - a long wait so not easy to do). Sending me more thermistors would help improve accuracy *fingers crossed that it's close enough*. :-) This commit does NOT add charging but is a step towards implementing it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17626 a1c6a512-1295-4272-9138-f99709370657
2008-05-25 01:38:08 +00:00
Jens Arnold
4a6190dd13 Hopefully fix FS #8840 for iAudio M3, M5 and X5. Reduce greyscale update frequency on M3 in order to reduce CPU load (was >50% before, but this fix would have made it even worse).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17621 a1c6a512-1295-4272-9138-f99709370657
2008-05-24 08:53:12 +00:00
Dave Chapman
5e9732367d Make life easier for people working on new ports (audio drivers are normally one of the last things written), and revert r17511. Also take the opportunity to use more typical dummy values for VOLUME_MIN and VOLUME_MAX.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17620 a1c6a512-1295-4272-9138-f99709370657
2008-05-24 08:03:15 +00:00
Rob Purchase
03de6c67ab TCC78x NAND driver: Split the initial bank scan into two passes (appears to improve block translation reliability). Also some cleanups for readability, eg remove chip vs. bank ambiguity and remove leftover debug code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17598 a1c6a512-1295-4272-9138-f99709370657
2008-05-21 21:07:49 +00:00
Michael Sevakis
804bb8e38d Correct an oopsy when finishing off the MC13783 header. No wonder ADC readings seemed a wee odd.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17597 a1c6a512-1295-4272-9138-f99709370657
2008-05-21 20:59:07 +00:00
Thom Johansen
c0f7eb9f9d FS #8680. MOD codec by Rainer Sinsch.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17595 a1c6a512-1295-4272-9138-f99709370657
2008-05-21 11:19:58 +00:00
Michael Sevakis
c78bb5a00e Oops. Forgot to put the pmic thread stack size back to normal.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17594 a1c6a512-1295-4272-9138-f99709370657
2008-05-21 08:54:02 +00:00
Michael Sevakis
a9c20f5789 Gigabeat S:
1) Rework event handling and static registration mechanism. No target-
     specific code in mc13783 driver. GPIO event driver interfaces more
     cleanly.

  2) Somewhat related - enable thread priority for bootloader which is
     desireable here (ffs is used for GPIO event enabling  anyway and that
     goes along with priority).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17593 a1c6a512-1295-4272-9138-f99709370657
2008-05-21 08:42:11 +00:00
Mark Arigo
b4275d4941 Philips GoGear SA9200 port. Working bootloader and normal builds, including sound. No touchpad now, buttons limited to using vol+/vol-/power for up/down/select. Rockbox USB is enabled since the OF is MTP only...read the warnings on the PortalPlayerUsb wiki page.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17591 a1c6a512-1295-4272-9138-f99709370657
2008-05-21 03:55:17 +00:00
Karl Kurbjun
4c99f9a749 Contrast settings for the gigabeat F/X
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17590 a1c6a512-1295-4272-9138-f99709370657
2008-05-21 03:50:48 +00:00
Karl Kurbjun
7a4d1609ee Make some functions static, point to the wiki, and comit the code to invert the screen, but don't enable.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17589 a1c6a512-1295-4272-9138-f99709370657
2008-05-21 03:30:57 +00:00
Bertrik Sikken
869fbfc1f1 Made events table static and moved MAX_SYS_EVENTS from events.c to events.h to make it private.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17586 a1c6a512-1295-4272-9138-f99709370657
2008-05-20 19:20:28 +00:00
Michael Sevakis
cb1b388a57 Get a good start on cleaning up powermgmt.c
1) Consolidate charging types' code as much as possible at the moment.

2) Remove the iRiver code for the moment. It so happens that it isn't being
   compiled anyway so it's just noise. Grab it out of the revision history
   when needed again.

3) A small fix to CHARGING_CONTROL where changing of #defines somewhere in
   earlier revisions actually ended up having it use the wrong battery filter
   constant.  A few state variables that were locals but stay in scope for
   the life of the power thread get static storage to help separate algorithms.



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17580 a1c6a512-1295-4272-9138-f99709370657
2008-05-19 03:59:52 +00:00
Karl Kurbjun
359045655d Enable Gigabeat F/X LCD flipscreen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17578 a1c6a512-1295-4272-9138-f99709370657
2008-05-18 23:33:09 +00:00
Dominik Riebeling
551319c4c8 fix a comment typo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17576 a1c6a512-1295-4272-9138-f99709370657
2008-05-18 16:21:52 +00:00
Bertrik Sikken
ad04e9d42b Spelling fixes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17574 a1c6a512-1295-4272-9138-f99709370657
2008-05-18 14:34:29 +00:00
Jonathan Gordon
c67a7b12be "fix" usb detection on mr500.. by fix I mean tell it we havnt implemented that yet properly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17572 a1c6a512-1295-4272-9138-f99709370657
2008-05-18 14:01:36 +00:00
Jonathan Gordon
5716f734dd remove a stupid infinite loop which stopped the mr500 booting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17570 a1c6a512-1295-4272-9138-f99709370657
2008-05-18 13:48:29 +00:00
Michael Sevakis
be28f8441b Refine meg-fx pad changes. Actually watch the other <dir>+ lines and ignore them if center is detected but sill allow the combo if one really means to do that.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17559 a1c6a512-1295-4272-9138-f99709370657
2008-05-17 17:16:12 +00:00
Michael Sevakis
d587247ebd Actually remove the ata lock hack code for that had been used for iPod Video 60/80. It has been disabled for awhile anyway and the problem that nescessitated it really appears resolved.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17558 a1c6a512-1295-4272-9138-f99709370657
2008-05-17 16:19:58 +00:00
Maurus Cuelenaere
c8c0f4590b Forgot this also
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17557 a1c6a512-1295-4272-9138-f99709370657
2008-05-17 16:02:41 +00:00
Maurus Cuelenaere
affa4f668e Use OF's firmware loading mechanism instead of Rockbox's.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17553 a1c6a512-1295-4272-9138-f99709370657
2008-05-17 14:20:09 +00:00
Jens Arnold
ab46e463bd Greyscale ipods: Use a somewhat darker shade for lightgrey, improving appearance.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17551 a1c6a512-1295-4272-9138-f99709370657
2008-05-17 09:55:23 +00:00
Michael Sevakis
7d67df94a6 Commit Davide Gentile's patch to make the Gigabeat F/X pad less finicky.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17549 a1c6a512-1295-4272-9138-f99709370657
2008-05-17 00:29:24 +00:00
Maurus Cuelenaere
ac67d70173 Add beginning of DSP code (done by Catalin Patulea), but don't enable it
yet as there's no C54xx compiler in the toolchain yet..


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17547 a1c6a512-1295-4272-9138-f99709370657
2008-05-16 21:16:01 +00:00
Maurus Cuelenaere
7a8fc3fd9d 1) Put USB in IRAM
2) Use defines from usb_drv.h


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17546 a1c6a512-1295-4272-9138-f99709370657
2008-05-16 21:05:18 +00:00
Christian Gmeiner
2ea6da1ebf fix some problems with missing HAVE_RECORDING checks #2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17545 a1c6a512-1295-4272-9138-f99709370657
2008-05-16 20:51:56 +00:00
Christian Gmeiner
56fceacfeb fix some problems with missing HAVE_RECORDING checks
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17544 a1c6a512-1295-4272-9138-f99709370657
2008-05-16 20:40:59 +00:00
Christian Gmeiner
112656b7a6 simplify this #if statement too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17542 a1c6a512-1295-4272-9138-f99709370657
2008-05-16 20:26:20 +00:00
Christian Gmeiner
dfa28e69f6 fix FS#8992 - hope all sound bass/treble problems are gone now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17541 a1c6a512-1295-4272-9138-f99709370657
2008-05-16 20:06:50 +00:00
Christian Gmeiner
48f3eed1e5 simplify #if statement
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17538 a1c6a512-1295-4272-9138-f99709370657
2008-05-16 19:53:01 +00:00
Christian Gmeiner
59357d48c1 add AUDIOHW_CAP for bass cutoff and treble cut off and fix a wrong ifdef for simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17537 a1c6a512-1295-4272-9138-f99709370657
2008-05-16 19:28:45 +00:00
Michael Sevakis
95d76f2da2 Cleanup some .h files in the imx31 target branch - #include guard style, headers, obsolete prototypes, etc.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17536 a1c6a512-1295-4272-9138-f99709370657
2008-05-16 18:40:28 +00:00
Michael Sevakis
3c102ffd4d Fix a couple mistakes. Forgot to add a few definitions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17535 a1c6a512-1295-4272-9138-f99709370657
2008-05-16 08:02:14 +00:00
Michael Sevakis
cda664b701 MC13783 (Gigabeat S PMIC): Complete the header file. Distinguish status, sense and mask bit defines to avoid conflicts within the definitions. Much care taken but give a double check before making new use of anything.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17534 a1c6a512-1295-4272-9138-f99709370657
2008-05-16 06:21:11 +00:00
Jens Arnold
3cec5e2b6a Check for a supported partition type before trying to mount a partition. This will reduce the risk of irregular mounts, e.g. due to stray FAT boot sectors when probing the logical sector size on iPod Video.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17530 a1c6a512-1295-4272-9138-f99709370657
2008-05-15 22:23:14 +00:00
Maurus Cuelenaere
1ea884b531 1) Add ZVM60GB and ZV simulator builds (ZVM60GB sim equals to ZVM30GB)
2) Correct typo which'll break build system for ZV currently
3) Split up keymaps for ZV & ZVM


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17525 a1c6a512-1295-4272-9138-f99709370657
2008-05-15 18:01:14 +00:00
Karl Kurbjun
808568983d Forgot about the buttonlights. Removing for now since this will not work properly if the buttonlights are set to a time longer than the backlight.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17523 a1c6a512-1295-4272-9138-f99709370657
2008-05-15 12:52:17 +00:00
Karl Kurbjun
6450de3eae Save around a hundred uA - not much, but why not? - No functional change for users.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17519 a1c6a512-1295-4272-9138-f99709370657
2008-05-15 01:04:47 +00:00
Christian Gmeiner
05e8488ad8 Introduce PRESCALER_CAP and move some driver specific code to the correct place.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17516 a1c6a512-1295-4272-9138-f99709370657
2008-05-14 21:35:19 +00:00
Michael Sevakis
955d889a15 Oops. Left a couple things in a bad state when using fading.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17515 a1c6a512-1295-4272-9138-f99709370657
2008-05-14 21:29:43 +00:00
Christian Gmeiner
4b07cc13f5 Fail with an error and kick suspect looking default values.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17511 a1c6a512-1295-4272-9138-f99709370657
2008-05-14 20:54:07 +00:00
Maurus Cuelenaere
4cf90663fa Fix yellows and reds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17510 a1c6a512-1295-4272-9138-f99709370657
2008-05-14 20:36:25 +00:00
Michael Sevakis
41b235dacf Fix red. No bother with lcd power management calls in bootloader.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17508 a1c6a512-1295-4272-9138-f99709370657
2008-05-14 20:26:20 +00:00
Michael Sevakis
009cebeab2 Straigten-out lcd sleeping on Gigabeat F/X. Add a service function to backlight.c to handle lcd sleep timer. Make HAVE_LCD_SLEEP useable without a setting and use HAVE_LCD_SLEEP_SETTING when a setting is available in addition to HCD_HAVE_SLEEP. If a setting isn't used, the target must define the timeout to be used in the config.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17505 a1c6a512-1295-4272-9138-f99709370657
2008-05-14 19:29:25 +00:00
Maurus Cuelenaere
bdc6e624bc 1) Enable USBOTG for ZVM 60GB, even if the driver isn't implemented yet,
so it compiles
2) Disable BUTTON_DEBUG


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17504 a1c6a512-1295-4272-9138-f99709370657
2008-05-14 19:28:06 +00:00
Maurus Cuelenaere
e031db4b87 1) Use a separate config-<target>.h for Zen Vision(:M) (60GB)
2) Other unrelated cleanups


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17503 a1c6a512-1295-4272-9138-f99709370657
2008-05-14 18:55:19 +00:00
Maurus Cuelenaere
727a8059d7 1) Split ZVM into 30GB and 60GB
2) Clean up config
3) Add scramble description


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17502 a1c6a512-1295-4272-9138-f99709370657
2008-05-14 13:51:47 +00:00
Michael Sevakis
403abb94bc Add svn:kewords and svn:eol-style properties. Fix a comment in as3514.c.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17500 a1c6a512-1295-4272-9138-f99709370657
2008-05-14 00:39:24 +00:00
Karl Kurbjun
449a7a6643 Cleanup some unneeded debug code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17499 a1c6a512-1295-4272-9138-f99709370657
2008-05-14 00:32:43 +00:00
Karl Kurbjun
6e322c8786 Reduce power consumed on the F/X by as much as 12% when the LCD is disabled. Timing is tighter on the SPI interface, if the screen does not come up let me know and we can space it out more - Works on the devices I tested. There will be a brief time (around 15ms) that the screen is all white after coming back on.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17498 a1c6a512-1295-4272-9138-f99709370657
2008-05-14 00:26:28 +00:00
Michael Sevakis
50ad342530 Gigabeat S system setup changes. Unaligned loads/stores on. Mixed-endian support on. VIC on early.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17495 a1c6a512-1295-4272-9138-f99709370657
2008-05-13 14:05:28 +00:00
Maurus Cuelenaere
6148a94432 Commit Zen Vision key patches by Falafel
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17490 a1c6a512-1295-4272-9138-f99709370657
2008-05-13 07:57:46 +00:00
Christian Gmeiner
785e776246 add BALANCE_CAP and CLIPPING_CAP and move some mas35xx code into audio driver mas35xx.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17489 a1c6a512-1295-4272-9138-f99709370657
2008-05-13 06:19:16 +00:00
Mark Arigo
3e743ec6c9 Preparing for the Philips SA9200 part 2. Since the SA9200 doesn't have a microsd card (no hotswap), use HAVE_ATA_SD for the Sansa flash driver so we don't rely on HAVE_HOTSWAP in some places.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17488 a1c6a512-1295-4272-9138-f99709370657
2008-05-13 02:50:31 +00:00
Mark Arigo
7656748221 Preparing for the Philips SA9200 part 1. Move the Sansa ADC & ATA drivers up one level.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17487 a1c6a512-1295-4272-9138-f99709370657
2008-05-13 01:53:19 +00:00
Maurus Cuelenaere
93b280a42c Add (preliminary) Zen Vision support.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17485 a1c6a512-1295-4272-9138-f99709370657
2008-05-12 21:28:13 +00:00
Christian Gmeiner
207fc5c51c hopefully fix problems with setting bass/treble on wm8751 tragets (mrobe100,...)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17478 a1c6a512-1295-4272-9138-f99709370657
2008-05-12 18:42:20 +00:00
Andree Buschmann
e8df7c4904 Undo r17470 because of regressions in some debug menus.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17472 a1c6a512-1295-4272-9138-f99709370657
2008-05-12 15:37:03 +00:00
Andree Buschmann
0b81405225 Fix for FS#5162. Being able to read scrollwheel action via 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-12 08:27:53 +00:00
Michael Sevakis
248194164d Disable the ata locking hack since a recent test strongly suggests it has been resolved as of r17426. Leave the code for now just in case.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17468 a1c6a512-1295-4272-9138-f99709370657
2008-05-11 20:56:27 +00:00
Michael Sevakis
71372162b1 Enable write buffering for the 1MB device memory section. This means using a different device framebuffer address too. You must update the firmware _and_ bootloader.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17458 a1c6a512-1295-4272-9138-f99709370657
2008-05-11 15:39:00 +00:00
Maurus Cuelenaere
ba3cfca6dd Use LTV350QV register definitions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17452 a1c6a512-1295-4272-9138-f99709370657
2008-05-11 08:10:57 +00:00
Karl Kurbjun
f177de9aff Fix the bootloader
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17450 a1c6a512-1295-4272-9138-f99709370657
2008-05-10 22:12:57 +00:00
Michael Sevakis
209aa8eda5 Real fake IRAM by placing .i.... section in the analagous DRAM sections in the linker scripts that hasn't done this yet.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17449 a1c6a512-1295-4272-9138-f99709370657
2008-05-10 22:03:45 +00:00
Karl Kurbjun
66010b9f30 Fix high power consumption at powerup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17445 a1c6a512-1295-4272-9138-f99709370657
2008-05-10 19:43:23 +00:00
Michael Sevakis
1ec35841d6 Fix yellow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17444 a1c6a512-1295-4272-9138-f99709370657
2008-05-10 18:32:34 +00:00
Karl Kurbjun
0220a5fbc3 Fix the ARM assembly to ensure that the stack is not used.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17443 a1c6a512-1295-4272-9138-f99709370657
2008-05-10 18:30:46 +00:00
Michael Sevakis
80278e45aa Bring Gigabeat S bootloader one step close to a release version.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17442 a1c6a512-1295-4272-9138-f99709370657
2008-05-10 18:00:11 +00:00
Michael Sevakis
6df1a86e99 Remove inner loop from button scanning on Gigabeat S. Requires changing the button codes but it's not a "functional port" so no plugin API version increase is done though a full update will be needed since any using the values will be incompatible.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17432 a1c6a512-1295-4272-9138-f99709370657
2008-05-09 21:19:58 +00:00
Michael Sevakis
25583656d9 Backlight brightness setting for Gigabeat S. Cleanup headers in target backlight file too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17428 a1c6a512-1295-4272-9138-f99709370657
2008-05-08 22:03:49 +00:00
Jens Arnold
8291cd76de Fix the short audio dropout at disk spinup from power-off on portalplayer targets (observed on Mini G2, probably affected others as well).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17426 a1c6a512-1295-4272-9138-f99709370657
2008-05-08 21:36:50 +00:00
Nils Wallménius
ad5c4b6511 Add two missing rockbox headers and set svn:eol-style
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17418 a1c6a512-1295-4272-9138-f99709370657
2008-05-08 16:47:24 +00:00
Nils Wallménius
f24eaabcad Disable clocks for most modules in the imx31l on startup, individual drivers handle enabling/disabling clocks for used modules
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17417 a1c6a512-1295-4272-9138-f99709370657
2008-05-08 16:27:23 +00:00
Nils Wallménius
89aca6aa77 Oops, it's called mc13783...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17416 a1c6a512-1295-4272-9138-f99709370657
2008-05-08 15:49:46 +00:00
Michael Sevakis
3ff1d584ef Hehe. Should probably implement ide_powered if implementing ide_power_enable.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17415 a1c6a512-1295-4272-9138-f99709370657
2008-05-08 14:11:26 +00:00
Michael Sevakis
6dd6ea74af Gigabeat S RoLo: Properly execute firmware copy from an IRAM stub because the currently running image was being overwritten in place. Minor tweak to rolo.c based on imx31 errata sheet about not masking FIQ without masking IRQ which is fine to use on all ARM anyway.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17414 a1c6a512-1295-4272-9138-f99709370657
2008-05-08 12:09:14 +00:00
Michael Sevakis
e616092fd5 Gigabeat S: Might as well show the actual CPU frequency to avoid confusion.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17413 a1c6a512-1295-4272-9138-f99709370657
2008-05-08 10:10:09 +00:00
Michael Sevakis
e574efa8f7 Gigabeat S: Allow battery selection from 700mAh to 1200mAh. Default to the stock capacity of 700mAh. Correct selection will be important for proper charging control.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17412 a1c6a512-1295-4272-9138-f99709370657
2008-05-08 10:02:19 +00:00
Michael Sevakis
86680e7f4b Gigabeat S: Put in (so it appears) proper delays for USB PHY reset. Use the atomic regmod functions to change bits.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17411 a1c6a512-1295-4272-9138-f99709370657
2008-05-08 09:03:19 +00:00
Michael Sevakis
6e5e20b1e1 Remove an unneeded #include and a lone "#" on a line (it's early).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17410 a1c6a512-1295-4272-9138-f99709370657
2008-05-08 08:09:24 +00:00