Commit graph

2597 commits

Author SHA1 Message Date
Michael Sparmann
44f924f8b4 Adjust iPod Classic CPU clock speed constants to at least roughly correct values
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29005 a1c6a512-1295-4272-9138-f99709370657
2011-01-08 01:05:27 +00:00
Michael Sparmann
0e773ad92c Implement hold switch and headphone detection on iPod Classic
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29001 a1c6a512-1295-4272-9138-f99709370657
2011-01-07 23:08:01 +00:00
Michael Sevakis
9d97ee1b54 Gigabeat S/i.MX31: Take care of an interrupt priority inversion that can happen during PCM callback lockout when DVFS switches frequecies during the lockout, preventing a thread from unlocking the callback until DVFS finishes, causing an SSI FIFO underrun. Hadn't thought of an acceptable way to deal with it before.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28996 a1c6a512-1295-4272-9138-f99709370657
2011-01-07 20:40:36 +00:00
Michael Sparmann
e8e6a3c873 Add LCD type to iPod Classic HW debug screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28992 a1c6a512-1295-4272-9138-f99709370657
2011-01-07 15:30:30 +00:00
Michael Sparmann
46945eff06 iPod Classic: Fix remaining PCM issues and add DMA information to the HW debug screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28991 a1c6a512-1295-4272-9138-f99709370657
2011-01-07 15:16:17 +00:00
Michael Sparmann
67a85912c8 Fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28990 a1c6a512-1295-4272-9138-f99709370657
2011-01-07 14:00:37 +00:00
Michael Sparmann
c7b8d07181 Fix iPod Classic playback slowness
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28989 a1c6a512-1295-4272-9138-f99709370657
2011-01-07 13:55:33 +00:00
Michael Sparmann
03da54bde2 Fix iPod Classic tick timer (still not 100% calibrated, but close enough for now)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28988 a1c6a512-1295-4272-9138-f99709370657
2011-01-07 12:26:25 +00:00
Michael Sevakis
89a7a8138e Gigabeat S: Make it a removable mass-storage device. Windows will assign a drive to only the main data partition by default. To access the bootloader partition instead, press 'Vol -' while it connects (in bootloader and firmware). Hopefully doesn't break anything for anyone.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28972 a1c6a512-1295-4272-9138-f99709370657
2011-01-05 19:35:51 +00:00
Michael Sparmann
f8fde296a6 Remove files accidentally commited in 28953
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28959 a1c6a512-1295-4272-9138-f99709370657
2011-01-03 13:24:27 +00:00
Andree Buschmann
b23e51050f Remove unneeded check for swapping in iPod nano1G/color LCD driver. For nano1G and color yo/y1 this swap never happened, for color x0/x1 it was always swapped.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28956 a1c6a512-1295-4272-9138-f99709370657
2011-01-03 07:03:07 +00:00
Michael Sparmann
152847977a New port: iPod Classic (also known as iPod 6G/6.5G/7G)
Major known issues:
- No bootloader yet
- No support for the first-generation 160GB CE-ATA hard disk drive yet
- Audio playback is slow, only FLAC seems to reach realtime


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28953 a1c6a512-1295-4272-9138-f99709370657
2011-01-02 23:16:27 +00:00
Michael Sparmann
6f40387e74 Fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28952 a1c6a512-1295-4272-9138-f99709370657
2011-01-02 23:09:01 +00:00
Michael Sparmann
1a1fc09863 Fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28951 a1c6a512-1295-4272-9138-f99709370657
2011-01-02 23:02:55 +00:00
Michael Sparmann
9339be1279 Rework ATA driver to get rid of lots of target-specific constants and allow for non-memory-mapped task file registers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28950 a1c6a512-1295-4272-9138-f99709370657
2011-01-02 22:51:47 +00:00
Andree Buschmann
9f78d38097 Submit FS#11843 v17. Integrate YUV-blitting of nano 2G to nano1G/color LCD driver. Additionally refactor RGB and YUV screen updates to use same code fragments and save some binsize. YUV speedup is +3-4%, RGB 1/4 screen +2%.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28944 a1c6a512-1295-4272-9138-f99709370657
2011-01-02 21:43:14 +00:00
Michael Sevakis
4048cf27a2 Gigeabeat S: Reset DMA size info when stopping audio playback and recording transfers so that size remaing/peak buffer calls return 0/NULL when stopped.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28941 a1c6a512-1295-4272-9138-f99709370657
2011-01-01 22:35:00 +00:00
Andree Buschmann
5f43d0db5c Fix comment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28940 a1c6a512-1295-4272-9138-f99709370657
2011-01-01 20:10:19 +00:00
Andree Buschmann
21b89aab5a Save some binsize in LCD driver of iPod nano 2G. No impact to speed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28938 a1c6a512-1295-4272-9138-f99709370657
2011-01-01 19:25:09 +00:00
Andree Buschmann
bf3a1bed96 Submit FS11782: Use faster DRAM timings in unboosted state for S5L870x. DRAM read +8%, DRAM write +37%, DRAM copy +25% faster.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28935 a1c6a512-1295-4272-9138-f99709370657
2010-12-30 20:23:46 +00:00
Andree Buschmann
3f01a82af0 Submitted the wrong file with r28933.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28934 a1c6a512-1295-4272-9138-f99709370657
2010-12-30 15:46:39 +00:00
Andree Buschmann
397215dae9 Major speedup of iPod nano 2G. Part 7: Disable reading FIFO state in YUV blitting. Speedup is +19% for YUV.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28933 a1c6a512-1295-4272-9138-f99709370657
2010-12-30 15:23:36 +00:00
Andree Buschmann
b04d676706 Speed up of iPod nano 1G and iPod color LCD. Use HDD6330 asm part for YUV blitting, introduce special handling for full width screen updates. Speed up is about +30% for YUV on both color/nano1G.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28930 a1c6a512-1295-4272-9138-f99709370657
2010-12-29 23:17:47 +00:00
Michael Sevakis
65850011cc Gigabeat S: Do simple direct keypad scanning rather than triggering a separate scan interrupt and it all does the same thing but with 1 tick less latency.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28926 a1c6a512-1295-4272-9138-f99709370657
2010-12-29 18:20:31 +00:00
Fred Bauer
e541c98a7e revert r28834 because it causes problems with uSD
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28925 a1c6a512-1295-4272-9138-f99709370657
2010-12-29 16:07:15 +00:00
Bertrik Sikken
92b849d3bf Apply FS#11798 (Files in MicroSD card aren't being shown in File Browser or Database on Clip+) by Will Sowerbutts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28903 a1c6a512-1295-4272-9138-f99709370657
2010-12-26 12:55:28 +00:00
Frank Gevaerts
303aefc406 Make usb_detect() return USB_UNPOWERED instead of USB_EXTRACTED. Without that, not all needed disconnect handling is done in usb.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28874 a1c6a512-1295-4272-9138-f99709370657
2010-12-21 17:24:00 +00:00
Andree Buschmann
e91091b530 Major speedup of iPod nano 2G. Part 6: Use faster LCD interface configuration. Tested for LDS and ILI type displays. Speedup is +99% for RGB and +5% for YUV.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28868 a1c6a512-1295-4272-9138-f99709370657
2010-12-21 06:59:17 +00:00
Andree Buschmann
d215eb7c70 iPod nano 2G: Use LCD_PHTIME = 0x22 for both LDS and ILI type of displays. Significantly improves speed on ILI type (factor of ~2.5x).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28861 a1c6a512-1295-4272-9138-f99709370657
2010-12-19 21:22:31 +00:00
Andree Buschmann
8205e54abd iPod nano2g ILI type LCD displays need big endian configuration for the LCD interface.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28858 a1c6a512-1295-4272-9138-f99709370657
2010-12-19 19:06:55 +00:00
Michael Sparmann
22d790bd12 Fix headphone detection on iPod Nano 2G being inverted (regression from r28800)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28843 a1c6a512-1295-4272-9138-f99709370657
2010-12-16 19:54:24 +00:00
Szymon Dziok
90e8dc8f6b HDD6330: implement lcd_set_flip() function.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28839 a1c6a512-1295-4272-9138-f99709370657
2010-12-15 22:06:51 +00:00
Fred Bauer
279dff1c21 FS#11765: Improve AMSv1 Battery Life by Lowering CPU and Peripheral clocks. Unboosted CPU and peripheral clock is now 31MHz. Boosted CPU and pclk are 186MHz and 62MHz, respectively.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28834 a1c6a512-1295-4272-9138-f99709370657
2010-12-14 22:08:43 +00:00
Szymon Dziok
703db94de6 HDD6330: speedup lcd_blit_yuv() function (~4%).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28828 a1c6a512-1295-4272-9138-f99709370657
2010-12-13 23:51:48 +00:00
Andree Buschmann
c43fb3cf1b Add short sleep after wakeup of LDS176 type LCD to avoid occasional shift of first full screen update.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28827 a1c6a512-1295-4272-9138-f99709370657
2010-12-13 21:13:10 +00:00
Szymon Dziok
bf34449638 HDD6330: implement initialization and inversion of lcd.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28826 a1c6a512-1295-4272-9138-f99709370657
2010-12-13 21:13:04 +00:00
Andree Buschmann
abf28a9586 Speedup of iPod nano 2G YUV blitting by 3%.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28825 a1c6a512-1295-4272-9138-f99709370657
2010-12-13 20:56:53 +00:00
Andree Buschmann
298bbe8d3c FS#11807 - Major speedup of iPod nano 2G. Part 5: Introduce asm for RGB screen updates, set LCD_PHTIME to Apple's default for LDS176 type LCD's.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28824 a1c6a512-1295-4272-9138-f99709370657
2010-12-13 19:58:04 +00:00
Frank Gevaerts
866a822ac6 Only return USB_POWERED if USB_DETECT_BY_DRV is actually defined, which might not be the case for e.g. bootloaders (also fix red)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28820 a1c6a512-1295-4272-9138-f99709370657
2010-12-12 20:20:12 +00:00
Frank Gevaerts
ecd80d888e Move AMSv1 USB to the USB_DETECT_BY_DRV model, so connecting to a dumb charger works without interrupting playback
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28819 a1c6a512-1295-4272-9138-f99709370657
2010-12-12 20:03:42 +00:00
Bertrik Sikken
2a0a9a5f2a AMSv2: handle sd card ACMDs similar to how it's done for AMSv1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28814 a1c6a512-1295-4272-9138-f99709370657
2010-12-12 15:30:58 +00:00
Andree Buschmann
395d72f71a FS#11807 - Major speedup of iPod nano 2G. Part 4: Introduce asm for yuv blitting. Overall speedup of part1-4 is +50% for RGB and +93% for YUV.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28813 a1c6a512-1295-4272-9138-f99709370657
2010-12-12 15:23:20 +00:00
Andree Buschmann
eadff40863 FS#11807 - Major speedup of iPod nano 2G. Part 3: Unify different write commands. No change in speed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28812 a1c6a512-1295-4272-9138-f99709370657
2010-12-12 15:16:55 +00:00
Andree Buschmann
335df1d040 FS#11807 - Major speedup of iPod nano 2G. Part 2: Use 16 bit data width and simplify write commands. Gives another +27% for YUV.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28811 a1c6a512-1295-4272-9138-f99709370657
2010-12-12 15:10:45 +00:00
Andree Buschmann
d192bdf11e FS#11708 - Major speedup of iPod nano 2G. Part 1: Loop unrolling and reduction of FIFO register polling. +50% for RGB, +34% for YUV.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28809 a1c6a512-1295-4272-9138-f99709370657
2010-12-12 15:01:36 +00:00
Bertrik Sikken
9da76f3031 AMSv2: only switch sd cards to high speed mode for for v2 sd cards, just like is done for AMSv1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28808 a1c6a512-1295-4272-9138-f99709370657
2010-12-12 14:04:07 +00:00
Michael Sparmann
7b3c7db486 iPod Nano 2G: Correct clickwheel interrupt handler name, this time consistently.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28807 a1c6a512-1295-4272-9138-f99709370657
2010-12-12 12:40:37 +00:00
Andree Buschmann
951a519dc4 Fix bug introduced with r28800 (missing interrupt handler).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28806 a1c6a512-1295-4272-9138-f99709370657
2010-12-12 11:41:50 +00:00
Michael Sparmann
40d640eb47 Fix yellow, already assign values for various S5L8702 defines
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28801 a1c6a512-1295-4272-9138-f99709370657
2010-12-12 00:59:59 +00:00
Michael Sparmann
70447b529c usb-s3c6400x.[ch], button-clickwheel.c: Move s5l8701-specific parts to where they belong, prepare for s5l8702
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28800 a1c6a512-1295-4272-9138-f99709370657
2010-12-12 00:52:02 +00:00