<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/boot/image-pre-load.c, branch v2023.07.01</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/boot/image-pre-load.c?h=v2023.07.01</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/boot/image-pre-load.c?h=v2023.07.01'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2022-10-11T19:40:48Z</updated>
<entry>
<title>boot: image-pre-load: Check environment for location of signature info</title>
<updated>2022-10-11T19:40:48Z</updated>
<author>
<name>Steven Lawrance</name>
<email>steven.lawrance@softathome.com</email>
</author>
<published>2022-09-14T18:57:28Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=05b0f241f271415d9a26416a5bec316f29a2583f'/>
<id>urn:sha1:05b0f241f271415d9a26416a5bec316f29a2583f</id>
<content type='text'>
Setting an alternative signature info node in "pre_load_sig_info_path"
allows verification of an image using the bootm pre-load mechanism with
a different key, e.g.: setenv pre_load_sig_info_path "/alt/sig" ; bootm
preload [addr]

Signed-off-by: Steven Lawrance &lt;steven.lawrance@softathome.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>image-pre-load: Move macros/definitions to image.h</title>
<updated>2022-10-11T19:40:48Z</updated>
<author>
<name>Steven Lawrance</name>
<email>steven.lawrance@softathome.com</email>
</author>
<published>2022-09-14T18:57:27Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=7c5eeb8309a19c662efe6d7695c256975f6da0d4'/>
<id>urn:sha1:7c5eeb8309a19c662efe6d7695c256975f6da0d4</id>
<content type='text'>
Putting these definitions in a header will allow signatures to be
validated independently of bootm.

Signed-off-by: Steven Lawrance &lt;steven.lawrance@softathome.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>boot: image-pre-load: drop unused CONFIG_SYS_BOOTM_LEN</title>
<updated>2022-06-06T21:47:16Z</updated>
<author>
<name>Peng Fan</name>
<email>peng.fan@nxp.com</email>
</author>
<published>2022-05-07T13:23:05Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=3800b318c5303633f056bc6ab387ef01906cee57'/>
<id>urn:sha1:3800b318c5303633f056bc6ab387ef01906cee57</id>
<content type='text'>
CONFIG_SYS_BOOTM_LEN is not used in this file, drop it.

Signed-off-by: Peng Fan &lt;peng.fan@nxp.com&gt;
Reviewed-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>boot: image: add a stage pre-load</title>
<updated>2022-03-31T18:12:01Z</updated>
<author>
<name>Philippe Reynes</name>
<email>philippe.reynes@softathome.com</email>
</author>
<published>2022-03-28T20:56:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=982207435a7b96d594336a88c08cb5b09e5f2963'/>
<id>urn:sha1:982207435a7b96d594336a88c08cb5b09e5f2963</id>
<content type='text'>
Add a stage pre-load that could
check or modify an image.

For the moment, only a header with a signature is
supported. This header has the following format:
- magic : 4 bytes
- version : 4 bytes
- header size : 4 bytes
- image size : 4 bytes
- offset image signature : 4 bytes
- flags : 4 bytes
- reserved0 : 4 bytes
- reserved1 : 4 bytes
- sha256 of the image signature : 32 bytes
- signature of the first 64 bytes : n bytes
- image signature : n bytes
- padding : up to header size

The stage uses a node /image/pre-load/sig to
get some informations:
- algo-name (mandatory) : name of the algo used to sign
- padding-name : name of padding used to sign
- signature-size : size of the signature (in the header)
- mandatory : set to yes if this sig is mandatory
- public-key (madatory) : value of the public key

Before running the image, the stage pre-load checks
the signature provided in the header.

This is an initial support, later we could add the
support of:
- ciphering
- uncompressing
- ...

Signed-off-by: Philippe Reynes &lt;philippe.reynes@softathome.com&gt;
</content>
</entry>
</feed>
