summaryrefslogtreecommitdiff
path: root/firmware (follow)
Commit message (Collapse)AuthorAge
...
* as3525v2-usb: beginning of a real driver. Setup packet and control transfers ↵Amaury Pouly2010-06-23
| | | | | | 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
* as3525v2-usb: define number of enpoints correctly, write interrupt handlerAmaury Pouly2010-06-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27098 a1c6a512-1295-4272-9138-f99709370657
* sd-as3525.c: get rid of MCI_ARGRafaël Carré2010-06-23
| | | | | | | | | | 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
* sd-as3525.c: disable wide bus, it corrupts writesRafaël Carré2010-06-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27087 a1c6a512-1295-4272-9138-f99709370657
* as3525*: initialize cpu_frequency correctlyRafaël Carré2010-06-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27082 a1c6a512-1295-4272-9138-f99709370657
* revert r27044 (which was a revert of r26953 & r26954)Rafaël Carré2010-06-23
| | | | | | 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
* playback.c: don't assume cacheline size is 16 bytesRafaël Carré2010-06-23
| | | | | | | | | | 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
* revert r27027,27028, 27071 - need to find a correct way to close font fd's. ↵Jonathan Gordon2010-06-23
| | | | | | 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
* redo r27027 to hopefully fix data aborts when loading a themeJonathan Gordon2010-06-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27071 a1c6a512-1295-4272-9138-f99709370657
* Silence the genversion.sh line during compilation a bit (to "GEN version.h").Thomas Martitz2010-06-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27070 a1c6a512-1295-4272-9138-f99709370657
* The mci_delay()s should be unnecessary if we properly tell the controller to ↵Tobias Diedrich2010-06-22
| | | | | | 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
* Give 4-bit mode another chance on AMSv1 since other bugs were fixed.Tobias Diedrich2010-06-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27065 a1c6a512-1295-4272-9138-f99709370657
* Add an advanced build option to force compiling and linking our reduced C ↵Thomas Martitz2010-06-22
| | | | | | library (probably useful for the sim). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27059 a1c6a512-1295-4272-9138-f99709370657
* Fix wrong comments in tuner-clipplus.cBertrik Sikken2010-06-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27056 a1c6a512-1295-4272-9138-f99709370657
* Enable USE_ROCKBOX_USB on all AS3525v1, confirmed to work on C200v2 and ↵Tobias Diedrich2010-06-22
| | | | | | 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
* Unconditionally boost cpu and remove CNAK retry panicTobias Diedrich2010-06-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27054 a1c6a512-1295-4272-9138-f99709370657
* Remove '\n' from panicfTobias Diedrich2010-06-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27053 a1c6a512-1295-4272-9138-f99709370657
* Threshold seems to affect the CNAK retries needed.Tobias Diedrich2010-06-22
| | | | | | | | 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
* Hardware too smart can complicate things... We have to intercept the ↵Tobias Diedrich2010-06-22
| | | | | | usb_core reply to SET_CONFIGURATION. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27051 a1c6a512-1295-4272-9138-f99709370657
* "lsusb -vv" now works too, but the real bug is probably still in here somewhere.Tobias Diedrich2010-06-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27048 a1c6a512-1295-4272-9138-f99709370657
* revert r26953 + r26954Rafaël Carré2010-06-22
| | | | | | | 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
* Sanyo lv24020lp FM: Improve frequency measurement on PP thus improving ↵Michael Sevakis2010-06-22
| | | | | | 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
* usb_storage seems to be working now, enable USE_ROCKBOX_USB on C200v2, other ↵Tobias Diedrich2010-06-22
| | | | | | AMSv1 untested. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27039 a1c6a512-1295-4272-9138-f99709370657
* lv24020lp tuner: On PP targets (c200/e200), use the atomic GPIO bitwise ↵Michael Sevakis2010-06-22
| | | | | | 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
* e200v1: What's the wheel deal? Rework wheel code to make it a bit more ↵Michael Sevakis2010-06-22
| | | | | | 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
* Apply FS #11423 - Use udelay in AMS driver for FM radio I2CBertrik Sikken2010-06-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27035 a1c6a512-1295-4272-9138-f99709370657
* as3525v2-usb: definitely switch to this clock handling, it is the good oneAmaury Pouly2010-06-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27033 a1c6a512-1295-4272-9138-f99709370657
* as3525-usb: change clock handlingAmaury Pouly2010-06-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27032 a1c6a512-1295-4272-9138-f99709370657
* as3525v2-usb: add support to derive usb clock from pllb, correct endpoint ↵Amaury Pouly2010-06-21
| | | | | | listing, simplify a few things. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27031 a1c6a512-1295-4272-9138-f99709370657
* as3525v2-usb: add a few missing define for completeness, finish ↵Amaury Pouly2010-06-21
| | | | | | reorganization of the header git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27030 a1c6a512-1295-4272-9138-f99709370657
* Allow UI fonts to be unloaded (needed for FS#11428)Michael Sparmann2010-06-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27027 a1c6a512-1295-4272-9138-f99709370657
* iPod 3G: Ensure wheel repeats are not generated unless the same keycode is ↵Michael Sevakis2010-06-21
| | | | | | 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
* I shouldn't have touched backlight.c at all :\ Also fix the yellow in ↵Thomas Martitz2010-06-21
| | | | | | peakmeter.c git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27022 a1c6a512-1295-4272-9138-f99709370657
* Fix yellows and reds (one was a type, the other was rather incorrect before ↵Thomas Martitz2010-06-21
| | | | | | already) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27021 a1c6a512-1295-4272-9138-f99709370657
* Fix ata_idle_notify on iPod Nano 2GMichael Sparmann2010-06-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27020 a1c6a512-1295-4272-9138-f99709370657
* Rockbox as an application: Replace many occurences of #ifdef SIMULATOR with ↵Thomas Martitz2010-06-21
| | | | | | | | | | | #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
* Fix FS #10474 - FM tuner on Gigabeat S fails to tune last frequency on startBertrik Sikken2010-06-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27018 a1c6a512-1295-4272-9138-f99709370657
* change the D2 bootloader to boot rockbox by default. boot OF is hold is on ↵Jonathan Gordon2010-06-21
| | | | | | or usb is connected git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27007 a1c6a512-1295-4272-9138-f99709370657
* mps depends on endpoint, I wonder why gcc didn't warn about i being used ↵Tobias Diedrich2010-06-21
| | | | | | uninitialized... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27005 a1c6a512-1295-4272-9138-f99709370657
* Don't autogenerate version.c. Just version.h is enoughFrank Gevaerts2010-06-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27003 a1c6a512-1295-4272-9138-f99709370657
* Tell version.sh where to look for the svn repositoryFrank Gevaerts2010-06-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27001 a1c6a512-1295-4272-9138-f99709370657
* Add some magic to force make to regenerate version.h properly when the ↵Frank Gevaerts2010-06-20
| | | | | | revision changes git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27000 a1c6a512-1295-4272-9138-f99709370657
* Revert r26350 - fixes FS#11421Michael Chicoine2010-06-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26997 a1c6a512-1295-4272-9138-f99709370657
* Remove PROC_NEEDS_CACHEALIGN for Nano2G again, it's only needed for PPMichael Sparmann2010-06-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26996 a1c6a512-1295-4272-9138-f99709370657
* Fix misspelled STORAGE_WANTS_ALIGN in s5l8700/system-target.h. Also add ↵Michael Sparmann2010-06-20
| | | | | | PROC_NEEDS_CACHEALIGN. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26985 a1c6a512-1295-4272-9138-f99709370657
* Also define STORAGE_ALIGN_ATTR if STORAGE_WANTS_ALIGN isn't definedMichael Sparmann2010-06-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26984 a1c6a512-1295-4272-9138-f99709370657
* Use STORAGE_ALIGN_ATTR for instead of hardwired alignment in the Nano2G FTL ↵Michael Sparmann2010-06-20
| | | | | | and NAND driver git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26983 a1c6a512-1295-4272-9138-f99709370657
* Add a STORAGE_ALIGN_ATTR macro, similar to CACHEALIGN_ATTR, for consistencyMichael Sparmann2010-06-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26982 a1c6a512-1295-4272-9138-f99709370657
* Revert r26937 (as3525v2: use 248MHz PLL)Rafaël Carré2010-06-20
| | | | | | | | | | | This caused mounting of µSD to fail on Fuzev2 in some cases, although the card is detected properly This might be the cause of playback glitches (more frequent for lossless files) on clipv2 Trying to set the main PLL at 384MHz and FCLK at 240MHz didn't work, so there might be some problems not understood yet git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26979 a1c6a512-1295-4272-9138-f99709370657
* as3525v2-usb: fix yellow about unused functions (they can be resurrected ↵Amaury Pouly2010-06-19
| | | | | | from an older revision if needed) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26976 a1c6a512-1295-4272-9138-f99709370657