summaryrefslogtreecommitdiffstats
path: root/firmware
AgeCommit message (Collapse)AuthorFilesLines
2010-08-28Implement lcd(_remote)_putsxyf() and export to pluginsRafaël Carré3-0/+13
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27921 a1c6a512-1295-4272-9138-f99709370657
2010-08-28AMSv2: remove a bunch of panicf() in SD driverRafaël Carré1-20/+23
The driver is stable so we can use error codes for debugging Fix 2 problems in error code path: - release sd mutex - release dma module when needed git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27915 a1c6a512-1295-4272-9138-f99709370657
2010-08-28tcc77x targets: various minor cleanupsBertrik Sikken8-5/+18
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27913 a1c6a512-1295-4272-9138-f99709370657
2010-08-27change get_glyph_size() to font_glyphs_to_bufsize(). fixes a bug when font ↵Fred Bauer2-5/+9
glyph buffer < font header git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27911 a1c6a512-1295-4272-9138-f99709370657
2010-08-27close file when cached font load failsFred Bauer1-0/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27910 a1c6a512-1295-4272-9138-f99709370657
2010-08-27limit font_cache preloading to cache capacityFred Bauer1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27909 a1c6a512-1295-4272-9138-f99709370657
2010-08-27Fix checkwps.Thomas Martitz1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27905 a1c6a512-1295-4272-9138-f99709370657
2010-08-27Use system headers a bit more: use host's fcntl.h for O_RDONLY etc.Thomas Martitz4-26/+59
Removes the need to fix up those in the simulator. Also work around some posix-mingw incompatibilities (e.g. getcwd()). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27904 a1c6a512-1295-4272-9138-f99709370657
2010-08-272nd try: Introduce a small api for loading code (codecs,plugins) from ↵Thomas Martitz3-0/+221
disk/memory. It's a used by codec/plugin loading and vastly reduces code duplication. It's also a step forward in getting rid of libuisimulator in the application ports. Apparently sh needs linker symbols prefixed with _ even if they're referenced without from C code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27902 a1c6a512-1295-4272-9138-f99709370657
2010-08-27Revert "Introduce a small api for loading code (codecs,plugins) from ↵Thomas Martitz3-221/+0
disk/memory." I don't understand the build error at all, plugin_bss_start is clearly defined in plugin.lds git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27901 a1c6a512-1295-4272-9138-f99709370657
2010-08-26Introduce a small api for loading code (codecs,plugins) from disk/memory.Thomas Martitz3-0/+221
It's a used by codec/plugin loading and vastly reduces code duplication. It's also a step forward in getting rid of libuisimulator in the application ports. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27900 a1c6a512-1295-4272-9138-f99709370657
2010-08-26Move to a proper sdl key config instead of using the d2 pad. make the mouse ↵Jonathan Gordon6-29/+99
wheel work, middle click is "select" and right click is "back" git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27891 a1c6a512-1295-4272-9138-f99709370657
2010-08-25Accept FS#11567 by Fred Bauer - better memory management for the skin fontsJonathan Gordon2-0/+30
%Fl now takes an optional 3rd param which is the number of glyphs to cache (default to 256). the smaller the number, the less ram will be used (i.e using 15 for a font which only shown numbers is a good idea) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27882 a1c6a512-1295-4272-9138-f99709370657
2010-08-25typo in r27876Rafaël Carré1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27878 a1c6a512-1295-4272-9138-f99709370657
2010-08-25usb-drv-as3525: only give physical addresses to USB HWRafaël Carré1-5/+5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27877 a1c6a512-1295-4272-9138-f99709370657
2010-08-25sd-as3525*: use AS3525_PHYSICAL_ADDRRafaël Carré2-5/+5
fix DMA buffers when the src/dst is in IRAM It worked fine because all the buffers are in DRAM, and the virtual address happens to be the physical address git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27876 a1c6a512-1295-4272-9138-f99709370657
2010-08-24mips is predefined by gcc, but we want it for paths. Don't let others fall ↵Thomas Martitz3-3/+0
into this trap again. Use __mips instead git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27872 a1c6a512-1295-4272-9138-f99709370657
2010-08-23ipod fm remote: some static/const fixes from FS #11266 by meBertrik Sikken2-58/+42
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27867 a1c6a512-1295-4272-9138-f99709370657
2010-08-23Implement WHEEL_ACCELERATION for Ipod mini 1G based on code for 1G/2G.Marcin Bukat2-43/+135
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27865 a1c6a512-1295-4272-9138-f99709370657
2010-08-23Read glyph cache in disk order to speed up loading - FS#11168 by Fred BauerFrank Gevaerts1-7/+55
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27864 a1c6a512-1295-4272-9138-f99709370657
2010-08-21Some Nano2G FTL cosmeticsMichael Sparmann1-21/+22
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27851 a1c6a512-1295-4272-9138-f99709370657
2010-08-20iPod 1st Gen: Fix battery ADC not working due to the EABI compiler ↵Jens Arnold1-6/+7
optimizing the delay loops away. Use udelay() instead, not wasting CPU time when the CPU is not boosted. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27850 a1c6a512-1295-4272-9138-f99709370657
2010-08-20Enable wheel acceleration and repeats for iPod 1st/2nd Gen, using the same ↵Jens Arnold2-47/+7
settings as on iPod 3rd Gen. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27849 a1c6a512-1295-4272-9138-f99709370657
2010-08-19Sansa AMSv2: don't prevent USB detection to work when rockbox USB stack is usedRafaël Carré1-1/+1
(USB stack is not used by default) This makes debugging the USB driver easier git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27847 a1c6a512-1295-4272-9138-f99709370657
2010-08-18Sansa AMSv2: enable PLLB and use it to generate a more accurate PCM ↵Bertrik Sikken1-1/+8
frequency (playback rate error improves from 1.1% to 0.04%) - FS #10906 by me. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27845 a1c6a512-1295-4272-9138-f99709370657
2010-08-17Fix two rather annoying Nano2G FTL bugs: 1. Fix a null pointer ↵Michael Sparmann1-18/+21
dereference/write, 2. Make sure all error return codes are negative. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27841 a1c6a512-1295-4272-9138-f99709370657
2010-08-17AMSv2: don't reboot on USB plugRafaël Carré1-0/+6
Users will have to reboot to OF manually or to power off, and then plug USB No message is displayed because usb_detect() is run from a tick This lacks documentation but should be OK for Unstable devices, and will hopefully prevent clueless users from opening their devices and breaking them definitely, instead of waiting for the battery to power off. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27837 a1c6a512-1295-4272-9138-f99709370657
2010-08-16Android port: simplify sending touch events from Java->CMaurus Cuelenaere1-15/+6
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27833 a1c6a512-1295-4272-9138-f99709370657
2010-08-16Android port: add support for hardware keysMaurus Cuelenaere8-30/+193
* Forward Java KeyEvents to C layer and translate them to Rockbox BUTTON_*. * Add a basic Android keymap git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27832 a1c6a512-1295-4272-9138-f99709370657
2010-08-12Move memset6() declaration to string-extra.h, kills a warning compiling for ↵Thomas Martitz9-17/+13
android since it ships a memory.h. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27789 a1c6a512-1295-4272-9138-f99709370657
2010-08-12Introduce NORETURN_ATTR wrapper for __attribute__((noreturn)), using this ↵Thomas Martitz13-13/+31
and a bit further cleanup in main gets rid of a warning when compiling for android. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27788 a1c6a512-1295-4272-9138-f99709370657
2010-08-12emBIOS backports part four: Add a lot of DEBUGF()s to the FTL code, and ↵Michael Sparmann1-48/+157
return proper error codes instead of panicing in a lot of error cases. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27783 a1c6a512-1295-4272-9138-f99709370657
2010-08-12emBIOS backports part three: Make the NAND flash driver return more useful ↵Michael Sparmann2-24/+22
error codes if initialization fails. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27782 a1c6a512-1295-4272-9138-f99709370657
2010-08-12emBIOS backports part two: Fix a stupid global variable *instantiation* in a ↵Michael Sparmann1-2/+2
header file, which might have caused all hell of trouble. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27781 a1c6a512-1295-4272-9138-f99709370657
2010-08-12Fix red: Revert the const correctness part, which opened a can of worms.Michael Sparmann2-4/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27780 a1c6a512-1295-4272-9138-f99709370657
2010-08-12emBIOS backports part one: Fix an annoying race condition in the Synopsys ↵Michael Sparmann2-21/+26
OTG driver, and a bit of const correctness. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27779 a1c6a512-1295-4272-9138-f99709370657
2010-08-11Do not return negative sleeptimer valuesMichael Chicoine1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27774 a1c6a512-1295-4272-9138-f99709370657
2010-08-11Mark some local variables with 'static'.Nils Wallménius1-8/+8
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27772 a1c6a512-1295-4272-9138-f99709370657
2010-08-11Delete useless #ifndef #endif pair.Nils Wallménius1-2/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27771 a1c6a512-1295-4272-9138-f99709370657
2010-08-08HD200 - Use DMA transfers in lcd_update() and lcd_update_rect(). Gives ↵Marcin Bukat1-16/+86
12-26% speedup. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27757 a1c6a512-1295-4272-9138-f99709370657
2010-08-08ipod nano 2g: make functions/variables static where possible, add missing ↵Bertrik Sikken7-121/+116
#includes git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27752 a1c6a512-1295-4272-9138-f99709370657
2010-08-08Various minor fixes for Samsung YH* targetsBertrik Sikken5-0/+6
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27751 a1c6a512-1295-4272-9138-f99709370657
2010-08-07Android port: handle incoming calls.Thomas Martitz2-2/+24
Stop explicitely if a call comes in, and resume playback (if it was playing before the call) upon hang up. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27746 a1c6a512-1295-4272-9138-f99709370657
2010-08-04A bit of work in the pcm driver. Should be a bit more efficient, but more ↵Thomas Martitz1-0/+4
importantly more dependable. Stopping playback now properly recovers if playback crashed for some reason (shouldn't happen of course). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27698 a1c6a512-1295-4272-9138-f99709370657
2010-08-04Add a few forgotten files, Fix potential startup problem. Fix absolute ↵Thomas Martitz1-12/+1
touchscreen mode. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27693 a1c6a512-1295-4272-9138-f99709370657
2010-08-04Implement HAVE_LCD_ENABLE and lcd_update_rect(). When Rockbox runs in the ↵Thomas Martitz2-12/+52
background this greatly reduces CPU load. lcd_update_rect shoves a bit as well. CPU usage with Rockbox in background is between 3% (with a 200kbps vbr mp3) and 12% (320kbps cbr mp3), so it's low but still dependent on codecs and even particular files. Driving a WPS with peakmeter, e.g. the builtin one, adds about 30% cpu usage. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27689 a1c6a512-1295-4272-9138-f99709370657
2010-08-03Run Rockbox as a service, which allows for music decoding&playback in the ↵Thomas Martitz4-15/+11
background, the activity only attaches to the framebuffer for displaying it. An icon in the notification area is displayed (it could be prettier I guess). Note: Some HTC phones won't, includng mine, get enough CPU time to do background decoding fluently, see: http://code.google.com/p/android/issues/detail?id=9663 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27686 a1c6a512-1295-4272-9138-f99709370657
2010-08-03system-arm.c/__div0 are for ARM native builds onlyRafaël Carré1-0/+2
Android can now be built with CPU_ARM defined Needs investigation (and test_codec) to see if/how this helps git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27684 a1c6a512-1295-4272-9138-f99709370657
2010-08-03system-android: cast void* to uintptr_t*Rafaël Carré1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27682 a1c6a512-1295-4272-9138-f99709370657
2010-08-03android: declare audiohw_set_volume()Rafaël Carré1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27681 a1c6a512-1295-4272-9138-f99709370657