Commit Graph
61 Commits
Author SHA1 Message Date
Pali Rohár d6ad749515 main: Options -b -e -u working without argument 2012-08-11 11:57:20 +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 67d3e4de70 main: Try cold flash again only if it returns -EAGAIN 2012-08-11 10:39:52 +02:00
Pali Rohár cb25a8bd3e main: Move image fitering to functions, do not fail if device or hwrev is not detected 2012-08-11 09:54:05 +02:00
Pali Rohár dddf92646d main: Compile only supported options 2012-08-10 22:18:33 +02:00
Pali Rohár 791f805fa0 main: Implement setting configuration 2012-08-10 22:09:31 +02:00
Pali Rohár 5325bfdfd1 main: finish device identify 2012-08-10 21:54:37 +02:00
Pali Rohár 6cf03a9e28 Rename main2.c to main.c 2012-08-10 21:36:46 +02:00
Pali Rohár ded123141c Remove old main.c code 2012-08-10 21:36:03 +02:00
Pali Rohár 27acbb09a5 Fix compilation 2012-08-10 12:19:28 +02:00
Pali Rohár b142205f1c Remove old main.h code 2012-08-10 12:14:05 +02:00
Pali Rohár e4858deccd console: Prepair for new code 2012-08-10 12:10:17 +02:00
Pali Rohár 6e0941a3c4 Comment all old code 2012-08-09 21:17:45 +02:00
Pali Rohár 603a64757d Remove old serial.c code 2012-08-09 21:13:13 +02:00
Pali Rohár 2002ba27a2 Move query.c into nolo.c 2012-08-09 21:07:30 +02:00
Pali Rohár 70c09fb5b7 Remove old pieces.c and fpid.c code 2012-08-09 20:49:10 +02:00
Pali Rohár 29084d4acf flash: Rewrite flash_image code to use struct * image 2012-08-09 20:38:47 +02:00
Pali Rohár 0d76941600 Add new code to Makefile 2012-08-09 20:30:55 +02:00
Pali Rohár 5dc162bc4a Delete old check_nolo_order code 2012-08-09 20:11:25 +02:00
Pali Rohár 564b0715f1 Remove old devices.c code 2012-08-09 20:04:25 +02:00
Pali Rohár 6e710dcac9 Remove old hash.c code 2012-08-09 19:52:22 +02:00
Pali Rohár 1b99ad115a Remove old fiasco.c code 2012-08-09 19:48:21 +02:00
Pali Rohár d10814e808 main: updated prepaired options 2012-08-08 18:11:26 +02:00
Pali Rohár 860d71d18a Fix prepaired new 0xFFFF options 2012-06-24 15:00:52 +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 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 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
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 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)
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)
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
2008-02-18 01:25:00 +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
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