]> git.baikalelectronics.ru Git - uboot.git/commit
binman: add support for skipping file concatenation for mkimage
authorQuentin Schulz <quentin.schulz@theobroma-systems.com>
Fri, 2 Sep 2022 13:10:48 +0000 (15:10 +0200)
committerKever Yang <kever.yang@rock-chips.com>
Sun, 4 Sep 2022 12:00:39 +0000 (20:00 +0800)
commitf14d94d736693142f9d585a61271f361b2be19a8
tree87720d6259fd4535382a9040b315fe381b2d3e6a
parent8e67fb453a6075ca6002f814efdbc21f4edca6da
binman: add support for skipping file concatenation for mkimage

Some image types handled by mkimage require the datafiles to be passed
independently (-d data1:data2) for specific handling of each. A
concatenation of datafiles prior to passing them to mkimage wouldn't
work.

That is the case for rkspi for example which requires page alignment
and only writing 2KB every 4KB.

This adds the ability to tell binman to pass the datafiles without
prior concatenation to mkimage, by adding the multiple-data-files
boolean property to the mkimage node.

Cc: Quentin Schulz <foss+uboot@0leil.net>
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
tools/binman/entries.rst
tools/binman/etype/mkimage.py
tools/binman/ftest.py
tools/binman/test/252_mkimage_mult_data.dts [new file with mode: 0644]
tools/binman/test/253_mkimage_mult_no_content.dts [new file with mode: 0644]