blob: 7d77120a51841aea77164a6aab2f682f10ca1a2d [file] [log] [blame]
Huang, Ying164e2172007-11-28 16:21:56 -08001General note on [U]EFI x86_64 support
2-------------------------------------
3
4The nomenclature EFI and UEFI are used interchangeably in this document.
5
6Although the tools below are _not_ needed for building the kernel,
7the needed bootloader support and associated tools for x86_64 platforms
8with EFI firmware and specifications are listed below.
9
101. UEFI specification: http://www.uefi.org
11
122. Booting Linux kernel on UEFI x86_64 platform requires bootloader
13 support. Elilo with x86_64 support can be used.
14
153. x86_64 platform with EFI/UEFI firmware.
16
17Mechanics:
18---------
19- Build the kernel with the following configuration.
20 CONFIG_FB_EFI=y
21 CONFIG_FRAMEBUFFER_CONSOLE=y
Huang, Ying9ad65e42008-01-30 13:31:19 +010022 If EFI runtime services are expected, the following configuration should
23 be selected.
24 CONFIG_EFI=y
25 CONFIG_EFI_VARS=y or m # optional
Huang, Ying164e2172007-11-28 16:21:56 -080026- Create a VFAT partition on the disk
27- Copy the following to the VFAT partition:
28 elilo bootloader with x86_64 support, elilo configuration file,
29 kernel image built in first step and corresponding
30 initrd. Instructions on building elilo and its dependencies
31 can be found in the elilo sourceforge project.
32- Boot to EFI shell and invoke elilo choosing the kernel image built
33 in first step.
Huang, Ying9ad65e42008-01-30 13:31:19 +010034- If some or all EFI runtime services don't work, you can try following
35 kernel command line parameters to turn off some or all EFI runtime
36 services.
37 noefi turn off all EFI runtime services
38 reboot_type=k turn off EFI reboot runtime service