summaryrefslogtreecommitdiff
path: root/firmware
AgeCommit message (Collapse)Author
2012-04-20Fix typo.Andrew Ryabinin
Change-Id: Ib9bd947ac71370e11e7e3d67dbc5f16da0b15ae3
2012-04-20rk27xx: Remove debug use of timer1 in sd driver.Andrew Ryabinin
Change-Id: I720426de3c66c10273fff5f3a01ef6b692218a29
2012-04-19hm801: Add support for plugins.Andrew Ryabinin
Change-Id: I81654db87d38324d8680a56bcdb7e9922ee5b619
2012-04-19hm60x: Add support for plugins.Andrew Ryabinin
Change-Id: I4cad0881c8249f163680a280f70d1a0b36248da8
2012-04-19hm60x: Use binary search in button driver.Andrew Ryabinin
Change-Id: I4abca66150c23ffb7cc27c4c5320b8117c27e228
2012-04-19hm60x/hm801: Buttons rework.Andrew Ryabinin
- Add BUTTON_POWER. - hm60x: Rename BUTTON_PLAY to more proper BUTTON_SELECT, which will make it possible to unify hm60x and hm801 keymaps in some plugins. Change-Id: I84715cdbc79d00c1bc2e8e6bd492159ad3c3422b
2012-04-17as3514 rtc: sansa clip zip uses 1970/1/1 base date instead of special ↵Bertrik Sikken
AS3525v2 date Change-Id: I32329c82da93c705a5cb4af8a1a8b4e85a9c9b37
2012-04-15FS#10345 - Gigabeat: Switch volume buttons in Upside Down modeBertrik Sikken
Change-Id: If2d5ed52e5b52c48b50e412dda52632bb08b0c8d
2012-04-12Calculate day-of-week after reading time from RTC. Should fix FS#11814Bertrik Sikken
Change-Id: I31dc0b0db5272d16ae55790252e3963e1a91d5bb
2012-04-11si4700 tuner: fix power consumption issue caused by ill-defined power state ↵Bertrik Sikken
at startup Change-Id: I657bc7e3d330f436859cfef2a89b0813bc008c49
2012-04-11Increase mr100 remote lcd thread stack (fixes FS#12640)Frank Gevaerts
Change-Id: I95a2a343762b8592f80bec0f11ddcdcb7983ae12
2012-04-09si470x tuner: remove obsolete handling of special value 2 for RADIO_SLEEPBertrik Sikken
Change-Id: I2291a9f402ff0da03fe58933a33d67c2ac4f0332
2012-04-06fix tms320dm320 crt0.SMarcin Bukat
Change-Id: I7d7304cd4bddea78777ce826495e7cddae711442
2012-04-06arm: factor all exception handlers out of the crt0.S filesAmaury Pouly
Remove the implementations of all exceptions handlers from the various crt0.S files and have a single implementation in system-arm.h The new implementation is weak so that it can be overwritten by some specific code (like the unwinder) Change-Id: Ib3e041ed6037376bbe0e79286057e1051640dd90 Reviewed-on: http://gerrit.rockbox.org/205 Reviewed-by: Marcin Bukat <marcin.bukat@gmail.com>
2012-04-05touchscreen: Fix kinetic scrolling when the statusbar is off.Thomas Martitz
The scrolling code cannot differentiate between the BUTTON_TOUCHSCREEN post from normal touches and the one posted in the timeout callback. To fix introduce a global special button (BUTTON_REDRAW) that results in the desired redraw. This existed already as a local kludge for android and is now generalized. Change-Id: I6bfa6c66431c48f5042fcd8fce2ea72cd3457f58
2012-04-04Refactor and unify objcopy calls in the build system. Also now properly ↵Thomas Martitz
handles DEBUG builds on hosted targets to keep debug symbols if necessary. Change-Id: I884031b79c6d49479e4d95752f35ced68872dd5d
2012-04-03Revert 1207c7b and fix the actual warnings.Frank Gevaerts
The warnings 1207c7b was supposed to get rid of are sim-only. This means the binsize argument used for the _FORTIFY_SOURCE fix did not apply at all. This one actually checks the return values. Change-Id: Ic4cd8c25de4305310baa868c077a66981cdfcb4b
2012-04-02Call tuner_power(true) from the correct place for lv24020lp.Frank Gevaerts
This fixes radio not working on c200 and e200 (and possibly others), as reported in FS#12631. Change-Id: Idd66fa3b74916cc6f2de45ae7dd89b3bfd70f070
2012-03-31Classic/6G: CPU frequency/voltage scalingCástor Muñoz
This patch implements HAVE_ADJUSTABLE_CPU_FREQ, it modifies the following parameters when CPU is unboosted: - s5l8702 voltage is decreased: 1.200V -> 1.050V - CPU frequency is divided by 4: 216MHz -> 54MHz - AHB frequency is divided by 2: 108MHz -> 54MHz Change-Id: I2285b83efb7e1567864ac288f2d4ba55f058f7c5
2012-03-31Classic/6G: click wheel controller powersaveCástor Muñoz
Mask click wheel controller clock gate when the hold switch is in the locked position Change-Id: I9de33db189afdb76cc5057e4c0e7efc587cf762b
2012-03-30usb-nano2g-6g: missing brace in non-default preprocessor pathRafaël Carré
Change-Id: Iacf6719e58b927bb619d469048e16797cae5cecd
2012-03-30android: implement system_exception_wait and system_reboot, so that the ↵Thomas Martitz
panicf() screen can be exited. Change-Id: I1fb095a7ae01a99c84722eeec199b1007b0f6088
2012-03-30panicf(): fix wrong font and colors being displayed.Thomas Martitz
Change-Id: I57680d5857b577d731b5703e209ccc6e9511ef17
2012-03-28Apparently make doesn't like inline commentsThomas Martitz
Change-Id: If604af9713cf95dafbeb1a601219ca1b3a8964fa
2012-03-28build system: completely autodetect target cpu architecture.Thomas Martitz
The existing ARCH Makefile variable is exported to the C code as well. Additionally the version (arm-only for now) is detected as well. This allows to for complete autodetection, i.e. that optimized ASM is picked up if determined by preprocessor (CPU_ARM, etc). Building a sim/raaa on a arm host will now automatically generate a arm optmized build like we have for native targets. Change-Id: I0b35393f8fb3ebd20beaa9e7371fa57bf3782107
2012-03-28Classic/6G: hold switch detection using GPIOCástor Muñoz
Configures GPIO ports to detect holdswitch status instead of polling the PMU via I2C, this fixes some random crashes Change-Id: I407c9ca4c2c9203842f9e774b1c8d0455d59048c Reviewed-on: http://gerrit.rockbox.org/194 Reviewed-by: Michael Giacomelli <giac2000@hotmail.com>
2012-03-26build system: unify/simplify library handling a bit.Thomas Martitz
libs in $ROOT/lib now add to $(CORE_LIBS) and $(EXTRA_LIBS) and are automatically linked by the core and codecs/plugins respectively. Change-Id: Iff482c792a8c8142718f6a16a450c6e2f1497c9a
2012-03-22rk27xx: implement system_init()Marcin Bukat
For now it contains explicit SDRAM setup, cutting clock for unused modules and turning off unused PLLs. This improves slightly mem throughput as well as saves quite a bit of power. Change-Id: I19a2827ac90a6868856c676fbe1e051c42f0d608
2012-03-22android: lcd_update/_rect() changesThomas Martitz
* rename some java methods (to update(), initialize()) * re-create the ByteBuffer object from the framebuffer on every update. This is needed now since 2c71aa9 added the possiblity for lcd_framebuffer to change. * do so, along with the creation of the dirty Rect object, in native code. Change-Id: Id39ea8e4b6148987c5f216a87e0ff3c8e7babe92
2012-03-22android: Add facility for java code to wait native code to be ready.Thomas Martitz
Especially when unzipping rockbox.zip, the native code can be initialized a lot later than the java code. The java code needs to be prevented from accessing rockbox structures (e.g. current_tick, event queues) before they're ready. This commit adds wait_rockbox_ready() and fixes dodgy behavior of starting rockbox via widget play button, headset remote buttons or multimedia keys. Also fixes wrong small list items before first redraw. Change-Id: I1caf925e829a9c1c6bb6e0016d5c80574574c91e
2012-03-20Remove left-over debug statement (oops).Thomas Martitz
Change-Id: Ic672ad77bd9e30285f4bd95275a170f8ec75869b
2012-03-20lcd_fillrect(): Unify 16bit implementations (move to 16bit-common.c)Thomas Martitz
Change-Id: I457ea9fcb67869fdac7f1201a059a362b087e908
2012-03-20Refactor lcd_clear_viewport().Thomas Martitz
* Unify 16bit implementaitons (move to 16bit-common.c). * Add viewport clipping (within #ifdef HAVE_VIEWPORT_CLIP) like other lcd_* functions have. Change-Id: I4e96b2efdb94d2f7bc5bcdb710554117989579ec
2012-03-20sdl: Fix the sdl init so the sim will get a taskbar itemJonathan Gordon
Change-Id: Ib0049f96c54b4471a8185937d92bb6e8a492142a
2012-03-19sansa clip+: properly reset display using the reset pinBertrik Sikken
Change-Id: Ic4bb85cfca4e21d908e187381b868d3f7ef18f88
2012-03-19mrobe500: fix warrnig in bootloaderMarcin Bukat
Change-Id: I327dad2b8f335468d38ff8d717f7885c14492b7e
2012-03-19fix cache function nameMarcin Bukat
Change-Id: Ica743c1ea4e8e5fd4e4c70c00b0dc1fd019268a2
2012-03-18Add RBCODEC_LIB to android and ypr0 builds so they link again.Frank Gevaerts
Change-Id: I022c7beba844a9b2cfcb8ec7950a1348e4bf511a
2012-03-18gmtime: avoid a modulusRafaël Carré
since WEEK_SECONDS = 7 * DAY_SECONDS, the result is the same Change-Id: Iec161fc2de626c99c1aabf80ab1d3243eac602d9
2012-03-17HDD6330: Correct voltage values, based on the values found in the OF.Szymon Dziok
Change-Id: I76a101cd2c96be06fc95ca16871e5c86c2326c2d
2012-03-17HDD6330: Simplify strange OF voltage calculation, it's linear anyway.Szymon Dziok
Change-Id: I33ecad4a265a4c7e8883da7b6d28fb061a4c8e68
2012-03-17imx233/fuze+: rework lradc/adc code, add external temperature sensing(battery)Amaury Pouly
Rework code to be more useful: - move battery channel init to lradc - always init lradc from system (previously from adc) - don't reserve channels for vddio, nmos or pmos - implement external temperature sensing using current source - use this for battery sensing on the Fuze+ (calibration needed) Change-Id: I5f9a24b9243db7d1e6bdb16b84bc891e61d0c318
2012-03-15fuze+: add unknown channel to debug menuAmaury Pouly
imx233: always divide physical channels by two for wider range The Fuze+ OF monitors channel 2 but I'm unable to determine the meaning of it. Print the value on the debug menu so that people can have a look at it. Change-Id: I8a942febeafbce06014178abda12e38a16c26664
2012-03-15imx233/fuze+: rework i2c and fmradio_i2c initAmaury Pouly
Only enable fmradio_i2c once with _init() called from system. Move actual i2c init to system for consistency. Move tuner power pin setup to power instead of fmradio. Change-Id: Idb56bfba5803f71b5d049f174c48d2afb969a6ea
2012-03-15imx233: enable charging in bootloader USB mode by including powermgmtAmaury Pouly
Change-Id: I8b91b3ab60cb9ffaa127333e9bcef8c33be742fa
2012-03-15skin_engine: New tag to draw a rectangle (optionally with a gradient)Jonathan Gordon
%dr(x, y, width, height, [colour1[, colour2]]): x,y - viewport relative pixel coordinates to start the rectangle. width, height - obvious. can be '-' to fill the viewport if both colours are left out the viewports foreground colour will be used if one colour is specified it will fill the rectangle that colour. if both colours are specified it will gradient fill the rectangle. Change-Id: Iad451e99ded663bc7c5d182443659db7d909b388
2012-03-13Convert IMX233 RTC driver (used in fuze+) to use mktime and gmtimeBertrik Sikken
Change-Id: Ie71d495509a81db5e02078398f5d722c00136072
2012-03-12fix year calculation in gmtimeBertrik Sikken
Change-Id: I9a5f29ad73b5620096d38874c70351db9bd90062
2012-03-12Coldfire: Optimize emac context save/restore in mixer ISR.Michael Sevakis
Save only once if emac is used in ISR and restore only once per ISR call if already saved. Change-Id: I0e40db5d4aab2a8552480f76873f59ff6ccd9977 Reviewed-on: http://gerrit.rockbox.org/176 Tested-by: Michael Sevakis <jethead71@rockbox.org> Reviewed-by: Michael Sevakis <jethead71@rockbox.org>
2012-03-11gmtime: reduce array size: days in month fit in 8 bitsRafaël Carré
Change-Id: Idcebdf0ae120cfc82a1f471d0553d23ca36d7eef