aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-02-28 12:08:20 -0700
committerTom Rini <trini@konsulko.com>2022-04-06 14:01:42 -0400
commit3390948c0f5b51f5aa3bdaadebeda0b81a9ac0bd (patch)
tree2d53d2384f5b5ee257f7774a92d31950a62a46f2 /tools
parent78df2146d2dfcbfb8713e5cafc3bc766bd10a7e6 (diff)
downloadu-boot-3390948c0f5b51f5aa3bdaadebeda0b81a9ac0bd.zip
u-boot-3390948c0f5b51f5aa3bdaadebeda0b81a9ac0bd.tar.gz
u-boot-3390948c0f5b51f5aa3bdaadebeda0b81a9ac0bd.tar.bz2
binman: Correct Chromium OS entry types
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>
Diffstat (limited to 'tools')
-rw-r--r--tools/binman/btool/futility.py4
-rw-r--r--tools/binman/etype/vblock.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/binman/btool/futility.py b/tools/binman/btool/futility.py
index 614daaa..8d00966 100644
--- a/tools/binman/btool/futility.py
+++ b/tools/binman/btool/futility.py
@@ -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
]
diff --git a/tools/binman/etype/vblock.py b/tools/binman/etype/vblock.py
index 065b6ed..c3ef08b 100644
--- a/tools/binman/etype/vblock.py
+++ b/tools/binman/etype/vblock.py
@@ -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}')