On Tue Jul 21, 2026 at 4:50 PM CEST, David Lechner wrote: >>>> +Using Genio Tools >>>> +~~~~~~~~~~~~~~~~~ >>> >>> Probably deserves an external link on where to get genio-tools and pre-build >>> images. >> >> I'll add a link for the genio-tools. About the pre-build images there is >> no place the user can download them from (for now), they are currently >> compiled as part of the yocto image / distro. >> > I was thinking of > https://genio.mediatek.com/doc/iot-yocto/latest/sw/yocto/download.html
Ok, I'm just realizing that I was probably not clear enough on this point. That prebuilt image you can download at that link, is indeed usable as the image directory passed to genio-flash: it provides the partition metadata and the lk.bin download bootstrap. We have tested that arrangement, overriding the primary boot artifacts with the newly built mtk-boot.bin and bootloaders.img (output from this patchset) and it works correctly. It cannot, however, provide the external DDR-loader input required to build these new images. The currently published image contains bl2.img, which is the legacy monolithic TF-A BL2. After initializing DDR it loads and parses fip.bin; it does not copy an appended U-Boot SPL from the fixed offset and enter it at CONFIG_SPL_TEXT_BASE. It therefore cannot be used as ddr-loader.bin. The Yocto integration I mentioned generates the compatible DDR loader and the remaining inputs for the new boot chain (and inputs to the binman processing in U-Boot), but that work is not merged or published yet (but it will be, hopefully soon :) So bottom line is that if you want to use this new SPL, you also need some kind of special DDR loader firmware that is generated by a not-yet but soon-to-be available yocto release. I'll try to clarify better this point in V2 (and I hope this is more clear now). Cheers, -- Carlo Caione
