Commit graph

6467 commits

Author SHA1 Message Date
Rafaël Carré
02a53fd809 Sansa AMS: add a comment in sdram_init(), and use inline asm to set the SDRAM mode register
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21282 a1c6a512-1295-4272-9138-f99709370657
2009-06-13 23:52:13 +00:00
Karl Kurbjun
4d41886caa M:Robe 500: Fix up 256 color blitting when in portrait mode, fix a mistake in the plugin linker script, reduce the amount of memory used by overwriting IRAM with bss after program has started, clean up some tabs and formatting, resize the simulator when building for 640x480
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21280 a1c6a512-1295-4272-9138-f99709370657
2009-06-13 20:59:03 +00:00
Bertrik Sikken
52c46f2ec6 Fix bug in earlier commit of FS#10317: don't mix TIMER1 and TIMER2 settings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21273 a1c6a512-1295-4272-9138-f99709370657
2009-06-13 15:01:25 +00:00
Bertrik Sikken
d1faf8b39c FS#10317 - Sansa AMS 32-bit timers. Configure the timers for 32-bit mode instead of the default 16-bit mode.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21266 a1c6a512-1295-4272-9138-f99709370657
2009-06-12 21:11:45 +00:00
Jens Arnold
81b87fe13d Add iAudio M5 FM radio mod to the advanced build options. * Unify iAudio audio driver, fmradio i2c driver, and power driver (M5 + X5 only).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21264 a1c6a512-1295-4272-9138-f99709370657
2009-06-12 18:53:44 +00:00
Bertrik Sikken
426cdb1284 Commit FS#10285 - Sansa Clip alternative button driver. This driver alternates one row in the button matrix per kernel tick, avoiding the need for explicit delays between selecting a button row and reading colums.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21253 a1c6a512-1295-4272-9138-f99709370657
2009-06-11 22:17:47 +00:00
Bertrik Sikken
79f348a178 Minor nitpick: don't do |= on the write-only GPIOA_IC register
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21251 a1c6a512-1295-4272-9138-f99709370657
2009-06-11 20:43:53 +00:00
Rafaël Carré
460a1c4497 Sansa AMS storage driver: restart bank selection if data transfer failed, and precise a comment about retry variable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21248 a1c6a512-1295-4272-9138-f99709370657
2009-06-11 17:28:24 +00:00
Rafaël Carré
7572141d42 FS#10309 : Sets reasonable timeouts for data access in the SD driver
Those are the recommended maximal timeouts in §4.6.2
Despite that, some people still experiment problems with the SD driver since MMU and data cache were enabled

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21247 a1c6a512-1295-4272-9138-f99709370657
2009-06-11 17:17:12 +00:00
Maurus Cuelenaere
b11131f60e Onda VX747: support FAT16
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21245 a1c6a512-1295-4272-9138-f99709370657
2009-06-10 17:43:51 +00:00
Maurus Cuelenaere
0711190db1 Correct some comments (no functional changes)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21236 a1c6a512-1295-4272-9138-f99709370657
2009-06-09 19:18:30 +00:00
Maurus Cuelenaere
b91ebdd600 Properly implement backlighting on Onda VX7x7 (using PWM).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21235 a1c6a512-1295-4272-9138-f99709370657
2009-06-09 17:19:43 +00:00
Thomas Martitz
174b910664 Alright, revert r21229 for now. Stupid me forgetting about the inclusion sequence :(
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21231 a1c6a512-1295-4272-9138-f99709370657
2009-06-09 01:44:19 +00:00
Rafaël Carré
e2f165c088 Sansa AMS: make the UNCACHED_ADDR macro work for any type of pointer, and only use pointers with it, not arrays
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21230 a1c6a512-1295-4272-9138-f99709370657
2009-06-09 00:51:30 +00:00
Thomas Martitz
3b0fca3c6c Use the AMS_LOWMEM define to indicate memory size as the .lds files do in config.h too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21229 a1c6a512-1295-4272-9138-f99709370657
2009-06-08 23:54:56 +00:00
Rafaël Carré
f504153857 FS#10048 : enable MMU and data cache on Sansa AMS to give a major speed up
- cache IRAM and DRAM
- map IRAM just next to DRAM to remove the need for -mlong-calls and reduce binsize
- tweak delays in Fuze button code
- tweak delays in Clip button code (down button sometimes doesn't respond anyway : an alternate driver is being worked on)

Before reporting any problem, please check your filesystem or format your player from the OF

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21228 a1c6a512-1295-4272-9138-f99709370657
2009-06-08 23:05:33 +00:00
Bertrik Sikken
5631bf7343 Sansa fuze: don't configure GPIO A7 in the LCD driver, this pin is used for fm radio
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21225 a1c6a512-1295-4272-9138-f99709370657
2009-06-08 19:54:58 +00:00
Bertrik Sikken
3589be4bdd Sansa e200v2: use = instead of |= when setting GPIO level
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21224 a1c6a512-1295-4272-9138-f99709370657
2009-06-08 19:48:30 +00:00
Maurus Cuelenaere
99c854e30a VX767: cleanup LCD driver a bit + add forgotten backlight-target.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21214 a1c6a512-1295-4272-9138-f99709370657
2009-06-08 08:59:37 +00:00
Karl Kurbjun
038c808466 M:Robe 500: Add missing file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21212 a1c6a512-1295-4272-9138-f99709370657
2009-06-08 01:05:22 +00:00
Karl Kurbjun
4fddd5cbf6 Fix Creative ZVM build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21209 a1c6a512-1295-4272-9138-f99709370657
2009-06-08 00:48:48 +00:00
Karl Kurbjun
4a483bb1bf M:Robe 500: Mostly complete USB driver, supports BULK mode currently and gets about 2 MB/s writes vs 1.1 MB/s on the OF. Mostly tested against Linux, preliminary testing in Windows appears to work. There is currently a bug in the attach process where it only works once per boot that needs to be fixed. There are a few other minor M:Robe 500 changes as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21208 a1c6a512-1295-4272-9138-f99709370657
2009-06-08 00:19:16 +00:00
Rafaël Carré
f8a8619615 FS#10273 : Power Sansa Clip screen for some models needing as3514's DCDC15
No battery life loss for models not needing it

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21207 a1c6a512-1295-4272-9138-f99709370657
2009-06-07 23:33:43 +00:00
Jens Arnold
1d6df54df2 Convert a number of places in core and plugins to use the BIT_N() macro instead of 1<<n. Speeds up things on SH1, and also reduces core binsize. Most notable speedups: 1 bit lcd driver: drawpixel +20%, drawline + 27%, hline +5%; jpeg viewer: +8% for 1/8 scaling. Other targets are unaffected.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21205 a1c6a512-1295-4272-9138-f99709370657
2009-06-07 21:27:05 +00:00
Bertrik Sikken
9f7b0b9d1e Fix some delays in generic_i2c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21200 a1c6a512-1295-4272-9138-f99709370657
2009-06-06 21:05:54 +00:00
Rafaël Carré
1d97a380e2 Sansa Clip: apply r21190 to asm lcd_greydata : 2% speedup
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21199 a1c6a512-1295-4272-9138-f99709370657
2009-06-06 14:13:48 +00:00
Andrew Mahone
c76d940c06 Replace 1UL in BIT_N with 1U to avoid turning it into a 64-bit operation on 64-bit sim targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21197 a1c6a512-1295-4272-9138-f99709370657
2009-06-06 00:58:57 +00:00
Andrew Mahone
d2eb5d2901 Fix undefined BIT_N on non-SH targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21196 a1c6a512-1295-4272-9138-f99709370657
2009-06-06 00:11:41 +00:00
Andrew Mahone
de7c5711c5 Add a system-wide BIT_N macro, implemented via an LUT on SH, and use it in the TAGCACHE_IS_* macros in place of per-set LUTs, removing duplication of data between those LUTs and the mask values used on other targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21195 a1c6a512-1295-4272-9138-f99709370657
2009-06-06 00:00:58 +00:00
Bertrik Sikken
82902a8ade Make more effective use of the DBOP FIFO for the sansa clip.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21190 a1c6a512-1295-4272-9138-f99709370657
2009-06-04 19:53:39 +00:00
Rafaël Carré
2409c28f21 Sansa AMS: Revert r21177 : the timer frequency is used by the user timer (example: metronome will be twice too fast)
Instead use a private KERNEL_TIMER_FREQ define which is dependant on HAVE_SCROLLWHEEL
Comment that call_tick_tasks() will read the scrollwheel
Remove the unneeded volatile type qualifier from poll_scrollwheel

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21187 a1c6a512-1295-4272-9138-f99709370657
2009-06-04 14:50:07 +00:00
Maurus Cuelenaere
aa7b081bad Ingenic Jz4740: fix debug messages not being readable due to backdrop
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21186 a1c6a512-1295-4272-9138-f99709370657
2009-06-04 12:08:33 +00:00
Maurus Cuelenaere
48203093ce Fix RoLo on MIPS targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21185 a1c6a512-1295-4272-9138-f99709370657
2009-06-04 11:57:43 +00:00
Maurus Cuelenaere
398e1059c5 Ingenic Jz4740: should fix timer (thanks to Rafaël Carré)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21184 a1c6a512-1295-4272-9138-f99709370657
2009-06-03 22:52:54 +00:00
Maurus Cuelenaere
63bc7c9009 Ingenic Jz4740: add extended exception debug reporting option
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21183 a1c6a512-1295-4272-9138-f99709370657
2009-06-03 16:25:54 +00:00
Jack Halpin
a0c4b8bffb git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21182 a1c6a512-1295-4272-9138-f99709370657 2009-06-03 13:11:21 +00:00
Thomas Martitz
d1b0ee9f04 Change the timer interrupt setup so that TIMER_FREQ is changed for HAVE_SCROLLWHEEL (which read the scrollwheel between tick tasks too) instead of the generated variable. No functional change.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21177 a1c6a512-1295-4272-9138-f99709370657
2009-06-03 11:35:56 +00:00
Rafaël Carré
c8f22f5a8f Sansa AMS : don't use the SHAREDBSS_ATTR since we don't have a coprocessor
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21171 a1c6a512-1295-4272-9138-f99709370657
2009-06-02 22:45:02 +00:00
Thomas Martitz
4aec45e68f Revisite Sansa fuze button driver:
*Correct/update some comments
*Make BUTTON_REPEAT generation more relable (do it like the e200v2, but with a shorter repeat intervall)
*adjust button_delay
*remove unecessary wait for fifo empty (no lcd function returns with fifo not empty)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21166 a1c6a512-1295-4272-9138-f99709370657
2009-06-02 01:31:16 +00:00
Jens Arnold
c1d27d105c Speed up mono bitmap drawing on horizontally packed greyscale targets (greyscale iPods). Average speedup is 80% on PP5002, and 55% on PP502x. * Simplify mono bitmap drawing in the 16 bit driver and the greylib a bit, also giving a slight speedup (3% on PP502x, 1.5% on coldfire).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21163 a1c6a512-1295-4272-9138-f99709370657
2009-06-01 21:28:03 +00:00
Maurus Cuelenaere
aa7d43f7a6 Fix reds & yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21162 a1c6a512-1295-4272-9138-f99709370657
2009-06-01 21:21:29 +00:00
Maurus Cuelenaere
fd11471a3f Onda VX747: try at implementing FM tuner support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21160 a1c6a512-1295-4272-9138-f99709370657
2009-06-01 21:00:31 +00:00
Bertrik Sikken
5212f03124 Add missing delay in i2c_start of the generic_i2c driver, used by ams targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21159 a1c6a512-1295-4272-9138-f99709370657
2009-06-01 19:45:19 +00:00
Thomas Martitz
0b6ff6660a Samsung YH*: Enable RTC on all, enable lcd contrast on 925.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21157 a1c6a512-1295-4272-9138-f99709370657
2009-06-01 17:21:19 +00:00
Marc Guay
86ce407803 c100: Get a regular build compiling. Very little functionality.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21153 a1c6a512-1295-4272-9138-f99709370657
2009-06-01 12:37:25 +00:00
Rafaël Carré
f5db6b9ce3 Sansa AMS : higher a bit the delay between acmd41 loops, needed for some microsd cards. FS#10268 by Eric Shattow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21152 a1c6a512-1295-4272-9138-f99709370657
2009-06-01 10:51:05 +00:00
Bertrik Sikken
9067c915ad Use I2C2_DACNT register (number of pending i2c bytes to read/write) to determine if an ascodec i2c transfer is done. This should fix i2c problems with MMU enabled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21150 a1c6a512-1295-4272-9138-f99709370657
2009-05-31 17:48:19 +00:00
Nils Wallménius
b2afc258dc Old patch from FS#7832: Sprinkle 'volatile' in the various inline assembler statements, needed for the driver to work when compiled with newer gcc, should make no functional difference with the currently used version
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21147 a1c6a512-1295-4272-9138-f99709370657
2009-05-31 16:33:22 +00:00
Magnus Holmgren
3651319d45 Fix typo. Not sure how it will affect targets with that CPU though...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21146 a1c6a512-1295-4272-9138-f99709370657
2009-05-31 15:55:27 +00:00
Jens Arnold
f31e86338a Use bit-doubled mask everywhere in mono bitmap drawing. ~2% speedup, and smaller.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21141 a1c6a512-1295-4272-9138-f99709370657
2009-05-31 07:27:43 +00:00
Jens Arnold
72061047d1 Two tiny optimisations for mono bitmap drawing on greyscale displays: (1) H1x0, M5: Manipulate destination masks directly for the aligned case - ~0.7% speedup. (2) Greyscale ipods: Use sentinel method for reloading data like the 16 bit driver does - ~1.5% speedup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21139 a1c6a512-1295-4272-9138-f99709370657
2009-05-30 23:35:44 +00:00
Jack Halpin
95ac12a68f AMSSansa: Add AS3525_DRAM_FREQ as a configurable frequency. Attempts to use PCLK != DRAM still fail but a method is now in place. Default scheme remains 248/62/62.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21130 a1c6a512-1295-4272-9138-f99709370657
2009-05-29 20:19:35 +00:00
Frank Gevaerts
dd742b72ff Remove an old safety making sure that people re-ran configure after the h120/h100 split. People now have had nearly four years to do so, which is probably enough
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21129 a1c6a512-1295-4272-9138-f99709370657
2009-05-29 18:27:48 +00:00
Marianne Arnold
74a22ff1a3 Make 'Backlight mod' an Advanced build option for the Ondios (largely inspired by the RTC mod related changes in r12555). Remove the defines in the config files as you won't need to 'hack' them anymore, just chose the right options while running 'configure'.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21128 a1c6a512-1295-4272-9138-f99709370657
2009-05-29 13:36:12 +00:00
Jack Halpin
b714ace163 AMSSansa: clock-target.h and debug-as3525 now use AS3525_FCLK_PREDIV correctly. Default frequency scheme remains 248/62/62.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21125 a1c6a512-1295-4272-9138-f99709370657
2009-05-29 06:43:37 +00:00
Jack Halpin
b4b7c7501e AMSSansa: Change comment to describe FCLK as input more accurately
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21124 a1c6a512-1295-4272-9138-f99709370657
2009-05-29 00:06:13 +00:00
Jack Halpin
5941869a69 AMSSansa: Display AMBA Bus mode and mmu, icache, & dcache status on View HW info page
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21121 a1c6a512-1295-4272-9138-f99709370657
2009-05-28 20:27:31 +00:00
Marc Guay
64595105b1 Set up the c100 for dual-booting.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21105 a1c6a512-1295-4272-9138-f99709370657
2009-05-27 22:32:39 +00:00
Maurus Cuelenaere
56d721fda9 Fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21098 a1c6a512-1295-4272-9138-f99709370657
2009-05-26 23:28:53 +00:00
Maurus Cuelenaere
a0458dac2b Fix audio on Onda VX747
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21097 a1c6a512-1295-4272-9138-f99709370657
2009-05-26 22:57:49 +00:00
Rafaël Carré
83eb479732 FS#10216 : Sansa AMS : Do not cross a bank boundary in a single transfer (Only for 8GB or more -if they exist- players)
Also add a few comments in the code

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21096 a1c6a512-1295-4272-9138-f99709370657
2009-05-26 21:08:47 +00:00
Alexander Levin
1bf480cad5 Fix typo in the comment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21093 a1c6a512-1295-4272-9138-f99709370657
2009-05-26 20:31:26 +00:00
Rafaël Carré
ef9aacb2e0 FS#10245 by Jack Halpin : Adjust Clocking scheme on Sansa AMS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21088 a1c6a512-1295-4272-9138-f99709370657
2009-05-26 18:44:02 +00:00
Thomas Martitz
29bbcebee4 Samsung YH*: enable bmp scaler and core jpeg support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21087 a1c6a512-1295-4272-9138-f99709370657
2009-05-25 22:59:23 +00:00
Mark Arigo
758bb3bc62 3 new ports: Samsung YH-820, YH-920, and YH-925. Mostly functional. Audio working on 820 & 925 (untested on the 920). No battery readings. No recording. No plugins. Keymap needs work.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21083 a1c6a512-1295-4272-9138-f99709370657
2009-05-25 21:10:45 +00:00
Marc Guay
244afc0a0f Improve the c100 keymap and button names.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21081 a1c6a512-1295-4272-9138-f99709370657
2009-05-25 20:04:31 +00:00
Maurus Cuelenaere
aec37aa5fe * read_bmp_*(): add FORMAT_RETURN_SIZE
* Lua: add luaL_checkboolean() & luaL_optboolean()
* Lua: add read_bmp_file


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21074 a1c6a512-1295-4272-9138-f99709370657
2009-05-25 11:12:27 +00:00
Frank Gevaerts
4f2dfcc01b always call the class driver init function. This is needed because they are called before the usb_core_enable_driver() calls, so depending on enabled status breaks things
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21069 a1c6a512-1295-4272-9138-f99709370657
2009-05-24 20:46:57 +00:00
Frank Gevaerts
47a3b73de7 don't disable usb storage by accident
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21060 a1c6a512-1295-4272-9138-f99709370657
2009-05-23 15:50:22 +00:00
Frank Gevaerts
7a8c615de3 swap bootloader and non-bootloader cases around to avoid an ugly #ifndef
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21058 a1c6a512-1295-4272-9138-f99709370657
2009-05-23 15:19:11 +00:00
Frank Gevaerts
ee1b6aa237 Fix wrong #ifdefs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21057 a1c6a512-1295-4272-9138-f99709370657
2009-05-23 15:10:10 +00:00
Frank Gevaerts
7557d5679d Clarify comment and clean up a bit (FS#10227 by Tomer Shalev)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21055 a1c6a512-1295-4272-9138-f99709370657
2009-05-23 14:50:30 +00:00
Frank Gevaerts
c61a75173b Reorganise USB stack defines. Now config.h decides which class drivers get enabled instead of usb_core.h
Also enable HID, and use that as the dummy class instead of charging-only for controllers that have working interrupt transfers.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21053 a1c6a512-1295-4272-9138-f99709370657
2009-05-23 14:30:20 +00:00
Frank Gevaerts
bca3d3dca4 Fix #ifdef nesting to allow USB_HID to be built without USB_CHARGING_ONLY (FS#10236 by Tomer Shalev)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21052 a1c6a512-1295-4272-9138-f99709370657
2009-05-23 12:41:46 +00:00
Rafaël Carré
1a4f330a35 Sansa AMS : remove misleading comment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21030 a1c6a512-1295-4272-9138-f99709370657
2009-05-22 10:44:09 +00:00
Maurus Cuelenaere
cf87597226 Commit FS#9174: Lua scripting language by Dan Everton
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21020 a1c6a512-1295-4272-9138-f99709370657
2009-05-21 19:01:41 +00:00
Bertrik Sikken
4a4639e157 Update as3525 i2c register description
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21018 a1c6a512-1295-4272-9138-f99709370657
2009-05-21 18:31:50 +00:00
Rafaël Carré
442726339a Sansa AMS: show correct clock speeds for NAND & SD card
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21017 a1c6a512-1295-4272-9138-f99709370657
2009-05-21 17:35:56 +00:00
Bertrik Sikken
c0859f04be Move private #defines from i2c-pp.h to i2c-pp.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21014 a1c6a512-1295-4272-9138-f99709370657
2009-05-21 14:31:47 +00:00
Bertrik Sikken
ab222c1705 Simplify some redundant boolean expressions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21013 a1c6a512-1295-4272-9138-f99709370657
2009-05-21 14:15:24 +00:00
Bertrik Sikken
a968ddbb39 Fix tuner_power warning on ondio FM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21012 a1c6a512-1295-4272-9138-f99709370657
2009-05-21 13:25:27 +00:00
Bertrik Sikken
2dc2054319 Remove some unused declarations
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21010 a1c6a512-1295-4272-9138-f99709370657
2009-05-21 12:32:26 +00:00
Maurus Cuelenaere
0e725551af Replace some TABs with spaces (no functional changes)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21009 a1c6a512-1295-4272-9138-f99709370657
2009-05-21 12:29:51 +00:00
Rafaël Carré
0f93ae5da0 Sansa AMS: move OF size declaration in model specific config
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21008 a1c6a512-1295-4272-9138-f99709370657
2009-05-21 11:46:52 +00:00
Rafaël Carré
c7b698119d Sansa AMS: Partly revert r20923 (reset IDE maximal freq to 90MHz to fix problems with some players)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21007 a1c6a512-1295-4272-9138-f99709370657
2009-05-21 11:46:36 +00:00
Maurus Cuelenaere
d2595ec075 Onda VX747: improve the USB insertion detection
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21001 a1c6a512-1295-4272-9138-f99709370657
2009-05-20 21:59:51 +00:00
Thomas Martitz
4633446517 Sansa AMS: Centralise mapping of RAM and IRAM in as3525.h via #defines. This will hopefully make ongoing mmu work easier as less places need to be changed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21000 a1c6a512-1295-4272-9138-f99709370657
2009-05-20 21:09:53 +00:00
Frank Gevaerts
fba4be213f Don't force double-buffering for sd devices. They apparently are not faster with it, ans possibly actually slower
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20999 a1c6a512-1295-4272-9138-f99709370657
2009-05-20 16:57:17 +00:00
Maurus Cuelenaere
9c2ebdf724 Speed up LCD driver on Ingenic Jz4740 by doing some sort of partial LCD updates.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20997 a1c6a512-1295-4272-9138-f99709370657
2009-05-20 12:43:23 +00:00
Maurus Cuelenaere
8bcb4a6971 Fix Ingenic Jz4740 USB driver (USB IN <-> OUT) and some whitespace cleaning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20996 a1c6a512-1295-4272-9138-f99709370657
2009-05-20 12:37:56 +00:00
Rafaël Carré
e71c67f340 Fix my mistake in r20987/FS#10219 : live update of Sansa AMS clock freqs (fix by Jack Halpin)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20995 a1c6a512-1295-4272-9138-f99709370657
2009-05-20 11:22:31 +00:00
Frank Gevaerts
792a7a6086 Use different read and write buffer sizes. Due to interaction between common transfer sizes used by most OSes (64k) and the double-buffering system we use for writes, writes need a smaller buffer to make sure that USB and disk I/O can overlap.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20988 a1c6a512-1295-4272-9138-f99709370657
2009-05-19 18:51:03 +00:00
Rafaël Carré
00392020d8 FS#10219 (AMSSansa Debug Clocks) by Jack Halpin
With a few modifications by me:
Return 0MHz for PLL disabled (PLLB)
Mention if i2si and i2so are on or off
Simplify scrolling (for small & large displays)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20987 a1c6a512-1295-4272-9138-f99709370657
2009-05-19 14:43:37 +00:00
Rafaël Carré
1dfeba5702 Sansa Clip : ignore previous setting of CGU_DBOP (do not use ORR)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20986 a1c6a512-1295-4272-9138-f99709370657
2009-05-19 14:43:26 +00:00
Frank Gevaerts
c8d6a02c5a Speed up USB storage by being a bit smarter in ordering transfer setups
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20982 a1c6a512-1295-4272-9138-f99709370657
2009-05-18 19:45:24 +00:00
Maurus Cuelenaere
0fd94237f3 Ingenic Jz4740 PCM driver: set correct sample rate
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20981 a1c6a512-1295-4272-9138-f99709370657
2009-05-17 22:55:40 +00:00
Maurus Cuelenaere
6208ee0479 Don't define LOGF_ENABLE..
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20979 a1c6a512-1295-4272-9138-f99709370657
2009-05-17 16:08:33 +00:00
Maurus Cuelenaere
649671eae3 Get interrupt endpoints fully working on Ingenic Jz4740 targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20978 a1c6a512-1295-4272-9138-f99709370657
2009-05-17 15:41:05 +00:00
Bertrik Sikken
0023943439 Fix duplicate #includes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20977 a1c6a512-1295-4272-9138-f99709370657
2009-05-17 14:50:19 +00:00
Maurus Cuelenaere
03ea249297 Try at implementing interrupt endpoints in the Ingenic Jz4740 USB driver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20973 a1c6a512-1295-4272-9138-f99709370657
2009-05-16 23:04:54 +00:00
Frank Gevaerts
3cb49f4ab7 fix DEBUGF statement to print variables that actually exist (FS#10212 by Tomer Shalev)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20964 a1c6a512-1295-4272-9138-f99709370657
2009-05-16 15:33:22 +00:00
Frank Gevaerts
2bc6b7c5cd Add usb_hid_usage_tables.h for HID to actually compile
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20963 a1c6a512-1295-4272-9138-f99709370657
2009-05-16 15:30:39 +00:00
Frank Gevaerts
69a4117c1d Add working USB HID driver, by Tomer Shalev (part of his GSoC work).
This needs support for usb interrupt transfers, so there are some changes in various USB drivers as well (only usb-drv-arc supports it at this point, others won't have working HID yet).

HID is disabled for now, as the apps/ part is not included yet.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20962 a1c6a512-1295-4272-9138-f99709370657
2009-05-16 15:30:09 +00:00
Karl Kurbjun
d8c7285b2a M:Robe 500: Commit some minor changes and some keymap changes (short press power takes you out of the WPS)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20942 a1c6a512-1295-4272-9138-f99709370657
2009-05-15 13:43:30 +00:00
Rafaël Carré
49c25816f0 Sansa AMS i2c : fix 2 problems identified by Jack Halpin & Bertrik Sikken
i2c clock frequency uses pclk as reference, not plla
i2c clock divider is only 10 bits, not 16

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20929 a1c6a512-1295-4272-9138-f99709370657
2009-05-14 09:36:56 +00:00
Alexander Levin
b98ac048df Remove the HAVE_RADIO_REGION from the platform config since it's already defined in the tuner driver's header
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20926 a1c6a512-1295-4272-9138-f99709370657
2009-05-13 16:38:21 +00:00
Rafaël Carré
8033342d0f Sansa AMS : remove mci_set_clock_divider()
Inline the 2 uses, and use a preprocessor sanity check for identification frequency

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20924 a1c6a512-1295-4272-9138-f99709370657
2009-05-13 08:27:33 +00:00
Rafaël Carré
adb978a44d Sansa AMS: Various fixes/enhancements for clock frequencies
Fix CGU_DBOP setting

Set PCLK to the exact frequency (62MHz, not the maximal frequency)

Use a better comment for CLK_DIV macro

Use preprocessor safety checks for clock divider sizes to avoid future mistakes (not for SD_IDENT frequency since that check is handled by mci_set_clock_divider)

Use maximal IDE frequency of 66MHz (like OF), not 90MHz like written in AS3525 datasheet. The IDE chip is somehow linked to internal storage, and a too high frequency could affect the storage driver.

Use the same DBOP frequency of 32MHz for all models (like OF, verified clip, fuze, e200v2 and m200v4), compromise between performance and battery life could be added in the future for each target
Performance increase on Sansa Fuze with DBOP freq. set to 64MHz: +12% fps for lcd_update, +1% fps for yuv

Thanks to daytona955 on the forums for his help

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20923 a1c6a512-1295-4272-9138-f99709370657
2009-05-13 08:27:20 +00:00
Dave Chapman
49fccaf2d9 FS#9730 by Torne Wuff - support installing Rockbox in the firmware partition in place of the main Apple firmware. This image is only loaded if no rockbox.ipod is found so does not affect current behaviour. The advantage is a small increase in boottime. This patch also adds documentation to bootloader/ipod.c in the form of a comment describing the booting behaviour.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20921 a1c6a512-1295-4272-9138-f99709370657
2009-05-12 20:41:44 +00:00
Rafaël Carré
c58aaee55f Sansa Clip : remove unused variable xoffset from lcd driver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20920 a1c6a512-1295-4272-9138-f99709370657
2009-05-12 13:24:13 +00:00
Rafaël Carré
b1d03ccee7 FS#10118 & FS#10165 : lcd_blit_yuv() for Sansa Fuze & Sansa e200v2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20919 a1c6a512-1295-4272-9138-f99709370657
2009-05-12 13:22:39 +00:00
Frank Gevaerts
685cee87be fix send_command_result() size checking for the SCSI_REQUEST_SENSE case (thanks to Tomer Shalev, FS#10203)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20914 a1c6a512-1295-4272-9138-f99709370657
2009-05-11 23:00:56 +00:00
Maurus Cuelenaere
87978d4ee8 Jz4732: add hack to fix stack overflow in the power thread (fixes USB on non-bootloader)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20867 a1c6a512-1295-4272-9138-f99709370657
2009-05-07 14:05:42 +00:00
Maurus Cuelenaere
580b1a5c4b MIPS: don't save gp register when switching threads
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20863 a1c6a512-1295-4272-9138-f99709370657
2009-05-06 19:51:34 +00:00
Maurus Cuelenaere
84ea3f2530 Ingenic Jz4740: add a delay between enabling the RTC clock and setting the RTC time
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20862 a1c6a512-1295-4272-9138-f99709370657
2009-05-06 19:45:33 +00:00
Bertrik Sikken
b5886beb81 Allow a clock divider larger than 255 for the internal i2c bus to the as3525 ascodec.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20861 a1c6a512-1295-4272-9138-f99709370657
2009-05-06 17:33:56 +00:00
Thomas Martitz
b2b3f39403 Remove an #ifdef SIMULATOR in favor of using a stub
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20853 a1c6a512-1295-4272-9138-f99709370657
2009-05-05 08:43:32 +00:00
Andrew Mahone
20f76d61ae Make JPEG and BMP scaler optional with HAVE_JPEG and HAVE_BMP_SCALING, both defined for all targets that have HAVE_ALBUMART. Disable JPEG in PictureFlow and pluginlib album art search with 32KiB plugin buffer until PictureFlow
gets overlay support.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20851 a1c6a512-1295-4272-9138-f99709370657
2009-05-04 15:46:41 +00:00
Thomas Martitz
dfb24d6cee CONFIG_BACKLIGHT_FADING is always defined, so better ask for BACKLIGHT_NO_FADING.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20850 a1c6a512-1295-4272-9138-f99709370657
2009-05-04 12:04:29 +00:00
Karl Kurbjun
f9fae86de2 M:Robe 500: Add backlight cleanups and fix power management so that dangerous and shutoff voltages are taken care of, carge discharge curves are better modeled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20849 a1c6a512-1295-4272-9138-f99709370657
2009-05-04 04:14:52 +00:00
Karl Kurbjun
a4c428114c Fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20847 a1c6a512-1295-4272-9138-f99709370657
2009-05-03 00:10:59 +00:00
Karl Kurbjun
fe2319372a M:Robe 500 - Fix some of the Keymaps, touchscreen improvements to decrease inacurate reads, add support for dynamic frequency (was running at 87.5 MHz, now it runs at 175 MHz when boosted), disable clock to unneded modules (decreased power by 20 mA), LCD turnoff now works without graphic glitches, battery ADC read now returns scaled voltage, define backlight fading
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20846 a1c6a512-1295-4272-9138-f99709370657
2009-05-02 23:25:55 +00:00
Boris Gjenero
f4943b90e6 Fix another FS#10130 issue - Set backlight and button light brightness via the backlight thread to avoid potential concurrency issues.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20834 a1c6a512-1295-4272-9138-f99709370657
2009-05-01 03:18:20 +00:00
Thomas Martitz
23e505b32b Fix reds. libuisimulator.a apparently needs to be linked twice (aka quick fix as I don't know a better solution yet) :/
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20830 a1c6a512-1295-4272-9138-f99709370657
2009-04-29 22:58:56 +00:00
Thomas Martitz
a7f4e1f1c5 Simulate lcd_enable and lcd_sleep in the simulator. Therefore, turn backlight-sim.h into a .c too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20829 a1c6a512-1295-4272-9138-f99709370657
2009-04-29 22:24:40 +00:00
Thomas Martitz
3c5e67516b FS#10151 - e200v2: scrollwheel acceleration by Dustin Skoracki. Improves the scroll wheel acceleration on the e200v2 mainly by not decrementing the counter which which causes the acceleration if a wheel read was missed due to lcd operation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20822 a1c6a512-1295-4272-9138-f99709370657
2009-04-29 20:50:12 +00:00
Thomas Martitz
14731bc3e2 Hopefully fix lcd_sleep() from not be being called for targets without fading at all and being and being called too early for backlight always of on PWM fading targets. Also, clean up the code a bit by renaming the function that initiates fading on PWM.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20820 a1c6a512-1295-4272-9138-f99709370657
2009-04-28 08:57:38 +00:00
Karl Kurbjun
bee99e496f M:Robe 500: Fix red, commit missing work, reduce lcd wakeup time.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20819 a1c6a512-1295-4272-9138-f99709370657
2009-04-28 05:20:31 +00:00
Karl Kurbjun
57ca7ccf36 M:Robe 500: Rearrage TSC2100 reads to make touchscreen more reliable, add hack to get lcd_sleep working/called again, fix the panic handler so that it waits for the power button to be pressed instead of freezing the player
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20818 a1c6a512-1295-4272-9138-f99709370657
2009-04-28 05:07:25 +00:00
Bertrik Sikken
0d6a28edc3 Enable FM radio on the sansa c200v2 (untested).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20809 a1c6a512-1295-4272-9138-f99709370657
2009-04-26 21:28:34 +00:00
Boris Gjenero
7e3f8e0c08 Remove workaround for FS#10130 from 5G iPod LCD sleep code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20806 a1c6a512-1295-4272-9138-f99709370657
2009-04-26 18:51:14 +00:00
Thomas Martitz
8e8c36019c FS#10126 - lcd_e200v2 cleanup by Michael Chicoine
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20801 a1c6a512-1295-4272-9138-f99709370657
2009-04-26 11:14:19 +00:00
Thomas Martitz
ace509a2ff FS#10158 - e200v2 button delay revisited by Michael Chicoine to fix some weirdnesses with button reading.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20800 a1c6a512-1295-4272-9138-f99709370657
2009-04-26 11:05:53 +00:00
Thomas Martitz
0a5beba823 Move the sim stubs into a seperate file to clean backlight.c up a bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20796 a1c6a512-1295-4272-9138-f99709370657
2009-04-26 02:27:11 +00:00
Thomas Martitz
179ac1039b Remove two calls backlight_lcd_sleep_countdown() more, this time in backlight.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20795 a1c6a512-1295-4272-9138-f99709370657
2009-04-26 02:02:46 +00:00
Thomas Martitz
cbe67dcc9d Replace the condition with a more obvious function call, which is the same.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20794 a1c6a512-1295-4272-9138-f99709370657
2009-04-26 01:35:19 +00:00
Thomas Martitz
6abae1f124 Remove the calls to backlight_lcd_sleep_countdown from target specific code and move it into backlight.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20793 a1c6a512-1295-4272-9138-f99709370657
2009-04-26 01:23:39 +00:00
Thomas Martitz
c40af94d12 Remove the backlight tick task in favor of handling timeouts through a 1s timeout in the backlight thread.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20792 a1c6a512-1295-4272-9138-f99709370657
2009-04-26 00:47:35 +00:00
Bertrik Sikken
dccdce6c3c Remove unnecessary #include "adc.h"
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20791 a1c6a512-1295-4272-9138-f99709370657
2009-04-25 22:24:59 +00:00
Bertrik Sikken
d4d121538d Remove unnecessary #include "backlight.h"
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20790 a1c6a512-1295-4272-9138-f99709370657
2009-04-25 21:32:55 +00:00
Thomas Martitz
5b316afcfd Restructure backlight timeout management a bit by factoring out the get_current_timeout code. No functional change.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20789 a1c6a512-1295-4272-9138-f99709370657
2009-04-25 21:11:16 +00:00
Maurus Cuelenaere
c066258321 Merge Onda VX7?7 backlight-target.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20788 a1c6a512-1295-4272-9138-f99709370657
2009-04-25 20:55:23 +00:00
Thomas Martitz
0600b4ba3c Fix onda red. Unlike all other targets, it built the whole backlight driver in the bootloader.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20787 a1c6a512-1295-4272-9138-f99709370657
2009-04-25 20:53:13 +00:00
Thomas Martitz
7a4145c47a Fix red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20785 a1c6a512-1295-4272-9138-f99709370657
2009-04-25 18:39:05 +00:00
Thomas Martitz
0017dfbe82 Rename _buttonlight_timeout and use a function call instead of extern'ing buttonlight_timeout to be more inline with backlight, and use a #define instead of a const variable for !HAVE_LCD_SLEEP_SETTING (no functional changes)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20784 a1c6a512-1295-4272-9138-f99709370657
2009-04-25 18:15:50 +00:00
Thomas Martitz
b056f0637c Add forgotton colon and fix red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20779 a1c6a512-1295-4272-9138-f99709370657
2009-04-24 09:08:43 +00:00
Thomas Martitz
b0ac944364 Fix FS#10130 (Concurrent backlight function calls from backlight timeout settings menu) by ensuring that all calls of target-specific backlight code happen from backlight thread
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20778 a1c6a512-1295-4272-9138-f99709370657
2009-04-24 08:54:10 +00:00
Boris Gjenero
d50d1df817 FS#10129 - Start LCD sleep timer after PWM fadeout is complete
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20774 a1c6a512-1295-4272-9138-f99709370657
2009-04-21 21:49:29 +00:00
Karl Kurbjun
6138a16853 Gigabeat FX: Use the bootsplash stored in flash when bootloader is started from flash
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20769 a1c6a512-1295-4272-9138-f99709370657
2009-04-21 04:39:17 +00:00
Karl Kurbjun
4d3be1b1de Gigabeat FX: Small comment format change to MMU setup code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20767 a1c6a512-1295-4272-9138-f99709370657
2009-04-21 04:35:10 +00:00
Karl Kurbjun
acbe8599b6 Add second buffer for YUV blitting, progressbar and FPS display in mpegplayer work correct now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20766 a1c6a512-1295-4272-9138-f99709370657
2009-04-21 04:29:10 +00:00
Maurus Cuelenaere
1ab19d0b9b Disable usage of USB serial descriptor when no unique one is available
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20761 a1c6a512-1295-4272-9138-f99709370657
2009-04-20 20:24:23 +00:00
Maurus Cuelenaere
5c82d2c004 Fix yellow (forgot file)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20759 a1c6a512-1295-4272-9138-f99709370657
2009-04-20 20:17:54 +00:00
Thomas Martitz
e29358c154 Fix FS#10128 - The View IO Ports debug menu showed weird dbop values (sometimes FFFF prepended), due to sign-extension. Switch to unsigned short to fix it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20757 a1c6a512-1295-4272-9138-f99709370657
2009-04-20 20:11:01 +00:00
Maurus Cuelenaere
be8a27ad81 Onda VX747: fix touchscreen issues when switching from bootloader to 'normal' Rockbox
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20754 a1c6a512-1295-4272-9138-f99709370657
2009-04-20 18:28:51 +00:00
Jonathan Gordon
0eb5dc649f beginings of a working touchscreen interface for the WPS. 2 new tags:
%T|x|y|width|height|action| <- setup a region (relative to the current viewport) where if pressed the "action" will be done (currently play/stop/prev/next/menu/browse work, suggestions for others to add and better names welcome)
%Tl<timeout> <- used as a conditional to say if the touchscreen was touched in the last <timeout>, use this to enable/disable button viewports or something... same syntax as other timeout tags

cabbiev2 for the mr500 has been modified to demonstrate the new tags. press the pause/play button to pause playback. press the rockbox logo to get back to the menu. pretty icons needed to make this more usable :)



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20753 a1c6a512-1295-4272-9138-f99709370657
2009-04-20 01:41:56 +00:00
Boris Gjenero
88b509b7d2 Fix FS#9926 - On Photo and Color iPods, correct check for whether battery is charging
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20752 a1c6a512-1295-4272-9138-f99709370657
2009-04-19 22:06:17 +00:00
Frank Gevaerts
2a085f4477 Add preliminary HID driver. It doesn't do anything yet, but that should change soon (FS#10116 by Tomer Shalev)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20750 a1c6a512-1295-4272-9138-f99709370657
2009-04-19 21:17:18 +00:00
Frank Gevaerts
08b04cc587 reorganise usb_core.c a bit, to make the code more readable and more maintainable (FS#10150 by Tomer Shalev))
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20748 a1c6a512-1295-4272-9138-f99709370657
2009-04-19 19:53:32 +00:00
Frank Gevaerts
4bff30a77f simplify and cleanup usb_serial.c (FS#10149 by Tomer Shalev)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20746 a1c6a512-1295-4272-9138-f99709370657
2009-04-19 19:25:59 +00:00
Boris Gjenero
75a0a434d1 Add USB power detection for 4G, Photo, Color, 1G Mini and 2G Mini iPods. (See FS#5826 and FS#7727)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20745 a1c6a512-1295-4272-9138-f99709370657
2009-04-19 18:17:35 +00:00
Thomas Martitz
aef5731d71 FS#10148 by Dustin Skoracki, removes a redundant check for != BUTTON_NONE in the scrollwheel drivers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20744 a1c6a512-1295-4272-9138-f99709370657
2009-04-19 17:05:36 +00:00
Maurus Cuelenaere
c147d39bb5 Ingenic Jz4740: put stack in IRAM & optimize/clean up crt0.S a bit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20742 a1c6a512-1295-4272-9138-f99709370657
2009-04-19 15:16:37 +00:00
Maurus Cuelenaere
dc8db2a820 MIPS: set load address of .iram to the start of .bss so RAM doesn't get wasted
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20741 a1c6a512-1295-4272-9138-f99709370657
2009-04-19 14:10:59 +00:00
Maurus Cuelenaere
42c7fb6b8b Remove some redundant links in MIPS linker scripts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20740 a1c6a512-1295-4272-9138-f99709370657
2009-04-19 13:58:55 +00:00
Frank Gevaerts
00b407b04f USB related Cosmetics, whitespace and readability fixes (FS#10147 by Tomer Shalev)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20737 a1c6a512-1295-4272-9138-f99709370657
2009-04-18 21:32:41 +00:00
Maurus Cuelenaere
069191d9d4 Fix some issues with YUV blitting on Onda VX747 (still not working properly)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20736 a1c6a512-1295-4272-9138-f99709370657
2009-04-18 21:00:32 +00:00
Frank Gevaerts
3314f389ba Allow class drivers to reuse the core data buffer for control transfers. This doesn't make much difference right now, but it should keep HID memory usage lower (once HID is ready) (FS#10146 by Tomer Shalev)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20735 a1c6a512-1295-4272-9138-f99709370657
2009-04-18 20:40:50 +00:00
Maurus Cuelenaere
2c0da9d152 Really fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20734 a1c6a512-1295-4272-9138-f99709370657
2009-04-18 20:25:16 +00:00
Frank Gevaerts
ab09322b7a Add a PACK_DESCRIPTOR macro to make the class drivers a bit more readable (FS#10145 by Tomer Shalev)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20733 a1c6a512-1295-4272-9138-f99709370657
2009-04-18 20:04:52 +00:00
Maurus Cuelenaere
8b6b46f3c4 Fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20732 a1c6a512-1295-4272-9138-f99709370657
2009-04-18 18:33:41 +00:00
Frank Gevaerts
463e20271b Fix some whitespace issues (including tabs that slipped in somehow) (FS#10144 by Tomer Shalev)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20731 a1c6a512-1295-4272-9138-f99709370657
2009-04-18 18:17:29 +00:00
Maurus Cuelenaere
a54e0b6dba Onda VX747:
* Add YUV support
 * Clean up LCD driver a bit and speed it up


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20730 a1c6a512-1295-4272-9138-f99709370657
2009-04-18 17:38:55 +00:00
Frank Gevaerts
14a510aff2 Sync from recent linux source (FS#10142, by Tomer Shalev)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20729 a1c6a512-1295-4272-9138-f99709370657
2009-04-18 16:52:12 +00:00
Karl Kurbjun
9340af5b25 M:Robe 500: Move all remote specific code into a common file for reuse on other players (M:Robe 100). Include minor fixes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20728 a1c6a512-1295-4272-9138-f99709370657
2009-04-18 06:38:55 +00:00
Michael Giacomelli
70353f4eb0 Fix by Rafaël Carré. Puts core functions into IRAM on AMS targets with <2MB of RAM.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20723 a1c6a512-1295-4272-9138-f99709370657
2009-04-17 15:56:17 +00:00
Karl Kurbjun
94dc016a94 M:Robe 500: Remove some dead code and cleanup button handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20720 a1c6a512-1295-4272-9138-f99709370657
2009-04-17 03:56:06 +00:00
Karl Kurbjun
493d3a03b3 M:Robe 500: Add support for hold button on the remote.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20712 a1c6a512-1295-4272-9138-f99709370657
2009-04-16 03:10:01 +00:00
Karl Kurbjun
3c85268f18 M:Robe 500 LCD text scrolling: Fix update corruption
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20711 a1c6a512-1295-4272-9138-f99709370657
2009-04-16 02:43:39 +00:00
Karl Kurbjun
bf37ecb6b8 M:Robe 500 fix the backlight brightness setting.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20709 a1c6a512-1295-4272-9138-f99709370657
2009-04-15 05:31:04 +00:00
Boris Gjenero
0e74f75deb FS#9635 - On V1, V2 and FM Archos recorders, ensure instant backlight switch-off. (Formerly, backlight switch-off was unpredicrable on some of these devices. The backlight would either turn off instantly or brighten instantly and then fade.)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20707 a1c6a512-1295-4272-9138-f99709370657
2009-04-14 19:23:39 +00:00
Karl Kurbjun
5b6af5e560 M:Robe 500 Fix a bug in the UART receive buffer - remote does not appear to stop working anymore, add support for interupt driven transmit, add very rough remote LCD support.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20706 a1c6a512-1295-4272-9138-f99709370657
2009-04-14 05:17:03 +00:00
Bertrik Sikken
7a32c49457 Update battery capacities of the sansa clip and sansa fuze.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20703 a1c6a512-1295-4272-9138-f99709370657
2009-04-13 21:20:39 +00:00
Boris Gjenero
8721a7d211 Code police: fix brace placement, remove trailing spaces
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20702 a1c6a512-1295-4272-9138-f99709370657
2009-04-13 18:35:11 +00:00
Thomas Martitz
42f5973177 Few Fuze/e200v2 button fixes. Don't read the scrollwheel when the hold button is active and rename a variable to describe better what it is for.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20701 a1c6a512-1295-4272-9138-f99709370657
2009-04-13 17:10:52 +00:00
Thomas Martitz
c48f4c6be4 FS#10127 - Sansa e200v2: wrapping in menus by Dustin Skoracki and me. Implements better list wrap handling mostly by taking Fuze's scrollwheel driver, but with tweaks w.r.t. to BUTTON_REPEAT to make it work on the e200v2.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20700 a1c6a512-1295-4272-9138-f99709370657
2009-04-13 14:08:43 +00:00
Thomas Martitz
e5e41c3a82 FS#10120 - fuze/e200v2: poll the wheel more often (every 5ms). This makes the scrollwheel behavior nearly perfect (decent acceleration, no direction changes if you turn to fast).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20699 a1c6a512-1295-4272-9138-f99709370657
2009-04-13 10:28:06 +00:00
Bertrik Sikken
65aa187aef Fix #includes in usb-as3525.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20698 a1c6a512-1295-4272-9138-f99709370657
2009-04-12 19:08:26 +00:00
Bertrik Sikken
7d0119fe81 FS#9985: The OF of AMS sansas seems to keep time in seconds since 1970-1-1 instead of 1980-1-1 used in earlier sansas, so apply an adjustment for this difference when reading/writing the RTC. This avoids resetting of date/time by the OF.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20697 a1c6a512-1295-4272-9138-f99709370657
2009-04-12 18:00:53 +00:00
Boris Gjenero
ab1e97aea8 Fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20696 a1c6a512-1295-4272-9138-f99709370657
2009-04-12 15:35:57 +00:00
Boris Gjenero
73e1bad355 Fixes and improvements for FS#9890 - iPod 5G: LCD sleep, BCM shutdown and bootstrap
* Ensure LCD is updated if lcd_update() is called while the LCD is initializing
* Turn on BCM and LCD in lcd_init_device() if it is off
* Speed up lcd_awake()
* Shorten minimum length of time BCM must stay off and fix related code

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20695 a1c6a512-1295-4272-9138-f99709370657
2009-04-12 14:54:12 +00:00
Karl Kurbjun
76328bbfda Fix the scrollbar boundary checking to prevent the player from freezing on screens that are too small to show the list with the font selected. Correct the M:Robe remote screen height.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20690 a1c6a512-1295-4272-9138-f99709370657
2009-04-11 22:22:44 +00:00
Karl Kurbjun
8a4db17364 Clean up errors and warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20686 a1c6a512-1295-4272-9138-f99709370657
2009-04-11 17:00:51 +00:00
Frank Gevaerts
a8b6f1cb7b Fix unintentional usage of relatively unknown C features (FS#10119, found by Tomer Shalev)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20685 a1c6a512-1295-4272-9138-f99709370657
2009-04-11 12:55:34 +00:00
Karl Kurbjun
5449b1ed1d M:Robe 500: Start of proper remote support, touchscreen works without remote now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20684 a1c6a512-1295-4272-9138-f99709370657
2009-04-11 07:23:56 +00:00
Thomas Martitz
464e6a1405 Fuze & e200v2: Put lcd framebuffer into iram, which saves 77k normal ram and gives 2.6%/7.6% (unboosted/boosted) lcd update speed up
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20682 a1c6a512-1295-4272-9138-f99709370657
2009-04-11 01:45:11 +00:00
Thomas Martitz
ec797ed622 FS#10113 - Sansa AMS : do not use unaligned buffers on ATA DMA by Rafaël Carré.
Fixes various storage related problems like stuttering audio, md5sum and test disk failure and Sansa Fuze's backdrop corruption by using aligned buffers. There's a speed penalty but stability has more priority.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20679 a1c6a512-1295-4272-9138-f99709370657
2009-04-10 17:03:56 +00:00
Thomas Martitz
bac611868e FS#10114 - Sansa AMS : use IRAM for codecs on >2MB targets Rafaël Carré
Activates IRAM for AMS Sansas to be used by codecs and core. Fixes Reboot-on-mp3 and gives speed up on codecs using IRAM in general.
I've made a change: the core/codec ratio is 0x20000/0x30000 instead of 0x10000/0x40000, 0x30000 is way more than codecs currently use (0x14000 at max) and the core might need more than 0x10000.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20678 a1c6a512-1295-4272-9138-f99709370657
2009-04-10 17:00:23 +00:00
Michael Giacomelli
30b888cb58 Commit fs#9959 by Jack Halpin. Removes delays from the Sansa e200v2 button driver and cleans up the code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20676 a1c6a512-1295-4272-9138-f99709370657
2009-04-10 15:19:59 +00:00
Karl Kurbjun
b2c4bd3a53 M:Robe 500: Remove some dead test code in bootloader, reorganize the bootloader link script, and remove an unnecessary lcd disable/enable in initialization.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20674 a1c6a512-1295-4272-9138-f99709370657
2009-04-10 04:48:44 +00:00
Karl Kurbjun
a50e17a6ba Enable Albumart for M:Robe 500
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20673 a1c6a512-1295-4272-9138-f99709370657
2009-04-10 03:51:16 +00:00
Michael Giacomelli
b94b12cd20 Commit FS#10043 by Michael Chicoine for the Sansa e200v2. Implements LCD sleeping, cleans up unused GPIOs and implements LCD flipping/invert.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20670 a1c6a512-1295-4272-9138-f99709370657
2009-04-10 01:44:05 +00:00
Karl Kurbjun
a7e112c8d9 Fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20665 a1c6a512-1295-4272-9138-f99709370657
2009-04-09 04:45:19 +00:00
Karl Kurbjun
93fccc763b M:Robe 500: More LCD initialization, QVGA (vs. VGA) is now enabled by default for performance, 256 color palette mode added, include some linker cleanups and reorganization. Doom and MPEGPlayer now run reaonably well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20664 a1c6a512-1295-4272-9138-f99709370657
2009-04-09 04:22:14 +00:00
Thomas Martitz
53b7a4ef8b Raise MAX_SYS_EVENTS to fix FS#10105 (*PANIC* event line full)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20660 a1c6a512-1295-4272-9138-f99709370657
2009-04-08 16:58:04 +00:00
Maurus Cuelenaere
c606fd04c8 Jz4740:
* Optimize & cleanup thread handling a bit
 * Unify exception return and fix a potential bug


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20659 a1c6a512-1295-4272-9138-f99709370657
2009-04-08 14:30:33 +00:00
Maurus Cuelenaere
87efb79682 Make test_codec compile and clean up some comments
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20658 a1c6a512-1295-4272-9138-f99709370657
2009-04-08 14:10:17 +00:00
Maurus Cuelenaere
ae723815fa Fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20650 a1c6a512-1295-4272-9138-f99709370657
2009-04-08 00:05:25 +00:00
Maurus Cuelenaere
91239472ae Add LED indication to Jz4740 SD driver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20649 a1c6a512-1295-4272-9138-f99709370657
2009-04-08 00:04:51 +00:00
Bertrik Sikken
070ee525ac Patch by Rafaël Carré - Sansa AMS i2c :
* remove peripheral reset (already made in system_init).
  * Move empty i2c_init() from i2c-as3525.c (and remove that file)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20645 a1c6a512-1295-4272-9138-f99709370657
2009-04-07 17:20:31 +00:00
Bertrik Sikken
9ab84b073f Patch by Rafaël Carré - Sansa AMS : inform pcm.c when playback stopped, use pcm_play_dma_stopped_callback()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20644 a1c6a512-1295-4272-9138-f99709370657
2009-04-07 17:11:55 +00:00
Bertrik Sikken
6b63f23648 Patch by Rafaël Carré - Sansa AMS: Fix a few mistakes in DMA code
DMAC_INT_TC_CLEAR is a write-only reg
HIGH bits of DMAC_SYNC mean synchronisation logic disabled.
Also, according to the OF and to tests, all the peripherals we use run at the same frequency (PCLK?).



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20643 a1c6a512-1295-4272-9138-f99709370657
2009-04-07 17:08:26 +00:00
Dominik Wenger
f5c5983c73 commit FS#10092 (cleanup AMS system init) by Rafaël Carré.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20640 a1c6a512-1295-4272-9138-f99709370657
2009-04-07 16:14:01 +00:00
Michael Giacomelli
de391e7abf Add current use and fix battery capacity settings for the Gigabeat F/X. Thanks to AlHaz for pointing out that they were incorrect.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20637 a1c6a512-1295-4272-9138-f99709370657
2009-04-07 03:41:06 +00:00
Boris Gjenero
7c6194078c FS#10086 - Playback and recording sample rate setting on the 5G iPod
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20635 a1c6a512-1295-4272-9138-f99709370657
2009-04-06 02:46:42 +00:00
Jonathan Gordon
843c7efaf8 FS9795 - some playback cleanup.
* Use events to notify things when the track has changed instead of the nasty has_track_changed()
* Event for when the mp3entry for the next track is avilable (which allows alot more tags to be static which means less redrawing in the WPS)
* virtually guarentee that the mp3entry sturct returned by audio_current/next_track() is going to be valid for the duration of the current track. The only time it wont be now is during the time between the codec finishing the previous track and the next track actually starting (~2s), but this is not an issue as long as it is called again when the TRACK_CHANGED event happens (or just use the pointer that gives)
It is still possible to confuse the WPS with the next tracks id3 info being displayed but this should fix itself up faster than it used to (and be harder to do)



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20633 a1c6a512-1295-4272-9138-f99709370657
2009-04-06 00:39:43 +00:00
Maurus Cuelenaere
453b053c29 Fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20627 a1c6a512-1295-4272-9138-f99709370657
2009-04-05 15:14:45 +00:00
Maurus Cuelenaere
72503b5dc1 Fix Onda VX767 LCD clock init code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20626 a1c6a512-1295-4272-9138-f99709370657
2009-04-05 14:36:36 +00:00
Maurus Cuelenaere
0af42777ee Move CPU_MIPS #define up so ROCKBOX_STRICT_ALIGN actually gets defined
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20625 a1c6a512-1295-4272-9138-f99709370657
2009-04-05 13:14:46 +00:00
Maurus Cuelenaere
697869e892 Revert r20617 for now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20624 a1c6a512-1295-4272-9138-f99709370657
2009-04-05 13:11:38 +00:00
Maurus Cuelenaere
b4f6b259ef Don't leave LOGF_ENABLE enabled...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20619 a1c6a512-1295-4272-9138-f99709370657
2009-04-04 20:58:39 +00:00
Maurus Cuelenaere
2ca376cce8 Use the audio buffer in USB storage for ISP1583-having targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20617 a1c6a512-1295-4272-9138-f99709370657
2009-04-04 18:16:36 +00:00
Karl Kurbjun
9ad61f50e7 Fix sim errors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20602 a1c6a512-1295-4272-9138-f99709370657
2009-04-01 05:41:58 +00:00
Karl Kurbjun
8580674b10 Add initial support for changing the LCD mode in MPEG player for hardware YUV conversion (256 color palette mode will also be added for doom and rockboy). This fixes the LCD mode/colors when MPEGPlayer exits.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20600 a1c6a512-1295-4272-9138-f99709370657
2009-04-01 05:17:20 +00:00
Karl Kurbjun
f047e3aee9 Correct a bit in the app.lds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20599 a1c6a512-1295-4272-9138-f99709370657
2009-04-01 03:54:48 +00:00
Karl Kurbjun
4fa96fbc91 M:Robe 500i: More LCD initialization, and beginnings of support for QVGA as well as VGA on the LCD. MPEGPlayer now works with reasonable performance on smaller videos, but YUV blitting persists after MPEGPlayer is left, some cleanup/changes to the initialization code. This should be functionally equivalent for the ZVM, but the #ifdef's may need to be added back for app.lds. Get the bootloader building again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20598 a1c6a512-1295-4272-9138-f99709370657
2009-04-01 03:21:18 +00:00
Rob Purchase
75b37696fb TCC78x: Implement the user timer, rework some of the timer register #defines, and use udelay() instead of the hacky sleep_ms() in the D2 LCD driver. Doom works now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20585 a1c6a512-1295-4272-9138-f99709370657
2009-03-30 21:15:15 +00:00
Thomas Martitz
487d78995a A bit of cleanup in config-fuze (don't define features we do not have yet), a bit of reordering. Cleanup in the lcd driver. Reintroduce the delay in the dbop read function, as it helps avoiding heavy hold button weirdness when boosted
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20583 a1c6a512-1295-4272-9138-f99709370657
2009-03-30 19:57:42 +00:00
Thomas Martitz
dc859ebd51 FS#10053 - Sansa AMS >2GB support by Rafaël Carré. Enables bank switching on
the AMS sansas, which solves the ">2GB problem" (the problem that we could not
access data past 1GB on devices having more than 2GB internal storage).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20577 a1c6a512-1295-4272-9138-f99709370657
2009-03-30 13:26:05 +00:00
Thomas Martitz
d5df2816e6 Remove that orphaned and wrong #if
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20576 a1c6a512-1295-4272-9138-f99709370657
2009-03-30 13:08:59 +00:00
Thomas Martitz
bcbf2dd321 Fix yellow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20575 a1c6a512-1295-4272-9138-f99709370657
2009-03-30 12:45:56 +00:00
Daniel Stenberg
8983fcb5f2 Initial commit for the "Lyre prototype 1" port by Jorge Pinto from FS#10045.
Bootloader builds, normal does not.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20574 a1c6a512-1295-4272-9138-f99709370657
2009-03-30 12:20:47 +00:00
Thomas Martitz
ddc554f62b Correct some preprocessor checks.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20573 a1c6a512-1295-4272-9138-f99709370657
2009-03-29 23:50:56 +00:00
Frank Gevaerts
29f390e227 Properly cast things to avoid shiny yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20571 a1c6a512-1295-4272-9138-f99709370657
2009-03-29 20:08:10 +00:00
Frank Gevaerts
0ece30a726 Commit FS#10015 - Use chained transfer descriptor to speed up USB transfers on PP and iMX31
(not exactly the same. This one actually works)



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20570 a1c6a512-1295-4272-9138-f99709370657
2009-03-29 19:56:21 +00:00
Karl Kurbjun
9d1b99534e Add support for powering down the LCD (saves 50 mA when disabled)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20547 a1c6a512-1295-4272-9138-f99709370657
2009-03-26 22:20:46 +00:00
Maurus Cuelenaere
28374dfcf9 Change ARCOTG_DRV_H #define to _USB_DRV_H #define (no functional changes)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20543 a1c6a512-1295-4272-9138-f99709370657
2009-03-26 00:34:50 +00:00
Maurus Cuelenaere
cfb20fdf2b Should be the last one...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20542 a1c6a512-1295-4272-9138-f99709370657
2009-03-25 22:57:13 +00:00
Maurus Cuelenaere
b84c06372b Jz4740: Optimize interrupt handling by using a find_last_set_bit() implementation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20539 a1c6a512-1295-4272-9138-f99709370657
2009-03-25 22:42:24 +00:00
Maurus Cuelenaere
52cb340962 Really fix it
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20538 a1c6a512-1295-4272-9138-f99709370657
2009-03-25 22:29:49 +00:00
Maurus Cuelenaere
6432363476 Fix MIPS FFS implementation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20536 a1c6a512-1295-4272-9138-f99709370657
2009-03-25 21:19:51 +00:00
Maurus Cuelenaere
9cfcc2b9ae Enable album art on the Onda VX747 so it can actually display cabbiev2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20532 a1c6a512-1295-4272-9138-f99709370657
2009-03-25 17:09:47 +00:00
Karl Kurbjun
b2fa459e70 Correct charger detection on M:Robe 500.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20529 a1c6a512-1295-4272-9138-f99709370657
2009-03-25 14:01:47 +00:00
Rob Purchase
a6913fd7c8 D2: Slightly reduce the number of incorrect touchscreen presses by busy-waiting on the ADCRDY flag.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20527 a1c6a512-1295-4272-9138-f99709370657
2009-03-24 23:06:36 +00:00
Maurus Cuelenaere
19bd97bccc Correct the set_frequency() function on the Onda VX747 (fixes sound)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20512 a1c6a512-1295-4272-9138-f99709370657
2009-03-24 17:59:44 +00:00
Karl Kurbjun
2670e3f038 More M:Robe 500 work: PCM stopping and pausing roughly works, added some keymaps for the WPS screen, and peakmeter now works properly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20511 a1c6a512-1295-4272-9138-f99709370657
2009-03-24 16:40:31 +00:00
Jens Arnold
a8c22dec43 Fix Ondio FM and recorder v2 bootbox builds (see r19579/r19580).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20509 a1c6a512-1295-4272-9138-f99709370657
2009-03-24 00:26:24 +00:00
Nicolas Pennequin
396aeafa6c Correct Björn's name in various file headers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20491 a1c6a512-1295-4272-9138-f99709370657
2009-03-23 17:08:46 +00:00
Thomas Martitz
a3cbb57b09 Correct some backlight fading related comments and preprocessor macros.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20481 a1c6a512-1295-4272-9138-f99709370657
2009-03-23 00:05:56 +00:00
Bertrik Sikken
a87aad3284 Add missing powermgmt-e200v2.c file from FS#9968
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20466 a1c6a512-1295-4272-9138-f99709370657
2009-03-22 19:22:12 +00:00