Opened 16 months ago

Last modified 16 months ago

#14436 new task

UEFI: Make architecture generic

Reported by: kallisti5 Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: System/Boot Loader Version: R1/Development
Keywords: uefi arm u-boot Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description (last modified by kallisti5)

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)

https://www.cnx-software.com/2016/08/11/u-boot-now-supports-uefi-on-32-bit-and-64-bit-arm-platforms/

'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.

Change History (1)

comment:1 by kallisti5, 16 months ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.