All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Lechner <dlechner@baylibre.com>
To: Carlo Caione <ccaione@baylibre.com>,
	GSS_MTK_Uboot_upstream <GSS_MTK_Uboot_upstream@mediatek.com>,
	u-boot@lists.u-boot-project.org
Cc: Ryder Lee <ryder.lee@mediatek.com>,
	Weijie Gao <weijie.gao@mediatek.com>,
	 Chunfeng Yun <chunfeng.yun@mediatek.com>,
	Igor Belwon <igor.belwon@mentallysanemainliners.org>,
	Vitor Sato Eschholz <vsatoes@baylibre.com>,
	Julien Stephan <jstephan@baylibre.com>,
	Macpaul Lin <Macpaul.Lin@mediatek.com>,
	Tom Rini <trini@konsulko.com>,
	Ilias Apalodimas <ilias.apalodimas@linaro.org>,
	Julien Masson <jmasson@baylibre.com>,
	Johan Jonker <jbx6244@gmail.com>,
	Quentin Schulz <u-boot@0leil.net>,
	Marek Vasut <marek.vasut+renesas@mailbox.org>
Subject: Re: [PATCH v2 3/4] arm: mediatek: mt8390: build boot images with binman
Date: Wed, 29 Jul 2026 14:35:41 -0500	[thread overview]
Message-ID: <df3c4a66-76e9-48da-9ec0-7ce6e4058b03@baylibre.com> (raw)
In-Reply-To: <20260722-ccaione-upstream-mt8390-spl-v2-3-7aa005345711@baylibre.com>

On 7/22/26 4:35 PM, Carlo Caione wrote:
> Generate the Genio 700 boot-chain images from the U-Boot build.
> 
> mtk-boot.bin wraps an external DDR loader, padded to its fixed
> 0x4b000-byte ABI, followed by a CONFIG_SPL_MAX_SIZE U-Boot SPL region
> in a MediaTek eMMC BootROM image. The external loader copies that
> complete fixed-size SPL window, so pad the region to keep every source
> byte inside the BootROM-loaded payload.
> 
> bootloaders.img is a conventional FIT containing BL31, U-Boot proper,
> OP-TEE, and the U-Boot control devicetree.
> 
> Use the standard BL31 and TEE binman inputs and obtain ddr-loader.bin
> through BINMAN_INDIRS. Disable SPL binman symbols because SPL and
> U-Boot proper live in separate storage images. SPL locates U-Boot
> through the GPT FIT partition, so there are no in-image U-Boot offsets
> to publish.
> 
> Signed-off-by: Vitor Sato Eschholz <vsatoes@baylibre.com>
> Signed-off-by: Julien Stephan <jstephan@baylibre.com>
> Signed-off-by: Carlo Caione <ccaione@baylibre.com>
> ---
>  arch/arm/dts/mt8390-genio-700-evk-u-boot.dtsi | 120 ++++++++++++++++++++++++++

Similar to Julien's comment on patch 2, I would suggest to put
as much of this as possible in mt8390-genio-common-u-boot.dtsi (following
upstream naming convention) so that we don't have to repeat it
on Genio 510 or move it later.


>  arch/arm/mach-mediatek/Kconfig                |   1 +
>  configs/mt8390_genio_700_evk_defconfig        |   1 +
>  3 files changed, 122 insertions(+)
> 

  reply	other threads:[~2026-07-29 19:35 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-22 21:35 [PATCH v2 0/4] Add Genio 700 SPL boot support Carlo Caione via U-Boot
2026-07-22 21:35 ` [PATCH v2 1/4] arm: dts: mediatek: prepare Genio 700 devices for SPL Carlo Caione via U-Boot
2026-07-22 21:35 ` [PATCH v2 2/4] configs: mt8390: enable eMMC FIT boot from SPL Carlo Caione via U-Boot
2026-07-28 16:00   ` Julien Stephan
2026-07-30  6:43     ` Carlo Caione
2026-07-22 21:35 ` [PATCH v2 3/4] arm: mediatek: mt8390: build boot images with binman Carlo Caione via U-Boot
2026-07-29 19:35   ` David Lechner [this message]
2026-07-22 21:35 ` [PATCH v2 4/4] doc: board: mediatek: document Genio 700 SPL boot Carlo Caione via U-Boot
2026-07-28 16:13   ` Julien Stephan
2026-07-30 11:32     ` Carlo Caione

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=df3c4a66-76e9-48da-9ec0-7ce6e4058b03@baylibre.com \
    --to=dlechner@baylibre.com \
    --cc=GSS_MTK_Uboot_upstream@mediatek.com \
    --cc=Macpaul.Lin@mediatek.com \
    --cc=ccaione@baylibre.com \
    --cc=chunfeng.yun@mediatek.com \
    --cc=igor.belwon@mentallysanemainliners.org \
    --cc=ilias.apalodimas@linaro.org \
    --cc=jbx6244@gmail.com \
    --cc=jmasson@baylibre.com \
    --cc=jstephan@baylibre.com \
    --cc=marek.vasut+renesas@mailbox.org \
    --cc=ryder.lee@mediatek.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@0leil.net \
    --cc=u-boot@lists.u-boot-project.org \
    --cc=vsatoes@baylibre.com \
    --cc=weijie.gao@mediatek.com \
    /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.