Commit graph

2550 commits

Author SHA1 Message Date
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
Andree Buschmann
6e369d717d Fix typo in comment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28795 a1c6a512-1295-4272-9138-f99709370657
2010-12-11 17:52:52 +00:00
Andree Buschmann
2f9c4dfa39 iPod nano 2G: Call lcd_update_rect() in lcd_update() instead of using an own implementation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28794 a1c6a512-1295-4272-9138-f99709370657
2010-12-11 10:38:41 +00:00
Andree Buschmann
43e8fbbb4a Set DRAM configuration for iPod nano 2G in crt0.s
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28793 a1c6a512-1295-4272-9138-f99709370657
2010-12-11 09:42:42 +00:00
Andree Buschmann
41c9d43efc Detail comment in timer configuration of S5L870x.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28792 a1c6a512-1295-4272-9138-f99709370657
2010-12-11 09:41:24 +00:00
Andree Buschmann
e4a233ed9b Derive clock and timer defines from frequency of external source.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28791 a1c6a512-1295-4272-9138-f99709370657
2010-12-11 09:39:33 +00:00
Szymon Dziok
32a0ce375f HDD6330: implement lcd_yuv_blit() function. The inner loop is written in assembler and the entire function is about 20% faster than the original from the ipod color.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28737 a1c6a512-1295-4272-9138-f99709370657
2010-12-05 19:45:50 +00:00
Szymon Dziok
589d2110dc HDD6330: implement block transfers through the LCD2 bridge in lcd_update_rect(), speedup is huge, fps over 4 times faster.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28722 a1c6a512-1295-4272-9138-f99709370657
2010-12-02 20:35:25 +00:00
Andree Buschmann
1b093cf297 Remove tabs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28719 a1c6a512-1295-4272-9138-f99709370657
2010-12-01 18:35:01 +00:00
Andree Buschmann
eef21cb18a Change alignment macros to allow further performance optimization. Define the CACHEALIGN macros for all ARM CPUs, the used alignment size is derived from CACHEALIGN_BITS which has been defined for each supported ARM CPU with r28619. The default alignment size for ARM is set to 32 bytes as new -- not yet supported -- ARM CPUs will most probably need this alignment. To be able to differ between ARM and other CPUs a new macro called MEM_ALIGN_ATTR is introduced. This equals CACHEALIGN_ATTR for ARM, 16 byte alignment for Coldfire and is kept empty for other CPUs. MEM_ALIGN_ATTR is available system wide. From measurements it is expected that the usage of MEM_ALIGN_ATTR can give significant performance gain on ARM11 CPUs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28625 a1c6a512-1295-4272-9138-f99709370657
2010-11-21 12:27:01 +00:00
Fred Bauer
9b2e9472ea FS#11608: switch cpu to async operation in boosted mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28616 a1c6a512-1295-4272-9138-f99709370657
2010-11-18 16:37:56 +00:00
Andree Buschmann
e464656b88 Implement udelay() for S5L870x. Exchange sleep() with udelay() during CPU voltage scaling. Voltage scaling was measured stable with 50us delay, to have some headroom we use 100us.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28606 a1c6a512-1295-4272-9138-f99709370657
2010-11-15 21:13:58 +00:00
Michael Sparmann
6574040b18 iPod Nano 2G LCD sleep: Powering down LDO2 also affects USB, so we can't do that to shut off the LCD. Leave it on for now, and use the lightweight approach for waking up the Leadis LCD.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28601 a1c6a512-1295-4272-9138-f99709370657
2010-11-14 20:39:18 +00:00
Andree Buschmann
ba64cf697e Move pcm doublebuffer to IRAM on nano 2G.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28600 a1c6a512-1295-4272-9138-f99709370657
2010-11-14 19:49:20 +00:00
Michael Sparmann
cdbaa09fb7 iPod Nano 2G LCD sleep: Send LCD_EVENT_ACTIVATION event
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28593 a1c6a512-1295-4272-9138-f99709370657
2010-11-14 15:46:17 +00:00
Michael Sparmann
a5ad3f8a72 iPod Nano 2G: Implement LCD sleep (FS#11604 by Franz-Josef Haider), adds up to 5 hours of battery life
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28591 a1c6a512-1295-4272-9138-f99709370657
2010-11-14 15:29:05 +00:00
Michael Sparmann
bbebaa406f iPod Nano 2G: Dynamic Vcore scaling, based on current CPU clock. Adds 1-2 hours of battery life.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28590 a1c6a512-1295-4272-9138-f99709370657
2010-11-14 15:20:06 +00:00
Michael Sparmann
81381a36b4 iPod Nano 2G: Set I2C clock to 374400 Hz, now that we know what it is derived from.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28589 a1c6a512-1295-4272-9138-f99709370657
2010-11-14 15:19:30 +00:00
Michael Sparmann
b18d220e48 iPod Nano 2G: Use sane (150 microseconds) PLL locking delays and properly set a third CLKCON register I just discovered
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28588 a1c6a512-1295-4272-9138-f99709370657
2010-11-14 15:18:05 +00:00
Michael Sparmann
b491421c5a iPod Nano 2G: Fix I2S clocking. All sampling rates should work now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28581 a1c6a512-1295-4272-9138-f99709370657
2010-11-14 04:46:38 +00:00
Michael Sparmann
23fd886c4f iPod Nano 2G: Finally FIQ-less and glitch-free PCM. This should allow for IRQ latencies high enough to allow re-locking PLLs and changing and stabilizing Vcore when switching CPU frequency.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28580 a1c6a512-1295-4272-9138-f99709370657
2010-11-13 21:08:15 +00:00
Michael Sparmann
a961798c2c iPod Nano 2G: Post-mortem memory dumper stub (FS#11701)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28573 a1c6a512-1295-4272-9138-f99709370657
2010-11-13 12:05:53 +00:00
Michael Sparmann
a8e2bb361c iPod Nano 2G FTL: Remove some meaningless code in ftl_init
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28570 a1c6a512-1295-4272-9138-f99709370657
2010-11-13 11:07:42 +00:00
Bertrik Sikken
19c048344d Apply FS#11729 - Remove unneeded I2SIN clock configuration for AS3525 and AS3525v2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28541 a1c6a512-1295-4272-9138-f99709370657
2010-11-09 21:53:44 +00:00
Marcin Bukat
8a16f1ba00 fix yellow and red from r28522
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28523 a1c6a512-1295-4272-9138-f99709370657
2010-11-06 14:49:53 +00:00
Marcin Bukat
b8a7f5137b move dbg_ports() from apps/menu_debug.c to target tree. FS#11712 by me.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28522 a1c6a512-1295-4272-9138-f99709370657
2010-11-06 14:24:25 +00:00
Andree Buschmann
57a683fc7d Reconfigure IRAM for S5L870x. S5L8700 has 256 KB of IRAM, use a 48 KB / 208 KB split for core/codec. S5L8701 has 176 KB of IRAM, use a 48 KB / 128 KB split for core/codec. This will allow further speed optimization of codecs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28463 a1c6a512-1295-4272-9138-f99709370657
2010-11-02 22:56:31 +00:00
Michael Sparmann
42973f7a32 Fix a small bug that prevented the iPod Nano 2G NAND driver from detecting interleaved write-capable chips.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28448 a1c6a512-1295-4272-9138-f99709370657
2010-11-02 15:26:04 +00:00
Michael Sparmann
7c6bb3f4ac Fix iPod Nano 2G bootloader, which was apparently broken by the eabi transition
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28358 a1c6a512-1295-4272-9138-f99709370657
2010-10-25 12:45:41 +00:00
Michael Sparmann
01cdb6a21f Fix screendump on iPod Nano 2G by increasing the usb thread stack size and reducing the stack usage of FAT and storage functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28356 a1c6a512-1295-4272-9138-f99709370657
2010-10-25 12:36:57 +00:00
Szymon Dziok
93ac986867 HDD6330: fix loading of the OF through the Rockbox bootloader (correct magic values in registers at the start), fix bootloader warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28322 a1c6a512-1295-4272-9138-f99709370657
2010-10-21 21:16:00 +00:00
Szymon Dziok
f81c0c05ce HDD6330 and HDD1630: split the code for the backlight, cause it's rather different for these targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28321 a1c6a512-1295-4272-9138-f99709370657
2010-10-21 21:03:17 +00:00
Szymon Dziok
b88efd11c2 HDD6330: Patch to enable/disable backlight.
Flyspray FS#11462
Author: David Fowle


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28307 a1c6a512-1295-4272-9138-f99709370657
2010-10-18 19:54:18 +00:00
Szymon Dziok
057806f67a HDD6330: Try to adapt the keys for the new touchpad code, remove the non existing buttons, enable morse input.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28306 a1c6a512-1295-4272-9138-f99709370657
2010-10-18 19:30:54 +00:00
Szymon Dziok
5e2b5bbcfc HDD6330: Configure touchpad (maximum touch sensivity, reduce transmission
overhead).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28300 a1c6a512-1295-4272-9138-f99709370657
2010-10-17 12:43:24 +00:00
Amaury Pouly
6ebec89ac6 as3525v2-usb! fix suspicious calculation of next endpoint in INs chaining code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28281 a1c6a512-1295-4272-9138-f99709370657
2010-10-14 19:15:22 +00:00
Michael Sparmann
986910175c iPod Nano 2G USB: Make sure the USB core is properly powered off on boot.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28261 a1c6a512-1295-4272-9138-f99709370657
2010-10-12 23:14:27 +00:00
Michael Sparmann
c599da333e Commit FS#11663 by me - Patch: iPod Nano 2G Bootloader: Boot OF if MENU button is held
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28237 a1c6a512-1295-4272-9138-f99709370657
2010-10-10 20:52:46 +00:00
Andree Buschmann
86de79171b Submit FS#11646. Reduce voltage supply for iPod nano 2G LCD. Significantly reduces buzzing sound of LDS176 type displays.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28190 a1c6a512-1295-4272-9138-f99709370657
2010-10-01 18:09:10 +00:00
Andree Buschmann
3131fb9712 Roll back r28164 as this change introduced LCD issues on some nano 2G.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28166 a1c6a512-1295-4272-9138-f99709370657
2010-09-25 23:37:12 +00:00
Andree Buschmann
86d5f44b4a Reduce LCD voltage supply to 2500 mV to avoid humming noise of nano 2G.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28164 a1c6a512-1295-4272-9138-f99709370657
2010-09-25 21:46:04 +00:00
Andree Buschmann
af59ce6ec3 Remove code that was unintentionally submitted.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28163 a1c6a512-1295-4272-9138-f99709370657
2010-09-25 21:43:54 +00:00
Andree Buschmann
1aa690acb6 Add some more information to iPod nano 2G debug screen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28162 a1c6a512-1295-4272-9138-f99709370657
2010-09-25 21:42:35 +00:00
Andree Buschmann
274c84fae9 Disable clickwheel power supply when hold button is active for iPod nano 2G.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28161 a1c6a512-1295-4272-9138-f99709370657
2010-09-25 21:41:10 +00:00
Andree Buschmann
6a9cabc434 Implement lineout en-/disable for WM8975 and activate it for iPod nano 2G.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28159 a1c6a512-1295-4272-9138-f99709370657
2010-09-24 22:42:06 +00:00
Rafaël Carré
66f8fb52a9 */app.lds: remove STUBOFFSET
This is related to gdb, and gdb can only work on SH and ifp
This was mistakenly kept when app.lds was forked for each SoC
Side-effect: fix DEBUG builds when the rockbox binary is expected to
be loaded at the start of DRAM and there is no runtime relocation

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28124 a1c6a512-1295-4272-9138-f99709370657
2010-09-20 17:09:55 +00:00
Frank Gevaerts
d343bbe846 Allow e200 to compile without HAVE_RECORDING
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28104 a1c6a512-1295-4272-9138-f99709370657
2010-09-17 20:42:45 +00:00
Frank Gevaerts
f6912d3bbb Make the call to buttonlight_on() properly depend on HAVE_BUTTON_LIGHT
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28096 a1c6a512-1295-4272-9138-f99709370657
2010-09-17 19:05:27 +00:00