diff options
author | Sander Vanheule <sander@svanheule.net> | 2020-07-11 22:58:07 +0200 |
---|---|---|
committer | Stijn Tintel <stijn@linux-ipv6.be> | 2020-09-09 20:41:50 +0300 |
commit | 6985a26e5999c2d090d0ab57e19fba490b888ced (patch) | |
tree | 079b5b67efa20e6f341012e13fd1b10c43bd0fc0 /scripts/patch-specs.sh | |
parent | b71668f96abf3ba6b717f46028567944eb2fef77 (diff) | |
download | upstream-6985a26e5999c2d090d0ab57e19fba490b888ced.tar.gz upstream-6985a26e5999c2d090d0ab57e19fba490b888ced.tar.bz2 upstream-6985a26e5999c2d090d0ab57e19fba490b888ced.zip |
firmware-utils/tplink-safeloader: soft-version magic is data length
The soft-version partition actually contains a header and trailing data:
* header: {data length, [zero]}
* data: {version, bcd encoded date, revision}
The data length is currently treated as a magic number, but should
contain the length of the partition data.
This header is also present the following partitions (non-exhaustive):
* string-based soft-version
* support-list
Signed-off-by: Sander Vanheule <sander@svanheule.net>
Diffstat (limited to 'scripts/patch-specs.sh')
0 files changed, 0 insertions, 0 deletions