From Fedora Project Wiki
Line 15: Line 15:
* Last updated: 2009-03-20
* Last updated: 2009-03-20
* Percentage of completion: 90% (missing functionality = PXE boot, IA64 update EFI 1.1 --> UEFI 2.1)
* Percentage of completion: 90% (missing functionality = PXE boot, IA64 update EFI 1.1 --> UEFI 2.1)
* NOTE WELL Fedora Alpha had two kernel bugs BZ 466959, 488579 that broke UEFI. Those will be fixed in the Fedora Beta, and the fixes are available now in Rawhide Fedora development branch
* NOTE WELL Fedora Alpha had two kernel bugs BZ 466954, 488579 that broke UEFI. Those will be fixed in the Fedora Beta, and the fixes are available now in Rawhide Fedora development branch
* See [[Releases/Rawhide|Rawhide]] for instructions on how to get/use Rawhide  
* See [[Releases/Rawhide|Rawhide]] for instructions on how to get/use Rawhide  



Revision as of 18:41, 26 March 2009

EFI

Summary

(from uefi.org) UEFI stands for "Unified Extensible Firmware Interface". The UEFI specification defines a new model for the interface between personal-computer operating systems and platform firmware. The interface consists of data tables that contain platform-related information, plus boot and runtime service calls that are available to the operating system and its loader. Together, these provide a standard environment for booting an operating system and running pre-boot applications.


Owner

  • Name: PeterJones
  • Name: Denise Dumas -- ddumas@redhat.com

Current status

  • Targeted release: Fedora 11
  • Last updated: 2009-03-20
  • Percentage of completion: 90% (missing functionality = PXE boot, IA64 update EFI 1.1 --> UEFI 2.1)
  • NOTE WELL Fedora Alpha had two kernel bugs BZ 466954, 488579 that broke UEFI. Those will be fixed in the Fedora Beta, and the fixes are available now in Rawhide Fedora development branch
  • See Rawhide for instructions on how to get/use Rawhide


Sub-task Percent Complete Notes
x86_64 starting the installer 90 'dd if=images/efidisk.img of=/dev/$USBSTICK' produces a (somewhat malformed) usb stick that you can boot the installer from. CDs/DVDs now working. PXE boot in progress).
i386 starting the installer 90 Working now with hardware we have, likely to need further debug as specific hardware platforms are tested.
x86_64 efi able to detect and boot the i386 kernel 0 Needed to install i386 on the Santa Rosa Macs. But low priority and unlikely to be supported because of buildinstall issues.
x86_64 installation 99 Install working now with minor bugs for Intel boxes, UEFI 2.1. Not working on MACs, untested on any other hardware platforms and likely to need further debug there.
i386 installation 99 Install working now with minor bugs, likely to need further debug for individual hardware platforms.
x86_64 booting (post install) 99 Working in Rawhide on Intel boxes, not working on MACs, not tested on Dell or any other hardware platforms.
i386 booting (post install) 99 Working in Rawhide
ia64 starting the installer 0 Some grub work needed, plus a small amount of work in anaconda's scripts/mk-images
ia64 installation 0 Need to switch from elilo to grub - lower priority than completing X86_64 device support.
ia64 booting (post install) 0 No IA64 Fedora yet for F11; therefore low priority
efibootmanager wrangling 100 Done: package committed to CVS, comps updated

Detailed Description

EFI has long been available for ia64 systems. UEFI brings it to i386 (the Intel-based Apple Mac products have it, as do a few HP systems sold primarily in China), and it will be widely available in x86_64-capable systems in the next few years.

Several things need to happen (in no particular order):

  • GRUB needs to learn to read an EFI GUID Partition Table. (done)
  • GRUB needs to run as an EFI boot loader. (done)
  • GRUB needs to be ported to build and run on ia64 so elilo can be dropped (not done)
  • Kernel needs i386 and x86_64 CONFIG_EFI code (should be easier after the 2.6.24 merge into x86) (done)
  • Kernel needs CONFI_FB_IMAC and CONFIG_FB_EFI merge upstream (done)
  • Kernel needs CONFIG_FB_EFI and associated driver (efifb) (done)
  • Kernel needs CONFIG_FB_IMAC (imacfb support) for Intel Macs (obviated; pjones merged this into efifb)
  • GRUB needs to write out screen_info from UGA so we can use efifb instead of imacfb (done)
  • Kernel needs CONFIG_EFI_VARS enabled on i386 and x86_64 (done)
  • efibootmgr needs to be split out from the elilo package (done)


Benefit to Fedora

Hardware enablement.

Scope

Well-contained. grub, efibootmgr as described above, for 3 platforms. Note that Fedora 11 IA64 compose is pre-req for IA64 UEFI changes.

Test Plan

UEFI-capable systems are available from a number of vendors under NDA. Those with access to such systems are actively solicited to perform testing. We have very limited hardware access, which hampers the debugging effort.

NOTE: A Fedora Test Day is planned for UEFI, we will send email announcements to hardware partners once it is scheduled.

Test plan is pretty straightforward. The new components (grub, kernel, efibootmgr) will need to be tested for UEFI functionality.

  • Architectures:

X86 X86_64 IA64

  • Manufacturer's Platforms:

TBD - whoever is interested in support for their hardware

  • Each platform should be able to install and boot from:
    • Internal disk
    • External disk connected by FC
    • USB CD
    • USB DVD
    • Other USB storage devices TBD
    • Network devices
  • Additional test cases:
    • Variable runtime services, in particular the ability to write to NVRAM
    • Able to list at least 10 devices as boot devices
    • Boot from disk > 2TB
    • More? What else should we be testing?
  • Fedora UEFI Test Day is scheduled for April 9, 2009 - see UEFI Test Day for instructions and details

User Experience

Significantly similar to that of today. The EFI Boot Manager, which runs in the BIOS, is a new feature, which can be frobbed at runtime using efibootmgr.

Dependencies

Vendor support in hardware

Contingency Plan

Initial UEFI support appeared in Fedora 10. In Fedora 11 we will expand support, contingent upon hardware availability. UEFI-capable hardware platforms provide a BIOS-compatibility mode, so if they are not verified in time for Fedora 11 and bugs later are found, the hardware platforms can boot in BIOS compatibility mode. Non-UEFI hardware platforms are not affected by this code.

Documentation

Release Notes

  • UEFI hardware support is not yet widely available and the user impact is negligible, so no release note is needed beyond "we support UEFI"

Comments and Discussion