iptime-crc32: add image header tool for new ipTIME models
authorSungbo Eo <mans0n@gorani.run>
Tue, 4 Jan 2022 14:47:27 +0000 (23:47 +0900)
committerSungbo Eo <mans0n@gorani.run>
Sat, 29 Jan 2022 14:31:06 +0000 (23:31 +0900)
commit872c87c6805bea08677de71b744cce7deb24903e
tree8b938d5f321e903368e26f4c787dad5899e924c4
parent0c15cad7248d2618301a663775b6205632e9af6e
iptime-crc32: add image header tool for new ipTIME models

Some ipTIME models (e.g. A8004T-XR) started to use a new 56-byte header
format which uses accumulated CRC-32 for its checksum algorithm. This tool
helps to pass through the factory image verification process on the
applicable models.

Signed-off-by: Sungbo Eo <mans0n@gorani.run>
CMakeLists.txt
src/iptime-crc32.c [new file with mode: 0644]