<feed xmlns='http://www.w3.org/2005/Atom'>
<title>starfive-tech/u-boot.git/tools/mkeficapsule.c, branch master</title>
<subtitle>StarFive Tech U-Boot for VisionFive (JH7110) boards (mirror)</subtitle>
<id>https://git.radix-linux.su/starfive-tech/u-boot.git/atom?h=master</id>
<link rel='self' href='https://git.radix-linux.su/starfive-tech/u-boot.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/'/>
<updated>2021-10-25T19:13:06+00:00</updated>
<entry>
<title>Revert "Revert "mkeficapsule: Remove dtb related options""</title>
<updated>2021-10-25T19:13:06+00:00</updated>
<author>
<name>AKASHI Takahiro</name>
<email>takahiro.akashi@linaro.org</email>
</author>
<published>2021-10-07T06:23:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=18cfbbba1e3d8aced4a981d8d6a3e8f374dda22a'/>
<id>urn:sha1:18cfbbba1e3d8aced4a981d8d6a3e8f374dda22a</id>
<content type='text'>
This reverts commit d428e81266a59974ade74c1ba019af39f23304ab.
We have agreed with removing dtb-related stuff from mkeficapsule
command even if the commit 47a25e81d35c ("Revert "efi_capsule: Move
signature from DTB to .rodata"") was applied.

Signed-off-by: AKASHI Takahiro &lt;takahiro.akashi@linaro.org&gt;
Reviewed-by: Ilias Apalodimas &lt;ilias.apalodimas@linaro.org&gt;
</content>
</entry>
<entry>
<title>Revert "mkeficapsule: Remove dtb related options"</title>
<updated>2021-09-18T09:46:56+00:00</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2021-08-02T14:44:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=d428e81266a59974ade74c1ba019af39f23304ab'/>
<id>urn:sha1:d428e81266a59974ade74c1ba019af39f23304ab</id>
<content type='text'>
This reverts commit f86caab058ff062ce72b24cd1ab9ec1253cc1352.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>mkeficapsule: Remove dtb related options</title>
<updated>2021-07-18T12:43:56+00:00</updated>
<author>
<name>Ilias Apalodimas</name>
<email>ilias.apalodimas@linaro.org</email>
</author>
<published>2021-07-17T14:26:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=f86caab058ff062ce72b24cd1ab9ec1253cc1352'/>
<id>urn:sha1:f86caab058ff062ce72b24cd1ab9ec1253cc1352</id>
<content type='text'>
commit 322c813f4bec ("mkeficapsule: Add support for embedding public key in a dtb")
added a bunch of options enabling the addition of the capsule public key
in a dtb.  Since now we embedded the key in U-Boot's .rodata we don't this
this functionality anymore

Signed-off-by: Ilias Apalodimas &lt;ilias.apalodimas@linaro.org&gt;
</content>
</entry>
<entry>
<title>tools/mkeficapsule: improve online help</title>
<updated>2021-04-10T10:00:24+00:00</updated>
<author>
<name>Heinrich Schuchardt</name>
<email>xypron.glpk@gmx.de</email>
</author>
<published>2021-04-08T20:02:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=216406367819b52f965ee89b1a3829863c49aac0'/>
<id>urn:sha1:216406367819b52f965ee89b1a3829863c49aac0</id>
<content type='text'>
Show short arguments along with long arguments in online help:

    $ tools/mkeficapsule -h
    Usage: mkeficapsule [options] &lt;output file&gt;
    Options:
        -f, --fit &lt;fit image&gt;       new FIT image file
        -r, --raw &lt;raw image&gt;       new raw image file
        -i, --index &lt;index&gt;         update image index
        -I, --instance &lt;instance&gt;   update hardware instance
        -K, --public-key &lt;key file&gt; public key esl file
        -D, --dtb &lt;dtb file&gt;        dtb file
        -O, --overlay               the dtb file is an overlay
        -h, --help                  print a help message

Signed-off-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
</content>
</entry>
<entry>
<title>mkeficapsule: Correct printf() strings</title>
<updated>2021-03-16T08:37:04+00:00</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2021-02-07T21:27:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=ad09004ac472dedeb6e72f703035e76efa9810ca'/>
<id>urn:sha1:ad09004ac472dedeb6e72f703035e76efa9810ca</id>
<content type='text'>
Use %z when printing size_t values. This avoids errors on 32-bit
machines.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Use a conversion to size_t for printing stat.st_size.
Reviewed-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
Signed-off-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
</content>
</entry>
<entry>
<title>tools/mkeficapsule.c: fix DEBUG build</title>
<updated>2021-02-26T15:17:43+00:00</updated>
<author>
<name>Klaus Heinrich Kiwi</name>
<email>klaus@linux.vnet.ibm.com</email>
</author>
<published>2021-02-20T20:40:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=95cacc86f2f4baa2d86f68a63baa9e8e797e4e46'/>
<id>urn:sha1:95cacc86f2f4baa2d86f68a63baa9e8e797e4e46</id>
<content type='text'>
Fix a missing comma sign (,) from a printf(), that is only
reachable if DEBUG is defined, in which case the build fails with:

    tools/mkeficapsule.c:266:36: error: expected ‘)’ before ‘bin’
      266 |  printf("\tbin: %s\n\ttype: %pUl\n" bin, guid);
          |                                    ^~~~
          |                                    )

