summaryrefslogtreecommitdiff
path: root/firmware
AgeCommit message (Collapse)Author
2009-10-19Fix rolo for AMS Sansa and simplify a few #ifdefs.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23275 a1c6a512-1295-4272-9138-f99709370657
2009-10-19Initial mini2440 port.Dominik Wenger
Flyspray: FS#10627 Author: Bob Cousins git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23265 a1c6a512-1295-4272-9138-f99709370657
2009-10-19Change control handling to start expecting host packets before sending data ↵Frank Gevaerts
to the host. This makes the handling less timing sensitive on some controllers git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23263 a1c6a512-1295-4272-9138-f99709370657
2009-10-19AMS Sansa: Adjust SD Card frequency to Identification frequency at ↵Jack Halpin
beginning of card init instead of the end of pl180 controller init. If a card is reinitialized now the ident frequency is used instead of the bypass frequency during the identification phase. Added comments throughout sd_init_card() to help follow init process and highlight indent stage. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23256 a1c6a512-1295-4272-9138-f99709370657
2009-10-19AMS Sansa: Add voltage defines to pl180.h. No functional changes.Jack Halpin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23255 a1c6a512-1295-4272-9138-f99709370657
2009-10-18S5l8700: fix some CLCD controller register namesBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23247 a1c6a512-1295-4272-9138-f99709370657
2009-10-18Use wrap-safe TIME_BEFORE/TIME_AFTER macros to compare times with ↵Bertrik Sikken
current_time, instead of comparing them directly. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23246 a1c6a512-1295-4272-9138-f99709370657
2009-10-18Split ARMv6 code from mmu-arm.SRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23244 a1c6a512-1295-4272-9138-f99709370657
2009-10-18iPod Nano 2G storage performance improved by not copying around buffers ↵Michael Sparmann
unneccessarily if they are aligned anyways and using cache coherency functions instead of bypassing the caches altogether. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23243 a1c6a512-1295-4272-9138-f99709370657
2009-10-17Add dcache cleaning to the S5L870x PCM driver.Michael Sparmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23240 a1c6a512-1295-4272-9138-f99709370657
2009-10-17Fix S5L870x cache coherency functions. They were split into a different ↵Michael Sparmann
file, as changes were needed all over the place. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23239 a1c6a512-1295-4272-9138-f99709370657
2009-10-17Implement iPod Nano 2G nand_get_info()Michael Sparmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23238 a1c6a512-1295-4272-9138-f99709370657
2009-10-17Adjust iPod Nano 2G CPU speed to 192MHz, which measurements show it to be. ↵Michael Sparmann
Timers will be more accurate now. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23237 a1c6a512-1295-4272-9138-f99709370657
2009-10-17fix redNils Wallménius
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23234 a1c6a512-1295-4272-9138-f99709370657
2009-10-17Revise r23225 a bit, removing the debug_printf function and implementing ↵Nils Wallménius
more generic lcd_(remote)_putsf function(s) instead and use those in more places git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23233 a1c6a512-1295-4272-9138-f99709370657
2009-10-17USB HID: Add mouse mode to h10Tomer Shalev
- Also fix bug where all other modes were not functional - Hopefully fixes FS#10651 - H10 USB HID keymap problem git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23228 a1c6a512-1295-4272-9138-f99709370657
2009-10-17USB HID: Use different context for each mode; Use constant for each action;Tomer Shalev
Rework keymaps This commit makes the code neater and more readable. It makes it easier to modify keymap assignments and new keypad modes. Some platforms had their keypad mappings reworked. The manual is updated to reflect all these changes. H10 remote control mapping dropped. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23219 a1c6a512-1295-4272-9138-f99709370657
2009-10-16Fix logic error in D2+ touchscreen driver.Rob Purchase
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23217 a1c6a512-1295-4272-9138-f99709370657
2009-10-16AMS Sansa: Lower ADC checkvalue for voltage scaling to 1.175V as some ↵Jack Halpin
players run slightly low. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23205 a1c6a512-1295-4272-9138-f99709370657
2009-10-16Gigabeat S: Add support for dumping the flash from debug menuTorne Wuff
Also, changed FLASH_SIZE for the S to 2MB rather than 4MB as all available evidence suggests it's right. Flyspray: FS#10410 (by me) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23203 a1c6a512-1295-4272-9138-f99709370657
2009-10-15Touchscreen support for newer Cowon D2+ hardware revisions (using TSC200x ↵Rob Purchase
touchscreen controller). Flyspray: FS#10671 Author: Jonas Aaberg git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23194 a1c6a512-1295-4272-9138-f99709370657
2009-10-15AMS Sansa: FS#10669 Reimplement Voltage scaling.Jack Halpin
Reimplement voltage scaling on AMS Sansas at 1.10v during unboosted operation to improve runtimes. The voltage is now also boosted during disk access if a µSD is present. This prevents the µSD problems we saw on the last implementation. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23193 a1c6a512-1295-4272-9138-f99709370657
2009-10-15Sansa Fuze & e200v2 : do not enable USBSTACK in the bootloaderRafaël Carré
Don't implement usb_enable() is HAVE_USBSTACK is not defined git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23185 a1c6a512-1295-4272-9138-f99709370657
2009-10-15Sansa AMS USB driver : still not workingRafaël Carré
Implement usb_enable() Reorder/Modify usb_drv_init() to match closer the OF and remove a freeze (USB registers were accessed before the USB module was enabled) Add a panic in USB isr to be sure we notice when it's called Reset GPIOA direction for usb_detect() to notice extraction Add some comments git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23184 a1c6a512-1295-4272-9138-f99709370657
2009-10-15Sansa AMS SD driver: cleanup defines and commentsRafaël Carré
Remove useless E200V2 || FUZE || C200V2 : all those models have MULTIDRIVE and/or HOTSWAP defined and have no specific difference. Correct some comments Remove HAVE_MULTIDRIVE within HAVE_HOTSWAP since HOTSWAP imply MULTIDRIVE Change HOTSWAP to MULTIDRIVE where needed Use NUM_DRIVES in sd_num_drives() git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23180 a1c6a512-1295-4272-9138-f99709370657
2009-10-13Changes to make the Nano2G sim build. It is still missing a UI-ipodnano2g.bmpDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23163 a1c6a512-1295-4272-9138-f99709370657
2009-10-13The Nano2G also qualifies for HAVE_WHEEL_POSITIONDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23161 a1c6a512-1295-4272-9138-f99709370657
2009-10-13Add HAVE_SCROLLWHEEL for the Nano2G, as they have a scrollwheel.Dave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23159 a1c6a512-1295-4272-9138-f99709370657
2009-10-13USB: Use explicit casting when setting wTotalLength field in descriptorTomer Shalev
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23157 a1c6a512-1295-4272-9138-f99709370657
2009-10-13Sansa AMS PCM : replace buggy and confusing one-linerRafaël Carré
The bits which are not divider (i2si/i2so enable and clock selection) would be unset. This is not a problem in the current code since this function was always called before starting playback (and setting those bits) but this might be a problem when recording is enabled. Finally it is simpler to read. Thanks to Fred Bauer for pointing this. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23156 a1c6a512-1295-4272-9138-f99709370657
2009-10-13Fixed a confusing typoMichael Sparmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23150 a1c6a512-1295-4272-9138-f99709370657
2009-10-13Re-commit r23070 - reboot to disk mode on the Nano2G when USB is inserted. ↵Dave Chapman
This was accidentally reverted in r23099 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23148 a1c6a512-1295-4272-9138-f99709370657
2009-10-13Fix iPod Nano 2G charging detectionMichael Sparmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23146 a1c6a512-1295-4272-9138-f99709370657
2009-10-13Don't touch the clocks in Nano2G bootloader - this breaks the Apple firmware ↵Dave Chapman
(audio playback didn't work). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23143 a1c6a512-1295-4272-9138-f99709370657
2009-10-12Nano2G bootloader - fix dual-booting the Apple firmware.Dave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23139 a1c6a512-1295-4272-9138-f99709370657
2009-10-12Replace a couple of magic numbers with the appropriate constants.Rob Purchase
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23138 a1c6a512-1295-4272-9138-f99709370657
2009-10-12AMS Sansa: Remove BUSWIDTH and BLOCKLEN commands and revise strategy for ↵Jack Halpin
High Speed SD Card. We are unable to successfully put the pl180 controller into 4 bit mode so we should not put the cards into widebus mode for now. The blocklength is hardcoded to 512 in sd.c and BLOCKLEN defaults to 512 so this command is not needed. It appears the internal SD card is not HS capable but sending it the HS switch command does not seem to hinder it's init process. Assume all SD_V2 cards are HS capable and send them the HS switch command. If View disk info shows 50.0 MBit/s the card has HS timings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23137 a1c6a512-1295-4272-9138-f99709370657
2009-10-12Fix FS#10670 - The first letter of a scrolling line starts to appear at the endTomer Shalev
of the line Thanks to Teruaki Kawashima (teru) for providing this solution git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23132 a1c6a512-1295-4272-9138-f99709370657
2009-10-12S5L870x: Implement pcm_play_dma_get_peak_bufferMichael Sparmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23129 a1c6a512-1295-4272-9138-f99709370657
2009-10-12Fix the yellow againMichael Sparmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23127 a1c6a512-1295-4272-9138-f99709370657
2009-10-12Bring the iPod Nano 2G shutdown FTL panics back.Michael Sparmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23126 a1c6a512-1295-4272-9138-f99709370657
2009-10-12LCD scrolling - reduce one 'if' nesting levelTomer Shalev
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23125 a1c6a512-1295-4272-9138-f99709370657
2009-10-12LCD scrolling - fix a typoTomer Shalev
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23124 a1c6a512-1295-4272-9138-f99709370657
2009-10-12Fix the iPod Nano 2G clickwheel when releasing the hold switchMichael Sparmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23122 a1c6a512-1295-4272-9138-f99709370657
2009-10-11D2: Reduce binsize a bit by using arrays for the PMU initialisation.Rob Purchase
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23120 a1c6a512-1295-4272-9138-f99709370657
2009-10-11Revert r23021, since it broke non-RTL scrolling. RTL scrolling still needs ↵Tomer Shalev
fixing git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23118 a1c6a512-1295-4272-9138-f99709370657
2009-10-11RTL: Cosmetic changes, no functional change - Rename constantsTomer Shalev
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23117 a1c6a512-1295-4272-9138-f99709370657
2009-10-11Fix the latest iPod Nano 2G NAND issuesMichael Sparmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23115 a1c6a512-1295-4272-9138-f99709370657
2009-10-11iPod Nano 2G PMU rework, added backlight brightness setting and USB charging ↵Michael Sparmann
speed setting git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23114 a1c6a512-1295-4272-9138-f99709370657
2009-10-11Fix D2 red, I missed a fileRob Purchase
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23113 a1c6a512-1295-4272-9138-f99709370657