From patchwork Sun Jun 19 04:56:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahisa Kojima X-Patchwork-Id: 582999 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:7814:0:0:0:0 with SMTP id b20csp748082mav; Sat, 18 Jun 2022 21:56:59 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tOvPMc9JtC0qhk1e9sU8XpL6F5g9OLGZWerkg1TlYvkq9/tLd5oPXXUS8Tn7kfbGJvFfM5 X-Received: by 2002:a05:6402:1741:b0:433:4e4d:bfb4 with SMTP id v1-20020a056402174100b004334e4dbfb4mr21811424edx.7.1655614619235; Sat, 18 Jun 2022 21:56:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655614619; cv=none; d=google.com; s=arc-20160816; b=j5BYXCKII1tMwOSooC9G0RCI/NchmvpMXlgNVnS2uT7UnZRq0gZuw/C+HaPDxUuAaH lxEXr6RX0D5KSglZEJSuqiQ/X0kWF/EDapSdipiW4B29IiP5adq9zXFg14dUmB5UN81s ZEe8nmYQqcBwjUUXvFjoDfXdPcpV/muSlJyDu5wyf+FsZH0Y0cogR4mNvekWXlWuZQNV hw1/2m7E9QmB6rYBL0a7+e4/lDIVUuRMVkTdni6mEz1naocq1y+yRsRvgGPjUfGJMP3w V5hqG/4lSurw6Mt6LfP89vJXiBfpobEX2emqa9kb54Uy5UXEA7eV69jSlmp0P5VlX0MR Wb0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=yl0fOm9Dk2mQNW3V9MRAGwieU68f5bxzBQQLRqELvcE=; b=I0Jt2Zt2PROFO2SAyc8iF/R4BMhXZp7kJDm8zfoBVG+7sYw4mhYcmbBQv2rnr2dp07 SuSWB2yFi0tC1v1ssgiK8Y3YZiX4mXIB1cmYL0l1MprCZ+rAOTy6mg8ksE6iJQWe+Was 6NNY9aKzpMw3BfxKneRLEW3lqTwVyg4Ih8XzyjFP2Ff2AwM45evqESWQU5P+hzOMZSRt vCkUj2whguWOogh0JgwTDak6zmsjx+YMW77rzwqR/wTVG0yXWXszpYejh2coG9/YOAGI 9jOiSw1HFPGodGLKg9xXpiBxKZM78cSUXukqYiL4wXrmQiDv0mNJ//QGICw2Xne3EkgA rWag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=a8vE5VJv; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id gs24-20020a170906f19800b006e01f1d9677si4631850ejb.532.2022.06.18.21.56.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Jun 2022 21:56:59 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=a8vE5VJv; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 986CE84466; Sun, 19 Jun 2022 06:55:52 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="a8vE5VJv"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1AFDE84463; Sun, 19 Jun 2022 06:55:51 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 0639A84460 for ; Sun, 19 Jun 2022 06:55:48 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=masahisa.kojima@linaro.org Received: by mail-pj1-x1035.google.com with SMTP id h34-20020a17090a29a500b001eb01527d9eso6586790pjd.3 for ; Sat, 18 Jun 2022 21:55:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=yl0fOm9Dk2mQNW3V9MRAGwieU68f5bxzBQQLRqELvcE=; b=a8vE5VJv39NRMLu4M3w8xYllPBzHStQIps53fR+pnPUadRQxcO52TJvngChfKymSJ6 vA3abjpFUYtWuvtdKac1UqnPnHhpo5iN0be02RCZv7sgChxj0i8BJdjzUueq6hHtIkMU yN23+uNO5SrpHxkiUr7QcJb/qfZQjXuwyR9qVGciTadZu5gPGCBaKgUYWY6OtZAcO90m WFc8ccF0m2P+i7go1yS0Kg0u6XtsPaC1+WhjE/4MrGddk3TqfHAsEgjwKB44fnCej2fs lrDdHv21WHRyVJUde+TeclFhk0S97L2YmvNUYxVHqcDLhKr83ixpgRrkvpDZGaiX6Amj d60A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=yl0fOm9Dk2mQNW3V9MRAGwieU68f5bxzBQQLRqELvcE=; b=17WVd5vF9h8hG5PV1yu/dW9qbshKnQkt/FPIstv80cPZFnfMRnjK99NTNS7BAeUfRK YFm2zjOcUHYI/BlQxeQJXU2PoTj47wZcyUJyC0n2cVYKnjR9vCfQB2Rn2FOLk6snZk1F J6M+MY9aHguGQZ1Ti8gTs0vKVmzKjuZp+K2UovjmXZ/E+Clh9BCk1UPYClFqkXoJC9Pz dNbilhruZaVr4037pCCYfQIUhUfRUFrJCADA6owoqGV6AXyTpK0kooiTvRqHafp7ZVbt dPyJ2Ry2buBjD+kg6ASzqZJoG8I0ElwjX8aCijAGz3V9MzDLseL05gApL+FiO6HgWHbT DEjA== X-Gm-Message-State: AJIora+7RBAHGXkdzaNLmhJbz4HQ6GQ5BbSRKKYI5g9wwhAj/ooAUgOJ 8DaxDziahSr5wo0Z2ghJftBR9C9+ISxRFg== X-Received: by 2002:a17:90a:6444:b0:1ea:b662:c12e with SMTP id y4-20020a17090a644400b001eab662c12emr19701315pjm.199.1655614546106; Sat, 18 Jun 2022 21:55:46 -0700 (PDT) Received: from localhost.localdomain ([240d:1a:cf7:5800:82fa:5bff:fe4b:26b1]) by smtp.gmail.com with ESMTPSA id 9-20020aa79149000000b00518424f8922sm6381848pfi.77.2022.06.18.21.55.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Jun 2022 21:55:45 -0700 (PDT) From: Masahisa Kojima To: u-boot@lists.denx.de Cc: Heinrich Schuchardt , Ilias Apalodimas , Simon Glass , Takahiro Akashi , Francois Ozog , Mark Kettenis , Masahisa Kojima , Bin Meng , =?utf-8?q?Marek_Beh=C3=BAn?= , Patrick Delaunay , Roland Gaudig Subject: [PATCH v8 9/9] doc:eficonfig: add documentation for eficonfig command Date: Sun, 19 Jun 2022 13:56:07 +0900 Message-Id: <20220619045607.1669-10-masahisa.kojima@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220619045607.1669-1-masahisa.kojima@linaro.org> References: <20220619045607.1669-1-masahisa.kojima@linaro.org> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean Add documentation for eficonfig command. Signed-off-by: Masahisa Kojima --- Changes in v8: - command name is changed from "efimenu" to "eficonfig" Newly created in v7 doc/usage/cmd/eficonfig.rst | 50 +++++++++++++++++++++++++++++++++++++ doc/usage/index.rst | 1 + 2 files changed, 51 insertions(+) create mode 100644 doc/usage/cmd/eficonfig.rst diff --git a/doc/usage/cmd/eficonfig.rst b/doc/usage/cmd/eficonfig.rst new file mode 100644 index 0000000000..93b2df306d --- /dev/null +++ b/doc/usage/cmd/eficonfig.rst @@ -0,0 +1,50 @@ +.. SPDX-License-Identifier: GPL-2.0+ +.. (C) Copyright 2022, Masahisa Kojima + +eficonfig command +================= + +Synopsis +-------- +:: + + eficonfig + +Description +----------- + +The "eficonfig" command uses U-Boot menu interface and privides +a menu-driven UEFI variable maintenance feature. +The "eficonfig" has the following menu entries. + +Add Boot Option + Add new UEFI Boot Option. + User can edit description, file path, and optional_data. + +Edit Boot Option + Edit the existing UEFI Boot Option + User can edit description, file path, and optional_data. + +Change Boot Order + Change the order of UEFI BootOrder variable. + +Delete Boot Option + Delete the UEFI Boot Option + +Configuration +------------- + +The "eficonfig" command is enabled by:: + + CONFIG_CMD_EFICONFIG=y + +If CONFIG_BOOTMENU_DISABLE_UBOOT_CONSOLE is enabled, user can not enter +U-Boot console. In this case, bootmenu can be used to invoke "eficonfig":: + + CONFIG_USE_PREBOOT=y + CONFIG_PREBOOT="setenv bootmenu_0 UEFI Maintenance Menu=eficonfig" + +See also +-------- +* :doc:`bootmenu` provides a simple mechanism for creating menus with different boot items + diff --git a/doc/usage/index.rst b/doc/usage/index.rst index c03f4aef9e..106dbfa1b2 100644 --- a/doc/usage/index.rst +++ b/doc/usage/index.rst @@ -33,6 +33,7 @@ Shell commands cmd/cbsysinfo cmd/conitrace cmd/echo + cmd/eficonfig cmd/env cmd/event cmd/exception