summaryrefslogtreecommitdiff
path: root/apps/plugins/firmware_flash.c (unfollow)
Commit message (Collapse)Author
2010-08-28fix r27926 : lcd_puts() not changed to lcd_putsf()Rafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27928 a1c6a512-1295-4272-9138-f99709370657
2010-08-28plugins: use lcd_putsf/lcd_putsxyfRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27926 a1c6a512-1295-4272-9138-f99709370657
2010-08-24Second try: Introduce plugin_crt0.c that every plugin links.Thomas Martitz
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
2010-08-23Revert "Introduce plugin_crt0.c that every plugin links."Thomas Martitz
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
2010-08-23Introduce plugin_crt0.c that every plugin links.Thomas Martitz
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
2010-05-31Only build firmware_flash plugin on archosRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26424 a1c6a512-1295-4272-9138-f99709370657
2010-05-07Fix size_t handling in plugin_get_buffer()Frank Gevaerts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25884 a1c6a512-1295-4272-9138-f99709370657
2009-11-22fix more redNils Wallménius
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23714 a1c6a512-1295-4272-9138-f99709370657
2009-11-22Fix reds.Nils Wallménius
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23712 a1c6a512-1295-4272-9138-f99709370657
2009-01-25fix mem* wrappers in UI on cygwin, by not building certain plugins on sim, ↵Andrew Mahone
rather than building empty ones git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19856 a1c6a512-1295-4272-9138-f99709370657
2009-01-16loader-initialized global plugin API:Andrew Mahone
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
2009-01-03a few more button/statusbar fixes...Jonathan Gordon
* 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
2008-06-28Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg
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
2008-05-13Plugin parameters should be const.Steve Bavin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17492 a1c6a512-1295-4272-9138-f99709370657
2008-05-05Convert the whole codebase to UTF-8, except docs/COMMITTERS and ↵Nicolas Pennequin
tools/creative.c, which need checking. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17369 a1c6a512-1295-4272-9138-f99709370657
2007-04-21Missed a couple. Hopefully fix all warnings.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13234 a1c6a512-1295-4272-9138-f99709370657
2007-04-21General housekeeping: Make plugin buffer functions take size_t * instead of ↵Michael Sevakis
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
2007-04-06Now charcell displays require lcd_update() for updating the main lcd content ↵Jens Arnold
like bitmap displays. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13050 a1c6a512-1295-4272-9138-f99709370657
2007-03-16Get rid of the 'center' parameter for splashes. There were only 2 of almost ↵Jens Arnold
500 splashes which were not centered. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12807 a1c6a512-1295-4272-9138-f99709370657
2006-03-03Code Police raid. Mostly changed // comments and indented to Rockbox style.Daniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8894 a1c6a512-1295-4272-9138-f99709370657
2006-01-15New plugin loader. Solves the crashes introduced with the .bss changes while ↵Jens Arnold
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
2005-08-23size check adjusted, naked bootbox is smallJörg Hohensohn
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7389 a1c6a512-1295-4272-9138-f99709370657
2005-01-08Allow flashing for players with alternative boot ROM.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5538 a1c6a512-1295-4272-9138-f99709370657
2004-12-30player version check extended up to 5.08Jörg Hohensohn
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5522 a1c6a512-1295-4272-9138-f99709370657
2004-10-23the flash plugins are now checking the battery level firstJörg Hohensohn
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5332 a1c6a512-1295-4272-9138-f99709370657
2004-10-22allow Ondio ROM v1.04 for flashing, I changed my mind about the Ondio key ↵Jörg Hohensohn
assignment, some cleanup git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5323 a1c6a512-1295-4272-9138-f99709370657
2004-10-07Ondio flash supportJörg Hohensohn
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5213 a1c6a512-1295-4272-9138-f99709370657
2004-08-30New debug feature: Use the SH1 user break controller to catch illegal memory ↵Jens Arnold
accesses git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5026 a1c6a512-1295-4272-9138-f99709370657
2004-07-20Added a check to prevent the flash plugins being used (and crashing) if ↵Jörg Hohensohn
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
2004-06-29Corrected spellingLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4813 a1c6a512-1295-4272-9138-f99709370657
2004-01-08The splash() function's second argument (keymask) is now removed, as itDaniel Stenberg
was not used by any code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4201 a1c6a512-1295-4272-9138-f99709370657
2004-01-05tolerate firmware v1.32 for a V2 RecorderJörg Hohensohn
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4191 a1c6a512-1295-4272-9138-f99709370657
2004-01-02checks relaxed again, to tolerate firmware 1.15-1.29 for recordersJörg Hohensohn
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4186 a1c6a512-1295-4272-9138-f99709370657
2003-12-15prevent compiler errors on platforms we can't (currently) flashDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4158 a1c6a512-1295-4272-9138-f99709370657
2003-12-12fixed a // comment, added a comment how this source file checks for featuresDaniel Stenberg
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
2003-12-07relaxed version checking, some people had problems with itJörg Hohensohn
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4114 a1c6a512-1295-4272-9138-f99709370657
2003-11-30now supporting V2 Recorder, firmware_flash has extra checks against files ↵Jörg Hohensohn
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
2003-11-19Disable this plugin on v2 recorders for nowBjörn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4043 a1c6a512-1295-4272-9138-f99709370657
2003-10-26the plugin is now prepared to flash the "V2" variant: boxes without boot ROM ↵Jörg Hohensohn
which start from flash mirrored to address zero git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3988 a1c6a512-1295-4272-9138-f99709370657
2003-09-09I release this plugin to cvs, now that I released new firmware images (see ↵Jörg Hohensohn
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