summaryrefslogtreecommitdiff
path: root/firmware
AgeCommit message (Collapse)Author
2010-04-09Gigabeat S/i.MX31: Sort files in the /target tree into things that are ↵Michael Sevakis
SoC-generic (into /imx31) and player-specific (into /gigabeat-s, based upon current appearances). Move i2s clock init into the appropriate file. Housekeeping only-- no functional changes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25547 a1c6a512-1295-4272-9138-f99709370657
2010-04-09sd-as3525v2: Add some comments, no functional changesJack Halpin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25546 a1c6a512-1295-4272-9138-f99709370657
2010-04-08Make usb storage wait for new commands in parallel with sending out the CSW ↵Frank Gevaerts
again, for a nice speed improvement. This is basically the same as was done before r24333, only this time it should be correct. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25542 a1c6a512-1295-4272-9138-f99709370657
2010-04-08Added battery profile change to correct file, removed unused powermgmt-as3525.cTobias Diedrich
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25541 a1c6a512-1295-4272-9138-f99709370657
2010-04-08Use a real battery discharge curve for calibration dataTobias Diedrich
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25540 a1c6a512-1295-4272-9138-f99709370657
2010-04-08Sansa AMSv2: Do not disable DMA synchronization logic for as3525v2. The ↵Jack Halpin
DMA controller and the SD controller run at different clock speeds. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25532 a1c6a512-1295-4272-9138-f99709370657
2010-04-08sd-as3525v2: Start out with all MCI Interrupts masked.Jack Halpin
Before the clock settings were fixed this setting actually caused the problem it now seems to solve. Random freezups seem to be gone for clip+ at least. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25531 a1c6a512-1295-4272-9138-f99709370657
2010-04-07FS#11187 - diacritic.c is in 'drivers' but it does not belong thereTomer Shalev
- Move diacritic.c to firmware/common - The function is_diacritic returns bool now git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25526 a1c6a512-1295-4272-9138-f99709370657
2010-04-07Make ATA code not bother to retry requests that return IDNF (specified ↵Torne Wuff
sector not valid). There's no point retrying these requests for five seconds, the sector number isn't going to get any more valid. It interferes with being able to detect broken drives like the 5.5G 80GB iPod's. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25525 a1c6a512-1295-4272-9138-f99709370657
2010-04-07Gigabeat S: Add some sanity checks for a strange charging anomaly that I ↵Michael Sevakis
have personally witnessed twice-- no, I don't have photos or a YT video but it did happen. Details are given in a comment in powermgmt-imx31.c. If it happens again, the checks may serve to reveal the true cause. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25524 a1c6a512-1295-4272-9138-f99709370657
2010-04-07Set SVN keywords; small addition to the comment.Alexander Levin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25522 a1c6a512-1295-4272-9138-f99709370657
2010-04-07Add comment to is_diacritic()Tomer Shalev
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25521 a1c6a512-1295-4272-9138-f99709370657
2010-04-07Gigabeat S: Extend the upper temperature range for battery charging to 50C: ↵Michael Sevakis
OK and 45C: Resume. Currently extended disk activity can cause it to detect overtemp which doesn't quite seem correct. Add macros for the range so that they may be target-specific. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25508 a1c6a512-1295-4272-9138-f99709370657
2010-04-07sd-as3525v2: Set SD FIFO TX/RX watermarks once in init_controller() and ↵Jack Halpin
leave them alone after that. We only use DMA transfers so we should not need to change/reset the FIFO configuration. Also add comment showing what we set as the TX/RX watermarks. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25507 a1c6a512-1295-4272-9138-f99709370657
2010-04-07Gigabeat S (imx31): Begin voltage and frequency scaling code. For now, to ↵Michael Sevakis
avoid overdrive voltage, just lower core voltage to 1.35V since voltage scaling shouldn't be required for frequencies lower than 399 MHz (according to Freescale BSP, which set all working points to 1.35V for those frequencies). Perhaps battery life will improve as well (cross fingers :). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25506 a1c6a512-1295-4272-9138-f99709370657
2010-04-07Remove vim option lineTobias Diedrich
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25505 a1c6a512-1295-4272-9138-f99709370657
2010-04-06Detect C200v2 variant by reading A7, use A5 or A7 to control backlight and ↵Tobias Diedrich
buttonlight depending on the result. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25499 a1c6a512-1295-4272-9138-f99709370657
2010-04-06Sansa AMS: Split set_cpu_frequency() into 2 separate functions for ↵Jack Halpin
as3525v1/v2 as the code is quite different for each model. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25498 a1c6a512-1295-4272-9138-f99709370657
2010-04-06AS3525v2: Set XPD to SD-MMC interface in sd_init() for HAVE_MULTIDRIVE.Jack Halpin
XPD was being switched between SD-MMC interface and general i/o functions in the sd_enable() function similar to as3525v1. Since the as3525v2's do not seem to use XPD as general i/o there's no need to switch it back. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25497 a1c6a512-1295-4272-9138-f99709370657
2010-04-06SansaAMS: Only use INT_MCIO with as3525v1, it is unused in as3525v2.Jack Halpin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25496 a1c6a512-1295-4272-9138-f99709370657
2010-04-06Revert unrelated part of r25491 : fuzev1 init code works againRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25495 a1c6a512-1295-4272-9138-f99709370657
2010-04-05Revert part of r25489 as it didn't fix the problem, that the CPU frequency ↵Thomas Martitz
debug screen shows the wrong frequency after boot, properly. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25492 a1c6a512-1295-4272-9138-f99709370657
2010-04-05as3525v2: Move codec into iram freeing 1MB for the audio buffer and also a ↵Thomas Martitz
small decoding speedup (iram seems to be 50% faster than dram when boosted and the same when unboosed). 32k is still reserved for the core and can be readjusted if needed. Codecs don't appear to ever need the 1MB (usually <350k only). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25491 a1c6a512-1295-4272-9138-f99709370657
2010-04-05Correct comment.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25490 a1c6a512-1295-4272-9138-f99709370657
2010-04-05Fuzev2: Use 40MHz as unboosted frequency. The lcd speed and ui ↵Thomas Martitz
responsiveness is good at this freq. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25489 a1c6a512-1295-4272-9138-f99709370657
2010-04-05as3525v2: show the correct freqs in debug menu, CGU_PERI uses fclk as sourceRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25485 a1c6a512-1295-4272-9138-f99709370657
2010-04-05Fix yellow. Another function unneeded in the bootloader.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25484 a1c6a512-1295-4272-9138-f99709370657
2010-04-05as2525(v2): We don't need yuv blitting/greylib support in the bootloader so ↵Thomas Martitz
don't compile it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25483 a1c6a512-1295-4272-9138-f99709370657
2010-04-05Add forgotten file (git was supposed to rename!).Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25482 a1c6a512-1295-4272-9138-f99709370657
2010-04-05Fuzev2: Reduce code duplication by reusing Fuzev1 code.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25481 a1c6a512-1295-4272-9138-f99709370657
2010-04-05Fuzev2: YUV output adapted from Fuzev1Rafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25479 a1c6a512-1295-4272-9138-f99709370657
2010-04-05Fuzev2: use RGB565SWAPPED (pointed out by amiconn) => 91fpsRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25478 a1c6a512-1295-4272-9138-f99709370657
2010-04-05Fuzev2: don't reinvent the wheel: swap pixels with existing swap_odd_even32Rafaël Carré
It is equally fast and doesn't need an additional mask Thanks to amiconn for pointing to it git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25477 a1c6a512-1295-4272-9138-f99709370657
2010-04-05Fuzev2: write pixel swapping in assembly for a some speed upRafaël Carré
Unboosted: 73 fps -> 87.5 fps git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25476 a1c6a512-1295-4272-9138-f99709370657
2010-04-05as3525v2: set PCLK correctlyRafaël Carré
PCLK doesn't use PLLA as a source but FCLK, so when changing FCLK with CGU_PROC register, we must change PCLK as well with CGU_PERI register Operate with 24MHz PCLK (and unboosted FCLK) for Clipv2/Clip+ Use 60MHz on Fuzev2 to keep the display fast enough (still slower than Fuzev1 though) µSD seems to function correctly now git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25475 a1c6a512-1295-4272-9138-f99709370657
2010-04-03use THREAD_ID_CURRENT instead of thread_get_current()Frank Gevaerts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25463 a1c6a512-1295-4272-9138-f99709370657
2010-04-03Clipv2: read hold switch correctlyRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25462 a1c6a512-1295-4272-9138-f99709370657
2010-04-03Don't define HAVE_IO_PRIORITY for the simFrank Gevaerts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25460 a1c6a512-1295-4272-9138-f99709370657
2010-04-03Add IO priority handling. Currently all IO has equal priority, except the ↵Frank Gevaerts
dircache scanning thread which is lower. This fixes the slow boot problem for me, with the added benefit that actual audio playback also starts faster. Lots of the changes are due to changing storage_(read|write)sectors() from macros to wrapper functions. This means that they have to be called with IF_MD2(drive,) again. Flyspray: FS#11167 Author: Frank Gevaerts git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25459 a1c6a512-1295-4272-9138-f99709370657
2010-04-03Clipv2: fix grey lcd outputRafaël Carré
We can write to DBOP_DOUT in 8 bits mode : bits 7..0 are mapped to the LCD, not bits 15..12 and 3..0 like on Clipv1 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25455 a1c6a512-1295-4272-9138-f99709370657
2010-04-03Clipv2: enable USB stack (and use correct product ID)Rafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25449 a1c6a512-1295-4272-9138-f99709370657
2010-04-03Clipv2/Clip+: lower DEFAULT/NORMAL frequency from 60MHz to 24MHzRafaël Carré
1 more hour of battery life measured on Clip+ : 16h30 with mp3 @192kbps Fuzev2 frequency isn't changed because the scrollwheel is less responsive below 60MHz git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25448 a1c6a512-1295-4272-9138-f99709370657
2010-04-03Clipv2: reboot to OF when USB is insertedRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25447 a1c6a512-1295-4272-9138-f99709370657
2010-04-03as3525v2: acknowledge USB connection/deconnection in SD threadRafaël Carré
Fuzev2: detect USB connection and reboot to OF git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25446 a1c6a512-1295-4272-9138-f99709370657
2010-04-03as3525v2: disable interrupts when writing to the PMU registersRafaël Carré
Brightness changes on the Fuzev2 now work flawlessly This might also explain why my Clip+ would sometimes "not boot", that could have been because the backlight was not enabled at all. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25445 a1c6a512-1295-4272-9138-f99709370657
2010-04-02Fix someone elses yellow and redJeffrey Goode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25434 a1c6a512-1295-4272-9138-f99709370657
2010-04-02Switch on hotkey on several targets. Stole the WPS Show Track Info key for ↵Jeffrey Goode
most of them. Made up a free key for the rest. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25433 a1c6a512-1295-4272-9138-f99709370657
2010-04-01Clip+: remove button_hold() : we use software holdRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25428 a1c6a512-1295-4272-9138-f99709370657
2010-04-01Boot charting support.Torne Wuff
Select (B)ootchart in advanced options in configure, and logf will record timings for various stages of boot, for performance comparisons. Format logged is: BC:>function_name,123,80 where 123 is the line number, 80 is the number of ticks since boot. This can be loaded as CSV into a spreadsheet. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25426 a1c6a512-1295-4272-9138-f99709370657
2010-04-01Fuzev2: Scrollwheel works like a charm :)Thomas Martitz
Move scrollwheel parsing function into separate file as it's reused. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25425 a1c6a512-1295-4272-9138-f99709370657