Commit Graph
41 Commits
Author SHA1 Message Date
Pali Rohár db4c7c1951 all: Use internal MEMMEM instead gnu memem
It is used only on small strings, so it is fast enough
2014-11-26 16:29:53 +01:00
Pali Rohár 52efd5a404 nolo: Check for return buffer size 2014-11-26 15:47:21 +01:00
Pali Rohár bc9f42f559 all: Use nanosleep (via SLEEP) instead usleep 2014-11-26 15:46:03 +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 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 f0712d5b23 all: Replace strlen() call on const string with sizeof()-1 2014-10-19 20:23:21 +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 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 1bcaf8f79c nolo: Fix possible reading from uninitialized memory 2013-01-05 13:31:58 +01:00
Pali Rohár 69b5278710 nolo: Added support for initfs version string 2012-11-24 01:02:45 +01:00
Pali Rohár 29c2b60670 nolo: Fix unused parameter warnings 2012-11-20 21:51:37 +01:00
Pali Rohár e66d87fde0 Added macro PRINTF_ERROR_RETURN which working with progressbar 2012-09-23 17:09:27 +02:00
Pali Rohár 26c1c2914e nolo: In nolo_init check if device match to usb device, remove detected_ prefix 2012-09-23 14:02:52 +02:00
Pali Rohár d9e6d47f1b nolo: Fixed nolo_get_string 2012-09-23 13:59:31 +02:00
Pali Rohár 863cf8134a nolo_get_hwrev and nolo_set_hwrev - use int16_t 2012-09-23 12:24:09 +02:00
Pali Rohár 6c220a45fd nolo: nolo_boot_device - cmdline is const 2012-09-23 12:23:40 +02:00
Pali Rohár 7868ad0c71 nolo: Fix cmt info and implement nolo_set_hwrev 2012-09-23 01:48:44 +02:00
Pali Rohár c0e490cc30 nolo: Implemented nolo_set_sw_ver 2012-09-23 00:20:10 +02:00
Pali Rohár 15b05dce75 nolo: Fix nolo_send_image 2012-09-22 23:59:15 +02:00
Pali Rohár 6d69da6cd1 nolo: Show progressbar and wait when flashing cmt 2012-09-22 23:02:35 +02:00
Pali Rohár ddb3406855 nolo: Implement loading and flashing images 2012-09-22 22:29:55 +02:00
Pali Rohár 11410296a7 nolo: Implement nolo_set_string and nolo_get_string 2012-09-22 22:29:05 +02:00
Pali Rohár d35d6142ca nolo: Respect simulate flag 2012-08-12 12:21:49 +02:00
Pali Rohár 8a21acc9cc nolo: Merge functions nolo_boot and nolo_boot_to_update_mode to nolo_boot_device 2012-08-11 15:24:02 +02:00
Pali Rohár 8c1cfe3a6e nolo: Implement nolo_boot_to_update_mode 2012-08-11 14:53:22 +02:00
Pali Rohár 868bee0413 nolo: Implement setting and getting R&D flags, remove old code 2012-08-11 14:40:08 +02:00
Pali Rohár 3c4c0088f0 nolo: Make sure that nolo_get_device return valid or unknown device 2012-08-11 09:51:13 +02:00
Pali Rohár 378dfe3162 nolo: Implement getting all version strings 2012-08-10 22:35:02 +02:00
Pali Rohár 3d42ebaf73 nolo: show note about unimplemented functions 2012-08-10 21:54:21 +02:00
Pali Rohár 8ea3ba3771 nolo: Remove old code 2012-08-10 21:35:37 +02:00
Pali Rohár a1d95afbf7 Fix NOLO communication 2012-08-10 21:23:19 +02:00
Pali Rohár dc8844f112 nolo: Start implementing new nolo code 2012-08-10 19:14:09 +02:00
Pali Rohár 24f34d2f55 nolo: Prepair new function names 2012-08-10 17:19:44 +02:00
Pali Rohár adbe2dabad Remove old hexdup.c code 2012-08-10 12:23:54 +02:00
Pali Rohár 27acbb09a5 Fix compilation 2012-08-10 12:19:28 +02:00
Pali Rohár 3ce8ca13f1 Rename utils.c to printf-utils.c, remove unused functions 2012-08-10 12:03:30 +02:00
Pali Rohár 2002ba27a2 Move query.c into nolo.c 2012-08-09 21:07:30 +02:00
Pali Rohár 01a7da1d95 Rename flash.c to nolo.c 2012-08-09 21:02:20 +02:00