]> git.baikalelectronics.ru Git - uboot.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)
commitdf558c414b6f281097148b1fec6b47b033098d63
tree2856c869b25cc877abcf9a10fd47a6b93da19583
parent29f86a5a97570bb58e81c1da70f2384fa11356a3
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]