[OE-core] [RFC] 'EFI' machine feature

Koen Kooi koen.kooi at linaro.org
Thu Jan 23 12:17:35 UTC 2014


Hi,

While working on the ARM support for GRUB I noticed that the EFI support 
in OE-core is a mess. A lot of it is due to GRUB insisting on its 
byzantine config/install/skynet system and the rest is due to the 
EFI==x86 assumption.

To improve this I'd like to start with adding an 'efi' MACHINE_FEATURE, 
which will:

* Mask non-EFI configs like grub-pc/grub-uboot
* allow PACKAGECONFIG instead of distro/arch/machine overrides in grub2
* Activate logic in image classes to create a GPT EFI System Partition

Further steps to address EFI support would be:

* integrate gummiboot into OE-core (meta-intel has an old version)
* deprecate grub-(not really)native
* create an efi bbclass that does the above ESP dance and knows how to 
populate it further e.g. grub.cfg and bootloader-spec entries for gummiboot.
* postinst magic to update bootloader config on kernel upgrade

Opinions/Flames/ACPI rants?

-- 
Koen Kooi
Builds and Baselines | Release Manager
Linaro.org | Open source software for ARM SoCs



More information about the Openembedded-core mailing list