summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2017-06-17image: Add new function image_alloc_from_fd()Pali Rohár2-11/+23
2017-06-17image: Call image_free() when image_append() is failingPali Rohár1-2/+4
2017-06-17main: Fix race condition between calling stat and renamePali Rohár1-5/+11
2017-01-09disk: Remove check which is always falsePali Rohár1-5/+0
Type unsigned long long int according to C99 can store at least 2^64-1.
2017-01-08cal: Fix race condition between calling stat and opening filePali Rohár1-3/+3
2017-01-08Makefile: Fix setting compilerPali Rohár1-3/+3
2016-12-24all: Add basic support for Nokia N9Aaro Koskinen3-2/+7
2016-12-24cal: Fix pointer checkPali Rohár1-1/+1
2016-12-24cal: cal_read_block allocate memoryPali Rohár2-4/+11
2016-12-23disk: Fix for RM-680Pali Rohár1-2/+2
2016-12-23disk: Check for ENOMEDIUM when partition is requiredPali Rohár1-2/+12
2016-12-23cal: SSIZE_MAX is not required to be definedPali Rohár1-0/+2
2016-12-23cal: Move sys/ioctl.h to __linux__Pali Rohár1-1/+1
2016-12-21usb-device: Detect Nokia N950 in disk modePali Rohár1-1/+2
2016-12-17cal: Fix memory leakPali Rohár1-2/+3
2016-12-17usb-device: Add another product string for RM-680Aaro Koskinen1-1/+1
2016-12-17cal: Fix check for lseek errorsPali Rohár1-2/+5
2016-12-17all: Enable Large File SupportPali Rohár1-1/+1
2016-12-17all: Fix printing fsblkcnt_t and off_t typesPali Rohár2-2/+2
2016-12-17all: Use #include <sys/sysmacros.h> for major() instead #define _BSD_SOURCEPali Rohár2-12/+2
2016-12-16all: Fix compilation when u_int*_t are not defined and used by usb.hPali Rohár4-12/+13
2016-12-10operations: Fix NULL pointer dereference in dev_boot_devicePali Rohár1-1/+1
This will fix a crash when calling "0xFFFF -b" from Mk II Update mode.
2016-12-10mkii: Fix detection of Update modePali Rohár1-1/+2
2016-12-07usb-device: Do not reattach kernel driver after closing cold flash modePali Rohár1-1/+2
2016-12-07usb-device: Do not print verbose message "Reattach kernel driver to USB ↵Pali Rohár1-2/+0
interface..."
2016-12-07cold-flash: Increase timeout after leaving cold flash modePali Rohár1-1/+1
Switching to NOLO takes about one second and NOLO itself wait another second. So it should be OK.
2016-12-07disk: Do not fail when empty block device is exportedPali Rohár1-2/+4
2016-12-07image: Remove dead code in image_align()Pali Rohár1-4/+1
2016-12-06cold-flash: Show OMAP chip revisionPali Rohár1-7/+11
2016-12-06cal: Style fixPali Rohár1-1/+1
2016-12-06usb-device: Check that we are not using broken libusb-1.0 libraryPali Rohár2-1/+10
2016-12-06all: Compile globally without _GNU_SOURCE, define _BSD_SOURCE or _GNU_SOURCE ↵Pali Rohár4-1/+17
where needed
2016-12-06all: Revert libusb-1.0 supportPali Rohár7-162/+165
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-23usb-device: Fix memory leak when listing devicesPali Rohár1-0/+3