Hi Matwey,

On Wed, 7 Jan 2026 at 06:00, Matwey V. Kornilov
<[email protected]> wrote:
>
> Hello
>
> I have a board with SPI where U-Boot image is located along with
> environment settings. The image is supplied with correct FDT, so no
> additional dtb files are required to boot Linux from MMC. I.e. fdtcontrol
> variable is set up by U-Boot. Then EFI is used to execute Grub2 which
> handles the rest.
>
> I've read
> https://docs.u-boot.org/en/latest/usage/fdt_overlays.html#manually-loading-and-applying-overlays
> but it describes mostly how to do the overlay loading manually. What I want
> to achieve is to automatically apply FDT overlay from a specific dtbo file
> located on MMC at each boot. What is the recommended way to do that? Will
> rewriting the bootcmd env with pretended commands work for me?

We should really be using FIT for this. It is designed for this
purpose and is a better solution than individual files.

Regards,
Simon

Reply via email to