]> git.dujemihanovic.xyz Git - u-boot.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)
commit4d91df0548a8d71e3a2fd769b6ee65e76a764f25
tree87720d6259fd4535382a9040b315fe381b2d3e6a
parent7a81a44caf9b2ca8ad80d0f6fca7950e5a224e93
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]