diff options
| author | Tom Rini <[email protected]> | 2022-03-31 14:12:30 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-03-31 14:12:30 -0400 |
| commit | 52d8100b1d60b656e3e311e3312fed43d388088a (patch) | |
| tree | cb370025bcc386ef741cce94bda1b4dd58fe2d76 /arch | |
| parent | 23e354f82c04a1c070ca59907abc6b042761b0e7 (diff) | |
| parent | 7bebc11c42351c8f0364f0e3eb922f5af7b6e826 (diff) | |
Merge branch '2022-03-31-image-add-a-stage-pre-load' into next
To quote the author:
This series adds a stage pre-load before launching an image. This stage
is used to read a header before the image and this header contains the
signature of the full image. So u-boot may check the full image before
using any data of the image.
The support of this header is added to binman, and a command verify
checks the signature of a blob and set the u-boot env variable
"loadaddr_verified" to the beginning of the "real" image.
The support of this header is only added to binman, but it may also be
added to mkimage.
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/Kconfig | 1 | ||||
| -rw-r--r-- | arch/sandbox/dts/sandbox.dtsi | 3 | ||||
| -rw-r--r-- | arch/sandbox/dts/test.dts | 3 |
3 files changed, 7 insertions, 0 deletions
diff --git a/arch/Kconfig b/arch/Kconfig index 1b35fda64cc..8450fdb75c4 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -205,6 +205,7 @@ config SANDBOX imply KEYBOARD imply PHYSMEM imply GENERATE_ACPI_TABLE + imply BINMAN config SH bool "SuperH architecture" diff --git a/arch/sandbox/dts/sandbox.dtsi b/arch/sandbox/dts/sandbox.dtsi index 66b813faadb..826db26fc2b 100644 --- a/arch/sandbox/dts/sandbox.dtsi +++ b/arch/sandbox/dts/sandbox.dtsi @@ -7,6 +7,9 @@ #define USB_CLASS_HUB 9 / { + binman { + }; + chosen { stdout-path = "/serial"; }; diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts index 3d206fdb3cf..05c1cd5e1a5 100644 --- a/arch/sandbox/dts/test.dts +++ b/arch/sandbox/dts/test.dts @@ -61,6 +61,9 @@ osd0 = "/osd"; }; + binman { + }; + config { testing-bool; testing-int = <123>; |
