summaryrefslogtreecommitdiffstats
path: root/src/fiasco.c
AgeCommit message (Collapse)AuthorFilesLines
2016-01-10fiasco: Fix code for append device & hwrevs subsectionPali Rohár1-4/+5
Fix possible use-after-free in WRITE_OR_FAIL_FREE() macro
2016-01-10fiasco: Remove wrong checks for 'name' and 'swver'Pali Rohár1-2/+2
Members 'name' and 'swver' of fiasco are arrays, not pointers
2016-01-10all: Check for return value of lseekPali Rohár1-1/+4
2016-01-10fiasco: Fix memory leak for device_hwrevs_bufs variablePali Rohár1-21/+21
2016-01-10fiasco: In simulate mode do not close invalid not open fdPali Rohár1-1/+3
2015-06-24fiasco: Fix checking for header of next imagePali Rohár1-1/+1
2014-11-26fiasco: Remove not reached codePali Rohár1-2/+0
2014-11-18fiasco: Fix possible memory leakPali Rohár1-0/+1
2014-11-18fiasco: Fix initializing variablesPali Rohár1-3/+7
2014-11-18fiasco: Fix memory leaksPali Rohár1-3/+21
2014-10-19all: Replace strlen() call on const string with sizeof()-1Pali Rohár1-1/+1
2014-10-19fiasco: fiasco_alloc_from_file: check if hwrevs has enough sizePali Rohár1-3/+6
2014-09-29fiasco: Call free at correct placePali Rohár1-7/+11
2014-05-10all: Fix typo0.6Pali Rohár1-1/+1
2012-09-22Fix compilation on 32bit systemPali Rohár1-1/+1
2012-09-22Fix generating fiasco imagesPali Rohár1-1/+1
2012-09-22fiasco: Fix fiasco_write_to_filePali Rohár1-8/+6
2012-09-22fiasco: Use image_listPali Rohár1-42/+16
2012-08-13fiasco: Fixed compile warningsPali Rohár1-3/+3
2012-08-12fiasco: Respect simulate flagPali Rohár1-8/+12
2012-08-11image_read returns size_t, so 0 when error or end of filePali Rohár1-2/+2
2012-08-11Rewrite Makefile, move WITH_DEVICE, WITH_USB and WITH_SQUEUES to MakefilePali Rohár1-0/+1
2012-08-10Fix ERROR macrosPali Rohár1-10/+10
2012-08-09Rename new fiasco2 to fiascoPali Rohár1-0/+595
2012-08-09Remove old fiasco.c codePali Rohár1-648/+0
2012-07-14Align also kernel imagePali Rohár1-5/+16
2012-06-23fiasco - remove dead codePali Rohár1-43/+0
2012-06-23Added option to use only image pieces for specific device / hw revisionPali Rohár1-7/+39
2012-06-23Fix compilation warningsPali Rohár1-1/+3
2012-06-23Fiasco image: Allow to specify device string without hw revision (then image ↵Pali Rohár1-15/+16
is valid for all hw revisions). Generating images should be complete!
2012-06-23Fixed creating fiasco images, added param version: for specifing sw-ver. Now ↵Pali Rohár1-49/+106
generated fiasco images are valid for nokia flasher.
2012-06-23Rename fwname to swverPali Rohár1-4/+4
2012-06-23Fix unpacking fiasco images (check for number of subsections). Now unpacking ↵Pali Rohár1-14/+21
is complete!
2012-06-23Fix memory problems when unpacking fiasco imagesPali Rohár1-5/+16
2012-06-23Unpacking fiasco - added support for FW headers (FW name)Pali Rohár1-10/+30
2012-06-23Fix creating fiasco images - added support for specifing device, hwrevs, ↵Pali Rohár1-22/+137
version, mmc layout and auto align mmc images Format of arguments for adding piece to fiasco image is now: $ 0xFFFF -p [[[[dev:hw:]ver:]type:]file[%%layout]
2012-06-23Rename hwrev to hwrevs and fix unpacking fiasco images. hwrevs do not have ↵Pali Rohár1-11/+21
to be separated by nullterm if size of hwrev is 8.
2012-06-23* Apply Pali Rohár patch - Add support for device and hw revisions ↵pancake1-14/+79
specified in hw pieces - Updated documentation - Fixed problems when unpacking - Ready for mmc and cold flashing
2011-12-16* Apply Pali Rohár patch fixing RX51 Fiasco Image parsingpancake1-18/+29
2009-12-21* Fix segmentation fault with -O2 while unpacking (thanks for reporting) * ↵pancake@flubox1-21/+43
Various random checks to ensure read/write ops are success
2009-10-17* Added support for local n900 nand dump * Do some code cleanup, update ↵pancake@localhost.localdomain1-1/+1
headers from 2007 to 2009 :) - Fix warning messages
2008-12-14* Minor stetical fixupspancake1-1/+0
* Cut 0.4 release :)
2008-12-08* Implement and test direct file FIASCO flash - openfiasco receives options ↵pancake1-19/+31
for grepping for pieces and be verbose - fixed flashing order using grep options xloader, secondary, kernel, initfs, rootfs - Tested and working - Added parser for the hw revision string * Autodetect device hw revision and setup the subversion string on the fly.
2008-12-08* Added -n flag to do not write to disk or flash (simulation)pancake1-10/+33
* Added -S flag to specify subversion id manually while flashing or dumping * Fixed support for the last fiasco image - Skip paddings - More verbose output while parsing FIASCO headers * Initial implementation of the full direct FIASCO flasher - No need to dump manually before flashing * Some warnings and code cleanup * Fix building issue * Add HAVE_GUI directive in config.mk * Up to version 0.4
2007-11-20- Import patches from Osvaldo Santana * Fix build on gcc 4 * Fix nanddump ↵0.3.1pancake1-5/+5
call definition (ignore oob added) * Fixed some stupid bugs with -pedantic -std=c99 release 0.3.1
2007-10-20* Make the fiasco writing api work (some hardcoded things, but mostly ok)pancake1-41/+26
* Move documentation of fiasco format to doc/ * 0.3 release
2007-10-11* Add documentation for the FIASCO formatpancake1-40/+122
* Initial fiasco writer api * Lot of new checks and code cleanup * fiasco callback now receives a filedescriptor inside header_t - the lseek and data free is autonatically done by the main loop * Split fiasco_data_read() code, useful for streams (embeddeds low mem footprint) * Add '-P' flag to create a new fiasco pack
2007-10-08* Finally implement the support for the FIASCO firmware formatpancake1-88/+180
* Up version to 0.3 * Alphabetically order the help message flags * Cleaner short help message * Pseudo-api for creating firmwares (not yet finished) * Add '-F' flag to flash from a fiasco image
2007-06-30* Upgrade to GPLv30.2pancake1-14/+12
2007-04-20* Initial commit of 0xFFFF.0.1pancake1-0/+136
This tree contains the same as the 0.1 tarball