1 .. SPDX-License-Identifier: GPL-2.0
3 =====================================
4 General note on [U]EFI x86_64 support
5 =====================================
7 The nomenclature EFI and UEFI are used interchangeably in this document.
9 Although the tools below are _not_ needed for building the kernel,
10 the needed bootloader support and associated tools for x86_64 platforms
11 with EFI firmware and specifications are listed below.
13 1. UEFI specification: http://www.uefi.org
15 2. Booting Linux kernel on UEFI x86_64 platform requires bootloader
16 support. Elilo with x86_64 support can be used.
18 3. x86_64 platform with EFI/UEFI firmware.
23 - Build the kernel with the following configuration::
26 CONFIG_FRAMEBUFFER_CONSOLE=y
28 If EFI runtime services are expected, the following configuration should
32 CONFIG_EFI_VARS=y or m # optional
34 - Create a VFAT partition on the disk
35 - Copy the following to the VFAT partition:
37 elilo bootloader with x86_64 support, elilo configuration file,
38 kernel image built in first step and corresponding
39 initrd. Instructions on building elilo and its dependencies
40 can be found in the elilo sourceforge project.
42 - Boot to EFI shell and invoke elilo choosing the kernel image built
44 - If some or all EFI runtime services don't work, you can try following
45 kernel command line parameters to turn off some or all EFI runtime
49 turn off all EFI runtime services
51 turn off EFI reboot runtime service
53 - If the EFI memory map has additional entries not in the E820 map,
54 you can include those entries in the kernels memory map of available
55 physical RAM by using the following kernel command line parameter.
58 include EFI memory map of available physical RAM