]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
binman: Correct Chromium OS entry types
authorSimon Glass <sjg@chromium.org>
Mon, 28 Feb 2022 19:08:20 +0000 (12:08 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 6 Apr 2022 18:01:42 +0000 (14:01 -0400)
The conversion to bintools broke the invocation of the utility, since
the arguments are not correct. Fix it.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/btool/futility.py
tools/binman/etype/vblock.py

index 614daaade43abbd714ca9f803b5f68526582480c..8d00966a9d031be921badefb264b11fc101ccf25 100644 (file)
@@ -106,7 +106,7 @@ class Bintoolfutility(bintool.Bintool):
         Returns:
             str: Tool output
         """
-        args = ['gbb_utility'
+        args = ['gbb_utility',
             '-s',
             f'--hwid={hwid}',
             f'--rootkey={rootkey}',
@@ -139,7 +139,7 @@ class Bintoolfutility(bintool.Bintool):
             '--keyblock', keyblock,
             '--signprivate', signprivate,
             '--version', version,
-            '--fw', firmware,
+            '--fv', firmware,
             '--kernelkey', kernelkey,
             '--flags', flags
             ]
index 065b6ed2f648b08906efc304c32dd9570a34a32f..c3ef08bbb2bfc3b12e66334d9d4f35b992def81f 100644 (file)
@@ -73,7 +73,7 @@ class Entry_vblock(Entry_collection):
             vblock=output_fname,
             keyblock=prefix + self.keyblock,
             signprivate=prefix + self.signprivate,
-            version=f'{self.version,}',
+            version=f'{self.version:d}',
             firmware=input_fname,
             kernelkey=prefix + self.kernelkey,
             flags=f'{self.preamble_flags}')