Chosen: convey kernel info inside chosen node#15
Chosen: convey kernel info inside chosen node#15jongwu wants to merge 1 commit intorepnop:masterfrom
Conversation
Direct kernel boot based on UEFI is that UEFI bypass bootloader and load kernel image directly. That's important in some secure container senario. To achieve this, VMM must pass kernel info to UEFI, typically through FDT. However, there is no description for FDT to convey kernel info. But initramfs gives us a hint to put these info inside Chosen node. That's what this patch does. Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
|
Hi, thanks for expanding more on what your request is. This information can actually already be obtained by using |
Yes, It works! Thanks.
I have never saw any doc about describing something releated with kernel image inside FDT. These kernel image information is important for direct kernel boot based on UEFI in virtualization. But this is only in my case. I have not saw other implementation about this except Qemu which use FWCFG to store kernel info. I choose FDT as it's a more common way to do these things. I hope there will be spec about this in the future. Maybe we can be the first to eat crab. 😄 |
Direct kernel boot based on UEFI is that UEFI bypass bootloader and load kernel image directly. That's important in some secure container senario. To achieve this, VMM must pass kernel info to UEFI, typically through FDT. However, there is no description for FDT to convey kernel info. But initramfs gives us a hint to put these info inside Chosen node. That's what this patch does.