summaryrefslogtreecommitdiffstats
path: root/firmware
AgeCommit message (Collapse)AuthorFilesLines
2009-10-15Touchscreen support for newer Cowon D2+ hardware revisions (using TSC200x ↵Rob Purchase8-137/+369
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 Halpin2-4/+24
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é3-0/+14
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é2-26/+26
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é1-50/+16
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 Chapman1-0/+2
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 Chapman1-0/+3
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 Chapman1-0/+3
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 Shalev1-1/+1
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é1-3/+8
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 Sparmann1-1/+1
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 Chapman1-11/+20
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 Sparmann1-2/+2
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 ↵bootloader_ipodpatcher_v4Dave Chapman1-1/+3
(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 Chapman2-3/+2
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 Purchase1-4/+4
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 Halpin1-26/+26
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 Shalev1-7/+13
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 Sparmann1-3/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23129 a1c6a512-1295-4272-9138-f99709370657
2009-10-12Fix the yellow againMichael Sparmann1-9/+0
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 Sparmann2-3/+16
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23126 a1c6a512-1295-4272-9138-f99709370657
2009-10-12LCD scrolling - reduce one 'if' nesting levelTomer Shalev1-34/+34
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23125 a1c6a512-1295-4272-9138-f99709370657
2009-10-12LCD scrolling - fix a typoTomer Shalev1-1/+1
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 Sparmann1-0/+6
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 Purchase2-57/+91
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 Shalev1-0/+1
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 Shalev2-5/+5
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 Sparmann1-9/+8
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 Sparmann8-51/+104
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 Purchase1-0/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23113 a1c6a512-1295-4272-9138-f99709370657
2009-10-11D2: The RTC chip needs to be runtime detected.Rob Purchase3-4/+91
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23112 a1c6a512-1295-4272-9138-f99709370657
2009-10-11iPod Nano 2G: Reset NAND banks after powering the chip up.Michael Sparmann1-39/+41
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23110 a1c6a512-1295-4272-9138-f99709370657
2009-10-11H300 LCD update: Use interrupt driven background DMA transfers, giving other ↵Jens Arnold1-35/+78
threads a chance to run while the LCD updates. * Add an optimisation for partial updates with width == LCD_WIDTH. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23109 a1c6a512-1295-4272-9138-f99709370657
2009-10-11Correct the charging/power #defines for the Nano2G. This now enables you to ↵Dave Chapman1-5/+5
hold MENU when inserting the USB cable to stop Rockbox entering disk mode. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23108 a1c6a512-1295-4272-9138-f99709370657
2009-10-11Samsung YP-S3: make bootloader compile againBertrik Sikken1-0/+39
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23107 a1c6a512-1295-4272-9138-f99709370657
2009-10-11Add a thread to power down the NAND after inactivity on the iPod Nano 2GMichael Sparmann1-3/+28
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23106 a1c6a512-1295-4272-9138-f99709370657
2009-10-11Add a center flag, next to the rtl flag, for viewports. That results in any ↵Thomas Martitz2-4/+13
text being drawn centered. It overrides the RTL flag if set. Simplify splashes and time menu by using it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23105 a1c6a512-1295-4272-9138-f99709370657
2009-10-11Correct some iPod Nano 2G definesMichael Sparmann1-10/+12
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23104 a1c6a512-1295-4272-9138-f99709370657
2009-10-11S5L870x: Fix PCLK freqMichael Sparmann3-4/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23103 a1c6a512-1295-4272-9138-f99709370657
2009-10-11Fix yellowMichael Sparmann1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23102 a1c6a512-1295-4272-9138-f99709370657
2009-10-11Fix another anti-double-inclusion define for iPod Nano 2GMichael Sparmann1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23100 a1c6a512-1295-4272-9138-f99709370657
2009-10-11Implement NAND power management for iPod Nano 2GMichael Sparmann5-29/+66
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23099 a1c6a512-1295-4272-9138-f99709370657
2009-10-11S5L870x crt0.S: Streamline things a bit, and close unneeded clock gates on ↵Michael Sparmann1-31/+26
iPod Nano 2G git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23098 a1c6a512-1295-4272-9138-f99709370657
2009-10-11Nano2G - remove HAVE_RECORDING from config-ipodnano2g.h as it's not ↵Dave Chapman2-1/+7
implmented yet, and properly #ifdef audio-nano2g.c git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23095 a1c6a512-1295-4272-9138-f99709370657
2009-10-11M:Robe 500: Correct power down pin assignment.Karl Kurbjun1-5/+5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23091 a1c6a512-1295-4272-9138-f99709370657
2009-10-11Forgot to add 22kHzKarl Kurbjun1-0/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23090 a1c6a512-1295-4272-9138-f99709370657
2009-10-11M:Robe 500: Add support for more audio frequencies, initialize and set the ↵Karl Kurbjun3-2/+29
touchscreen PWD pin. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23089 a1c6a512-1295-4272-9138-f99709370657
2009-10-11AMS Sansa: If SD card is HS capable set High Speed timings.Jack Halpin1-1/+11
This still doesn't solve the problem of the cards being overclocked at 62MHz but we can mitigate this a bit by switching to HS timings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23088 a1c6a512-1295-4272-9138-f99709370657
2009-10-11Nano2G - call storage_flush() before rolo_restart() to ensure FTL is flushed.Dave Chapman1-0/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23087 a1c6a512-1295-4272-9138-f99709370657
2009-10-11Enable rolo on the Nano2G - it hasn't been thoroughly tested, but seems to ↵Dave Chapman1-2/+3
be working. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23086 a1c6a512-1295-4272-9138-f99709370657