[PATCH v4] arm: imx8m: add boot_device and boot_instance env variables

Fabio Estevam festevam at gmail.com
Sat Feb 28 19:41:43 CET 2026


On Thu, Feb 12, 2026 at 5:21 AM William MARTIN <william.martin at muxen.fr> wrote:
>
> Some SoCs support 'boot_device' and 'boot_instance' environment
> variables to select the right boot media during boot command execution.
>
> The i.MX8M SoC doesn't set these variables but provides internally
> all the needed information to create them.
>
> Add setup_boot_mode() to arch_misc_init() to populate boot_device
> and boot_instance from the boot device reported by the ROM.
>
> Signed-off-by: William MARTIN <william.martin at muxen.fr>

This does not pass in CI:

https://source.denx.de/u-boot/custodians/u-boot-imx/-/jobs/1386916

Please fix, make sure it passes CI, and resend.


More information about the U-Boot mailing list