U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Carlo Caione <ccaione@baylibre.com>
To: David Lechner <dlechner@baylibre.com>
Cc: GSS_MTK_Uboot_upstream <GSS_MTK_Uboot_upstream@mediatek.com>,
	u-boot@lists.u-boot-project.org, "Tom Rini" <trini@konsulko.com>,
	"Ilias Apalodimas" <ilias.apalodimas@linaro.org>,
	"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>,
	"Julien Masson" <jmasson@baylibre.com>,
	"Johan Jonker" <jbx6244@gmail.com>,
	"Macpaul Lin" <macpaul.lin@mediatek.com>,
	"Chris-QJ Chen" <chris-qj.chen@mediatek.com>,
	"Neil Armstrong" <neil.armstrong@linaro.org>,
	"Bastien Curutchet" <bastien.curutchet@bootlin.com>,
	"Alexey Charkov" <alchark@gmail.com>,
	"Vitor Sato Eschholz" <vsatoes@baylibre.com>,
	"Pablo Sun (孫毓翔)" <pablo.sun@mediatek.com>,
	"Arnaud Ferraris" <arnaud.ferraris@collabora.com>,
	"Suhrid Subramaniam" <Suhrid.Subramaniam@mediatek.com>
Subject: Re: [PATCH 2/3] arm: mediatek: enable U-Boot fastboot DAs on Genio 510 and 700
Date: Wed, 23 Sep 2026 18:14:18 +0200	[thread overview]
Message-ID: <arP09Sy2jmnLSpAZ@macbook> (raw)
In-Reply-To: <74268f61-b3c3-418e-8868-bad64e7084f2@baylibre.com>

On Wed, Sep 23, 2026 at 09:55:01 +0100, David Lechner wrote:
[...]
> > mmh no, spl_boot_device() returns BOOT_DEVICE_MMC1, not
> > BOOT_DEVICE_NONE. The point is that there is no U-Boot proper inside the
> > SPL DA, but SPL can load it from eMMC.
> 
> I might not have written this down in the review. When I was looking over
> this, I was wondering if running the download agent should always end with
> a reset/reboot or if it is supposed to be able to jump to u-boot proper or
> linux without rebooting first. 

Very interesting question.

So, we should always issue a 'fastboot reboot' command (and this is
exactly what genio-flash does at the end of the provisioning process)
because a reboot is needed to excercise the complete newly installed
boot chain (including the new DDR loader and the new SPL just downloaded
into the eMMC during provisioning).

Just for the sake of curiosity I also tried to check what happens with
`fastboot continue`: SPL DA chainload the proper U-Boot just flashed
into the eMMC, U-Boot DA does nothing, it just stops.

Someone off-list asked me to support `fastboot boot` from SPL but I'll
be pushing that as a separate submission.

Cheers,

--
Carlo Caione

  reply	other threads:[~2026-09-23 16:14 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-14 13:35 [PATCH 0/3] Add Genio 510 and 700 BootROM download agents Carlo Caione
2026-09-14 13:35 ` [PATCH 1/3] arm: mediatek: enable SPL fastboot DAs on Genio 510 and 700 Carlo Caione
2026-09-22 16:27   ` David Lechner
2026-09-23 14:15     ` Carlo Caione
2026-09-14 13:35 ` [PATCH 2/3] arm: mediatek: enable U-Boot " Carlo Caione
2026-09-22 16:27   ` David Lechner
2026-09-23 14:25     ` Carlo Caione
2026-09-23 14:55       ` David Lechner
2026-09-23 16:14         ` Carlo Caione [this message]
2026-09-14 13:35 ` [PATCH 3/3] doc: board: mediatek: document Genio download agents 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=arP09Sy2jmnLSpAZ@macbook \
    --to=ccaione@baylibre.com \
    --cc=GSS_MTK_Uboot_upstream@mediatek.com \
    --cc=Suhrid.Subramaniam@mediatek.com \
    --cc=alchark@gmail.com \
    --cc=arnaud.ferraris@collabora.com \
    --cc=bastien.curutchet@bootlin.com \
    --cc=chris-qj.chen@mediatek.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=macpaul.lin@mediatek.com \
    --cc=neil.armstrong@linaro.org \
    --cc=pablo.sun@mediatek.com \
    --cc=ryder.lee@mediatek.com \
    --cc=trini@konsulko.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox