60 Commits

Author SHA1 Message Date
70457ff70a
Small fixes. 2019-09-10 16:42:11 +02:00
aca94f49dc
Also added WebUpdater request. 2019-09-10 16:32:53 +02:00
b5b6038849
Started support for querying update servers. 2019-09-10 05:00:35 +02:00
912dc50ff4
Added few devices. 2019-09-10 04:59:15 +02:00
7e16b07352
Added various device ids. Also added info about Fenix 6 range to
HARDWARE-SKUs.md.
2019-09-02 23:22:41 +02:00
da13257a3e
Improve version detection. 2019-09-02 23:22:15 +02:00
74157d0d2c
Whoops, forgot ansi module. 2019-07-21 23:08:19 +02:00
7d884a526a
Detect trailing data (signed firmwares) and print a warning. 2019-07-04 23:42:47 +02:00
5ca2f8cad5
Colours! 2019-06-28 20:33:53 +02:00
e4fc81e7be
More device hw_ids. 2019-06-28 20:33:43 +02:00
d47f21475e
Various new TLV field types found in various firmwares. 2019-06-28 20:33:25 +02:00
8038182736
Cleaned up device list, added some more devices. 2019-06-28 03:08:09 +02:00
36d3101beb
Added a few encountered block and field types. 2019-06-28 03:07:46 +02:00
66840a5cde
Reordered hardware SKU list. 2019-06-28 03:07:16 +02:00
ea8e1a48ea
Added document about device SKU numbers. 2019-06-27 01:08:50 +02:00
02848ec5cb
Small corrections to device list. 2019-06-27 00:30:00 +02:00
f347e6ae95
Added support for various data structures (e.g. from zumo firmwares). 2019-06-27 00:16:56 +02:00
b532c638d1
Updated device list. 2019-06-27 00:16:32 +02:00
5fea1c3448
Fixed README. Added MARQ device ids. 2019-05-15 12:41:00 +02:00
a2d0d622e6
Detect device for component firmwares. 2018-12-10 16:57:55 +01:00
0eb98341e6
Added analysis of component firmwares (SKU, version). 2018-12-10 16:06:28 +01:00
4988fc7b63
Add verbose structure output. 2018-12-10 03:00:51 +01:00
28480970c4
Add offset to binary dump filename to fix clashes with multiple binaries
of e.g. component firmwares.
2018-12-10 02:59:49 +01:00
e07338c882
Use MAX_BLOCK_LENGTH instead of hardcoded value. 2018-12-10 02:59:28 +01:00
47450ffdce
Remove old version. 2018-10-23 03:10:56 +02:00
d37ec0752d
Also set length of binary blocks correctly when compiling new GCD. 2018-10-23 01:23:16 +02:00
b985f4b6a5
Fix parents in headings. 2018-10-23 00:31:13 +02:00
58521bcd82
More documentation. 2018-10-23 00:29:03 +02:00
16f50bf91a
Compiling recipe to GCD file works now. 2018-10-23 00:17:26 +02:00
70c0734d34
Finish creating structure from recipe. TODO: Storing to GCD file. 2018-10-22 23:50:24 +02:00
becb94eb88
More import stuff. 2018-10-21 22:38:34 +02:00
048fe9c887
Started work on compiler. 2018-10-21 22:13:03 +02:00
27a90e8b38
Added gcddump to dump parsed GCD to files which can later be reassembled
into a GCD.
2018-10-21 01:03:19 +02:00
c0a1d833ba
Add checksum validation to Gcd class. 2018-10-18 00:57:45 +02:00
4aa3e39d7d
Small optimisations. 2018-10-18 00:57:30 +02:00
02daff44b5
Method to get header of TLV only. 2018-10-18 00:56:54 +02:00
81e69b8bea
Access TLV.length directly. 2018-10-18 00:56:13 +02:00
121522ced7
Nicer output for binsum.py. 2018-10-18 00:55:12 +02:00
818f63a658
More compact output for repetetive blocks. 2018-10-17 20:49:57 +02:00
8f6532b11f
Move TLV classes into own file. 2018-10-17 20:41:33 +02:00
62992feac3
Move struct output generation into Gcd class. 2018-10-17 20:40:53 +02:00
d22da99328
Make TLV classes return details with str(). 2018-10-17 18:57:05 +02:00
da211328d3
More tools. 2018-10-17 18:27:16 +02:00
701966277f
First shot at a Gcd class. 2018-10-17 03:41:46 +02:00
c0ec316023
Use Python methods for ChkSum - speed bump. 2018-10-16 23:45:22 +02:00
0c9528fd4f
Further optimisations in ChkSum. 2018-10-16 23:44:30 +02:00
155d0e023c
Use new ChkSum class. 2018-10-16 23:32:21 +02:00
cbb602ea83
Move file handling into ChkSum class. 2018-10-16 23:31:08 +02:00
43dfdbe8b2
Rewrote checksum calculation into class. 2018-10-16 23:23:13 +02:00
80c0317da9
Bugfix to overwrite binary dumps instead of appending. 2018-10-16 22:50:31 +02:00