commit | f625a2294ff805b2c44966ac50b7cc8d1e267ace | [log] [tgz] |
---|---|---|
author | Pali Rohár <pali@kernel.org> | Mon Oct 25 15:12:57 2021 +0200 |
committer | Stefan Roese <sr@denx.de> | Wed Nov 03 06:45:27 2021 +0100 |
tree | 13f4b5a5b73cc0f6dde5b8b513141f7e79e0aa30 | |
parent | aed39f2a8a366427d34d41f970793220d776e71c [diff] |
tools: kwboot: Recalculate 4-byte data checksum after injecting baudrate code If data part of image is modified, update 4-byte data checksum. It looks like A385 BootROM does not verify this checksum for image loaded via UART, but we do not know if other BootROMs are also ignoring it. It is always better to provide correct checksum. Signed-off-by: Pali Rohár <pali@kernel.org> [ refactored ] Signed-off-by: Marek Behún <marek.behun@nic.cz> Reviewed-by: Stefan Roese <sr@denx.de>