]> git.dujemihanovic.xyz Git - u-boot.git/commit
binman: Allow writing section contents to a file
authorSimon Glass <sjg@chromium.org>
Sat, 7 Jan 2023 21:07:08 +0000 (14:07 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 18 Jan 2023 18:50:01 +0000 (11:50 -0700)
commitefddab6c365439b9084ef1ac4750eacb7ba9e889
tree2856c869b25cc877abcf9a10fd47a6b93da19583
parent85d87112cb0abedf0d6f1a14422e89d335533157
binman: Allow writing section contents to a file

At present only the image (which is a section) has a filename. Move this
implementation to the entry_Section class so that any section can have a
filename. With this, the section data is written to a file.

This allows parts of an image to be written, along with the entire image.

Make a note that this can be used to include the contents of a section in
one image in another (later) image.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/binman.rst
tools/binman/etype/section.py
tools/binman/ftest.py
tools/binman/image.py
tools/binman/test/261_section_fname.dts [new file with mode: 0644]