[PATCH v6 2/8] binman: allow user-defined filenames for mkimage entry
Simon Glass
sjg at chromium.org
Thu Sep 1 20:44:20 CEST 2022
On Thu, 1 Sept 2022 at 10:39, Quentin Schulz <foss+uboot at 0leil.net> wrote:
>
> From: Quentin Schulz <quentin.schulz at theobroma-systems.com>
>
> mkimage entry currently creates a file whose name is derived from the
> section name containing said entry.
>
> Let's allow the user to define a filename for the mkimage-generated
> binary by using the 'filename' DT property.
>
> Cc: Quentin Schulz <foss+uboot at 0leil.net>
> Signed-off-by: Quentin Schulz <quentin.schulz at theobroma-systems.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> ---
>
> v6:
> - put test at the end of the file,
> - renumbered test file,
> - added SPDX license to test file,
> - added Rb,
>
> v5:
> - updated unit test filename,
> - removed _testing section in unit test,
> - removed -n arg in unit test,
> - removed size property in binman node,
>
> v4:
> - added binman test,
> - fixed >80 chars-long line,
>
> added in v3
>
> tools/binman/etype/mkimage.py | 11 ++++++++---
> tools/binman/ftest.py | 7 +++++++
> tools/binman/test/254_mkimage_filename.dts | 18 ++++++++++++++++++
> 3 files changed, 33 insertions(+), 3 deletions(-)
> create mode 100644 tools/binman/test/254_mkimage_filename.dts
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list