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
d88176dbef
travis: Add .travis.yml for coverity
2014-09-29 00:03:59 +02:00
Pali Rohár
46750e99d0
local: Fix truncating file
2014-06-19 13:27:34 +02:00
Pali Rohár
193e01aa66
debian: Remove debian packaging
2014-06-18 12:42:55 +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
1096c8b426
doc: Fix typo
2013-09-23 11:33:03 +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
Pali Rohár
3b68eaf303
Makefile: Add examples to manpage
2013-09-21 11:10:44 +02:00
Pali Rohár
62e26a81aa
doc: Update examples
2013-09-21 11:10:13 +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
9b68e43ac1
TODO: Add TODO file
2013-09-07 22:51:02 +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
f3870fd788
debian: Update description
2013-09-07 22:17:35 +02:00
Pali Rohár
1b393d1e41
local: Rename macro local_cal_store to local_cal_readcopy
2013-09-07 22:16:47 +02:00
Pali Rohár
1c1bfb9c78
image: Fix buffer pointer in function image_hash_from_data
2013-04-21 17:53:34 +02:00
Pali Rohár
0cd7a0c2cc
image: image_read returns unsigned type
2013-04-21 17:52:51 +02:00
Pali Rohár
79832d9289
local: Fix filename for local mmc dump
2013-04-21 17:52:14 +02:00
Pali Rohár
796dc3a677
Makefile: Add support for cross compile
2013-04-21 17:07:01 +02:00
Pali Rohár
1c20e5ff5f
local: Simplify nanddump code
2013-04-21 16:36:30 +02:00
Pali Rohár
fbd23222b1
local: Add nanddump table for RX-44 and RX-48
2013-04-21 16:34:43 +02:00
Pali Rohár
47bdc71eea
debian: Add debian packaging
2013-04-07 15:21:41 +02:00
Pali Rohár
d9e43ef41c
doc: Add examples
2013-04-07 15:16:50 +02:00
Pali Rohár
3d914ce22b
doc: Remove usage (now replaced by autogenerated manpage)
2013-04-07 14:59:07 +02:00
Pali Rohár
2b80f8e620
Makefile: Add libusb-sniff library rules
2013-04-07 14:47:52 +02:00
Pali Rohár
0df9ca3e59
Makefile: Remove dependency on libm.so
2013-04-07 14:40:29 +02:00
Pali Rohár
3637723661
main: Fix compile warning: declared with attribute warn_unused_result
2013-04-07 14:40:05 +02:00
Pali Rohár
a02caaac15
printf-utils: Fix compile warning: declared with attribute warn_unused_result
2013-04-07 14:39:45 +02:00
Pali Rohár
a1febdd2ea
local: Fix compile warning: declared with attribute warn_unused_result
2013-04-07 14:39:26 +02:00
Pali Rohár
848e3fe06c
device: Remove dependency on log10, max value of uint16_t is 5
2013-04-07 14:38:41 +02:00
Pali Rohár
eb97fad2a7
usb-device: Disable Mk II protocol and RAW disk because are not implemented yet
2013-04-07 14:24:31 +02:00
Pali Rohár
7de5d7fd92
main: Fix help title
2013-04-07 14:23:48 +02:00
Pali Rohár
032538ec5a
usb-device: Fix crashing when accessing out of global array usb_flash_protocols in function usb_flash_protocol_to_string
2013-04-07 14:23:26 +02:00
Pali Rohár
2c34ec70d2
Makefile: Add mangen rules
2013-04-07 14:12:04 +02:00
Pali Rohár
5a6965afef
mangen: Generate manpage from 0xFFFF -h output
2013-04-07 14:11:52 +02:00
Pali Rohár
acf7e1cad7
README: Update info
2013-04-07 14:10:54 +02:00
Pali Rohár
37844a6b9a
main: Fix memory corruption when loading/flashing FIASCO images
2013-04-06 16:04:08 +02:00
Pali Rohár
5c90f39f6e
image: Do not call image_free on NULL pointer
2013-02-25 11:35:08 +01:00
Pali Rohár
5ca1e0c899
nolo: Show only first 20 error messages, fix possible infinity loop
2013-02-25 11:32:28 +01:00
Pali Rohár
b997951f97
nolo: Respect simulate flag
...
* Do not flash images
* Do not write strings
2013-02-25 11:30:57 +01:00
Pali Rohár
22f71b0f25
nolo: Implement NOLO error log, for each failed usb operation print error from NOLO
...
* When some usb operation failed, NOLO adding string error to log
* Error log can be transfered via usb_control_msg function
2013-02-04 02:46:00 +01:00
Pali Rohár
f96a530392
doc/local-flash: Add info about ubi on n900
2013-02-01 13:42:14 +01:00
Pali Rohár
3e17c94722
doc/dumping: Add info about naddump
2013-02-01 13:41:53 +01:00
Pali Rohár
1eef797e29
local: Fix initfs nand partition which is without NOLO header, rename variable nanddump_n900 to nanddump_rx51
2013-02-01 13:19:35 +01:00
Pali Rohár
62bb8e4e28
Makefile: Add $(BIN) to destination in make install
2013-01-24 10:52:34 +01:00
Pali Rohár
2f7bab98bf
Makefile: Fix make install
2013-01-24 01:48:19 +01:00
Pali Rohár
3480526cde
main: Fix loading kernel & initfs images
2013-01-12 14:26:47 +01:00
Pali Rohár
7dd8fdb560
main: In load mode, do not set kernel or initfs image more times
2013-01-11 21:56:33 +01:00
Pali Rohár
1bcaf8f79c
nolo: Fix possible reading from uninitialized memory
2013-01-05 13:31:58 +01:00
Pali Rohár
e362f3cab9
Fix crashing when accessing out of global arrays
2013-01-05 12:11:03 +01:00
Pali Rohár
9ea9bea096
Fix Makefile
2012-11-25 23:05:04 +01:00
Pali Rohár
1e84b07b39
Update doc
2012-11-25 22:57:04 +01:00
Pali Rohár
e205b47789
Update INSTALL and README, added AUTHORS
2012-11-25 21:18:27 +01:00
Pali Rohár
1edbc5e52e
Update Makefiles
2012-11-25 21:15:35 +01:00
Pali Rohár
0629204d39
Remove old mtd headers from tree
2012-11-25 20:59:32 +01:00
Pali Rohár
a01de09ca5
Remove old console prompt from tree
2012-11-25 20:59:10 +01:00
Pali Rohár
355fe9dc62
Remove old queue mode from tree
2012-11-25 20:58:28 +01:00
Pali Rohár
857123e9e4
main: Remove console prompt and shared queue mode
2012-11-25 20:57:11 +01:00
Pali Rohár
edb4793863
Remove old gui from tree
2012-11-25 20:54:22 +01:00
Pali Rohár
880a3e0846
Remove old logotool from tree
2012-11-25 20:52:16 +01:00
Pali Rohár
9833f94dad
Remove old man pages from tree
2012-11-25 20:51:18 +01:00
Pali Rohár
cffeb329c4
Remove libusb from tree
2012-11-25 20:49:10 +01:00
Pali Rohár
4f6eb6e936
local: Read from CAL also overwritten hw revision
2012-11-24 15:42:34 +01:00
Pali Rohár
1776315097
device: Fix memory corruption in device_list_alloc_to_bufs
2012-11-24 12:55:48 +01:00
Pali Rohár
def1d49ab4
device: Fix memory corruption, allocate enought memory for device_list_alloc_to_bufs
2012-11-24 12:39:47 +01:00
Pali Rohár
3e863759d3
device: Fix memory corruption, do not call log10(0)
2012-11-24 12:38:56 +01:00
Pali Rohár
87202c38a0
main: After dumping rename image to standardized name
2012-11-24 11:38:15 +01:00
Pali Rohár
246394d25b
local: Use disk_dump_raw for dumping mmc image, use linux sysfs for finding MyDocs device
2012-11-24 11:09:46 +01:00
Pali Rohár
6ecc3e2a80
local: Fix default value for usb_host_mode and root_device, fix align for mmc, remove empty dumps
2012-11-24 11:08:25 +01:00
Pali Rohár
9164f331a3
disk: Added function disk_dump_raw for dumping raw block device
2012-11-24 11:06:26 +01:00
Pali Rohár
d5ff815e72
main: When dumping, store image versions to fiasco image
2012-11-24 02:44:57 +01:00
Pali Rohár
8c624670cc
main: Added support for initfs version string (param -T)
2012-11-24 01:04:02 +01:00
Pali Rohár
51072eb40a
operations: Added support for initfs version string
2012-11-24 01:03:27 +01:00
Pali Rohár
bd54b19bbf
mkii: Added template for initfs version string
2012-11-24 01:03:06 +01:00
Pali Rohár
69b5278710
nolo: Added support for initfs version string
2012-11-24 01:02:45 +01:00
Pali Rohár
2e78262c10
local: Use in-tree CAL parser
2012-11-24 01:01:53 +01:00
Pali Rohár
c03e01879e
cal: Added CAL parser from Calvaria
2012-11-24 00:54:01 +01:00
Pali Rohár
9087b564ba
local: Fix image dumping (now dumping on N900 working)
2012-11-23 22:09:10 +01:00
Pali Rohár
8084f68b50
local: Fix device detection
2012-11-23 22:08:45 +01:00
Pali Rohár
1ebc2b8308
image: Align all images (not only mmc and kernel)
2012-11-23 22:07:48 +01:00
Pali Rohár
ae03494a73
main: Fix memory corruption
2012-11-21 14:54:24 +01:00