commit | 85abf951da1d708e6b6eb45f84743b79fdd0e384 | [log] [tgz] |
---|---|---|
author | Christopher Collins <ccollins@apache.org> | Wed Feb 12 15:41:21 2020 -0800 |
committer | ccollins476ad <ccollins476ad@gmail.com> | Thu Feb 20 09:22:09 2020 -0800 |
tree | 6696af14fb3d35cf262ced481ea0df5f660350ff | |
parent | 63f9d9413e1cbc26209d56ec07e187e2375c8cb2 [diff] |
manifest: Add `MfgManifestTarget.Size` field This field indicates the size of the target binary (either .bin or .img file). This is useful for splitting an mfgimage into its constituent parts. Without this change, the only method of doing this is to use a heuristic: remove all 0xff bytes from the end of each part (this is what `imgmod mfg split` does). However, this leads to problems if a target or raw entry happens to contain trailing 0xff bytes.