Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-05-01 | disk: Respect -s (simulate) flag for dump -e operation | Pali Rohár | 1 | -14/+22 | |
2021-05-01 | disk: Implement flashing mmc images | Pali Rohár | 1 | -14/+74 | |
2021-01-05 | disk: Fix detecting Nokia N9 device | Pali Rohár | 1 | -2/+2 | |
2019-09-30 | disk: Check if reading from block device failed | Pali Rohár | 1 | -0/+5 | |
2018-02-08 | disk: Fix detection of busnum | Pali Rohár | 1 | -1/+9 | |
Unpatched version of libusb on linux platform does not set location, but Debian's version of libusb has a patch which set it. For compatibility with other systems without unpatched libusb version, read busnum from dirname which seems to be always set. Fixes: https://github.com/pali/0xFFFF/issues/5 | |||||
2018-02-08 | disk: Remove remaining ENOMEDIUM | Pali Rohár | 1 | -1/+1 | |
2018-02-08 | disk: Fix swapping maj1:min1 and maj2:min2 | Pali Rohár | 1 | -1/+1 | |
2018-02-08 | disk: Fix compile warning: comparison between signed and unsigned integer ↵ | Pali Rohár | 1 | -1/+1 | |
expressions | |||||
2018-02-08 | disk: Open whole block device with O_NONBLOCK | Pali Rohár | 1 | -6/+4 | |
This would simplify handling of ENOMEDIUM error. | |||||
2018-02-08 | disk: Ensure that maj1:min1 is first device and maj2:min2 is second device | Pali Rohár | 1 | -0/+11 | |
2017-07-09 | disk: After opening blkdev, check that it is really block device | Pali Rohár | 1 | -0/+4 | |
2017-07-09 | disk: Close device file handle when freeing structures | Pali Rohár | 1 | -0/+7 | |
2017-07-09 | disk: Fix detection of correct device in disk_open_dev() | Pali Rohár | 1 | -20/+38 | |
2017-07-06 | disk: Choose correct partition in disk_open_dev() | Pali Rohár | 1 | -2/+8 | |
2017-01-09 | disk: Remove check which is always false | Pali Rohár | 1 | -5/+0 | |
Type unsigned long long int according to C99 can store at least 2^64-1. | |||||
2016-12-23 | disk: Fix for RM-680 | Pali Rohár | 1 | -2/+2 | |
2016-12-23 | disk: Check for ENOMEDIUM when partition is required | Pali Rohár | 1 | -2/+12 | |
2016-12-17 | all: Use #include <sys/sysmacros.h> for major() instead #define _BSD_SOURCE | Pali Rohár | 1 | -6/+1 | |
2016-12-07 | disk: Do not fail when empty block device is exported | Pali Rohár | 1 | -2/+4 | |
2016-12-06 | all: Compile globally without _GNU_SOURCE, define _BSD_SOURCE or _GNU_SOURCE ↵ | Pali Rohár | 1 | -0/+6 | |
where needed | |||||
2016-12-06 | all: Revert libusb-1.0 support | Pali Rohár | 1 | -10/+4 | |
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-05-12 | disk: Fix detection of MyDocs partition in DISK RAW mode for non RX-51 devices | Pali Rohár | 1 | -10/+28 | |
2016-02-12 | disk: Use correct libusb function which returns Linux devnum value | Pali Rohár | 1 | -1/+1 | |
It is libusb_get_device_address() and not libusb_get_port_number() | |||||
2016-01-23 | all: Rename variable readed to sent | Pali Rohár | 1 | -6/+6 | |
2016-01-23 | all: Switch to libusb-1.0 | Sebastian Reichel | 1 | -4/+10 | |
libusb 0.1 is deprecated. This updates 0xFFFF to use the newer libusb 1.0 API instead. | |||||
2016-01-13 | disk: dirent.h is required for DIR | Sebastian Reichel | 1 | -0/+1 | |
Without <dirent.h> include newer gcc releases throw warnings about undefined "DIR". | |||||
2016-01-13 | all: free() is defined in stdlib.h | Sebastian Reichel | 1 | -0/+1 | |
Without including <stdlib.h> newer gcc releases throw warnings about undefined free(). | |||||
2016-01-10 | all: Check for return value of lseek | Pali Rohár | 1 | -1/+4 | |
2014-11-26 | all: Fix overflow in shift operators | Pali Rohár | 1 | -1/+1 | |
2014-11-26 | disk: Enable Linux code only on Linux | Pali Rohár | 1 | -1/+41 | |
2014-11-21 | disk: Implement disk_dump_image() | Pali Rohár | 1 | -5/+4 | |
2014-11-21 | disk: Find emmc device in disk_init() | Pali Rohár | 1 | -1/+88 | |
2014-11-21 | disk: Ignore '.' and '..' when listing directory | Pali Rohár | 1 | -0/+3 | |
2014-11-21 | disk: Remove old disk functions (they are not used anymore) | Pali Rohár | 1 | -108/+0 | |
2014-11-21 | disk: Implement new functions for raw disk access | Pali Rohár | 1 | -0/+186 | |
2014-11-18 | disk: Implement init and get_device functions | Pali Rohár | 1 | -5/+2 | |
2014-05-10 | all: Fix typo0.6 | Pali Rohár | 1 | -1/+1 | |
2012-11-24 | disk: Added function disk_dump_raw for dumping raw block device | Pali Rohár | 1 | -0/+121 | |
2012-11-20 | disk: Fix unused parameter warnings | Pali Rohár | 1 | -0/+9 | |
2012-11-20 | disk: Fix return values | Pali Rohár | 1 | -1/+13 | |
2012-11-15 | Added template for USB RAW disk mode | Pali Rohár | 1 | -0/+46 | |