Commit graph

2013 commits

Author SHA1 Message Date
Thomas Martitz
7dd548c697 Speed up the Fuze's LCD by a factor of ~2.1 (lcd_update()) by using 32bit transfers when possible.
Unaligned (to 4byte boundary) and odd (where the amount of data is not an integer multiple of 32bit) are still supported. Even those still have a speedup of >2.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22574 a1c6a512-1295-4272-9138-f99709370657
2009-08-31 15:54:25 +00:00
Maurus Cuelenaere
2a49ff672e Fix Onda VX777 boot extension
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22560 a1c6a512-1295-4272-9138-f99709370657
2009-08-30 13:18:26 +00:00
Thomas Martitz
9ed1a154a5 Samsung YH925: Implement lcd flipping. Although it's a questionable feature, it should enable us to fix the problem that the OF's display is flipped after the Rockbox bootloader.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22554 a1c6a512-1295-4272-9138-f99709370657
2009-08-30 02:01:45 +00:00
Karl Kurbjun
7bb7c5f0cc Add stride defines to support vertical strides
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22546 a1c6a512-1295-4272-9138-f99709370657
2009-08-29 19:31:29 +00:00
Maurus Cuelenaere
20b0dd2788 A new implementation of logf, logfdisplay and logfdump.
Flyspray: FS#10528
Author: Amaury Pouly


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22462 a1c6a512-1295-4272-9138-f99709370657
2009-08-21 22:54:23 +00:00
Thomas Martitz
3f7f860bc5 Enable dircache for targets with 8MB RAM too (AMS Sansas, modded Archoses).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22443 a1c6a512-1295-4272-9138-f99709370657
2009-08-20 20:30:35 +00:00
Karl Kurbjun
7b4d709f9d M:Robe 500: Add support for DMA based LCD updates when in Portrait mode. TestFPS measures 190 FPS with the DMA updates vs. 58 FPS for the non-DMA updates.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22435 a1c6a512-1295-4272-9138-f99709370657
2009-08-20 00:36:39 +00:00
Nils Wallménius
4f87976677 Slight cleanup in lcd.h: kill fixme and remove useless include, add some includes elsewhere and add a stub for sims instead of ifdef
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22431 a1c6a512-1295-4272-9138-f99709370657
2009-08-19 21:48:17 +00:00
Rafaël Carré
fed07312ed h300 has a 16 bits display, not a 2 bits.
do not put lcd framebuffer in iram because there is no room for it.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22402 a1c6a512-1295-4272-9138-f99709370657
2009-08-18 04:36:42 +00:00
Rafaël Carré
5929a8fb47 iaudiox5 has a 16 bits display, not a 2 bits.
do not put lcd framebuffer in iram because there is no room for it.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22401 a1c6a512-1295-4272-9138-f99709370657
2009-08-18 04:32:03 +00:00
Rafaël Carré
9eea8abce5 LCD_DEPTH == 2, vertical packing: specify if lcd framebuffer is in iram into the model specific config file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22400 a1c6a512-1295-4272-9138-f99709370657
2009-08-18 04:24:01 +00:00
Rafaël Carré
ee9ece1acf LCD_DEPTH == 2, horizontal packing: specify if lcd framebuffer is in iram into the model specific config file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22399 a1c6a512-1295-4272-9138-f99709370657
2009-08-18 04:23:57 +00:00
Rafaël Carré
5b1192f834 LCD_DEPTH == 2, vertical interleaved : specify if lcd framebuffer is in iram into the model specific config file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22398 a1c6a512-1295-4272-9138-f99709370657
2009-08-18 04:23:53 +00:00
Rafaël Carré
47b2b579cc LCD_DEPTH == 1 : specify if lcd framebuffer is in iram into the model specific config file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22397 a1c6a512-1295-4272-9138-f99709370657
2009-08-18 04:10:06 +00:00
Karl Kurbjun
f451108fa8 M:Robe 500: Increase the max icon size.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22393 a1c6a512-1295-4272-9138-f99709370657
2009-08-18 00:53:27 +00:00
Maurus Cuelenaere
d7aa42dde0 Onda VX747: don't enable software volume control in sims
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22377 a1c6a512-1295-4272-9138-f99709370657
2009-08-17 12:55:30 +00:00
Maurus Cuelenaere
e49ffb23fc * Onda VX747/VX767: fix target_id & MODEL_NUMBER
* Add support to Rockbox Utility for Onda VX747+ & VX777


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22359 a1c6a512-1295-4272-9138-f99709370657
2009-08-16 21:03:22 +00:00
Rob Purchase
e783d0c82a TCC: Implement ECC error correction for sectors read from NAND. Tested on D2 (78x, MLC) and M200 (77x, SLC).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22284 a1c6a512-1295-4272-9138-f99709370657
2009-08-12 19:26:04 +00:00
Rob Purchase
4c5ae4b068 D2: Re-enable SD(HC) driver as there have been no further reports of damaged cards.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22283 a1c6a512-1295-4272-9138-f99709370657
2009-08-12 19:14:46 +00:00
Michael Giacomelli
6469926b88 FS#10506. Don't compile various crossfade only functions in pcmbuf.c on low memory targets (mainly AMS) to save memory. Some crossfade related items remain in the code, but they're not worth cluttering the code with ifdefs over. Also, introduce HAVE_CROSSFADE define for neatness.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22248 a1c6a512-1295-4272-9138-f99709370657
2009-08-11 02:05:38 +00:00
Karl Kurbjun
5a2e19db64 M:Robe 500: Start Building at 640x480 by default.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22216 a1c6a512-1295-4272-9138-f99709370657
2009-08-09 05:17:10 +00:00
Thomas Martitz
0f50302b1d Samsung YH925: Support for battery monitoring and charging. Discharge curve not yet calibrated.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22194 a1c6a512-1295-4272-9138-f99709370657
2009-08-07 13:32:35 +00:00
Maurus Cuelenaere
3c7c79189e * Move DSP_CALLBACK_* enum to sound.h
* Add software based volume control for a certain range (SW_VOLUME_MIN -> SW_VOLUME_MAX)
 * Make Onda VX747 use it
 * Don't change volume or frequency in Ingenic Jz4740 codec driver when they're already set


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22106 a1c6a512-1295-4272-9138-f99709370657
2009-08-01 21:38:18 +00:00
Bertrik Sikken
4e7517dfb1 Samsung YP-S3: implement button lights
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22100 a1c6a512-1295-4272-9138-f99709370657
2009-08-01 17:27:22 +00:00
Bertrik Sikken
2fb73842a9 Start of a Rockbox port to the Samsung YP-S3.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22085 a1c6a512-1295-4272-9138-f99709370657
2009-07-29 20:42:02 +00:00
Maurus Cuelenaere
38b08060af Onda VX7x7: fix error when compiling with USB_BOOT defined
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22080 a1c6a512-1295-4272-9138-f99709370657
2009-07-29 12:57:42 +00:00
Rob Purchase
c6309633a1 Re-work D2 power off behaviour.
* Inhibit PCF timeout during shutdown and while charging
* Power off the player using the same mechanism as the OF (GPIO)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22056 a1c6a512-1295-4272-9138-f99709370657
2009-07-26 19:41:24 +00:00
Robert Kukla
275a30092e initial commit of remote support for m:robe 100 courtesy of lowlight; simulator support including small fixes for the m:robe 500
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22053 a1c6a512-1295-4272-9138-f99709370657
2009-07-26 14:26:14 +00:00
Rob Purchase
457eb6b2e9 Disable the D2 SD driver for the time being since there are reports of damaged SD cards.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21999 a1c6a512-1295-4272-9138-f99709370657
2009-07-22 21:15:39 +00:00
Rob Purchase
ef3064eac0 D2: Enable tagcache database
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21969 a1c6a512-1295-4272-9138-f99709370657
2009-07-19 18:08:59 +00:00
Frank Gevaerts
43d6c6c7c5 fix ifdef (HAVE_HOTSWAP, not HOTSWAP)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21968 a1c6a512-1295-4272-9138-f99709370657
2009-07-19 17:49:06 +00:00
Rob Purchase
3a88746780 D2: A working read/write SD(HC) driver, based on the PP equivalent. See CowonD2Info wiki for usage notes/restrictions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21967 a1c6a512-1295-4272-9138-f99709370657
2009-07-19 17:31:56 +00:00
Frank Gevaerts
11a14dd998 adapt c200v2 and view defines to the new drive/volume handling scheme
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21955 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 13:18:48 +00:00
Maurus Cuelenaere
631b966a1d Fix Onda VX747(+)/VX777 simulator build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21954 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 13:18:33 +00:00
Dave Chapman
386503502b Various Nano2g changes - enable the rest of crt0.S (including clock setup) and make the nano2g bootloader do something useful (displaying gpio ports). Also add checks for the fifo-full condition in the LCD driver - required after enabling all the crt0.S inits
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21948 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 11:31:19 +00:00
Frank Gevaerts
c247483ef1 fix ata-nand-s5l8700 compilation properly this time
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21938 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 23:19:21 +00:00
Frank Gevaerts
e12fdfcfb0 remove obsolete nand_spinup_time() declaration
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21937 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 23:11:50 +00:00
Frank Gevaerts
c0a5a67387 Commit FS#9545, storage cleanup and multi-driver support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21933 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 22:28:49 +00:00
Robert Kukla
bb3b57f645 make ELIO_TPJ1022 bootloader compile again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21932 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 22:07:06 +00:00
Robert Keevil
a0d630f3de Add information gleaned from disassembling the main firmware image. Detect lcd type in use. Still no actual output
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21929 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 20:40:40 +00:00
Rafaël Carré
bdb5974c0e Revert r21912 : "Storage API : remove undeeded target-specific functions"
After a discussion mixed on mailing list and irc, it was agreed that
more abstraction for plugins is better (so developers don't have to add
a check to HAVE_DISK_STORAGE when writing disk-specific code)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21923 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 16:34:34 +00:00
Maurus Cuelenaere
cf9935d636 Onda VX747: add dual-boot capability + make it possible to permanently 'stick' Rockbox to your DAP
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21919 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 14:30:42 +00:00
Karl Kurbjun
9660a8589c M:Robe 500: Fix simulator build and include some small changes for the 640x480 setup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21914 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 04:29:34 +00:00
Karl Kurbjun
c97a3bf180 M:Robe 500: Start of interrupt support.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21913 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 03:44:01 +00:00
Rafaël Carré
8eba69f91b Storage API : remove undeeded target-specific functions
storage_sleep, storage_spin, storage_spindown are only defined if #defiend (HAVE_DISK_STORAGE), not for MMC/ATA/SD
remove already unneeded nand_disk_is_active, nand_soft_reset

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21912 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 00:09:14 +00:00
Dave Chapman
715d8c63d9 Add auto-detection of Nano 2G LCD type, and an initial attempt at lcd_update() for the second lcd type. This lcd_update works, but not reliably.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21905 a1c6a512-1295-4272-9138-f99709370657
2009-07-16 18:03:09 +00:00
Dave Chapman
a677e1ba26 Oops, r21896 used the wrong #if check. Thanks to Thomas Martitz for spotting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21897 a1c6a512-1295-4272-9138-f99709370657
2009-07-16 00:19:39 +00:00
Dave Chapman
c969047fea The S5L8701 has the LCD controller in a different place.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21896 a1c6a512-1295-4272-9138-f99709370657
2009-07-16 00:12:46 +00:00
Dave Chapman
0d484bad5e Introduce S5L8701 CONFIG_CPU definition for Nano2G and a new CPU_S5L870X "family" define - the 8700 and 8701 are proving to be different. Also move all the cpu-specific defines earlier in config.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21886 a1c6a512-1295-4272-9138-f99709370657
2009-07-15 21:34:31 +00:00
Rob Purchase
75b27eaacc Guard the Timeout API declarations with the correct #ifdef
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21869 a1c6a512-1295-4272-9138-f99709370657
2009-07-14 20:04:26 +00:00