Implement EFI/multikernel setups
This is an issue to track what is needed to implement EFI/multikernel setups, instead of device specific bootscripts.
We assume we will go with either Grub or SystemD-Boot, depending on what easiest for us to use.
This here is a list of Tasks and Problems that needs to be solved for this to be implemented correctly:
-
Find out which of our currently supported devices support EFI. -
Create new kernel packages with correct naming. -
Make the new kernel packages provide a "skeleton" loader entry conf, with kernel name and version. -
Create scripts in uboot packages, to get correct "options" lines into all the loader entry conf files for all devices. -
If amlogic uboots can not be updated, find a way to also update the initramfs filename to .uimg in the loader entry conf files only for amlogic devices that need it. -
Update the tools with new partition layout setup and bootloader installation commands. -
Update the tools to enable EFI partition depending on DEVICE selected. -
Find a way to make sure existing installs is not broken, either by keeping the current stuff or create automatic migration. This includes reformatting the boot partition with $esp flag if it's needed on existing installs. -
How do we load the correct DTB when multiple kernels are installed, as they would have to be placed at different location to not conflict?
More tasks will be added as I think of them.