Commit graph

18758 commits

Author SHA1 Message Date
Rafaël Carré
81b2ffb63e AMS Sansa (formerly 'V2') use the as3514 RTC
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19072 a1c6a512-1295-4272-9138-f99709370657
2008-11-10 18:18:27 +00:00
Dave Chapman
1811858476 Revert r19069 - the m200s can't charge. Also, don't use charger_inserted() as a method for detecting USB (this gives a false positive with USB wall chargers), and protect the definition of charger_inserted() with #if CONFIG_CHARGING.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19071 a1c6a512-1295-4272-9138-f99709370657
2008-11-10 18:15:52 +00:00
Dominik Wenger
b25f903360 make m200v4 build compilable.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19070 a1c6a512-1295-4272-9138-f99709370657
2008-11-10 17:41:18 +00:00
Rafaël Carré
871d85a8da M200V4 : use simple charging (no support yet, will be controlled via i2c)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19069 a1c6a512-1295-4272-9138-f99709370657
2008-11-10 16:34:52 +00:00
Björn Stenberg
dd226ea735 Removing deprecated code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19068 a1c6a512-1295-4272-9138-f99709370657
2008-11-10 15:54:43 +00:00
Jonathan Gordon
889b8c96da quick fix for the e200v2 to skip the OF
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19067 a1c6a512-1295-4272-9138-f99709370657
2008-11-10 13:01:46 +00:00
Rafaël Carré
59a9699027 Fuze: remove an unused variable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19066 a1c6a512-1295-4272-9138-f99709370657
2008-11-10 11:14:09 +00:00
Rafaël Carré
7d484ddde8 m200v4 : disable RTC in bootloader
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19065 a1c6a512-1295-4272-9138-f99709370657
2008-11-10 11:09:25 +00:00
Rafaël Carré
6b566568eb Fix Clip firmware building by adding missing symbols
Implement some of the new functions
Use as3514 rtc
Add AS3525 case in rolo.c
Copy card_get_info_target() from ata-sd-pp.c , and use the correct 32bits words order

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19064 a1c6a512-1295-4272-9138-f99709370657
2008-11-10 11:04:43 +00:00
Daniel Stenberg
b52a3da2b5 ... and the entire dir is renamed too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19063 a1c6a512-1295-4272-9138-f99709370657
2008-11-10 10:21:36 +00:00
Daniel Stenberg
55634f7410 grrr, I need to learn to do case insensitive grepping when that's the better idea...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19062 a1c6a512-1295-4272-9138-f99709370657
2008-11-10 09:50:25 +00:00
Daniel Stenberg
13319cdb82 oops, one more rename
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19061 a1c6a512-1295-4272-9138-f99709370657
2008-11-10 09:37:38 +00:00
Daniel Stenberg
044ba22b93 "mv m200v2 m200v4"
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19060 a1c6a512-1295-4272-9138-f99709370657
2008-11-10 09:27:40 +00:00
Daniel Stenberg
ab7ac8b8bd First minor step: the m200v2 is now officially known as m200v4 to match
SanDisk's own naming


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19059 a1c6a512-1295-4272-9138-f99709370657
2008-11-10 09:19:00 +00:00
Rafaël Carré
22ae232db2 core_sleep(): only write once the same implementation, and add as3525 to the list
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19057 a1c6a512-1295-4272-9138-f99709370657
2008-11-09 23:56:54 +00:00
Rafaël Carré
7ddaaf074b Fix as3525 bootloader broken by r19049 - we need to operate between
100kHz and 400kHz for the identification phase

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19056 a1c6a512-1295-4272-9138-f99709370657
2008-11-09 23:52:08 +00:00
Rafaël Carré
fa748db6ff sd.h : avoid namespace collision by prefixing defines with SD_
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19055 a1c6a512-1295-4272-9138-f99709370657
2008-11-09 23:40:21 +00:00
Magnus Holmgren
72846cda0e Update Swedish translation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19054 a1c6a512-1295-4272-9138-f99709370657
2008-11-09 21:35:18 +00:00
Frank Gevaerts
c0ff14afe3 Properly guard usb_mmc_countdown with the proper #ifs everywhere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19053 a1c6a512-1295-4272-9138-f99709370657
2008-11-09 14:40:42 +00:00
Jens Arnold
bd08aeed53 Video plugin: Fix OSD for font_height != 8. Don't fiddle with the framebuffer directly, but use the standard lcd drawing functions and lcd_update_rect() (in the ISR as required). OSD now displays for 1 second (0.5 seconds for buffer debug).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19052 a1c6a512-1295-4272-9138-f99709370657
2008-11-09 14:08:20 +00:00
Jonathan Gordon
1d2952df80 FS#7916 - Adapt graphical EQ to smaller screens (Fixes FS#9517)
This version still isnt ideal, but untill someone has time to do it properly (viewports, get rid of some hardcoded values) this will do.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19051 a1c6a512-1295-4272-9138-f99709370657
2008-11-09 10:28:04 +00:00
Rafaël Carré
c198bac47d plugin linker script: define memory sizes/origin for AS3525
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19050 a1c6a512-1295-4272-9138-f99709370657
2008-11-09 10:17:41 +00:00
Rafaël Carré
9acf856da7 AS3525 SD : fix 2nd initialization (in loaded firmware)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19049 a1c6a512-1295-4272-9138-f99709370657
2008-11-09 10:00:52 +00:00
Bertrik Sikken
e79cacc9d5 Also rename as3525_codec in the e200/fuze backlight driver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19048 a1c6a512-1295-4272-9138-f99709370657
2008-11-09 10:00:16 +00:00
Bertrik Sikken
4ca4e523fe Rename functions as3525_codec_* to ascodec_* to prepare re-use of as3514 code for sansa v2 players
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19047 a1c6a512-1295-4272-9138-f99709370657
2008-11-09 09:25:53 +00:00
Rafaël Carré
aef27e1f0c Sansav2 Bootloader
Adds read-only SD driver, largely copied from ata-sd-pp.c
Only tested on the embedded SD, on the Clip
First steps to build a Normal firmware

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19045 a1c6a512-1295-4272-9138-f99709370657
2008-11-09 06:17:21 +00:00
Rafaël Carré
308f21dc68 ARM C Runtime : prepare to exception vectors if not in the bootloader
For example if running from SDRAM, we need to copy the vectors to offset 0

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19044 a1c6a512-1295-4272-9138-f99709370657
2008-11-09 06:17:16 +00:00
Rafaël Carré
6e73019894 SD PP: move non specific defines to sd.h, to be reused by other SD drivers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19043 a1c6a512-1295-4272-9138-f99709370657
2008-11-09 06:17:14 +00:00
Rafaël Carré
f18591e410 drive might be used uninitialized, prevent that
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19042 a1c6a512-1295-4272-9138-f99709370657
2008-11-09 06:17:07 +00:00
Jonas Häggqvist
d0efd2d75e Revert and change the fix for Traditional Chinese and Russian, to help the translators a bit by including the old version (and also allow to use the already translated strings on some targets until the phrase gets completely translated).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19041 a1c6a512-1295-4272-9138-f99709370657
2008-11-08 22:54:06 +00:00
Jonas Häggqvist
c0cd44c35f Remove a few half translated phrases from a number of translations to avoid trouble with empty phrases on targets. With some luck, this should fix all current warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19040 a1c6a512-1295-4272-9138-f99709370657
2008-11-08 22:27:37 +00:00
Jonas Häggqvist
098a7d0c75 Make genlang emit a warning if a translation file has an dest string for a phrase that isn't deprecated, since this will result in empty strings when using that translation. This will mess up the build table, but the plan is to either quickly update the translation, or simply delete the phrase and let the translator provide a full translation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19039 a1c6a512-1295-4272-9138-f99709370657
2008-11-08 22:04:28 +00:00
Nils Wallménius
0058bdcf52 Oops, my script killed an email addy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19038 a1c6a512-1295-4272-9138-f99709370657
2008-11-08 20:30:36 +00:00
Nils Wallménius
6f73ebeb9d Introduce 'features' for button light and button light brighness, delete a couple of empty strings in translations, some neccesary reordering of strings to match them correctly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19037 a1c6a512-1295-4272-9138-f99709370657
2008-11-08 20:13:29 +00:00
Rafaël Carré
3952e6d008 AS3525: enable access to the embedded SD card
Don't reset the peripherals
Don't mind about the spare register
Don't mind about MEMSTICK peripheral
Use correct clock speeds for IDE

