summaryrefslogtreecommitdiff
path: root/firmware
AgeCommit message (Collapse)Author
2009-02-15Firewire charger detection for ipod 3G, patch by Boris Gjenero. Fixes FS#9900Nils Wallménius
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20008 a1c6a512-1295-4272-9138-f99709370657
2009-02-14Sansa Clip: enable battery charging.Bertrik Sikken
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 Sevakis
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 Sevakis
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 Sevakis
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 Arigo
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 Arigo
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 Arigo
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 Arigo
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 Cuelenaere
* 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 Sevakis
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 Sevakis
(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 Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19982 a1c6a512-1295-4272-9138-f99709370657
2009-02-12Fix header multiple inclusion guard typo.Michael Sevakis
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 Sevakis
is now 100% assembly. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19980 a1c6a512-1295-4272-9138-f99709370657
2009-02-11s3c2440 can use the generic ARM WFI which is much simpler. If there's any ↵Michael Sevakis
advantage to setting the IDLE bit for power consumption, it's possible to combine its use with the old core_sleep instead of using the loop waiting for idle to kick in. For now, go basic. Let GCC choose the register for MCR instead of forcing it to r0. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19978 a1c6a512-1295-4272-9138-f99709370657
2009-02-11Make basic cache functions into calls, and get rid of ↵Michael Sevakis
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-11Fix no-backlight colours for H100 series and M3.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19970 a1c6a512-1295-4272-9138-f99709370657
2009-02-11Fix the Playersim as well.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19969 a1c6a512-1295-4272-9138-f99709370657
2009-02-10Forgot to add the new screendump source files.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19968 a1c6a512-1295-4272-9138-f99709370657
2009-02-10Move screendump from apps to firmware, solving two nasty firmware-to-apps ↵Jens Arnold
calls. This required to move the filename creation functions as well. * Fix bug in the BMP header of Clip screendumps. * Add remote screendump for targets with an LCD remote. * Simplify some ifdefs and rename a macro in the sim. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19967 a1c6a512-1295-4272-9138-f99709370657
2009-02-10Gigabeat S: Update some very stale comments about what's going on in the ↵Michael Sevakis
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 Sevakis
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 Sevakis
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-10Simulate backlight for colour targets. Implements the idea from FS #9884, ↵Jens Arnold
but uses SDL alpha blending. Display is dimmed to 1/3 for targets with transflective LCD, and set to black for others. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19961 a1c6a512-1295-4272-9138-f99709370657
2009-02-09Onda VX747: commit some parts to get apps/ to compile (more will follow)Maurus Cuelenaere
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 Sevakis
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 Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19952 a1c6a512-1295-4272-9138-f99709370657
2009-02-09Fix red and yellow.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19951 a1c6a512-1295-4272-9138-f99709370657
2009-02-09Put the display colours for monochrome and greyscale targets into the target ↵Jens Arnold
config files, and use them both for the simulator UI and screendumps. The Clip now shows the split display properly in screendumps and simulator. A side effect is that screendumps of ordinary monochrome targets are now 4-bit BMP files (saves an alternate code path, and might be more compatible with some gfx programs). * Simplify the simulation of split display, and also simplify greylib simulation. The simulator now always calculates 129 shades (2*128 for a Clip sim), and just uses 2 (or 4) of those for native display simulation. * Centralised the simulator LCD dimension definition. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19950 a1c6a512-1295-4272-9138-f99709370657
2009-02-08Gigabeat S: Implement an SDMA API and use it in the PCM driver. Some other ↵Michael Sevakis
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-07Fix building of tools/database/Frank Gevaerts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19940 a1c6a512-1295-4272-9138-f99709370657
2009-02-07Simplify conditions for including serial port support (it's now ↵Bertrik Sikken
HAVE_SERIAL). This should save a little binsize and RAM for target that don't have/use a serial port. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19936 a1c6a512-1295-4272-9138-f99709370657
2009-02-07Gigabeat S: Move the LCD framebuffer address so that DRAM can be mapped flat ↵Michael Sevakis
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 Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19932 a1c6a512-1295-4272-9138-f99709370657
2009-02-05Creative ZVM:Maurus Cuelenaere
* 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 Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19930 a1c6a512-1295-4272-9138-f99709370657
2009-02-05Enable radio for sansa m200v4.Bertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19929 a1c6a512-1295-4272-9138-f99709370657
2009-02-05FS#9611 - Sansa Clip radio code. Commit final part which enables the LINE2 ↵Bertrik Sikken
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 Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19922 a1c6a512-1295-4272-9138-f99709370657
2009-02-04MIPS:Maurus Cuelenaere
* 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
2009-02-04MIPS:Maurus Cuelenaere
* Add assembly optimised variants for memcpy, memset and find_first_set_bit * Add option to map_address in MMU to set caching algorithm git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19920 a1c6a512-1295-4272-9138-f99709370657
2009-02-03Hopefully fixes the 'two byte inserted bug' of #FS8663. Combination of ↵Antonius Hellmann
Martin Ritters and my findings on the issue. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19911 a1c6a512-1295-4272-9138-f99709370657
2009-02-03Remove struct spinlock to cleanup some mess and simplify. It's only used in ↵Michael Sevakis
boosting for multiprocesors and a pure two-corelock heirarchy will do just fine. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19910 a1c6a512-1295-4272-9138-f99709370657
2009-02-03Gigabeat S: Get remote keymaps up to snuff and working. Do a couple tweaks ↵Michael Sevakis
on main unit ones. Cleanup keymap file a bit. Fix main button scanner to not clobber remote button. Fix a bug in actions.c where 'LAST_ITEM_IN_LIST' didn't really terminate scanning immediately. It would do an additional call into get_context_map and silently pick up ACTION_STD. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19909 a1c6a512-1295-4272-9138-f99709370657
2009-02-02ARMv6: Optimize interrupt enable/disable with cpsie and cpsid. Section off ↵Michael Sevakis
system-arm.h by ARM_ARCH rather than checking within each implementation. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19905 a1c6a512-1295-4272-9138-f99709370657
2009-02-02i.MX31: Make SPI more tolerant by resetting and forcing a reconfigure of the ↵Michael Sevakis
interface if an error ever happens. Better handle PMIC GPIO interrupt; it definitely doesn't low-pulse PRIINT (remains high if sources become active again or stay active while acking) so needed rising edge may never happen in such a case-- use high-level detection rather than rising edge. Optimize the reg/clr/set/mod functions a bit since they get more regular use now. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19903 a1c6a512-1295-4272-9138-f99709370657
2009-02-01First step in committing the results of FS#8663:Antonius Hellmann
Introduce more descriptive register and bit definitions. No functional change here. Thanks to Martin Ritter for his investigations. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19893 a1c6a512-1295-4272-9138-f99709370657
2009-01-31Various files: make function implementations consistent with their ↵Bertrik Sikken
declaration in the header file or static if they're local. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19892 a1c6a512-1295-4272-9138-f99709370657
2009-01-29Get checkwps working againMaurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19880 a1c6a512-1295-4272-9138-f99709370657