test: dm: Add test cases for FWU Metadata uclass
authorSughosh Ganu <sughosh.ganu@linaro.org>
Fri, 21 Oct 2022 12:46:05 +0000 (18:16 +0530)
committerTom Rini <trini@konsulko.com>
Mon, 31 Oct 2022 18:47:33 +0000 (14:47 -0400)
commit873cf8ac70b620a0c1417d804bd4fb4246c34ebc
tree5381872ddd9dd0f56887cbd4d96e036f84651c7e
parente68c03be46ce9bf409a2a9ad761a247d8640c89a
test: dm: Add test cases for FWU Metadata uclass

Add test cases for accessing the FWU Metadata on the sandbox
platform. The sandbox platform also uses the metadata access driver
for GPT partitioned block devices.

The FWU feature will be tested on the sandbox64 variant with a raw
capsule. Remove the FIT capsule testing from sandbox64 defconfig --
the FIT capsule test will be run on the sandbox_flattree variant.

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
arch/sandbox/Kconfig
arch/sandbox/dts/test.dts
board/sandbox/sandbox.c
configs/sandbox64_defconfig
lib/fwu_updates/fwu.c
test/dm/Makefile
test/dm/fwu_mdata.c [new file with mode: 0644]
test/dm/fwu_mdata_disk_image.h [new file with mode: 0644]
test/py/tests/test_efi_capsule/test_capsule_firmware_fit.py
test/py/tests/test_efi_capsule/test_capsule_firmware_signed_fit.py
tools/Makefile