Commit Graph
55 Commits
Author SHA1 Message Date
Pali Rohár b8fb95b2aa all: Enable Large File Support 2016-12-17 01:53:16 +01:00
Pali Rohár 9a5f940046 usb-device: Check that we are not using broken libusb-1.0 library 2016-12-06 23:11:47 +01:00
Pali Rohár 5e79d651ca all: Compile globally without _GNU_SOURCE, define _BSD_SOURCE or _GNU_SOURCE where needed 2016-12-06 23:10:58 +01:00
Pali Rohár 676da47751 all: Revert libusb-1.0 support
Listing of usb devices with libusb-1.0 is too slow and not usable for
flashing or cold-flashing Nokia N900.

Old libusb (0.1) does not have this problem and works perfectly.

Problem for libusb-1.0 was reported at least two times into libusb-devel
mailing list, but upstream developers are totally ignore it. One message is
in archive: https://sourceforge.net/p/libusb/mailman/message/34985373/

Because of that there is just one option: use tested and working libusb 0.1
library instead some experimental and non-working libusb-1.0.
2016-12-06 22:39:44 +01:00
Sebastian Reichel d5028a12ca all: Switch to libusb-1.0
libusb 0.1 is deprecated. This updates 0xFFFF to use the
newer libusb 1.0 API instead.
2016-01-23 16:06:12 +01:00
Dhole 94a2fe0c17 mangen: Set build date externally
Patch build system to allow the build date in the man entry
to be set externally. In Debian it will be set to the latest
debian/changelog entry for reproducibility.
2015-06-24 17:46:28 +02:00
Pali Rohár c86e130ab1 Makefile: Now 0xFFFF is Posix compatible, enable -D_POSIX_C_SOURCE=200809L 2014-11-26 16:35:01 +01:00
Pali Rohár cfd3b662a5 Makefile: Fix compilation of libusb-sniff libraries 2014-11-18 18:09:30 +01:00
Pali Rohár c6ee6a8e68 Makefile: Fix depends for manpage 2013-09-23 11:41:27 +02:00
Pali Rohár 3b68eaf303 Makefile: Add examples to manpage 2013-09-21 11:10:44 +02:00
Pali Rohár 796dc3a677 Makefile: Add support for cross compile 2013-04-21 17:07:01 +02:00
Pali Rohár 2b80f8e620 Makefile: Add libusb-sniff library rules 2013-04-07 14:47:52 +02:00
Pali Rohár 0df9ca3e59 Makefile: Remove dependency on libm.so 2013-04-07 14:40:29 +02:00
Pali Rohár 2c34ec70d2 Makefile: Add mangen rules 2013-04-07 14:12:04 +02:00
Pali Rohár 62bb8e4e28 Makefile: Add $(BIN) to destination in make install 2013-01-24 10:52:34 +01:00
Pali Rohár 2f7bab98bf Makefile: Fix make install 2013-01-24 01:48:19 +01:00
Pali Rohár 9ea9bea096 Fix Makefile 2012-11-25 23:05:04 +01:00
Pali Rohár 1edbc5e52e Update Makefiles 2012-11-25 21:15:35 +01:00
Pali Rohár a01de09ca5 Remove old console prompt from tree 2012-11-25 20:59:10 +01:00
Pali Rohár 355fe9dc62 Remove old queue mode from tree 2012-11-25 20:58:28 +01:00
Pali Rohár c03e01879e cal: Added CAL parser from Calvaria 2012-11-24 00:54:01 +01:00
Pali Rohár 7b5d36bd4c Remove old dump code 2012-11-20 22:02:56 +01:00
Pali Rohár 886b40e4b5 Makefile: Remove CFLAGS unsupported by old gcc 2012-11-19 14:08:45 +01:00
Pali Rohár aa366ea133 Makefile: Add mkii.o and disk.o 2012-11-15 15:22:57 +01:00
Pali Rohár cc8cca84ef operations: Added support for local device 2012-11-15 01:40:09 +01:00
Pali Rohár 08adc52c78 Remove WITH_ defines 2012-09-23 16:19:43 +02:00
Pali Rohár f35c4048fe operations: Added operations file for wrapping all device operations 2012-09-23 16:13:33 +02:00
Pali Rohár 54ddeb6407 device: Implement hwrevs as array of int16_t 2012-09-22 18:16:26 +02:00
Pali Rohár 0d1d64bbfe Makefile: Remove duplicate flags 2012-08-11 21:24:18 +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 adbe2dabad Remove old hexdup.c code 2012-08-10 12:23:54 +02:00
Pali Rohár 3ce8ca13f1 Rename utils.c to printf-utils.c, remove unused functions 2012-08-10 12:03:30 +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 01a7da1d95 Rename flash.c to nolo.c 2012-08-09 21:02:20 +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 0d76941600 Add new code to Makefile 2012-08-09 20:30:55 +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 027a6d9a18 Fix compilation warnings 2012-06-23 17:39:33 +02:00
pancake@localhost.localdomain b7206abf11 * Fix static build 2009-10-17 15:51:00 +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)
2008-12-14 03:05:19 +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 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 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 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 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 c46961d511 * Fix in fpid for proper JFFS2 identification
* Add new flag '-c' that makes 0xFFFF run as a shell
* Split the connect_via_usb() code from main()
* Add console handler for shell like usage of the flasher
2007-06-10 05:41:50 +02:00