diff options
| author | Philippe Reynes <philippe.reynes@softathome.com> | 2022-03-28 22:57:06 +0200 |
|---|---|---|
| committer | Tom Rini <trini@konsulko.com> | 2022-03-31 14:12:23 -0400 |
| commit | 776db4fa96bb606b88740ea2017c3c66a8394e86 (patch) | |
| tree | 0918a76ba47bde4a4bc55b4cc15ee9bfc7dec325 /test/py/tests/vboot/sandbox-binman.dts | |
| parent | 29451432c777537ebd53fc42b1efd8702794c938 (diff) | |
test: py: vboot: add test for global image signature
Adds test units for the pre-load header signature.
Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
Diffstat (limited to 'test/py/tests/vboot/sandbox-binman.dts')
| -rw-r--r-- | test/py/tests/vboot/sandbox-binman.dts | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/test/py/tests/vboot/sandbox-binman.dts b/test/py/tests/vboot/sandbox-binman.dts new file mode 100644 index 00000000000..b24aeba0fa8 --- /dev/null +++ b/test/py/tests/vboot/sandbox-binman.dts @@ -0,0 +1,24 @@ +// SPDX-License-Identifier: GPL-2.0+ + +/dts-v1/; + +/ { + #address-cells = <1>; + #size-cells = <1>; + + binman { + filename = "sandbox.img"; + + pre-load { + content = <&image>; + algo-name = "sha256,rsa2048"; + key-name = "dev.key"; + header-size = <4096>; + version = <1>; + }; + + image: blob-ext { + filename = "test.fit"; + }; + }; +}; |
