summaryrefslogtreecommitdiff
path: root/firmware/target/arm
AgeCommit message (Collapse)Author
2009-10-26Color targets: Ported assembler optimised transparent bitmap drawing from ↵Jens Arnold
Gigabeat S/F/X to all ARM targets (~23..40% speedup). * C optimised transparent bitmap drawing for non-ARM targets and sims. * Use the more compact boundary checking for non-transparent native bitmap drawing as well. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23353 a1c6a512-1295-4272-9138-f99709370657
2009-10-25AMS Sansa: Assume IDECLK is MCLK for the internal SD Disk. Reduce IDECLK ↵Jack Halpin
to 62 MHz for now to be consistent with MCLK for uSD which is PCLK. Adjust SD timeouts accordingly. Adjust code in debug-as3525.c to display correct frequencies on system/debug/View disk info page. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23350 a1c6a512-1295-4272-9138-f99709370657
2009-10-25Fix ipod nano 2g bootloader link problem, caused by my previous commitBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23348 a1c6a512-1295-4272-9138-f99709370657
2009-10-25Meizu M6 SP: make bootloader compile and run againBertrik Sikken
* don't use DRAM yet in the bootloader linker script * add header files for the ftl and nand * update svn:keywords git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23347 a1c6a512-1295-4272-9138-f99709370657
2009-10-25Meizu M6 SP: update lcd driver, it is now possible to display a rockbox logo ↵Bertrik Sikken
(with some limitations, see comments in lcd-m6sp.c) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23345 a1c6a512-1295-4272-9138-f99709370657
2009-10-25power-meizu.c: fix usage of USB_TR nameBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23341 a1c6a512-1295-4272-9138-f99709370657
2009-10-24Adjust the iPod Nano 2G CPU clock freq again, this time to an exact value. ↵Michael Sparmann
Also add hardware defines for the 9th DMA channel we discovered on the S5L8701, and fix the µsec timer (there were missing braces). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23338 a1c6a512-1295-4272-9138-f99709370657
2009-10-24Plumb an iPod Nano 2G battery leak that started spilling as soon as USB was ↵Michael Sparmann
used at least once until a reboot. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23335 a1c6a512-1295-4272-9138-f99709370657
2009-10-24Add #ifdef HAVE_MULTIDRIVE to HS timings switch for uSD cards.Jack Halpin
Internal cards are v1 sd cards so no need to include this code for the clip. Move transition from STBY -> TRAN-> STBY states inside the if(sd_v2) conditional check for HS switch as it's not needed for non HS cards. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23331 a1c6a512-1295-4272-9138-f99709370657
2009-10-24Speed up lcd_update_rect by ~2.5% by counting towards 0 in the loop.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23329 a1c6a512-1295-4272-9138-f99709370657
2009-10-24Hide yellowMichael Sparmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23327 a1c6a512-1295-4272-9138-f99709370657
2009-10-23Fix redMichael Sparmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23326 a1c6a512-1295-4272-9138-f99709370657
2009-10-23Implement iPod Nano 2G storage active indicatorMichael Sparmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23325 a1c6a512-1295-4272-9138-f99709370657
2009-10-23Finally a click, pop and other distortion free PCM driver for that fishy ↵Michael Sparmann
bufferless S5L870x I2S controller. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23324 a1c6a512-1295-4272-9138-f99709370657
2009-10-22Working Bootloader for mini2440. Dominik Wenger
Flyspray: FS#10701 Author: Bob Cousins git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23316 a1c6a512-1295-4272-9138-f99709370657
2009-10-21Add iPod Nano 2G µsec timer, and use it in the clickwheel driver.Michael Sparmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23309 a1c6a512-1295-4272-9138-f99709370657
2009-10-21iPod Nano 2G: "Fix" the latest PCM issues, channel swap and vinyl popping. ↵Michael Sparmann
The latter is a revert of the cache coherency patch for now, we need to find a better solution in the long term... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23308 a1c6a512-1295-4272-9138-f99709370657
2009-10-21Fix another bunch of iPod Nano 2G FTL bugs. It seems to work fine for me ↵Michael Sparmann
now, but this doesn't necessarily mean that it's bug-free. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23307 a1c6a512-1295-4272-9138-f99709370657
2009-10-20Convert lcd_activation callbacks to use the event system to allow for ↵Thomas Martitz
multiple parallel callbacks (for custom statusbar). Increase maximum event count as we need more (I actually had a report about it during custom statusbar testing). Removed corresponding functions from the core and plugin api. Bump min version and sort. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23302 a1c6a512-1295-4272-9138-f99709370657
2009-10-20D2: Remove the hardcoded driver-level touchscreen calibration, since it's ↵Rob Purchase
done at apps level as well now. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23299 a1c6a512-1295-4272-9138-f99709370657
2009-10-20Cleanup and expand D2 charger detection (not yet implemented for D2+).Rob Purchase
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23297 a1c6a512-1295-4272-9138-f99709370657
2009-10-20Fixed a bunch of iPod Nano 2G FTL bugs.Michael Sparmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23296 a1c6a512-1295-4272-9138-f99709370657
2009-10-20iPod Nano 2G USB support based on the S3C6400X datasheet. Disabled by ↵Michael Sparmann
default for now. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23285 a1c6a512-1295-4272-9138-f99709370657
2009-10-19Make RoLo work on PP5002. * Rename CACHE_CTL flag values on PP5002 for ↵Jens Arnold
consistency. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23277 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-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-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-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-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-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-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-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-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