summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorPali Rohár <[email protected]>2021-11-05 23:29:58 +0100
committerStefan Roese <[email protected]>2021-11-10 12:08:05 +0100
commitf8017c37799c78f158b405b82f18704aa75b884d (patch)
treee7c488392d76a5208f2acd9603fa1db430f663e3 /scripts
parente8e9c6f48400989c5fc54467576f8d535bd713e6 (diff)
tools: kwboot: Fix sending Kirkwood v0 images
Properly calculate and align image header size to xmodem block size. Kirkwood v0 images do not have stored total size of header in header structure itself like it is for v1 images. So kwbheader_size() calculates size by traversing image structure itself. Aligning is done in kwboot by putting zero padding bytes between the header and data part. Signed-off-by: Pali Rohár <[email protected]> Tested-by: Tony Dinh <[email protected]> Reviewed-by: Stefan Roese <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions