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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4A6B2C433EF for ; Sat, 25 Sep 2021 00:39:31 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id C336D610F7 for ; Sat, 25 Sep 2021 00:39:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org C336D610F7 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0E7CC8356E; Sat, 25 Sep 2021 02:39:29 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="iCSLmeUo"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 27217834D0; Sat, 25 Sep 2021 02:32:49 +0200 (CEST) Received: from mail-oi1-x235.google.com (mail-oi1-x235.google.com [IPv6:2607:f8b0:4864:20::235]) (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 1C96B834E2 for ; Sat, 25 Sep 2021 02:31:38 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-oi1-x235.google.com with SMTP id e24so6942998oig.11 for ; Fri, 24 Sep 2021 17:31:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=FYdY8Ygw1NYXuoIguzDgz86anU7tSOidFBrAHjwqgmo=; b=iCSLmeUo826VM8wo2CyJXISaa//eQXZlCqOTQmqB70fvS+G3xcyyNZLyZqWbnun87I OqD0Ls9570NpzaeN4t6gNFfgY8fhswKrty5bJVme2yCUobLUwaMOUCqIj0kaFumONcwd KlETlxh1nOGxJ7fYHcu56jVlZiTHvT8juM3mM= 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:mime-version:content-transfer-encoding; bh=FYdY8Ygw1NYXuoIguzDgz86anU7tSOidFBrAHjwqgmo=; b=DJCDchlfXeNIg4jRKj0fikRR5G/VfOz3ZHybOVw2LXsLtLTEs4w7MsvZYVYiKBfHHu Ibr3C0RLUKLA6i5Uf9mcn8Vj56e8Ab9OZAa/kui7hfcHGuE6BI6ne7sjLmiulTuRe1A1 hpbUr6GK1u/N4EBEcS7/WS3cDDGxx35uxffDItbBYuoUG1BxEJTXHcwbW6XGQPbGSVwN 6EM8F/fdn7ibTciffqd2q8etMCChT+3mC6ONuEce8L9GBY3KhMqXO7XVAT1K3mc+Whn1 IAHXTy+AcxSFZUPDme+aZO01FA0OYa/2dIus1OzZb+KVZcv8Jv0SwLCc+RbtBCNqi7To Ur1w== X-Gm-Message-State: AOAM533LdDajH4mfuEhcyDXTIbcBeRVza2QK0mwtekyLazI/FW+xqAOl X68WC/oR0jspF5ijt2z9p+pbRRPx2TLPCA== X-Google-Smtp-Source: ABdhPJxmGOODuCPJgQjZQUo3VulSmcN7RSkh/fy0ZG3Ei9qXoIVqYuJclGYQwKR3Q0Bg8bZhTHF+YQ== X-Received: by 2002:a05:6808:1894:: with SMTP id bi20mr3728787oib.170.1632529896656; Fri, 24 Sep 2021 17:31:36 -0700 (PDT) Received: from kiwi.bld.corp.google.com (c-67-190-101-114.hsd1.co.comcast.net. [67.190.101.114]) by smtp.gmail.com with ESMTPSA id y83sm2491462oia.47.2021.09.24.17.31.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Sep 2021 17:31:36 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Heinrich Schuchardt , Bin Meng , Christian Melki , Tom Rini , Ilias Apalodimas , Simon Glass , Alexander Graf Subject: [PATCH v2 37/39] efi: Allow easy selection of serial-only operation Date: Fri, 24 Sep 2021 18:30:53 -0600 Message-Id: <20210924183029.v2.37.I8927cdce4b36339b962ef31074500198fcc3be1c@changeid> X-Mailer: git-send-email 2.33.0.685.g46640cef36-goog In-Reply-To: <20210925003055.759305-1-sjg@chromium.org> References: <20210925003055.759305-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.2 at phobos.denx.de X-Virus-Status: Clean Add info about how to select vidconsole or serial. Also set up a demo boot command. Signed-off-by: Simon Glass --- Changes in v2: - Add a better boot command too include/configs/efi-x86_app.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/include/configs/efi-x86_app.h b/include/configs/efi-x86_app.h index 6061a6db0a4..33afb7ca0f9 100644 --- a/include/configs/efi-x86_app.h +++ b/include/configs/efi-x86_app.h @@ -10,8 +10,33 @@ #undef CONFIG_TPM_TIS_BASE_ADDRESS +/* + * Select the output device: Put an 'x' prefix before one of these to disable it + */ + +/* + * Video output - can normally continue after exit_boot_services has been + * called, since output to the display does not require EFI services at that + * point. U-Boot sets up the console memory and does its own drawing. + */ #define CONFIG_STD_DEVICES_SETTINGS "stdin=serial\0" \ "stdout=vidconsole\0" \ "stderr=vidconsole\0" +/* + * Serial output with no console. Run qemu with: + * + * -display none -serial mon:stdio + * + * This will hang or fail to output on the console after exit_boot_services is + * called. + */ +#define xCONFIG_STD_DEVICES_SETTINGS "stdin=serial\0" \ + "stdout=serial\0" \ + "stderr=serial\0" + +#undef CONFIG_BOOTCOMMAND + +#define CONFIG_BOOTCOMMAND "part list efi 0; fatls efi 0:1" + #endif -- 2.33.0.685.g46640cef36-goog