summaryrefslogtreecommitdiffstats
path: root/firmware/target
AgeCommit message (Collapse)AuthorFilesLines
2009-02-20Reclaim .iram areas in DRAM by overlapping their load addresses with the ↵Michael Sevakis11-65/+76
uninitialized data sections. I did what I could test out-- not any flash image linker scripts or other target processors. Move any .iram copies in crt0.S's to be the first operation even if not _strictly_ necessary to be emphatic (aka. 'beware'). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20061 a1c6a512-1295-4272-9138-f99709370657
2009-02-19... and fix M:Robe 500 redMaurus Cuelenaere1-29/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20059 a1c6a512-1295-4272-9138-f99709370657
2009-02-19Fix occasional power button ghost presses and get rid of the delay which was ↵Thomas Martitz1-10/+13
needed to reduce the ghost presses (i.e. don't read power button too during lcd updates) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20058 a1c6a512-1295-4272-9138-f99709370657
2009-02-19Add generic touchscreen driver which allows calibration (apps/ layer will ↵Maurus Cuelenaere3-92/+14
follow later). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20055 a1c6a512-1295-4272-9138-f99709370657
2009-02-19Sansa Fuze buttons:Thomas Martitz2-81/+89
1) fix driver from reading invalid home button while lcd updates (use old value then) 2) put in a 1s delay for power button reading after releasing hold 3) revert r20028, I thought it wasn't needed, since I didn't update the bootloader 4) enable hold for the bootloader (even though not really needed, but is consistent with other targets) 5) let button_dbop return DBOP_DIN, and do the reading in button_read_device 6) various cleanups git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20054 a1c6a512-1295-4272-9138-f99709370657
2009-02-19Oops. How'd I miss that one checking diffs? ARC driver test change shouldn't ↵Michael Sevakis1-1/+1
have been there. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20053 a1c6a512-1295-4272-9138-f99709370657
2009-02-19Use DMA for audio playback on PP502x (FS#9910 + some further mods). I can't ↵Michael Sevakis4-49/+208
say at this point about any change in battery life but it frees up a percent or two of CPU cycles as measured in the buffering screen. No change in recording transfers yet. Testing seemed to check out so put it out for general use and see what happens. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20052 a1c6a512-1295-4272-9138-f99709370657
2009-02-19Sansa e200v2: Some LCD driver changes (none with functional changes):Thomas Martitz1-33/+32
1) put window addressing in a seperate function like on the fuze 2) use fb_data instead of unsigned short 3) change clipping a bit git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20051 a1c6a512-1295-4272-9138-f99709370657
2009-02-19Fix stupid typo...Thomas Martitz1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20048 a1c6a512-1295-4272-9138-f99709370657
2009-02-18Show DBOP in the e200v2's view IO ports menu.Thomas Martitz2-1/+6
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20042 a1c6a512-1295-4272-9138-f99709370657
2009-02-18Return old button value if lcd_button_supprt was blocked.Thomas Martitz2-13/+14
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20041 a1c6a512-1295-4272-9138-f99709370657
2009-02-18Get rid of disabling irq. Simply blocking does it too, it also caused ↵Thomas Martitz2-21/+26
problems (particulary with scrolling lines). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20040 a1c6a512-1295-4272-9138-f99709370657
2009-02-18Backlight brightness and button lights for the Philips HDD1630Mark Arigo5-70/+92
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20035 a1c6a512-1295-4272-9138-f99709370657
2009-02-17PP5022/PP5024-specific USB init which may fix "signal quality issues"Frank Gevaerts1-0/+24
FS#9923 by Boris Gjenero (dreamlayers) This is reasonably likely to finally solve the USB issues on PP5022 and PP5024, but more testing is needed before USB will be considered stable enough to be enabled by default git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20032 a1c6a512-1295-4272-9138-f99709370657
2009-02-17Fix redThomas Martitz1-4/+6
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20029 a1c6a512-1295-4272-9138-f99709370657
2009-02-17Setting GPIOA_PIN 1 is apparently not needed (anymore)Thomas Martitz1-2/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20028 a1c6a512-1295-4272-9138-f99709370657
2009-02-17Some Sansa Fuze work: Get Home button working (no keymap changes yet, so ↵Thomas Martitz5-85/+82
it's not very noticeable) and "fix" debug menu from not showing the dbop data (see FIXME), some cleanup in the fuze's button driver git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20027 a1c6a512-1295-4272-9138-f99709370657
2009-02-16Onda VX747:Maurus Cuelenaere3-18/+18
* Rework battery reading * Get power off back working * Add time to debug view * Convert TABs to spaces in firmware/export/mips*.h git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20024 a1c6a512-1295-4272-9138-f99709370657
2009-02-16fix yellow.Dominik Wenger1-2/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20020 a1c6a512-1295-4272-9138-f99709370657
2009-02-16e200v2: make buttons and scrollwheel work. Still ugly as we need to disable ↵Dominik Wenger3-73/+240
interrupts while updating the lcd. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20019 a1c6a512-1295-4272-9138-f99709370657
2009-02-15Firewire charger detection for ipod 3G, patch by Boris Gjenero. Fixes FS#9900Nils Wallménius1-0/+5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20008 a1c6a512-1295-4272-9138-f99709370657
2009-02-14Sansa Clip: enable battery charging.Bertrik Sikken2-13/+42
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20006 a1c6a512-1295-4272-9138-f99709370657
2009-02-13Meg F/X: Fix wrong address for cache flush at PCM start; it should be ↵Michael Sevakis1-1/+1
virtual, not physical. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20002 a1c6a512-1295-4272-9138-f99709370657
2009-02-13Separate running an SDMA channel from resetting it. It should make usage ↵Michael Sevakis3-10/+21
more flexible since resets are needed only before restarting if aborting transfers (because the script is left awaiting requests, not the next start) which PCM does alot of but other things likely won't. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20000 a1c6a512-1295-4272-9138-f99709370657
2009-02-13Remove experimental check which should only be there if all PCM drivers do ↵Michael Sevakis1-6/+0
it. It's incomplete anyway. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19999 a1c6a512-1295-4272-9138-f99709370657
2009-02-13Philips HDD1630 - working battery voltage readings. Still needs to be ↵Mark Arigo1-11/+17
calibrated. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19998 a1c6a512-1295-4272-9138-f99709370657
2009-02-13Philips HDD1630 - add LCD YUV functions so mpegplayer works.Mark Arigo2-14/+647
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19997 a1c6a512-1295-4272-9138-f99709370657
2009-02-13FM radio for Philips HDD1630. Volume was very faint unless recording was ↵Mark Arigo3-0/+93
enabled, so do that too. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19996 a1c6a512-1295-4272-9138-f99709370657
2009-02-13FS#9865 - For Portalplayer i2c, read up to 4 bytes at a time instead of one ↵Mark Arigo1-22/+46
at a time (need for the upcoming Philips HDD1630 radio commit). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19995 a1c6a512-1295-4272-9138-f99709370657
2009-02-13Onda VX747:Maurus Cuelenaere16-526/+1159
* Add preliminary keymap * Split up generic MIPS stuff from Ingenic specific * Make apps/ compilable * Add SD driver * Fix RTC driver * Add debug screen * Other cleanups/rewrites/fixes git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19993 a1c6a512-1295-4272-9138-f99709370657
2009-02-12Give pcm-coldfire.c a much needed shakedown. Fixes FS#9378 - metronome ↵Michael Sevakis1-159/+157
freezes (works for me now on X5 and H120 after running it at 400bpm for an hour or so). The reason seems to have been DMA_INT in DCR should also be cleared when forcing a channel stop. Also fixes a dodgey keyclick without music playing that I was getting on H120. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19991 a1c6a512-1295-4272-9138-f99709370657
2009-02-12Gigabeat S: Handle any DMA playback errors reported and stop in that case ↵Michael Sevakis1-6/+9
(none are expected but it's better to handle than ignore). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19983 a1c6a512-1295-4272-9138-f99709370657
2009-02-12Gigabeat S: No need to do cache writeback on recording buffers now.Michael Sevakis1-3/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19982 a1c6a512-1295-4272-9138-f99709370657
2009-02-12Fix header multiple inclusion guard typo.Michael Sevakis1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19981 a1c6a512-1295-4272-9138-f99709370657
2009-02-11Refine the routines in mmu-arm.c and move them to mmu-arm.S since the code ↵Michael Sevakis5-337/+504
is now 100% assembly. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19980 a1c6a512-1295-4272-9138-f99709370657
2009-02-11Make basic cache functions into calls, and get rid of ↵Michael Sevakis9-62/+54
CACHE_FUNCTION_WRAPPERS and CACHE_FUNCTIONS_AS_CALL macros. Rename flush/invalidate_icache to cpucache_flush/invalidate. They're inlined only if an implementation isn't provided by defining HAVE_CPUCACHE_FLUSH/INVALIDATE. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19971 a1c6a512-1295-4272-9138-f99709370657
2009-02-10Gigabeat S: Update some very stale comments about what's going on in the ↵Michael Sevakis1-10/+8
startup code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19965 a1c6a512-1295-4272-9138-f99709370657
2009-02-10Gigabeat S: I never intended to leave the channel context buffer static ↵Michael Sevakis1-1/+1
beyond testing. Correct that. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19964 a1c6a512-1295-4272-9138-f99709370657
2009-02-10Gigabeat S: Place SDMA code load address starting in uninitialized section ↵Michael Sevakis3-9/+41
address and copy it to the plugin buffer since it only needed very early in initialization. Will save about 6K in RAM. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19963 a1c6a512-1295-4272-9138-f99709370657
2009-02-09Onda VX747: commit some parts to get apps/ to compile (more will follow)Maurus Cuelenaere10-358/+539
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19954 a1c6a512-1295-4272-9138-f99709370657
2009-02-09Gigabeat S: Try to save some power. Implement lcd_enable and turn off LCD ↵Michael Sevakis2-9/+30
DMA channel when backlight is off. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19953 a1c6a512-1295-4272-9138-f99709370657
2009-02-09Gigabeat S: The PCM lockout routines needed a bit of polishing.Michael Sevakis1-22/+14
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19952 a1c6a512-1295-4272-9138-f99709370657
2009-02-08Gigabeat S: Implement an SDMA API and use it in the PCM driver. Some other ↵Michael Sevakis14-136/+2834
miscellaneous adjustments to recording and PCM buffer to accomodate use of physical addresses and cache coherency. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19949 a1c6a512-1295-4272-9138-f99709370657
2009-02-07Gigabeat S: Move the LCD framebuffer address so that DRAM can be mapped flat ↵Michael Sevakis4-22/+21
between physical and virtual addresses. NO BOOTLOADER UPDATE SHOULD BE NEEDED. The firmware image now handles low-level system setup as well. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19935 a1c6a512-1295-4272-9138-f99709370657
2009-02-05Fix red and yellowMaurus Cuelenaere1-1/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19932 a1c6a512-1295-4272-9138-f99709370657
2009-02-05Creative ZVM:Maurus Cuelenaere7-91/+132
* Re-enable USB * Acknowledge EP0SETUP packets * Spin disk down when no files get loaded in the bootloader * Clean up/fix some other stuff git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19931 a1c6a512-1295-4272-9138-f99709370657
2009-02-05Fix MIPS ffs implementationMaurus Cuelenaere1-8/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19930 a1c6a512-1295-4272-9138-f99709370657
2009-02-05FS#9611 - Sansa Clip radio code. Commit final part which enables the LINE2 ↵Bertrik Sikken1-6/+37
input that carries the analog radio signal on ams sansas. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19927 a1c6a512-1295-4272-9138-f99709370657
2009-02-04MIPS memset: use a bigger buffer (yields more performance)Maurus Cuelenaere1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19922 a1c6a512-1295-4272-9138-f99709370657
2009-02-04MIPS:Maurus Cuelenaere4-37/+63
* Add missing mmu-mips.h change Onda VX747: * Correct USB power handling * Improve NAND handling * Other minor fixes git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19921 a1c6a512-1295-4272-9138-f99709370657