All of lore.kernel.org
 help / color / mirror / Atom feed
From: Carlo Caione via U-Boot <u-boot@lists.u-boot-project.org>
To: "David Lechner" <dlechner@baylibre.com>,
	"Carlo Caione" <ccaione@baylibre.com>,
	"GSS_MTK_Uboot_upstream" <GSS_MTK_Uboot_upstream@mediatek.com>,
	<u-boot@lists.denx.de>
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>,
	"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>,
	"Vitor Sato Eschholz" <vsatoes@baylibre.com>
Subject: Re: [PATCH 4/4] doc: board: mediatek: document Genio 700 SPL boot
Date: Tue, 21 Jul 2026 18:00:54 +0200	[thread overview]
Message-ID: <DK4DI4TBW04W.2DN95RZF2H4XO@baylibre.com> (raw)
In-Reply-To: <2ca02789-5806-4672-99fd-30ea217fe5f5@baylibre.com>

On Tue Jul 21, 2026 at 4:50 PM CEST, David Lechner wrote:

>>>> +Using Genio Tools
>>>> +~~~~~~~~~~~~~~~~~
>>>
>>> Probably deserves an external link on where to get genio-tools and pre-build
>>> images.
>> 
>> I'll add a link for the genio-tools. About the pre-build images there is
>> no place the user can download them from (for now), they are currently
>> compiled as part of the yocto image / distro.
>> 
> I was thinking of https://genio.mediatek.com/doc/iot-yocto/latest/sw/yocto/download.html

Ok, I'm just realizing that I was probably not clear enough on this
point.

That prebuilt image you can download at that link, is indeed usable as
the image directory passed to genio-flash: it provides the partition
metadata and the lk.bin download bootstrap. We have tested that
arrangement, overriding the primary boot artifacts with the newly built
mtk-boot.bin and bootloaders.img (output from this patchset) and it
works correctly.

It cannot, however, provide the external DDR-loader input required to
build these new images. The currently published image contains bl2.img,
which is the legacy monolithic TF-A BL2. After initializing DDR it loads
and parses fip.bin; it does not copy an appended U-Boot SPL from the
fixed offset and enter it at CONFIG_SPL_TEXT_BASE. It therefore cannot
be used as ddr-loader.bin.

The Yocto integration I mentioned generates the compatible DDR loader
and the remaining inputs for the new boot chain (and inputs to the
binman processing in U-Boot), but that work is not merged or published
yet (but it will be, hopefully soon :)

So bottom line is that if you want to use this new SPL, you also need
some kind of special DDR loader firmware that is generated by a not-yet
but soon-to-be available yocto release.

I'll try to clarify better this point in V2 (and I hope this is more
clear now).

Cheers,

--
Carlo Caione

      reply	other threads:[~2026-07-21 16:01 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-18 16:16 [PATCH 0/4] arm: mediatek: add Genio 700 SPL boot support Carlo Caione
2026-07-18 16:16 ` [PATCH 1/4] arm: dts: mediatek: prepare Genio 700 devices for SPL Carlo Caione
2026-07-21  0:01   ` David Lechner via U-Boot
2026-07-21  8:35     ` Carlo Caione via U-Boot
2026-07-22 21:01   ` David Lechner via U-Boot
2026-07-18 16:16 ` [PATCH 2/4] configs: mt8390: enable eMMC FIT boot from SPL Carlo Caione
2026-07-21  0:05   ` David Lechner via U-Boot
2026-07-18 16:16 ` [PATCH 3/4] arm: mediatek: mt8390: build boot images with binman Carlo Caione
2026-07-18 16:16 ` [PATCH 4/4] doc: board: mediatek: document Genio 700 SPL boot Carlo Caione
2026-07-21  0:38   ` David Lechner via U-Boot
2026-07-21 11:22     ` Carlo Caione via U-Boot
2026-07-21 14:50       ` David Lechner via U-Boot
2026-07-21 16:00         ` Carlo Caione via U-Boot [this message]

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=DK4DI4TBW04W.2DN95RZF2H4XO@baylibre.com \
    --to=u-boot@lists.u-boot-project.org \
    --cc=GSS_MTK_Uboot_upstream@mediatek.com \
    --cc=Macpaul.Lin@mediatek.com \
    --cc=ccaione@baylibre.com \
    --cc=chunfeng.yun@mediatek.com \
    --cc=dlechner@baylibre.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.denx.de \
    --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.