zephyr/tests/subsys/dfu/img_util
Gerson Fernando Budke 4d35d3d83a dfu: img_util: Add flash integrity check
Flash memory can be write but there is no way to check flash integrity.
Add flash_img_check method that verify flash integrity.  This is useful
to avoid firmware reboot and test.  Another use is ensure that firmware
upgrade routines from internet server to flash slot are performing
properly.  This uses flash_area_check_int_sha256 method to check a
SHA-256 hash.  On sucess match, zero is returned, otherwise a negative
errno value.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2020-09-03 17:56:02 +02:00
..
src dfu: img_util: Add flash integrity check 2020-09-03 17:56:02 +02:00
CMakeLists.txt tests: make find_package(Zephyr...) REQUIRED 2020-05-29 10:47:25 +02:00
prj.conf dfu: img_util: Add flash integrity check 2020-09-03 17:56:02 +02:00
prj_native_posix.conf dfu: img_util: Add flash integrity check 2020-09-03 17:56:02 +02:00
prj_native_posix_64.conf dfu: img_util: Add flash integrity check 2020-09-03 17:56:02 +02:00
progressively_overlay.conf tests/subsys/dfu/img_util: progressively erase testcase 2019-12-15 10:26:36 -05:00
testcase.yaml sanitycheck: inclusive language 2020-08-27 07:04:07 -04:00