[PATCH v4 04/11] tools: add fdtsig.sh
takahiro.akashi at linaro.org
Tue Oct 12 03:42:12 CEST 2021
On Mon, Oct 11, 2021 at 08:54:09AM -0600, Simon Glass wrote:
> Hi Takahiro,
> On Thu, 7 Oct 2021 at 00:25, AKASHI Takahiro <takahiro.akashi at linaro.org> wrote:
> > With this script, a public key is added to a device tree blob
> > as the default efi_get_public_key_data() expects.
> > Signed-off-by: AKASHI Takahiro <takahiro.akashi at linaro.org>
> > ---
> > MAINTAINERS | 1 +
> > tools/fdtsig.sh | 40 ++++++++++++++++++++++++++++++++++++++++
> > 2 files changed, 41 insertions(+)
> > create mode 100755 tools/fdtsig.sh
> Instead of an ad-hoc script with no tests,
Basically I intended to provide fdtsig.sh as a *sample* script so that
people may want to integrate the logic into their own build rule/systems.
But I could use this script in my 'capsule authentication' test
that is also added in patch#22.
> could we use binman for
> putting the image together and inserting it?
First, as you can see, the script is quite simple and secondly,
the purpose of binman, IIUC, is to help handle/manipulate U-Boot
So I'm not sure whether it is really useful to add such a feature to binman.
More information about the U-Boot