summaryrefslogtreecommitdiff
path: root/apps/plugins/rockbox_flash.c (follow)
Commit message (Collapse)AuthorAge
* Improve rockbox_flash messagesBoris Gjenero2012-02-05
| | | | | | | | | | | | | - For V2 and FM Recorders, don't recommend bootloader upgrade due to FS#12426 BootBox bugs. - When rockbox.ucl can't fit and the bootloader is old, the bootloader needs to be upgraded. - When RomBox start address differs, the bootloader is not compatible with RomBox. Change-Id: I7ca910805a64eb81faa21b2dde4842cd3b640f5a Reviewed-on: http://gerrit.rockbox.org/71 Reviewed-by: Marcin Bukat <marcin.bukat@gmail.com>
* 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
* Remove build conditions inside .c plugin filesRafaël Carré2010-08-25
| | | | | | | | Rather use the Makefile to specify which files must be built Fix color builds with test plugins enabled (test_scanrate gave an empty .o file) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27886 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
* 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
* Bump flash image version and adapt flashing documentation.Jens Arnold2009-03-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20510 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
* Merge the necessary changes for the new archos firmware flash images back to ↵Jens Arnold2008-10-16
| | | | | | the trunk, including the related optimisations. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18821 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
* Code cleaning - remove some unnecessary defined(SIMULATOR) checksDave Chapman2007-05-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13369 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
* Let GCC check arguments of some more printf-style functions, also for ↵Jens Arnold2007-03-17
| | | | | | plugins and codecs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12815 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
* 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
* allow the flash plugin to verify the RomBox link addressJörg Hohensohn2005-08-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7388 a1c6a512-1295-4272-9138-f99709370657
* allow smaller .ucl, to test bootboxJörg Hohensohn2005-06-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6796 a1c6a512-1295-4272-9138-f99709370657
* adapted to build on iRiverDaniel Stenberg2005-02-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5784 a1c6a512-1295-4272-9138-f99709370657
* Plugin fixes: Correct button name for MODE key in help texts, conforming to ↵Jens Arnold2004-12-26
| | | | | | the manual & wiki documentation (Ondio plugins). Alternate image is selected with MINUS, not MENU (rockbox_flash for player). Shortened some help lines that didn't fit on the display with the default font (solitaire). Fixed a number of typos. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5512 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
* removed a Player warningJörg Hohensohn2004-10-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5326 a1c6a512-1295-4272-9138-f99709370657
* minor optical flawJörg Hohensohn2004-10-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5324 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
* The .ucl flasher now tells if the bootloader is not up to date. I hope that ↵Jörg Hohensohn2004-03-13
| | | | | | eases to phase out the old one with the flat battery problem. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4378 a1c6a512-1295-4272-9138-f99709370657
* prepared to flash uncompressed ucl such that suitable Rockbox builds ↵Jörg Hohensohn2004-01-18
| | | | | | directly execute from ROM git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4252 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
* 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
* not yet for V2Jörg Hohensohn2003-11-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4067 a1c6a512-1295-4272-9138-f99709370657
* version check removed, pointless since playersJörg Hohensohn2003-09-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3945 a1c6a512-1295-4272-9138-f99709370657
* filesize limit lowered to 40KB, player images are so smallJörg Hohensohn2003-08-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3941 a1c6a512-1295-4272-9138-f99709370657
* - Thanks to Magnus Holmgren for Player portJörg Hohensohn2003-08-04
| | | | | | | - simplified greetmessages when "playing" a UCL file, get checked right away, saves a buttonpress git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3919 a1c6a512-1295-4272-9138-f99709370657
* plugin_get_buffer() makes my plugin smaller, can get the sector buffer at ↵Jörg Hohensohn2003-07-27
| | | | | | runtime git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3895 a1c6a512-1295-4272-9138-f99709370657
* Flash plugin requires recorder for nowBjörn Stenberg2003-07-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3894 a1c6a512-1295-4272-9138-f99709370657
* the plugin half of Lee Marlow's patch: second agument can be the filename of ↵Jörg Hohensohn2003-07-25
| | | | | | the .ucl to be flashed git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3887 a1c6a512-1295-4272-9138-f99709370657
* Massive code-policing. Use proper indent. Use proper comments. Use properDaniel Stenberg2003-07-21
| | | | | | | source code width. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3857 a1c6a512-1295-4272-9138-f99709370657
* The rockbox_flash plugin is a target-only plugin.Linus Nielsen Feltzing2003-07-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3838 a1c6a512-1295-4272-9138-f99709370657
* Johan Vromans' fix after file check failsJörg Hohensohn2003-07-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3835 a1c6a512-1295-4272-9138-f99709370657
* The plugin which reflashes the second image. I release it now to become part ↵Jörg Hohensohn2003-07-13
of the build, so that I don't have to maintain and distribute it every time the plugin API version is bumped. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3832 a1c6a512-1295-4272-9138-f99709370657