Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp6914579yba; Thu, 2 May 2019 00:14:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqxPa657jbflFwTpPjH+2TzDF3j5MZRPxZXK/mo6G2bB39r57qa5XaTEoibeO8CwWQmI0UlB X-Received: by 2002:a17:902:5a0a:: with SMTP id q10mr2131850pli.101.1556781293243; Thu, 02 May 2019 00:14:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556781293; cv=none; d=google.com; s=arc-20160816; b=M677GeZurJX3xAyWUs6mvoYfvf492Cqa3OPgMJGAvRCJdVdOhFvyEf0M+SZn34AIn5 LNsa1d5gey7MHYYLkFgI+IwZi9XvZacm7SHdSr/UJxAD6k14Wx7QNLWDiXGN3DvjB4KS DKBstk+xiH6hZySBxVTySbfmobqqTRXOY33iFeAMxyue3bqrhpjF38cjvBxy+7JjLI1T Hsr26xvKN+t7cSgjTQn1FLEtbse3m35LqckCcWXqzkKEHJznbD8S72faKzl3FyimLTR5 4ipQ++pEhAZrL4NsIUD2pwTUWYFDiXRD/zmE3VoRpdwvhBXiD8hoTy8+HGb1AB/uoz0J 8Edw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=T5ewii1e+MTEfWZGeRVIBVrPsob2PwcVcWoJvnrmTVY=; b=qizxRHzLpUCVT6IY5ZRVZK57Z1NW1ESEcaGhdbCSNdvcIwyaBqesGPBcqVjZszF+Y3 mhmfSIfD8o3j55aeXajV660ejvMHDu6RJGKusBiXlJDmiYCyMbObcvFRuxpnAVXvbpw2 zNyefqSpo/JaK9rI7++7QxXkPDeeXsQWyPfrN8vncc0YSJz0gUEloalvDTYz7hI3jX6t Ca/60s1bxuAjiFrm4zbWKxL7KJeRPPTbTVUjXpP5bAbmQWmuimyEBn2HPOVQlfUgaA3e U9ZZbk0Aj8LTM0vV0tz8QPpcwvqFw2nJMjyxk+8zgRN1osjEixFZ8r4AhTEmFu5/9CS/ o4DA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="WuspEN7/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b41si45516833pla.241.2019.05.02.00.14.38; Thu, 02 May 2019 00:14:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="WuspEN7/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726834AbfEBHLn (ORCPT + 99 others); Thu, 2 May 2019 03:11:43 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:40534 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726202AbfEBHLl (ORCPT ); Thu, 2 May 2019 03:11:41 -0400 Received: by mail-pg1-f196.google.com with SMTP id d31so643547pgl.7; Thu, 02 May 2019 00:11:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=T5ewii1e+MTEfWZGeRVIBVrPsob2PwcVcWoJvnrmTVY=; b=WuspEN7/uK2jP84acxB/Ef808mAHUJ4WGQpKUiao33FnWzc1pD+LkJtRr6jh4Ie/Dh Vt7G62bmJMU1QgPb6Y1M5rUhVG7OXR0Glv1sFQDRhEZFpL0nTbDkHBBvRGcSI65i4lvu sKE00WYhd22/Z4nKTLMMika+PGalte0FW4mjTGs3PQvOnr5Jf+S1q/+DZcGADnP65bZZ 7S7CZMQNcwicONPDeeVsfjLyTgegR3kffdNsa3GVnk0AITAOji1qmJaCFsvfljVuTwFL f15WVjwNgLqXnhLw5UQ6hVh9y5AT+7OLS+zWgohek0IMQPeCxeupd7GRKPXJEcsVA/kJ SXjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=T5ewii1e+MTEfWZGeRVIBVrPsob2PwcVcWoJvnrmTVY=; b=emk7tDEr7MxMwBYrgymB2Id+e5sm/kkxcO3FBnwuOAMS/021eZTU+pKR3zwnyHPrX9 W/gaIKHuKQZ50fUCHI83ZiAGMwWxig15KKEK1E7wA3mvoTlGTvd9lbstVo+nPcVEjDlH s+vgyNp/NH3DyoTy/FGHzsSqag8pyy773Mp/MbaNzu9OclB2cWkJGwS/ThmuA2bkIVOB k1alzXLuCuXO2fLa6+S7oiUKal1urvZkwuCk8i3VVCip2mBtuFkl0cj/nHw88/lOhQL0 vCFzEbqPkDdFrfb/iz+MB1k1EJfg9truG3+ytMSJ1VOObcyo45BSwYajXShsCSl+tBIS mQig== X-Gm-Message-State: APjAAAUZUG1JN5/ma9hKxQ0LxLXEnbCnFwEh0jpEudJTGYktetYLzqg6 sS6Q+2yQuE74sGwdbxHMSy4= X-Received: by 2002:a63:2ace:: with SMTP id q197mr2335192pgq.371.1556781100875; Thu, 02 May 2019 00:11:40 -0700 (PDT) Received: from laptop.DHCP ([104.238.181.70]) by smtp.gmail.com with ESMTPSA id u24sm4686976pfh.91.2019.05.02.00.11.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 May 2019 00:11:39 -0700 (PDT) From: Changbin Du To: corbet@lwn.net, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de Cc: x86@kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Changbin Du , Mauro Carvalho Chehab Subject: [PATCH v2 22/27] Documentation: x86: convert x86_64/uefi.txt to reST Date: Thu, 2 May 2019 15:06:28 +0800 Message-Id: <20190502070633.9809-23-changbin.du@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190502070633.9809-1-changbin.du@gmail.com> References: <20190502070633.9809-1-changbin.du@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du Reviewed-by: Mauro Carvalho Chehab --- Documentation/x86/x86_64/index.rst | 1 + .../x86/x86_64/{uefi.txt => uefi.rst} | 30 ++++++++++++++----- 2 files changed, 24 insertions(+), 7 deletions(-) rename Documentation/x86/x86_64/{uefi.txt => uefi.rst} (79%) diff --git a/Documentation/x86/x86_64/index.rst b/Documentation/x86/x86_64/index.rst index a8cf7713cac9..ddfa1f9d4193 100644 --- a/Documentation/x86/x86_64/index.rst +++ b/Documentation/x86/x86_64/index.rst @@ -8,3 +8,4 @@ x86_64 Support :maxdepth: 2 boot-options + uefi diff --git a/Documentation/x86/x86_64/uefi.txt b/Documentation/x86/x86_64/uefi.rst similarity index 79% rename from Documentation/x86/x86_64/uefi.txt rename to Documentation/x86/x86_64/uefi.rst index a5e2b4fdb170..88c3ba32546f 100644 --- a/Documentation/x86/x86_64/uefi.txt +++ b/Documentation/x86/x86_64/uefi.rst @@ -1,5 +1,8 @@ +.. SPDX-License-Identifier: GPL-2.0 + +===================================== General note on [U]EFI x86_64 support -------------------------------------- +===================================== The nomenclature EFI and UEFI are used interchangeably in this document. @@ -14,29 +17,42 @@ with EFI firmware and specifications are listed below. 3. x86_64 platform with EFI/UEFI firmware. -Mechanics: +Mechanics --------- -- Build the kernel with the following configuration. + +- Build the kernel with the following configuration:: + CONFIG_FB_EFI=y CONFIG_FRAMEBUFFER_CONSOLE=y + If EFI runtime services are expected, the following configuration should - be selected. + be selected:: + CONFIG_EFI=y CONFIG_EFI_VARS=y or m # optional + - Create a VFAT partition on the disk - Copy the following to the VFAT partition: + elilo bootloader with x86_64 support, elilo configuration file, kernel image built in first step and corresponding initrd. Instructions on building elilo and its dependencies can be found in the elilo sourceforge project. + - Boot to EFI shell and invoke elilo choosing the kernel image built in first step. - If some or all EFI runtime services don't work, you can try following kernel command line parameters to turn off some or all EFI runtime services. - noefi turn off all EFI runtime services - reboot_type=k turn off EFI reboot runtime service + + noefi + turn off all EFI runtime services + reboot_type=k + turn off EFI reboot runtime service + - If the EFI memory map has additional entries not in the E820 map, you can include those entries in the kernels memory map of available physical RAM by using the following kernel command line parameter. - add_efi_memmap include EFI memory map of available physical RAM + + add_efi_memmap + include EFI memory map of available physical RAM -- 2.20.1