Tested on Clip only

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19036 a1c6a512-1295-4272-9138-f99709370657
2008-11-07 10:52:26 +00:00
Jonathan Gordon
2b81bce27c FS#9532 - e200v2 buttons
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19035 a1c6a512-1295-4272-9138-f99709370657
2008-11-07 05:31:05 +00:00
Jens Arnold
97aef4ce11 Fix tabs galore.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19034 a1c6a512-1295-4272-9138-f99709370657
2008-11-07 00:22:15 +00:00
Jens Arnold
4944a1c1e1 Common data must be included in .bss or it won't get zeroed in crt0. Fix the archos self-extractor as well to play safe.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19033 a1c6a512-1295-4272-9138-f99709370657
2008-11-07 00:15:53 +00:00
Jens Arnold
545b51e2e4 ARMv4 unsigned integer division: Using an overflow-safe comparison method in the main calculation allows to put back the 1.5 cyle (average) optimisation. Shaved off another instruction, as we don't need the remainder. * Use the very efficient ffs algorithm from ffs-arm.S for dividing by a power of 2.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19032 a1c6a512-1295-4272-9138-f99709370657
2008-11-06 21:21:33 +00:00
Alessio Lenzi
35823422c2 Updated italian translation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19031 a1c6a512-1295-4272-9138-f99709370657
2008-11-06 19:57:40 +00:00
Nils Wallménius
24f551bc75 Correct a comment and police comment style, no functional change
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19030 a1c6a512-1295-4272-9138-f99709370657
2008-11-06 18:49:11 +00:00
Rafaël Carré
5bef735cf5 AS3525: disable interrupts
init_threads() requires that they are disabled when called
anyway they are not needed at the moment, so leave them disabled

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19029 a1c6a512-1295-4272-9138-f99709370657
2008-11-06 15:46:22 +00:00
Rafaël Carré
6e645cc4eb AS3525: we won't use threads in the bootloader
Disable tick_start()
Call kernel_init() _after_ system_init()

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19028 a1c6a512-1295-4272-9138-f99709370657
2008-11-06 15:24:19 +00:00
Rafaël Carré
94c06c7e95 AS3525: implement tick_start() with TIMER2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19027 a1c6a512-1295-4272-9138-f99709370657
2008-11-06 14:34:37 +00:00
Rafaël Carré
baecdb632c AS3525: use kernel_init() in bootloader
This way creation of scrolling thread doesn't risk crashing the system

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19026 a1c6a512-1295-4272-9138-f99709370657
2008-11-06 02:31:40 +00:00
Rafaël Carré
c3e667c198 AS3525: timer support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19025 a1c6a512-1295-4272-9138-f99709370657
2008-11-06 02:31:32 +00:00
Jonathan Gordon
7384454665 FS#9529 - Dutch lang update by Stijn Hisken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19024 a1c6a512-1295-4272-9138-f99709370657
2008-11-05 23:12:17 +00:00
Daniel Stenberg
89b95f0ab0 compressed the target menu to use less vertical lines and thus less space
between some chunks of text


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19023 a1c6a512-1295-4272-9138-f99709370657
2008-11-05 23:12:14 +00:00
Björn Stenberg
ceb0cf3f7b I missed zip.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19022 a1c6a512-1295-4272-9138-f99709370657
2008-11-05 16:41:15 +00:00
Björn Stenberg
f06074cd06 A bit of code policing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19021 a1c6a512-1295-4272-9138-f99709370657
2008-11-05 16:14:25 +00:00