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 F1EA2C433EF for ; Fri, 22 Jul 2022 02:04:16 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B847284084; Fri, 22 Jul 2022 04:04:14 +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="Ut55QNGt"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7C5B3840B1; Fri, 22 Jul 2022 04:04:12 +0200 (CEST) Received: from mail-yb1-xb36.google.com (mail-yb1-xb36.google.com [IPv6:2607:f8b0:4864:20::b36]) (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 7E6B883445 for ; Fri, 22 Jul 2022 04:04:09 +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-yb1-xb36.google.com with SMTP id a82so262757ybb.12 for ; Thu, 21 Jul 2022 19:04:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tgWe2OqUW25BLaqGqMlJIZsG4bRrxirUfGDmsT48+do=; b=Ut55QNGtzBVNuqkJE58HNjThm9rMxs6to+OYn6DR4F2esOXMqKOwFNNY3Jg7k+ulUN JSdPCxSy4IHZwE+vh6KbbU27RTFHhahUa8zEjRGa6DhFvVvkV9wGVpxHG6PElP7qlM/7 TUXjzpv8iv8A7OY5fqzJ4fraYIgutKz0Izwd7uC9WAe9LXMoCtraZflV9UQ5WujNRCvq g4U51IKM7ffPXvIu3Jg9iSTYGm5AI2zoq0jE5HPYV8WiVYrzPx/dALJoEuMgenUhPETW VuVFZrtM48aj6wX5vDKKTi9hVyaqo6DEoEVNuK1QRaxrNtZbqRMvtDpRF/ncNnwkkoEX ndGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tgWe2OqUW25BLaqGqMlJIZsG4bRrxirUfGDmsT48+do=; b=VrJFVpbDQELOr3qZ+9SxuZibkKeilzXx0B5ufxVoN4jaWO5DsBPX73q+Px3nV+ML0y Ukmrus3f/8kQf186nHs5XfltYSdn8wTH6MG/7dCeShbwOyhiYtnI+0fNCcxq5cAyKyDY cIdnGTpWqEWVut5IojR6N8vzIw45emZrGZKjkwK79g3lAkp9B/0v+dWDYqLtdBYoP/9V jQW4O2EMnZj5ycOcHA5/KObrBoCGGaKmRXc+YIAL/juflvFZKDRmOHW83W8vwLmsv/1E fTze1gPu8QKplih5wJcOi56OQtMlF7S40zZY6y0KAmvh/b1IP7F8Cn+1TEzA2NzL/KVq kurw== X-Gm-Message-State: AJIora+ys65W83Wq5AcWfkoG8rz3pX4B3BTI5Cs/NOTDDmhJtWBvnYGd qaDP+dFbThwa8yeXUo70WcfSjcRqJlh6ECKFa7nv4g== X-Google-Smtp-Source: AGRyM1svJj4SOmLjp2KUAq6Kau8FgSqPjq5D6qa5rf3N2TJTdjxDZD9OrNunl/ExpQN8dDaO8ZyqdkI0uzQAQpNHOJk= X-Received: by 2002:a25:b90b:0:b0:664:a584:faf5 with SMTP id x11-20020a25b90b000000b00664a584faf5mr1219657ybj.144.1658455447894; Thu, 21 Jul 2022 19:04:07 -0700 (PDT) MIME-Version: 1.0 References: <20220715144749.30564-1-masahisa.kojima@linaro.org> <20220715144749.30564-10-masahisa.kojima@linaro.org> In-Reply-To: From: Masahisa Kojima Date: Fri, 22 Jul 2022 11:03:56 +0900 Message-ID: Subject: Re: [RESEND v9 9/9] doc:eficonfig: add documentation for eficonfig command To: Ilias Apalodimas Cc: u-boot@lists.denx.de, Heinrich Schuchardt , Simon Glass , Takahiro Akashi , Mark Kettenis , Bin Meng , =?UTF-8?B?TWFyZWsgQmVow7pu?= Content-Type: text/plain; charset="UTF-8" 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.6 at phobos.denx.de X-Virus-Status: Clean On Tue, 19 Jul 2022 at 21:52, Ilias Apalodimas wrote: > > On Tue, 19 Jul 2022 at 13:15, Masahisa Kojima > wrote: > > > > Hi Ilias, > > > > On Tue, 19 Jul 2022 at 17:03, Ilias Apalodimas > > wrote: > > > > > > Hello Kojima-san > > > > > > On Fri, 15 Jul 2022 at 17:45, Masahisa Kojima > > > wrote: > > > > > > > > Add documentation for eficonfig command. > > > > > > > > Signed-off-by: Masahisa Kojima > > > > --- > > > > No change sinch v8 > > > > > > > > Changes in v8: > > > > - command name is changed from "efimenu" to "eficonfig" > > > > > > > > Newly created in v7 > > > > > > > > doc/usage/cmd/eficonfig.rst | 49 +++++++++++++++++++++++++++++++++++++ > > > > doc/usage/index.rst | 1 + > > > > > > [...] > > > > > > > + > > > > +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" > > > > > > Can't we just set it as the default bootcmd? Does it have to be a > > > preboot command? > > > > "eficonfig" command is for updating UEFI variables(BOOT#### and > > BootOrder, etc.) only. > > User can not boot the system with "eficonfig" command, so I think it > > is not the desired > > option to set it as default bootcmd. > > Ok then we should describe a bit what functionality it offers. > The user can now configure eficonfig as a preboot command and that > will pop up on each boot. If the U-Boot timeout expires (which is > unaffected by the eficonfig) the board will boot with whatever > configuration it already has. If the user starts editing options > though he has to hit the 'exit' button for the board to boot. OK, I will describe further. Thanks, Masahisa Kojima > > Thanks > /Ilias > > > > Thanks, > > Masahisa Kojima > > > > > > > > Thanks > > > /Ilias > > > > + > > > > +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 8b98629d6b..1afbb6bc5d 100644 > > > > --- a/doc/usage/index.rst > > > > +++ b/doc/usage/index.rst > > > > @@ -35,6 +35,7 @@ Shell commands > > > > cmd/conitrace > > > > cmd/dm > > > > cmd/echo > > > > + cmd/eficonfig > > > > cmd/env > > > > cmd/event > > > > cmd/exception > > > > -- > > > > 2.17.1 > > > >