summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-12-06all: Revert libusb-1.0 supportPali Rohár8-163/+166
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-06-27all: Add support for Nokia N950 (RM-680)Pali Rohár3-3/+8
2016-06-27mkii: Call /version/sw_release only for protocol version 2Pali Rohár2-11/+20
Looks like command /version/sw_release is supported only by protocol version 2.
2016-05-12usb-device: Do not reattach kernel driver if USB interface is not usedPali Rohár1-0/+3
2016-05-12disk: Fix detection of MyDocs partition in DISK RAW mode for non RX-51 devicesPali Rohár1-10/+28
2016-03-12mkii: Implement rebooting to Update modePali Rohár4-10/+22
2016-03-12mkii: Define MKII_UPDATE_MODE instead hardcoded constantPali Rohár3-4/+6
2016-03-12mkii: Use libusb_get_active_config_descriptor() instead ↵Pali Rohár1-1/+1
libusb_get_config_descriptor() This will fix problem that it was used incorrect config index
2016-03-12mkii: Fix memory leak, call libusb_free_config_descriptor()Pali Rohár1-0/+2
2016-03-09usb-device: Finish usb device detection based on product stringsPali Rohár1-5/+20
2016-03-09usb-device: Add FLASH_DISK usb ids for all supported devicesPali Rohár1-2/+5
2016-03-09image: Fix detection of jffs2 initfs imagesPali Rohár1-1/+1
Looks like that some official initfs images are bigger then 3MB, so set limit to 10MB
2016-02-23main: Initialize buf before calling dev_get_rd_flags()Pali Rohár1-0/+1
2016-02-23usb-device: Autodetect Nokia 770 device from product stringPali Rohár1-1/+3
2016-02-23libusb-sniff: Fix libusb_control_transfer functionPali Rohár1-7/+8
2016-02-21all: Fix usb endpoints after conversion to libusb 1.0Pali Rohár4-22/+18
Endpoint in nolo.c for libusb_bulk_transfer must be 0x02, not 0x01.
2016-02-12disk: Use correct libusb function which returns Linux devnum valuePali Rohár1-1/+1
It is libusb_get_device_address() and not libusb_get_port_number()
2016-01-23config.mk: Version is from gitPali Rohár1-1/+1
2016-01-23usb-device: Fix memory leak when listing devicesPali Rohár1-0/+3
2016-01-23travis: Update travis script for clang and libusb-1.0Pali Rohár1-3/+9
2016-01-23cold-flash: Comment unused omap variablesPali Rohár1-0/+3
2016-01-23all: Code style fixesPali Rohár5-17/+17
2016-01-23all: Rename variable readed to sentPali Rohár3-29/+29
2016-01-23libusb-sniff: add libusb 1.0 supportSebastian Reichel1-0/+129
This adds additional support for libusb-1.0 to the sniffing library. Afterwards it can be used with libusb 1.0 and libusb 0.1 based binaries.
2016-01-23all: Switch to libusb-1.0Sebastian Reichel7-168/+170
libusb 0.1 is deprecated. This updates 0xFFFF to use the newer libusb 1.0 API instead.
2016-01-23libusb-sniff: Use POSIX.1-2003 workaround for dlsym() assignment which is ↵Pali Rohár1-6/+6
compatible with C99
2016-01-23libusb-sniff: avoid usb.h includeSebastian Reichel1-1/+3
usb.h is only required for the definition of usb_dev_handle, which is never used, so it can be defined as anonymous struct instead. This has the advantage, that libusb is not required on the system compiling the library.
2016-01-23libusb-sniff: add header for getenv()Sebastian Reichel1-0/+1
2016-01-13doc: Remove nanddump param -i also from docPali Rohár1-2/+1
2016-01-13disk: dirent.h is required for DIRSebastian Reichel1-0/+1
Without <dirent.h> include newer gcc releases throw warnings about undefined "DIR".
2016-01-13all: free() is defined in stdlib.hSebastian Reichel2-0/+3
Without including <stdlib.h> newer gcc releases throw warnings about undefined free().
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-10image: Check for return value fo image_read() in image_type_from_data()Pali Rohár1-16/+17
2016-01-10main: Check for SW rel version lengthPali Rohár1-0/+7
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ár5-9/+47
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
2016-01-10README: Update 0xFFFF websitePali Rohár1-4/+1
2016-01-10local: Call nanddump without -i paramPali Rohár1-2/+2
Param -i was removed in recent versions of mtd-utils. And in older versions it did nothing.
2015-06-24image: Fix condition for detecting devicePali Rohár1-1/+1
2015-06-24fiasco: Fix checking for header of next imagePali Rohár1-1/+1
2015-06-24mangen: Set build date externallyDhole2-2/+8
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-01-15image: Fix detecting new ARM U-Boot imagesPali Rohár1-1/+1
2015-01-15all: Fix MEMMEM implementationPali Rohár1-1/+1
2014-11-26fiasco: Remove not reached codePali Rohár1-2/+0
2014-11-26local: Fix argument for mmap/munmapPali Rohár1-2/+2
2014-11-26all: Fix overflow in shift operatorsPali Rohár4-8/+8
2014-11-26Makefile: Now 0xFFFF is Posix compatible, enable -D_POSIX_C_SOURCE=200809LPali Rohár1-1/+1
2014-11-26cal: Enable Linux code only on LinuxPali Rohár1-4/+21