Commit Graph
42 Commits
Author SHA1 Message Date
Pali Rohár 142ef93ddc fiasco: Fix initializing variables 2014-11-18 20:14:23 +01:00
Pali Rohár 89566f559b fiasco: Fix memory leaks 2014-11-18 18:49:32 +01:00
Pali Rohár f0712d5b23 all: Replace strlen() call on const string with sizeof()-1 2014-10-19 20:23:21 +02:00
Pali Rohár d6eba11357 fiasco: fiasco_alloc_from_file: check if hwrevs has enough size 2014-10-19 18:26:47 +02:00
Pali Rohár 23b916bcc9 fiasco: Call free at correct place 2014-09-29 00:42:52 +02:00
Pali Rohár f898ac4411 all: Fix typo 2014-05-10 22:39:47 +02:00
Pali Rohár b0130e52d6 Fix compilation on 32bit system 2012-09-22 23:16:56 +02:00
Pali Rohár d1bb1b6094 Fix generating fiasco images 2012-09-22 20:45:27 +02:00
Pali Rohár 28ca666c6e fiasco: Fix fiasco_write_to_file 2012-09-22 20:37:30 +02:00
Pali Rohár a072a2cf83 fiasco: Use image_list 2012-09-22 19:49:58 +02:00
Pali Rohár d0d249c738 fiasco: Fixed compile warnings 2012-08-13 11:57:30 +02:00
Pali Rohár 2d52d8c3c6 fiasco: Respect simulate flag 2012-08-12 12:19:33 +02:00
Pali Rohár 26099e9536 image_read returns size_t, so 0 when error or end of file 2012-08-11 21:23:53 +02:00
Pali Rohár 83bcb7358c Rewrite Makefile, move WITH_DEVICE, WITH_USB and WITH_SQUEUES to Makefile 2012-08-11 11:12:58 +02:00
Pali Rohár ad68e324c6 Fix ERROR macros 2012-08-10 12:01:14 +02:00
Pali Rohár b2883167d5 Rename new fiasco2 to fiasco 2012-08-09 19:50:14 +02:00
Pali Rohár 1b99ad115a Remove old fiasco.c code 2012-08-09 19:48:21 +02:00
Pali Rohár 8301455a5b Align also kernel image 2012-07-14 09:21:34 +02:00
Pali Rohár 2421b9f6c2 fiasco - remove dead code 2012-06-23 21:26:30 +02:00
Pali Rohár eac07b18d9 Added option to use only image pieces for specific device / hw revision 2012-06-23 18:49:07 +02:00
Pali Rohár 027a6d9a18 Fix compilation warnings 2012-06-23 17:39:33 +02:00
Pali Rohár 2110196958 Fiasco image: Allow to specify device string without hw revision (then image is valid for all hw revisions). Generating images should be complete! 2012-06-23 17:01:48 +02:00
Pali Rohár 9195f3c7da Fixed creating fiasco images, added param version: for specifing sw-ver. Now generated fiasco images are valid for nokia flasher. 2012-06-23 16:54:05 +02:00
Pali Rohár 4f92794cdf Rename fwname to swver 2012-06-23 16:21:28 +02:00
Pali Rohár 535561efbf Fix unpacking fiasco images (check for number of subsections). Now unpacking is complete! 2012-06-23 15:54:13 +02:00
Pali Rohár 5da30a5bc5 Fix memory problems when unpacking fiasco images 2012-06-23 15:01:10 +02:00
Pali Rohár 8fdba437af Unpacking fiasco - added support for FW headers (FW name) 2012-06-23 14:09:33 +02:00
Pali Rohár 1aca3bef85 Fix creating fiasco images - added support for specifing device, hwrevs, 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-23 13:11:54 +02:00
Pali Rohár b4575a40fc Rename hwrev to hwrevs and fix unpacking fiasco images. hwrevs do not have to be separated by nullterm if size of hwrev is 8. 2012-06-23 13:09:44 +02:00
pancake 34c8fb057d * Apply Pali Rohár patch - Add support for device and hw revisions specified in hw pieces - Updated documentation - Fixed problems when unpacking - Ready for mmc and cold flashing 2012-06-23 10:43:20 +02:00
pancake 04f9369ace * Apply Pali Rohár patch fixing RX51 Fiasco Image parsing 2011-12-16 16:17:17 +01:00
pancake@flubox 3f975a93b3 * Fix segmentation fault with -O2 while unpacking (thanks for reporting) * Various random checks to ensure read/write ops are success 2009-12-21 14:40:12 +01:00
pancake@localhost.localdomain 034b17cef4 * Added support for local n900 nand dump * Do some code cleanup, update headers from 2007 to 2009 :) - Fix warning messages 2009-10-17 15:43:39 +02:00
pancake fc3a613276 * Minor stetical fixups
* Cut 0.4 release :)
2008-12-14 01:40:49 +01:00
pancake 5a96158322 * Implement and test direct file FIASCO flash - openfiasco receives options 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 18:13:36 +01:00
pancake 3d427bfd77 * Added -n flag to do not write to disk or flash (simulation)
* 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
2008-12-08 00:21:05 +01:00
pancake 4115aab13d - Import patches from Osvaldo Santana * Fix build on gcc 4 * Fix nanddump call definition (ignore oob added) * Fixed some stupid bugs with -pedantic -std=c99
release 0.3.1
2007-11-20 04:14:13 +01:00
pancake fbdac811fc * Make the fiasco writing api work (some hardcoded things, but mostly ok)
* Move documentation of fiasco format to doc/
* 0.3 release
2007-10-20 02:32:24 +02:00
pancake d15412a788 * Add documentation for the FIASCO format
* 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-11 03:14:11 +02:00
pancake 85fdbfb354 * Finally implement the support for the FIASCO firmware format
* 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-10-08 00:25:56 +02:00
pancake 11e32133b0 * Upgrade to GPLv3 2007-06-30 03:58:18 +02:00
pancake b1d0ce2848 * Initial commit of 0xFFFF.
This tree contains the same as the 0.1 tarball
2007-04-20 18:20:22 +02:00