All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Glass <sjg@chromium.org>
To: Quentin Schulz <foss+uboot@0leil.net>
Cc: Bharat Gooty <bharat.gooty@broadcom.com>,
	 Rayagonda Kokatanur <rayagonda.kokatanur@broadcom.com>,
	 Philipp Tomsich <philipp.tomsich@vrull.eu>,
	Kever Yang <kever.yang@rock-chips.com>,
	 Jagan Teki <jagan@amarulasolutions.com>,
	Alper Nebi Yasak <alpernebiyasak@gmail.com>,
	 Heinrich Schuchardt <xypron.glpk@gmx.de>,
	Heiko Thiery <heiko.thiery@gmail.com>,
	U-Boot Mailing List <u-boot@lists.denx.de>,
	 Quentin Schulz <quentin.schulz@theobroma-systems.com>
Subject: Re: [PATCH v4 1/8] binman: add support for skipping file concatenation for mkimage
Date: Thu, 18 Aug 2022 02:17:03 -0600	[thread overview]
Message-ID: <CAPnjgZ0qFci09em5ChPNek=mLUuzQTykQt7u7V5TFejkBb9KKw@mail.gmail.com> (raw)
In-Reply-To: <20220803121906.2629478-2-foss+uboot@0leil.net>

Hi Quentin,

On Wed, 3 Aug 2022 at 06:19, Quentin Schulz <foss+uboot@0leil.net> wrote:
>
> From: Quentin Schulz <quentin.schulz@theobroma-systems.com>
>
> 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>
> Reviewed-by: Simon Glass <sjg@chromium.org>
> Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
> ---
>  tools/binman/entries.rst      | 22 +++++++++++++++++++
>  tools/binman/etype/mkimage.py | 41 +++++++++++++++++++++++++++++++----
>  2 files changed, 59 insertions(+), 4 deletions(-)

Somehow I missed this one, sorry.

It needs a test (try 'binman test -T' to see that it breaks code coverage).

Regards,
Simon

  reply	other threads:[~2022-08-18  8:17 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-03 12:18 [PATCH v4 0/8] migrate u-boot-rockchip.bin to binman and generate an image for SPI Quentin Schulz
2022-08-03 12:18 ` [PATCH v4 1/8] binman: add support for skipping file concatenation for mkimage Quentin Schulz
2022-08-18  8:17   ` Simon Glass [this message]
2022-08-24 16:29     ` Quentin Schulz
2022-08-25  1:25       ` Simon Glass
2022-08-03 12:19 ` [PATCH v4 2/8] binman: allow user-defined filenames for mkimage entry Quentin Schulz
2022-08-03 18:13   ` Simon Glass
2022-08-03 12:19 ` [PATCH v4 3/8] rockchip: remove binman temporary files when cleaning Quentin Schulz
2022-08-03 18:13   ` Simon Glass
2022-08-03 12:19 ` [PATCH v4 4/8] rockchip: generate idbloader.img content for u-boot-rockchip.bin with binman for ARM Quentin Schulz
2022-08-03 12:19 ` [PATCH v4 5/8] rockchip: generate u-boot-rockchip.bin with binman for ARM64 boards Quentin Schulz
2022-08-03 12:19 ` [PATCH v4 6/8] rockchip: simplify binman image dependencies addition to INPUTS Quentin Schulz
2022-08-03 18:13   ` Simon Glass
2022-08-03 12:19 ` [PATCH v4 7/8] rockchip: allow to build SPI images even without HAS_ROM option Quentin Schulz
2022-08-03 18:13   ` Simon Glass
2022-08-03 12:19 ` [PATCH v4 8/8] rockchip: add u-boot-rockchip-spi.bin image for booting from SPI-NOR flash Quentin Schulz
2022-08-03 18:13   ` Simon Glass

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAPnjgZ0qFci09em5ChPNek=mLUuzQTykQt7u7V5TFejkBb9KKw@mail.gmail.com' \
    --to=sjg@chromium.org \
    --cc=alpernebiyasak@gmail.com \
    --cc=bharat.gooty@broadcom.com \
    --cc=foss+uboot@0leil.net \
    --cc=heiko.thiery@gmail.com \
    --cc=jagan@amarulasolutions.com \
    --cc=kever.yang@rock-chips.com \
    --cc=philipp.tomsich@vrull.eu \
    --cc=quentin.schulz@theobroma-systems.com \
    --cc=rayagonda.kokatanur@broadcom.com \
    --cc=u-boot@lists.denx.de \
    --cc=xypron.glpk@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.