imd: add support for checksum generation/verification
Add a new imd type "checksum". This type consists of the CRC32 checksum
of the whole barebox image minus the checksum itself.
The checksum can be written to the imd field with the bareboximd host-tool.
It can be verified with said tool or with "imd" on the target.

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 3b27a6e commit 9d12256bfcc69d7ec7c20bd0e5205c54cefea700
@Steffen Trumtrar Steffen Trumtrar authored on 27 Jan 2020
Sascha Hauer committed on 10 Feb 2020
Showing 6 changed files
View
commands/imd.c
View
common/Kconfig
View
common/imd-barebox.c
View
common/imd.c
View
include/image-metadata.h
View
scripts/bareboximd.c