summaryrefslogtreecommitdiff
path: root/apps/plugins/firmware_flash.c (follow)
Commit message (Collapse)AuthorAge
* fix r27926 : lcd_puts() not changed to lcd_putsf()Rafaël Carré2010-08-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27928 a1c6a512-1295-4272-9138-f99709370657
* plugins: use lcd_putsf/lcd_putsxyfRafaël Carré2010-08-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27926 a1c6a512-1295-4272-9138-f99709370657
* Second try: Introduce plugin_crt0.c that every plugin links.Thomas Martitz2010-08-24
| | | | | | | | | | | | | It handles exit() properly, calling the handler also when the plugin returns normally (also make exit() more standard compliant while at it). It also holds PLUGIN_HEADER, so that it doesn't need to be in each plugin anymore. To work better together with callbacks passed to rb->default_event_handler_ex() introduce exit_on_usb() which will call the exit handler before showing the usb screen and exit() after it. In most cases rb->default_event_handler_ex() was passed a callback which was manually called at all other return points. This can now be done via atexit(). In future plugin_crt0.c could also handle clearing bss, initializing iram and more. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27873 a1c6a512-1295-4272-9138-f99709370657
* Revert "Introduce plugin_crt0.c that every plugin links."Thomas Martitz2010-08-23
| | | | | | Too much errors and no time to fix them now. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27863 a1c6a512-1295-4272-9138-f99709370657
* Introduce plugin_crt0.c that every plugin links.Thomas Martitz2010-08-23
| | | | | | | | | | | | | It handles exit() properly, calling the handler also when the plugin returns normally (also it makes exit() more standard compliant while at it). It also holds PLUGIN_HEADER, so that it doesn't need to be in each plugin anymore. To work better together with callbacks passed to rb->default_event_handler_ex introduce exit_on_usb() which will call the exit handler before showing the usb screen and exit() after it. In most cases it was passed a callback which was manually called at all other return points. This can now be done via atexit(). In future plugin_crt0.c could also handle clearing bss, initializing iram and more. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27862 a1c6a512-1295-4272-9138-f99709370657
* Only build firmware_flash plugin on archosRafaël Carré2010-05-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26424 a1c6a512-1295-4272-9138-f99709370657
* Fix size_t handling in plugin_get_buffer()Frank Gevaerts2010-05-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25884 a1c6a512-1295-4272-9138-f99709370657
* fix more redNils Wallménius2009-11-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23714 a1c6a512-1295-4272-9138-f99709370657
* Fix reds.Nils Wallménius2009-11-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23712 a1c6a512-1295-4272-9138-f99709370657
* fix mem* wrappers in UI on cygwin, by not building certain plugins on sim, ↵Andrew Mahone2009-01-25
| | | | | | rather than building empty ones git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19856 a1c6a512-1295-4272-9138-f99709370657
* loader-initialized global plugin API:Andrew Mahone2009-01-16
| | | | | | | | | | | | | | | | | struct plugin_api *rb is declared in PLUGIN_HEADER, and pointed to by __header.api the loader uses this pointer to initialize rb before calling entry_point entry_point is no longer passed a pointer to the plugin API all plugins, and pluginlib functions, are modified to refer to the global rb pluginlib functions which only served to copy the API pointer are removed git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19776 a1c6a512-1295-4272-9138-f99709370657
* a few more button/statusbar fixes...Jonathan Gordon2009-01-03
| | | | | | | | | | | * hopefully fix the last of the plugins which dont handle the enw SYS event. * fix FS#9750 - WPS's which dont specify (or force the wps on) wernt showing the statusbar at all * lamp, battery_bench, *_flash button handling fixes * plugins using the core menu code will again show the statusbar git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19656 a1c6a512-1295-4272-9138-f99709370657
* Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg2008-06-28
| | | | | | | | | later. We still need to hunt down snippets used that are not. 1324 modified files... http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
* Plugin parameters should be const.Steve Bavin2008-05-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17492 a1c6a512-1295-4272-9138-f99709370657
* Convert the whole codebase to UTF-8, except docs/COMMITTERS and ↵Nicolas Pennequin2008-05-05
| | | | | | tools/creative.c, which need checking. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17369 a1c6a512-1295-4272-9138-f99709370657
* Missed a couple. Hopefully fix all warnings.Michael Sevakis2007-04-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13234 a1c6a512-1295-4272-9138-f99709370657
* General housekeeping: Make plugin buffer functions take size_t * instead of ↵Michael Sevakis2007-04-21
| | | | | | int * to match the parameter type of the buffer functions called in the core. Get rid of unsafe int * <==> size_t * casting. Use ssize_t where int was used and size_t where unsigned int was used in the buffer calls to not alter signedness in the plugins. No API version change since it should only be an issue for 64-bit sim builds. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13233 a1c6a512-1295-4272-9138-f99709370657
* Now charcell displays require lcd_update() for updating the main lcd content ↵Jens Arnold2007-04-06
| | | | | | like bitmap displays. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13050 a1c6a512-1295-4272-9138-f99709370657
* Get rid of the 'center' parameter for splashes. There were only 2 of almost ↵Jens Arnold2007-03-16
| | | | | | 500 splashes which were not centered. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12807 a1c6a512-1295-4272-9138-f99709370657
* Code Police raid. Mostly changed // comments and indented to Rockbox style.Daniel Stenberg2006-03-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8894 a1c6a512-1295-4272-9138-f99709370657
* New plugin loader. Solves the crashes introduced with the .bss changes while ↵Jens Arnold2006-01-15
| | | | | | keeping the small binary size. The model & api version check is now part of the plugin loader. Codecs are not yet adapted, but the old method still works for them. Simulator plugins are not (yet) version-checked. API version numbering restarted, as this is an all-new system. Uses the target ID from configure, so don't change that too often. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8349 a1c6a512-1295-4272-9138-f99709370657
* size check adjusted, naked bootbox is smallJörg Hohensohn2005-08-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7389 a1c6a512-1295-4272-9138-f99709370657
* Allow flashing for players with alternative boot ROM.Jens Arnold2005-01-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5538 a1c6a512-1295-4272-9138-f99709370657
* player version check extended up to 5.08Jörg Hohensohn2004-12-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5522 a1c6a512-1295-4272-9138-f99709370657
* the flash plugins are now checking the battery level firstJörg Hohensohn2004-10-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5332 a1c6a512-1295-4272-9138-f99709370657
* allow Ondio ROM v1.04 for flashing, I changed my mind about the Ondio key ↵Jörg Hohensohn2004-10-22
| | | | | | assignment, some cleanup git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5323 a1c6a512-1295-4272-9138-f99709370657
* Ondio flash supportJörg Hohensohn2004-10-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5213 a1c6a512-1295-4272-9138-f99709370657
* New debug feature: Use the SH1 user break controller to catch illegal memory ↵Jens Arnold2004-08-30
| | | | | | accesses git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5026 a1c6a512-1295-4272-9138-f99709370657
* Added a check to prevent the flash plugins being used (and crashing) if ↵Jörg Hohensohn2004-07-20
| | | | | | Rockbox runs directly in flash ROM. (You need to RoLo a .ajz before re-flashing.) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4906 a1c6a512-1295-4272-9138-f99709370657
* Corrected spellingLinus Nielsen Feltzing2004-06-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4813 a1c6a512-1295-4272-9138-f99709370657
* The splash() function's second argument (keymask) is now removed, as itDaniel Stenberg2004-01-08
| | | | | | | was not used by any code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4201 a1c6a512-1295-4272-9138-f99709370657
* tolerate firmware v1.32 for a V2 RecorderJörg Hohensohn2004-01-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4191 a1c6a512-1295-4272-9138-f99709370657
* checks relaxed again, to tolerate firmware 1.15-1.29 for recordersJörg Hohensohn2004-01-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4186 a1c6a512-1295-4272-9138-f99709370657
* prevent compiler errors on platforms we can't (currently) flashDaniel Stenberg2003-12-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4158 a1c6a512-1295-4272-9138-f99709370657
* fixed a // comment, added a comment how this source file checks for featuresDaniel Stenberg2003-12-12
| | | | | | | the wrong way. I didn't address the actual error due to limited time. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4128 a1c6a512-1295-4272-9138-f99709370657
* relaxed version checking, some people had problems with itJörg Hohensohn2003-12-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4114 a1c6a512-1295-4272-9138-f99709370657
* now supporting V2 Recorder, firmware_flash has extra checks against files ↵Jörg Hohensohn2003-11-30
| | | | | | for wrong platform (hope it's not too strict, causing false rejects) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4084 a1c6a512-1295-4272-9138-f99709370657
* Disable this plugin on v2 recorders for nowBjörn Stenberg2003-11-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4043 a1c6a512-1295-4272-9138-f99709370657
* the plugin is now prepared to flash the "V2" variant: boxes without boot ROM ↵Jörg Hohensohn2003-10-26
| | | | | | which start from flash mirrored to address zero git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3988 a1c6a512-1295-4272-9138-f99709370657
* I release this plugin to cvs, now that I released new firmware images (see ↵Jörg Hohensohn2003-09-09
http://joerg.hohensohn.bei.t-online.de/archos/flash) with my new CRC check. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3953 a1c6a512-1295-4272-9138-f99709370657