Pali Rohár
|
83bcb7358c
|
Rewrite Makefile, move WITH_DEVICE, WITH_USB and WITH_SQUEUES to Makefile
|
2012-08-11 11:12:58 +02:00 |
|
Pali Rohár
|
67d3e4de70
|
main: Try cold flash again only if it returns -EAGAIN
|
2012-08-11 10:39:52 +02:00 |
|
Pali Rohár
|
8c5590d150
|
cold-flash: Rewrite error messages and return negative error values, -EAGAIN if not in cold flash mode
|
2012-08-11 10:39:11 +02:00 |
|
Pali Rohár
|
cb25a8bd3e
|
main: Move image fitering to functions, do not fail if device or hwrev is not detected
|
2012-08-11 09:54:05 +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
|
e75b963d3a
|
usb-device: Add variable detected_hwrev to struct usb_device_info
|
2012-08-11 09:50:38 +02:00 |
|
Pali Rohár
|
378dfe3162
|
nolo: Implement getting all version strings
|
2012-08-10 22:35:02 +02:00 |
|
Pali Rohár
|
dddf92646d
|
main: Compile only supported options
|
2012-08-10 22:18:33 +02:00 |
|
Pali Rohár
|
791f805fa0
|
main: Implement setting configuration
|
2012-08-10 22:09:31 +02:00 |
|
Pali Rohár
|
5325bfdfd1
|
main: finish device identify
|
2012-08-10 21:54:37 +02:00 |
|
Pali Rohár
|
3d42ebaf73
|
nolo: show note about unimplemented functions
|
2012-08-10 21:54:21 +02:00 |
|
Pali Rohár
|
4ab76a5112
|
global: Fix ERROR_INFO_STR
|
2012-08-10 21:48:17 +02:00 |
|
Pali Rohár
|
f4b0e9b6f3
|
Comment all old code
|
2012-08-10 21:37:37 +02:00 |
|
Pali Rohár
|
6cf03a9e28
|
Rename main2.c to main.c
|
2012-08-10 21:36:46 +02:00 |
|
Pali Rohár
|
ded123141c
|
Remove old main.c code
|
2012-08-10 21:36:03 +02:00 |
|
Pali Rohár
|
8ea3ba3771
|
nolo: Remove old code
|
2012-08-10 21:35:37 +02:00 |
|
Pali Rohár
|
0e0844b78b
|
main: Fail if device is not in NOLO mode, show NOLO version
|
2012-08-10 21:27:18 +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
|
a67a16479c
|
global: Added macro ERROR_RETURN
|
2012-08-10 19:13:56 +02:00 |
|
Pali Rohár
|
24f34d2f55
|
nolo: Prepair new function names
|
2012-08-10 17:19:44 +02:00 |
|
Pali Rohár
|
19a8d76e0c
|
main: Do not enter to usb mode if not needed
|
2012-08-10 17:19:03 +02:00 |
|
Pali Rohár
|
aa89ef8dad
|
usb-device: Update usb interface and alternate number for RX-51 Mk II protocol
|
2012-08-10 15:39:55 +02:00 |
|
Pali Rohár
|
ff7a89b781
|
main: Update help
|
2012-08-10 14:58:54 +02:00 |
|
Pali Rohár
|
8eb58ad08c
|
Move checking for flashing protocol from main to cold-flash
|
2012-08-10 14:56:38 +02:00 |
|
Pali Rohár
|
32f2e53304
|
printf-utils: Added function printf_and_wait
|
2012-08-10 14:47:31 +02:00 |
|
Pali Rohár
|
f79b653523
|
cold-flash: Use struct usb_device_info
|
2012-08-10 13:22:01 +02:00 |
|
Pali Rohár
|
cc6e2dcfcd
|
usb-device: Include once
|
2012-08-10 12:26:13 +02:00 |
|
Pali Rohár
|
adbe2dabad
|
Remove old hexdup.c code
|
2012-08-10 12:23:54 +02:00 |
|
Pali Rohár
|
4b7769a67d
|
Remove old os.h code
|
2012-08-10 12:20:57 +02:00 |
|
Pali Rohár
|
27acbb09a5
|
Fix compilation
|
2012-08-10 12:19:28 +02:00 |
|
Pali Rohár
|
b142205f1c
|
Remove old main.h code
|
2012-08-10 12:14:05 +02:00 |
|
Pali Rohár
|
e4858deccd
|
console: Prepair for new code
|
2012-08-10 12:10:17 +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
|
ad68e324c6
|
Fix ERROR macros
|
2012-08-10 12:01:14 +02:00 |
|
Pali Rohár
|
34b55a222e
|
dump: Prepair for new code
|
2012-08-10 10:49:40 +02:00 |
|
Pali Rohár
|
bc9441ddd6
|
qmode: Prepair for new code
|
2012-08-10 10:39:39 +02:00 |
|
Pali Rohár
|
6e0941a3c4
|
Comment all old code
|
2012-08-09 21:17:45 +02:00 |
|
Pali Rohár
|
603a64757d
|
Remove old serial.c code
|
2012-08-09 21:13:13 +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 |
|
Pali Rohár
|
70c09fb5b7
|
Remove old pieces.c and fpid.c code
|
2012-08-09 20:49:10 +02:00 |
|
Pali Rohár
|
29084d4acf
|
flash: Rewrite flash_image code to use struct * image
|
2012-08-09 20:38:47 +02:00 |
|
Pali Rohár
|
0d76941600
|
Add new code to Makefile
|
2012-08-09 20:30:55 +02:00 |
|
Pali Rohár
|
5dc162bc4a
|
Delete old check_nolo_order code
|
2012-08-09 20:11:25 +02:00 |
|
Pali Rohár
|
564b0715f1
|
Remove old devices.c code
|
2012-08-09 20:04:25 +02:00 |
|
Pali Rohár
|
6e710dcac9
|
Remove old hash.c code
|
2012-08-09 19:52:22 +02:00 |
|
Pali Rohár
|
b2883167d5
|
Rename new fiasco2 to fiasco
|
2012-08-09 19:50:14 +02:00 |
|
Pali Rohár
|
1b99ad115a
|
Remove old fiasco.c code
|
2012-08-09 19:48:21 +02:00 |
|
Pali Rohár
|
9baad78435
|
main: Implement cold flash
|
2012-08-09 19:44:47 +02:00 |
|
Pali Rohár
|
d2ce7052ec
|
fiasco: If image_name_alloc_from_values fails, return -1
|
2012-08-09 19:43:57 +02:00 |
|
Pali Rohár
|
d29c63cac9
|
usb-device: Rename struct members of usb_device_info
|
2012-08-09 19:43:22 +02:00 |
|
Pali Rohár
|
f597e28a87
|
usb-device: Rename usb_wait_for_device to usb_open_and_wait_for_device
|
2012-08-09 18:29:13 +02:00 |
|
Pali Rohár
|
a0eff48f30
|
usb-device: Added PRINTF_ macros for printing and clearing line
|
2012-08-09 18:25:48 +02:00 |
|
Pali Rohár
|
5310efb16c
|
Added new global macros for ERROR/WARNING/VERBOSE, use it
|
2012-08-09 17:50:50 +02:00 |
|
Pali Rohár
|
01239ea839
|
Rename usb_device to usb-device, fix includes
|
2012-08-09 16:13:43 +02:00 |
|
Pali Rohár
|
b4cbab6774
|
main: Implement more options
|
2012-08-09 16:07:48 +02:00 |
|
Pali Rohár
|
366680af1b
|
fiasco: Added function fiasco_print_info, fixed fiasco_free
|
2012-08-09 16:05:44 +02:00 |
|
Pali Rohár
|
4de49acb49
|
image: Added functions image_print_info, image_list_unlink, image_hwrev_is_valid
|
2012-08-09 16:01:36 +02:00 |
|
Pali Rohár
|
238f92ab25
|
device: Fix device_from_string
|
2012-08-09 16:00:37 +02:00 |
|
Pali Rohár
|
71b63c29d3
|
cold-flash: Remove usb_detach_kernel_driver_np and usb_claim_interface, now handled in usb_device.c
|
2012-08-08 21:39:38 +02:00 |
|
Pali Rohár
|
e7de4ffe34
|
main: Start implementing new main.c
|
2012-08-08 21:33:53 +02:00 |
|
Pali Rohár
|
b581c7f25d
|
image: call image_align after checking hash
|
2012-08-08 20:39:27 +02:00 |
|
Pali Rohár
|
d10814e808
|
main: updated prepaired options
|
2012-08-08 18:11:26 +02:00 |
|
Pali Rohár
|
b582869208
|
Added enum DEVICE_COUNT and IMAGE_COUNT, Added function device_to_long_string
|
2012-08-08 18:10:53 +02:00 |
|
Pali Rohár
|
dd2c6b7f18
|
usb_device: Added code for searching usb devices
|
2012-08-08 17:02:31 +02:00 |
|
Pali Rohár
|
5b17b8e398
|
cold-flash: Fix usb_set_configuration and usb_claim_interface, Update information about OMAP boot messages, implement function leave_cold_flash
|
2012-08-08 16:57:39 +02:00 |
|
Pali Rohár
|
d96a54994e
|
Added missing license headers
|
2012-08-08 11:44:50 +02:00 |
|
Pali Rohár
|
b80dfdc657
|
cold-flash: prepair cold-flash code
|
2012-08-08 11:33:08 +02:00 |
|
Pali Rohár
|
d06e88ce39
|
image: image_type_from_data - added support for rx-51 images
|
2012-08-07 21:52:16 +02:00 |
|
Pali Rohár
|
df9fae0c0e
|
fiasco: after fiasco_unpack return back to origin directory
|
2012-08-07 21:18:17 +02:00 |
|
Pali Rohár
|
3fed685e79
|
image: function image_list_add will add image to the end of list
|
2012-08-07 20:52:37 +02:00 |
|
Pali Rohár
|
ef4a506905
|
fiasco: fix creating fiasco image
|
2012-08-07 20:41:43 +02:00 |
|
Pali Rohár
|
1a7d30cebf
|
image: Implement image_hash_from_data
|
2012-08-07 20:10:48 +02:00 |
|
Pali Rohár
|
ea52c0509a
|
fiasco: remove align code (now handled by image_read)
|
2012-08-07 18:43:52 +02:00 |
|
Pali Rohár
|
01726cddc5
|
image: align image only if needed
|
2012-08-07 18:42:05 +02:00 |
|
Pali Rohár
|
cd52b36d38
|
image: Added support for aligning images (kernel and mmc), function image_read will fill buf with 0xFF
|
2012-08-07 18:37:16 +02:00 |
|
Pali Rohár
|
7ab41812ea
|
fiasco: Implemented unpacking to directory
|
2012-08-07 17:31:53 +02:00 |
|
Pali Rohár
|
2cab7a9c80
|
fiasco: fix memory errors, prepaire code for unpacking
|
2012-08-07 17:13:06 +02:00 |
|
Pali Rohár
|
3ead19bdea
|
image: Implement image_missing_values_from_name and image_name_alloc_from_values
|
2012-08-07 17:10:49 +02:00 |
|
Pali Rohár
|
03eeca994d
|
Added new files device.c and device.h
|
2012-08-07 16:57:55 +02:00 |
|
Pali Rohár
|
b596e97926
|
Compile fixes
|
2012-08-07 14:53:52 +02:00 |
|
Pali Rohár
|
589443a356
|
fiasco: align also kernel
|
2012-08-07 14:20:54 +02:00 |
|
Pali Rohár
|
869a872897
|
Implement fiasco functions
|
2012-08-07 14:01:15 +02:00 |
|
Pali Rohár
|
48fc14c913
|
Implement image functions
|
2012-08-07 14:00:50 +02:00 |
|
Pali Rohár
|
37f5d06973
|
Update device table
|
2012-08-07 13:57:54 +02:00 |
|
Pali Rohár
|
f8d3fa0ecd
|
Prepaired new code for fiasco images
|
2012-07-14 10:33:15 +02:00 |
|
Pali Rohár
|
f62628bf29
|
Update fiasco documentation
|
2012-07-14 09:22:47 +02:00 |
|
Pali Rohár
|
8301455a5b
|
Align also kernel image
|
2012-07-14 09:21:34 +02:00 |
|
Pali Rohár
|
860d71d18a
|
Fix prepaired new 0xFFFF options
|
2012-06-24 15:00:52 +02:00 |
|
Pali Rohár
|
48384d4e47
|
Rename n700 --> 770
|
2012-06-24 11:43:11 +02:00 |
|
Pali Rohár
|
ce177a9588
|
Update usb device table
|
2012-06-24 11:42:41 +02:00 |
|
Pali Rohár
|
2421b9f6c2
|
fiasco - remove dead code
|
2012-06-23 21:26:30 +02:00 |
|
Pali Rohár
|
eac07b18d9
|
Added option to use only image pieces for specific device / hw revision
|
2012-06-23 18:49:07 +02:00 |
|
Pali Rohár
|
418f3cfd4b
|
Cold Flasher - Remove duplicate usb code, prepair for flashing form fiasco images
|
2012-06-23 18:19:08 +02:00 |
|
Pali Rohár
|
3f0d6f85d3
|
Import my open source tool for Cold Flashing: cold-flasher-rx51.c
|
2012-06-23 18:17:49 +02:00 |
|
Pali Rohár
|
027a6d9a18
|
Fix compilation warnings
|
2012-06-23 17:39:33 +02:00 |
|
Pali Rohár
|
58c0dbe275
|
Update fiasco documentation, now is on 95% complete
|
2012-06-23 17:03:25 +02:00 |
|
Pali Rohár
|
2110196958
|
Fiasco image: Allow to specify device string without hw revision (then image is valid for all hw revisions). Generating images should be complete!
|
2012-06-23 17:01:48 +02:00 |
|
Pali Rohár
|
9195f3c7da
|
Fixed creating fiasco images, added param version: for specifing sw-ver. Now generated fiasco images are valid for nokia flasher.
|
2012-06-23 16:54:05 +02:00 |
|