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 via email to