summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-05-01local: Implement local flashing via nandwritePali Rohár1-8/+162
2021-05-01disk: Implement flashing mmc imagesPali Rohár2-15/+75
2021-05-01local: Rename nanddump structures to just nandPali Rohár1-22/+22
They can be used also for other nand commands like nandwrite.
2021-05-01local: Parse real kernel size from NOLO!img header when dumping kernel imagePali Rohár1-36/+64
Kernel image is prepended with 2kB header with NOLO!img magic and contains size of the kernel image. 0xFFFF until now just skipped this header. With this change is reads from it real kernel image size and correctly truncate final dumped image for 0xFFFF -e/-E dump operation.
2021-05-01local: Fix calling nanddumpPali Rohár2-5/+4
In last 15 years nanddump changed its command line arguments. Argument -b (omit bad blocks) was completely removed and argument -o (omit oob data) changed its meaning to "include" oob data. So for compatibility with all nanddump versions, do not use argument -b and instead of -o use argument --omitoob which is present in all nanddump versions and has same meaning to omit oob data. This change should fix dumping firmware files on devices with recent versions of nanddump.
2021-01-05Release version 0.90.9Pali Rohár1-1/+1
2021-01-05usb-device: Specify alternate id for cold flashingPali Rohár1-1/+1
2021-01-05usb-device: Add N900 U-Boot mode (TTY via USB) to device listPali Rohár1-1/+2
2021-01-05usb-device: Check that usb device provides required interface/alternate settingsPali Rohár1-0/+12
2021-01-05usb-device: Remove dead usb_set_configuration() codePali Rohár2-25/+14
It is on worng place, must be called prior usb_claim_interface() and currently no device use it.
2021-01-05usb-device: Remove 0x0421/0x3f00 from listPali Rohár1-1/+0
It was some internal Nokia development board with just temporary device id. Not a real RX-34 device.
2021-01-05usb-device: Fix interface id for Nokia N9 Sync mode and disable it as it use ↵Pali Rohár1-1/+1
unsupported ADL protocol
2021-01-05usb-device: Fix iterating over supported list of devicesPali Rohár1-2/+2
2021-01-05disk: Fix detecting Nokia N9 devicePali Rohár1-2/+2
2020-12-26usb-device: Add device ids for Nokia N950 and Nokia N9Pali Rohár1-3/+10
2020-11-29usb-device: Fix range or printable charactersPali Rohár1-1/+1
2020-11-29usb-device: Fix error message for usb_set_altinterfacePali Rohár1-1/+1
2020-11-17Travis-ci: added support for ppc64leDevendranath Thadi1-0/+4
Signed-off-by: Devendranath Thadi <devendranath.thadi3@gmail.com>
2020-04-25all: Fix delays for all operationsPali Rohár5-10/+15
2020-01-15local: Do not show error message about missing dump files which were skippedPali Rohár1-1/+3
2019-09-30disk: Check if reading from block device failedPali Rohár1-0/+5
2019-09-30RewrapSevan Janiyan1-10/+10
2019-09-30GrammarSevan Janiyan1-8/+8
2018-07-08Release version 0.80.8Pali Rohár1-1/+1
2018-04-19usb-device: restore N800 supportAaro Koskinen1-1/+1
N800 has stopped working at some point, not sure why: $ 0xFFFF -I [...] Waiting for USB device... Found USB device: SU-18/RX-44/RX-48/RX-51/RM-680 (0x421:0x105) in NOLO mode USB device product string: Nokia N800 (Update mode) USB device serial number string: (not detected) Detected USB device: RX-34 Error: Device mishmash Add the device to 0421:0105 list, and it works again: Waiting for USB device... Found USB device: SU-18/RX-34/RX-44/RX-48/RX-51/RM-680 (0x421:0x105) in NOLO mode USB device product string: Nokia N800 (Update mode) USB device serial number string: (not detected) Detected USB device: RX-34 Initializing NOLO... Device: RX-34 [...]
2018-02-26travis: Do not run Coverity Scan jobs on non-master branches and in pull ↵Pali Rohár1-0/+1
requests
2018-02-08disk: Fix detection of busnumPali Rohár1-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-08disk: Remove remaining ENOMEDIUMPali Rohár1-1/+1
2018-02-08disk: Fix swapping maj1:min1 and maj2:min2Pali Rohár1-1/+1
2018-02-08main: Print message after dumping finishPali Rohár1-0/+2
2018-02-08disk: Fix compile warning: comparison between signed and unsigned integer ↵Pali Rohár1-1/+1
expressions
2018-02-08disk: Open whole block device with O_NONBLOCKPali Rohár1-6/+4
This would simplify handling of ENOMEDIUM error.
2018-02-08disk: Ensure that maj1:min1 is first device and maj2:min2 is second devicePali Rohár1-0/+11
2017-08-30correct spelling mistakeEdward Betts1-1/+1
2017-07-09disk: After opening blkdev, check that it is really block devicePali Rohár1-0/+4
2017-07-09disk: Close device file handle when freeing structuresPali Rohár3-1/+12
2017-07-09disk: Fix detection of correct device in disk_open_dev()Pali Rohár1-20/+38
2017-07-06disk: Choose correct partition in disk_open_dev()Pali Rohár1-2/+8
2017-06-17main: Use image_alloc_from_fd() to fix race condition between calling stat ↵Pali Rohár1-7/+15
and opening file
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-03-03travis: Fix coverity jobPali Rohár1-1/+1
2017-02-26travis: Simplify configuration, move coverity_scan to matrixPali Rohár1-20/+22
2017-02-26travis: Run on container-based infrastructurePali Rohár1-0/+1
2017-02-26travis: Use apt addon instead sudoPali Rohár1-2/+3
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
2017-01-08travis: Enable clang and use separate job for CoverityPali Rohár1-6/+7