iptime-naspkg: add image header tool for ipTIME NAS series
authorSungbo Eo <mans0n@gorani.run>
Sat, 1 Jan 2022 08:03:35 +0000 (17:03 +0900)
committerSungbo Eo <mans0n@gorani.run>
Sat, 29 Jan 2022 14:31:06 +0000 (23:31 +0900)
commit0c15cad7248d2618301a663775b6205632e9af6e
treecda84122c7776d8b7ffda217cc4273a722b9b418
parent8e7274e02fdc6f2cb61b415d6e5b2e1c7e977aa1
iptime-naspkg: add image header tool for ipTIME NAS series

The purpose of this tool is to pass the factory image verification process,
and it does not provide a full image with kernel and rootfs. The tool prepends
a factory header to kernel image, and rootfs should be appended separately.

This tool has been developed and tested on NAS1 and NAS1dual, but it can
also be used on other similar models with additional tweaking.

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