Hi,

On 16-Dec-25 3:39 PM, Gerd Hoffmann wrote:

>>> Can't the DTBs be shipped as UKI add-ons?
>>
>> That's a good question, but I wonder if that would be too late? I was
>> told we can't do it in initramfs, which makes it sound like it
>> absolutely needs to be in vmlinux.
> 
> Add-ons are loaded by the systemd efi stub.  They can carry data which
> is later user by the initrd (sysext + confext), but it is also possible
> to add things to the UKI.  I think having add-ons with '.dtbauto'
> sections and have systemd-stub use them when booting the kernel should
> work.

Hmm, what would using an extension here gain us over just building this
directly into the vmlinuz PE EFI binary?

I don't know if this will work and for now I would like to focus
on getting things working OOTB rather then going for the perfect
solution. There also is a ton of other work which needs to be done
to get these laptops to at least boot without problems (without
going into missing features) because of e.g. dracut leaving some
essential firmwares out of the initrd, which requires a mix of
kernel (module tags) and dracut fixes.

I can see ging to add-on route being useful if the uki-virt initrd
is also put in an add-on so that we can share a single ukified vmlinuz
PE EFI binary between uki-virt and the dtbloader. But again I
don't know if this will work and I only have limited time to work
on this.

Regards,

Hans


-- 
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to