Commit Graph
467 Commits
Author SHA1 Message Date
Pali Rohár 5611e8a68c operations: When reboot is not supported use usb_switch_to_nolo() 2014-11-18 23:51:48 +01:00
Pali Rohár bc4aeefab5 usb-device: Do not claim USB interface in raw disk mode 2014-11-18 23:51:04 +01:00
Pali Rohár ea980459f1 operations: Enable RAW disk 2014-11-18 23:31:49 +01:00
Pali Rohár c23e8df260 usb-device: Enable also RAW disk 2014-11-18 23:31:28 +01:00
Pali Rohár 1a59034571 operations: Fix code to work also with Mk II protocol 2014-11-18 23:27:21 +01:00
Pali Rohár feb2d3ac6a usb-device: Rename usb_switch_to_mkii to usb_switch_to_update 2014-11-18 23:26:50 +01:00
Pali Rohár 78fc280577 usb-device: Enable Mk II protocol 2014-11-18 23:26:19 +01:00
Pali Rohár ea9f9d5a69 mkii: Unfinished code for image flashing 2014-11-18 23:25:25 +01:00
Pali Rohár 3dc90e643c mkii: Implement device reboot 2014-11-18 23:24:55 +01:00
Pali Rohár 351bfbd055 mkii: Implement device initialization 2014-11-18 23:24:02 +01:00
Pali Rohár b286e79ddb cold-flash: struct xloader_msg must be packed 2014-11-18 23:19:54 +01:00
Pali Rohár e443393aa5 fiasco: Fix possible memory leak 2014-11-18 20:31:16 +01:00
Pali Rohár 8c788bad62 nolo: Do not call NOLO_ERROR_LOG when not needed 2014-11-18 20:15:14 +01:00
Pali Rohár 142ef93ddc fiasco: Fix initializing variables 2014-11-18 20:14:23 +01:00
Pali Rohár 89566f559b fiasco: Fix memory leaks 2014-11-18 18:49:32 +01:00
Pali Rohár cfd3b662a5 Makefile: Fix compilation of libusb-sniff libraries 2014-11-18 18:09:30 +01:00
Pali Rohár 65888448bf main: When doing normal flash filter all 2nd images
This will fix infinite loop after successfull fiasco image flash
2014-11-18 18:09:06 +01:00
Pali Rohár 26b6f86f84 nolo: Fix parsing cmt status
Now flashing cmt images should work without problems
2014-11-18 18:07:59 +01:00
Pali Rohár f3d203c205 main: Correctly set and free processed images
This will fix more memory corruptions (specially at quit).
2014-11-18 18:06:22 +01:00
Pali Rohár 79a171e823 printf-utils: Fix division by zero if total is zero 2014-11-18 18:04:45 +01:00
Pali Rohár 99608d2b3f usb-device: Reattach kernel driver 2014-11-09 21:51:51 +01:00
Pali Rohár f0712d5b23 all: Replace strlen() call on const string with sizeof()-1 2014-10-19 20:23:21 +02:00
Pali Rohár 8d52950ede main: Use snprintf instead sprintf and initialize buffer to NULL term 2014-10-19 20:18:47 +02:00
Pali Rohár a8986bf631 local: Check return value of snprintf 2014-10-19 20:18:02 +02:00
Pali Rohár 9a1f63c5ae nolo: Check return value of sprintf 2014-10-19 20:17:29 +02:00
Pali Rohár b1564909d7 nolo: Fix size of snprintf buffer 2014-10-19 20:17:06 +02:00
Pali Rohár d6eba11357 fiasco: fiasco_alloc_from_file: check if hwrevs has enough size 2014-10-19 18:26:47 +02:00
Pali Rohár c88e5264c9 main: Update usage 2014-09-29 00:48:37 +02:00
Pali Rohár 84fc04f647 main: Implement -t (filter by type) for -e (dump images) 2014-09-29 00:48:13 +02:00
Pali Rohár 03c6c3899f main: Fix memory corruption 2014-09-29 00:45:17 +02:00
Pali Rohár 1610debbd5 usb-device: Fix memory leak 2014-09-29 00:44:19 +02:00
Pali Rohár 4356b2124e local: Fix memory corruptions 2014-09-29 00:43:54 +02:00
Pali Rohár dfc021d7c4 image: Fix memory leaks 2014-09-29 00:43:15 +02:00
Pali Rohár 23b916bcc9 fiasco: Call free at correct place 2014-09-29 00:42:52 +02:00
Pali Rohár 46750e99d0 local: Fix truncating file 2014-06-19 13:27:34 +02:00
Pali Rohár f898ac4411 all: Fix typo 2014-05-10 22:39:47 +02:00
Pali Rohár c6ee6a8e68 Makefile: Fix depends for manpage 2013-09-23 11:41:27 +02:00
Pali Rohár 97eb4484d9 main: Fix typo 2013-09-23 11:32:46 +02:00
Pali Rohár d247e9bdc8 mangen: Add backslash before hyphen 2013-09-23 11:21:24 +02:00
Sebastian Reichel c5d3897e77 mangen: Fix manpage footer for terminals with 80 columns
Signed-off-by: Sebastian Reichel <sre@ring0.de>
2013-09-23 11:10:09 +02:00
Pali Rohár 3b68eaf303 Makefile: Add examples to manpage 2013-09-21 11:10:44 +02:00
Pali Rohár 75abff061a main: Fix typo in help 2013-09-21 11:09:11 +02:00
Pali Rohár 17dd99f368 local: Fix searching for MyDocs mmc device
Device name in /sys/block/ could not be same as in /dev/ if udev renaming it.
And this is real problem on Maemo without special kernel patch when device
booting with inserted SD card. So read major and minor numbers from /sys/
and find coresponding device in /dev/. These two numbers will be same after
renaming device too.
2013-09-20 18:12:28 +02:00
Pali Rohár 89bc4a10a3 usb-device: Do not use sighandler_t 2013-09-20 18:08:31 +02:00
Pali Rohár 61a23aff66 printf-utils: Add missing includes 2013-09-20 18:08:01 +02:00
Pali Rohár de32a6140a operations: Fix crash when no usb device is detected 2013-09-07 22:50:37 +02:00
Pali Rohár 55bfee79a2 usb-device: Handle Ctrl+C SIGINT and quit wait loop 2013-09-07 22:49:08 +02:00
Pali Rohár 287cb10250 usb-device: Remove useless check for LIBUSB_HAS_GET_DRIVER_NP 2013-09-07 22:31:39 +02:00
Pali Rohár 08e53f404d printf-utils: Remove dead HAVE_SQUEUE code 2013-09-07 22:30:06 +02:00
Pali Rohár 1b393d1e41 local: Rename macro local_cal_store to local_cal_readcopy 2013-09-07 22:16:47 +02:00