UEFI: Make architecture generic
|Reported by:||kallisti5||Owned by:||nobody|
|Keywords:||uefi arm u-boot||Cc:|
Description (last modified by )
UEFI needs to be reworked to build for non-x86 platforms. Recent u-boot's support .efi binary booting and would let us leverage u-boot's framebuffer in our haiku_loader. (reducing the need for hacked in early SOC hardware drivers for framebuffers and other devices haiku_loader needs). This would also let us consolidate boot loader target platforms... and help us have *real* drivers attached to and FDT bus in the kernel. (we would only need early uart drivers for debugging)
'bootefi' is the u-boot command to load an efi binary.
BOOTARM.EFI is the default boot choice for ARM platforms (kind of like BOOTX64.EFI is on x86_64)
Jessicah has some EFI rework in-flight (making the compiled x86 loader build both BIOS and UEFI loaders) that is a blocker to beginning this.