mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
binman: Support writing symbols inside a mkimage image
Add support for writing symbols and determining the assumed position of binaries inside a mkimage image. This is useful as an example for other entry types which might want to do the same thing. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
696f2b73d6
commit
23b96e920b
4 changed files with 127 additions and 2 deletions
|
@ -1314,8 +1314,6 @@ features to produce new behaviours.
|
|||
"""
|
||||
data = b''
|
||||
for entry in entries:
|
||||
# First get the input data and put it in a file
|
||||
entry.ObtainContents(fake_size=fake_size)
|
||||
data += entry.GetData()
|
||||
uniq = self.GetUniqueName()
|
||||
fname = tools.get_output_filename(f'{prefix}.{uniq}')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue