Commit Graph
66 Commits
Author SHA1 Message Date
Pali Rohár 027a6d9a18 Fix compilation warnings 2012-06-23 17:39:33 +02:00
Pali Rohár 58c0dbe275 Update fiasco documentation, now is on 95% complete 2012-06-23 17:03:25 +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 583cc8a963 When identifing fiasco image, show all pieces 2012-06-23 13:24:12 +02:00
Pali Rohár 491f06015b Added preview of new 0xFFFF arguments to main.c. This change will be needed to support other flashing modes (cold, MK II, ...) 2012-06-23 13:15:44 +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
Pali Rohár 8bc521f3e5 do_hash_file - align size for mmc images, append chars \xff (nokia flasher needs mmc images alingned) 2012-06-23 13:07:34 +02:00
Pali Rohár b1cfc3181b Prepair flash_image for specifing device and hw revisions 2012-06-23 13:05:46 +02:00
Pali Rohár 1ddf269c69 Prepair piece structure for device & hw revisions 2012-06-23 13:02:52 +02:00
Pali Rohár dc910a5317 Prepair for flashing via MK II protocol (N900 in PC-Suite mode) 2012-06-23 13:00:12 +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 b0f69c8b6b * Add manpages (thanks sre!) 2010-11-18 16:32:00 +01:00
pancake dc4fd72133 * Fix warning in dump.c * Port GUI to GtkON syntax * Fix build for latest valac
--HG--
rename : src/gui/gui.gtkaml => src/gui/gui.gtkaml.orig
2010-11-18 00:30:13 +01:00
pancake 20eed53d8c * Fix usb initialization link with n900 * minor syntax fixup 2010-04-26 18:29:19 +02:00
pancake e2aaa2cb40 * Add C files of the gui, so it can be built without gtkamlc or valac * Fix build of gui.gtkaml (sync with last vala) * Update version number in gui about dialog * Some syntax cleanup and removed some unnecesary printf calls 2009-12-22 00:08:47 +01:00
pancake 4d7899fa40 * Use /usr/local PREFIX by default * Bump revision to 0.5 2009-12-21 23:16:28 +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 5f4476566d * Fix n900 identification for dump (-e) * Make clean libusb from the root makefile 2009-10-18 21:03:16 +02:00
pancake@localhost.localdomain b7206abf11 * Fix static build 2009-10-17 15:51:00 +02: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 3a1053b29e * Oops missing up
* Added fixups for make install/deinstall
* HAVE_GUI is now enabled by default
* New 'stop' button for goxf GUI
* Fix lil bug in squeue.c
* Initial .desktop icon for freedesktop environments (GNOME)
0.4
2008-12-14 03:05:19 +01: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 edac98d26e * Shift doc/faq to doc/faq2
* Add 'doc/faq' with most used commands
* -e can be used with -u to specify the path to extract the files
* Remove gui directory
  - GUI source is in src/gui
  - Incrusted inside the build and install targets
    (ignores build and install errors)
0.3.9
2008-03-07 00:20:45 +01:00
pancake 83c25d7eb2 * Initial working version of the flash gui - Renamed to goxf - Needs 'sudo' to be enabled to the user without password - Identify and ban piece files while including them in the list - Support for flashing multiple piece files - progressbar and warn/error messages handled - Supports reboot mobo command
* Make qmode be functional
* Lot of hardcore fixups on squeue_open
  - Should work now everywhere fine asumid UID 1000 as allowed user
  - Reduce timeouts
  - Add push2 method
2008-03-06 17:58:06 +01:00
pancake 2ddb2923c6 * Initial import of the GtkAML gui frontend - Mostly implemented in just one night :)
* Import the squeue c and vapi sources
* Make 0xFFFF run as squeue daemon with -Q flag
* Up to 0.4
2008-03-05 18:38:42 +01:00
pancake 32a59f4279 * Initial support for n810
- Fix set_altinterface workaround which seems to be checked by nolo 1.7
- n810 has the same USBID than n770
* Define some nolo commands used in query.c in nolo.h
* Get SW version with -i too
0.3.2
2008-02-18 01:25:00 +01:00
pancake fc6bacdb94 * Fix build of gui
* Some initial callbacks and glade tests
2008-02-04 04:30:46 +01:00
pancake 680fd91de8 * Take proper values for claim_interface and set_altinterface from the device->config->interface->altsetting structure 2008-02-02 05:17:58 +01:00
pancake 288cad1c2e * Up to 0.3.2
* Add HAVE_USB to config.mk
  - Now is possible to build a usb-less version of the flasher
    (only for unpacking and so, offline operations)
* Refactor varname. Avoid portability problems:
  - reboot -> moboreboot
2008-01-14 11:25:08 +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
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 0.2 2007-06-30 03:58:18 +02:00
pancake 1f3c790d87 * Initial import of the maemo bug report #1584 into documentation 2007-06-25 23:00:29 +02:00
pancake 6521a8e9d1 * Update documentation for the 0.2 release
* Fix case0 bug of libusb in usb_device_found function
2007-06-25 15:14:14 +02:00
pancake 3728cdea31 * Add new command 'nanddump' for the console shell
* Avoid dumping non-mtd files because writesize = 0
  - Properly close the file when failing

* Better doc/pieces documentation
2007-06-16 05:52:46 +02:00
pancake c1d909c415 * Fix the dump of xloader and secondary.bin
- Looks like they protect these blocks by marking this section as badblocks.
  - We just ignore badblock marks when dumping the bootloader

* Handle feof (^D) on the prompt
2007-06-16 05:21:14 +02:00
pancake 579dbe9837 * Fix device identification for n800. patch from Robert Schuster
- Looks like n770 and n800 have different USB identifiers on the
    bootloader and the operating system.

* Print oops message and exit when the use has no permissions to
  access to the usb.
2007-06-14 23:32:52 +02:00
pancake ed3cb1d3f8 * Finally integrate libusb in Makefiles. Use 'allusb' target to build a 0xFFFF binary without library dependencies (libusb)
* Add 'static' makefile target for building a statically linked 0xFFFF

* Documentate all makefile targets in INSTALL
2007-06-12 23:43:35 +02:00
pancake ea97ac427e * Initial import of the libusb source tree into the flasher - optional, but useful for embedding - avoids gnu autosux problems 2007-06-12 15:29:07 +02:00