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> |
---|
|
commands/imd.c |
---|
common/Kconfig |
---|
common/imd-barebox.c |
---|
common/imd.c |
---|
include/image-metadata.h |
---|
scripts/bareboximd.c |
---|