[PATCH v4 2/8] binman: allow user-defined filenames for mkimage entry

Simon Glass sjg at chromium.org
Wed Aug 3 20:13:52 CEST 2022


On Wed, 3 Aug 2022 at 06:19, 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>
> ---
>
> v4:
>  - added binman test,
>  - fixed >80 chars-long line,
>
> added in v3
>
>  tools/binman/etype/mkimage.py              |  9 ++++++--
>  tools/binman/ftest.py                      |  6 ++++++
>  tools/binman/test/235_mkimage_filename.dts | 24 ++++++++++++++++++++++
>  3 files changed, 37 insertions(+), 2 deletions(-)
>  create mode 100644 tools/binman/test/235_mkimage_filename.dts

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list