From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7A85BC433EF for ; Sun, 19 Jun 2022 04:56:59 +0000 (UTC) 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) 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-Google-Smtp-Source: AGRyM1tptbfW8QicN399h0181v3XiC+0RUGVfi+Vtmx1/kO5TiWjJkISNN3ZwamOPv8UAvxpn+AZqw== 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=20Beh=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 -- 2.17.1