Signed-off-by: Klaus Heinrich Kiwi &lt;klaus@linux.vnet.ibm.com&gt;
Reviewed-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
</content>
</entry>
<entry>
<title>mkeficapsule: Miscellaneous fixes in the utility</title>
<updated>2021-01-23T06:56:54+00:00</updated>
<author>
<name>Sughosh Ganu</name>
<email>sughosh.ganu@linaro.org</email>
</author>
<published>2021-01-22T15:04:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=d33f31816f606dbdf95ae3e96ce87dfc275822cd'/>
<id>urn:sha1:d33f31816f606dbdf95ae3e96ce87dfc275822cd</id>
<content type='text'>
Miscellaneous fixes in the mkeficapsule utility -- these include a few
resource leak issues flagged by Coverity along with some additional
code improvements suggested by Heinrich during code review.

Signed-off-by: Sughosh Ganu &lt;sughosh.ganu@linaro.org&gt;
</content>
</entry>
<entry>
<title>tools: mkeficapsule: fill reserved members of structure</title>
<updated>2021-01-23T06:56:53+00:00</updated>
<author>
<name>AKASHI Takahiro</name>
<email>takahiro.akashi@linaro.org</email>
</author>
<published>2021-01-22T01:43:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=f7cd8b7b55fdd4501bc6e405b2251236cf30969e'/>
<id>urn:sha1:f7cd8b7b55fdd4501bc6e405b2251236cf30969e</id>
<content type='text'>
Fill reserved members of efi_firmware_management_capsule_image_header
structure with zero's for safety.

Signed-off-by: AKASHI Takahiro &lt;takahiro.akashi@linaro.org&gt;
Fixes: CID 316354
Reviewed-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
</content>
</entry>
<entry>
<title>mkeficapsule: Add support for embedding public key in a dtb</title>
<updated>2020-12-31T13:41:31+00:00</updated>
<author>
<name>Sughosh Ganu</name>
<email>sughosh.ganu@linaro.org</email>
</author>
<published>2020-12-30T13:56:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=322c813f4becb6a256e0eeedd8e6a856bb075dfc'/>
<id>urn:sha1:322c813f4becb6a256e0eeedd8e6a856bb075dfc</id>
<content type='text'>
Add options for embedding the public key esl(efi signature list) file
to the platform's dtb. The esl file is then retrieved and used for
authenticating the capsule to be used for updating firmare components
on the platform.

The esl file can now be embedded in the dtb by invoking the following
command
mkeficapsule -K &lt;pub_key.esl&gt; -D &lt;dtb&gt;

In the scenario where the esl file is to be embedded in an overlay,
this can be done through the following command
mkeficapsule -O -K &lt;pub_key.esl&gt; -D &lt;dtb&gt;

This will create a node named 'signature' in the dtb, and the esl file
will be stored as 'capsule-key'

Signed-off-by: Sughosh Ganu &lt;sughosh.ganu@linaro.org&gt;
</content>
</entry>
<entry>
<title>test/py: efi_capsule: test for FIT image capsule</title>
<updated>2020-12-03T20:22:50+00:00</updated>
<author>
<name>AKASHI Takahiro</name>
<email>takahiro.akashi@linaro.org</email>
</author>
<published>2020-11-30T09:12:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=450596f2ac3fd1425b33d02dc38b37ee3f3d2492'/>
<id>urn:sha1:450596f2ac3fd1425b33d02dc38b37ee3f3d2492</id>
<content type='text'>
The test can run on sandbox build and it attempts to execute a firmware
update via a capsule-on-disk, using a FIT image capsule,
CONFIG_EFI_CAPSULE_FIT.

To run this test successfully, you need configure U-Boot specifically;
See test_capsule_firmware.py for requirements, and hence it won't run
on Travis CI, at least, for now.

Signed-off-by: AKASHI Takahiro &lt;takahiro.akashi@linaro.org&gt;
</content>
</entry>
</feed>
