summaryrefslogtreecommitdiff
path: root/firmware
AgeCommit message (Collapse)Author
2010-06-24Fix sd-as3525.c build for non-multidrive targetsTobias Diedrich
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27114 a1c6a512-1295-4272-9138-f99709370657
2010-06-24Fix the pesky write corruption bug in 4bit mode.Tobias Diedrich
On tx underruns, a write is aborted early, leaving the dma channel active. We didn't explicitly disable it, so there were still 4 words in the dma controller fifo, corrupting the retried write. To chase this bug I added verify after write, if no one sees write errors in the next week or so this can be removed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27113 a1c6a512-1295-4272-9138-f99709370657
2010-06-24Gigabeat S: Use statically initialized channel descriptors. Also, there's no ↵Michael Sevakis
need for them to be in non-cached memory since they're only used on the AP side. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27103 a1c6a512-1295-4272-9138-f99709370657
2010-06-24Commit FS#11364 by me. Increases the A3525v2 volume range by 7.5dB. Each ↵Michael Giacomelli
volume setting gets 7.5dB louder (if you listened before at 0dB, you would have to set it to about -7.5dB to get the same volume). As a result, the new 0dB actually is pretty close to max line level for a full scale voltage, so positive dB may clip, whereas before they did not because the scale was off. Thanks to dfkt and Tim Graf for help figuring this out. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27101 a1c6a512-1295-4272-9138-f99709370657
2010-06-23as3525v2-usb: beginning of a real driver. Setup packet and control transfers ↵Amaury Pouly
work. There is still a problem with the set address request. Still much work to be done. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27099 a1c6a512-1295-4272-9138-f99709370657
2010-06-23as3525v2-usb: define number of enpoints correctly, write interrupt handlerAmaury Pouly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27098 a1c6a512-1295-4272-9138-f99709370657
2010-06-23sd-as3525.c: get rid of MCI_ARGRafaël Carré
We always need to write MCI_ARGUMENT register so if the command expects no argument just set the function argument to 0 Code is now similar to as3525v2 hint: merging the 2 and/or all the SD drivers would be nice git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27088 a1c6a512-1295-4272-9138-f99709370657
2010-06-23sd-as3525.c: disable wide bus, it corrupts writesRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27087 a1c6a512-1295-4272-9138-f99709370657
2010-06-23as3525*: initialize cpu_frequency correctlyRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27082 a1c6a512-1295-4272-9138-f99709370657
2010-06-23revert r27044 (which was a revert of r26953 & r26954)Rafaël Carré
The bug was in playback.c and was fixed in previous commit git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27074 a1c6a512-1295-4272-9138-f99709370657
2010-06-23playback.c: don't assume cacheline size is 16 bytesRafaël Carré
ideally all targets should define CACHEALIGN_BITS, for now we default it to 16 bytes if it's not specified Since the buffer is already aligned in playback.c no need to align it again in buffering.c git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27073 a1c6a512-1295-4272-9138-f99709370657
2010-06-23revert r27027,27028, 27071 - need to find a correct way to close font fd's. ↵Jonathan Gordon
27027 caused data aborts, 27028 caused multifont issues after returning from usb git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27072 a1c6a512-1295-4272-9138-f99709370657
2010-06-23redo r27027 to hopefully fix data aborts when loading a themeJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27071 a1c6a512-1295-4272-9138-f99709370657
2010-06-23Silence the genversion.sh line during compilation a bit (to "GEN version.h").Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27070 a1c6a512-1295-4272-9138-f99709370657
2010-06-22The mci_delay()s should be unnecessary if we properly tell the controller to ↵Tobias Diedrich
wait for the response these commands send back to the host. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27066 a1c6a512-1295-4272-9138-f99709370657
2010-06-22Give 4-bit mode another chance on AMSv1 since other bugs were fixed.Tobias Diedrich
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27065 a1c6a512-1295-4272-9138-f99709370657
2010-06-22Add an advanced build option to force compiling and linking our reduced C ↵Thomas Martitz
library (probably useful for the sim). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27059 a1c6a512-1295-4272-9138-f99709370657
2010-06-22Fix wrong comments in tuner-clipplus.cBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27056 a1c6a512-1295-4272-9138-f99709370657
2010-06-22Enable USE_ROCKBOX_USB on all AS3525v1, confirmed to work on C200v2 and ↵Tobias Diedrich
E200v2, I'm confident it should work on the others too. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27055 a1c6a512-1295-4272-9138-f99709370657
2010-06-22Unconditionally boost cpu and remove CNAK retry panicTobias Diedrich
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27054 a1c6a512-1295-4272-9138-f99709370657
2010-06-22Remove '\n' from panicfTobias Diedrich
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27053 a1c6a512-1295-4272-9138-f99709370657
2010-06-22Threshold seems to affect the CNAK retries needed.Tobias Diedrich
Maybe it's not possible to change NAK while the DMA engine is active. Burst probably can't hurt. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27052 a1c6a512-1295-4272-9138-f99709370657
2010-06-22Hardware too smart can complicate things... We have to intercept the ↵Tobias Diedrich
usb_core reply to SET_CONFIGURATION. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27051 a1c6a512-1295-4272-9138-f99709370657
2010-06-22"lsusb -vv" now works too, but the real bug is probably still in here somewhere.Tobias Diedrich
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27048 a1c6a512-1295-4272-9138-f99709370657
2010-06-22revert r26953 + r26954Rafaël Carré
test_disk says everything is alright but playback is buggy, especially when playing lossless files git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27044 a1c6a512-1295-4272-9138-f99709370657
2010-06-22Sanyo lv24020lp FM: Improve frequency measurement on PP thus improving ↵Michael Sevakis
initial frequency setting. Properly account for IF when tuning FM oscillator (this worked poorly before but appears to work as expected now -- aka. works for me). Not sure what this will do to iAudio7 or Cowon D2 but if they can implement a good duration measurement, they should do so or use the internal timer if possible. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27042 a1c6a512-1295-4272-9138-f99709370657
2010-06-22usb_storage seems to be working now, enable USE_ROCKBOX_USB on C200v2, other ↵Tobias Diedrich
AMSv1 untested. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27039 a1c6a512-1295-4272-9138-f99709370657
2010-06-22lv24020lp tuner: On PP targets (c200/e200), use the atomic GPIO bitwise ↵Michael Sevakis
macros for the interface since it shares GPIOH with the clickwheel interrupt. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27038 a1c6a512-1295-4272-9138-f99709370657
2010-06-22e200v1: What's the wheel deal? Rework wheel code to make it a bit more ↵Michael Sevakis
straightforward and increase control a bit. Change button interrupt to clear after bitflip. Use atomic GPIO bitwise macros for everything. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27037 a1c6a512-1295-4272-9138-f99709370657
2010-06-21Apply FS #11423 - Use udelay in AMS driver for FM radio I2CBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27035 a1c6a512-1295-4272-9138-f99709370657
2010-06-21as3525v2-usb: definitely switch to this clock handling, it is the good oneAmaury Pouly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27033 a1c6a512-1295-4272-9138-f99709370657
2010-06-21as3525-usb: change clock handlingAmaury Pouly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27032 a1c6a512-1295-4272-9138-f99709370657
2010-06-21as3525v2-usb: add support to derive usb clock from pllb, correct endpoint ↵Amaury Pouly
listing, simplify a few things. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27031 a1c6a512-1295-4272-9138-f99709370657
2010-06-21as3525v2-usb: add a few missing define for completeness, finish ↵Amaury Pouly
reorganization of the header git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27030 a1c6a512-1295-4272-9138-f99709370657
2010-06-21Allow UI fonts to be unloaded (needed for FS#11428)Michael Sparmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27027 a1c6a512-1295-4272-9138-f99709370657
2010-06-21iPod 3G: Ensure wheel repeats are not generated unless the same keycode is ↵Michael Sevakis
posted more than once in a row, regardless of velocity. Remove 'was_hold' from handle_scroll_wheel calls since the call is never reachable with was_hold being true. Just clear pending ints in one spot after setting levels. Init prev_scroll properly again in 3g case. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27025 a1c6a512-1295-4272-9138-f99709370657
2010-06-21I shouldn't have touched backlight.c at all :\ Also fix the yellow in ↵Thomas Martitz
peakmeter.c git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27022 a1c6a512-1295-4272-9138-f99709370657
2010-06-21Fix yellows and reds (one was a type, the other was rather incorrect before ↵Thomas Martitz
already) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27021 a1c6a512-1295-4272-9138-f99709370657
2010-06-21Fix ata_idle_notify on iPod Nano 2GMichael Sparmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27020 a1c6a512-1295-4272-9138-f99709370657
2010-06-21Rockbox as an application: Replace many occurences of #ifdef SIMULATOR with ↵Thomas Martitz
#if (CONFIG_PLATFORM & PLATFORM_HOSTED) (or equivalently). The simulator defines PLATFORM_HOSTED, as RaaA will do (RaaA will not define SIMULATOR). The new define is to (de-)select code to compile on hosted platforms generally. Should be no functional change to targets or the simulator. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27019 a1c6a512-1295-4272-9138-f99709370657
2010-06-21Fix FS #10474 - FM tuner on Gigabeat S fails to tune last frequency on startBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27018 a1c6a512-1295-4272-9138-f99709370657
2010-06-21change the D2 bootloader to boot rockbox by default. boot OF is hold is on ↵Jonathan Gordon
or usb is connected git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27007 a1c6a512-1295-4272-9138-f99709370657
2010-06-21mps depends on endpoint, I wonder why gcc didn't warn about i being used ↵Tobias Diedrich
uninitialized... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27005 a1c6a512-1295-4272-9138-f99709370657
2010-06-21Don't autogenerate version.c. Just version.h is enoughFrank Gevaerts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27003 a1c6a512-1295-4272-9138-f99709370657
2010-06-21Tell version.sh where to look for the svn repositoryFrank Gevaerts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27001 a1c6a512-1295-4272-9138-f99709370657
2010-06-20Add some magic to force make to regenerate version.h properly when the ↵Frank Gevaerts
revision changes git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27000 a1c6a512-1295-4272-9138-f99709370657
2010-06-20Revert r26350 - fixes FS#11421Michael Chicoine
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26997 a1c6a512-1295-4272-9138-f99709370657
2010-06-20Remove PROC_NEEDS_CACHEALIGN for Nano2G again, it's only needed for PPMichael Sparmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26996 a1c6a512-1295-4272-9138-f99709370657
2010-06-20Fix misspelled STORAGE_WANTS_ALIGN in s5l8700/system-target.h. Also add ↵Michael Sparmann
PROC_NEEDS_CACHEALIGN. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26985 a1c6a512-1295-4272-9138-f99709370657
2010-06-20Also define STORAGE_ALIGN_ATTR if STORAGE_WANTS_ALIGN isn't definedMichael Sparmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26984 a1c6a512-1295-4272-9138-f99709370657