With best regards, Matwey V. Kornilov пт, 9 янв. 2026 г., 14:33 Simon Glass <[email protected]>:
> 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. > Ok, I see. I just want to make some experiments on the table. So, my concern about FIT is that I would need to reflash whole bootloader for that... and then revert back. Isn't there less destructive way? > Regards, > Simon >

