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 X-Spam-Level: X-Spam-Status: No, score=-19.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 17FC6C433EF for ; Wed, 8 Sep 2021 13:40:49 +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 9427D61164 for ; Wed, 8 Sep 2021 13:40:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 9427D61164 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 03395834CC; Wed, 8 Sep 2021 15:36:53 +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="FqC1wGsb"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CE2868345C; Wed, 8 Sep 2021 15:35:25 +0200 (CEST) Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) (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 41E5B83465 for ; Wed, 8 Sep 2021 15:35:00 +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-wm1-x32b.google.com with SMTP id m2so1788874wmm.0 for ; Wed, 08 Sep 2021 06:35:00 -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=7tRx9mNHNWN6709IFk8LLr/DP2JYAWIMW0MAmZOzerY=; b=FqC1wGsbtzMrzEUGjExl9cI+Yo88+8sm8bheBPLZarSCKh7wdEz68RuYLfsb/+zX41 ROWw8rrC06SpLktgz4Uh0RguW1B2dMks18gy6Lzex0JfHBqHJaErF/q1/mqCQukgun+i fvxD5FtVsg3SJV9qzl4yjWs6BGSezaUJbsqzk= 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=7tRx9mNHNWN6709IFk8LLr/DP2JYAWIMW0MAmZOzerY=; b=w652tw1xjeiJv5soxYCU5e6660NIBfVnz/mptIaPVBRx9SL57S+fQAUY47kFUBHHH1 QAH0Mls8eSdARIEp094GUqPUZ2wKxhL91zRlyEVnV9l/+cgJwoiPUsZFn+TG9Rguecxw 9LXtfj/0VqIPwy7PK5EhFxVJwAekFwdvprkY8gfp/+MUod6CZOrCGH3msWCYgqWvFaKQ ikse0nd7RurHWe/FIAzvieMKZBgp5HiI/U1IIPUnz50+mZpKipDIA2AgSnvHb5OJwZfX BWgwTZAz/WOPtBmNIO/0YN2E5PfWLc8So9OOFEOD5V6qIOJzsATKnQYruG7n+qTbb2q9 oupQ== X-Gm-Message-State: AOAM531umFfah+O/BTpg+guxtDcJ7gdPHXx6OI8VVPeYjV/63P+EP0g5 VNttL9boThoI9R4S6r5sEIVTP2YaBUYpDABC X-Google-Smtp-Source: ABdhPJzKchgV1jjcbcVv86dWNOY+x0CtiF5oHLFzcmaQ+vQMP5S79r85CDDvrf5TBDdCUDZa+o7NMA== X-Received: by 2002:a7b:c843:: with SMTP id c3mr3680093wml.76.1631108099533; Wed, 08 Sep 2021 06:34:59 -0700 (PDT) Received: from sjg1.roam.corp.google.com (82-69-54-180.dsl.in-addr.zen.co.uk. [82.69.54.180]) by smtp.gmail.com with ESMTPSA id l2sm2209065wmi.1.2021.09.08.06.34.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Sep 2021 06:34:59 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Ilias Apalodimas , Heinrich Schuchardt , Bin Meng , Tom Rini , Christian Melki , Simon Glass , Alexander Graf Subject: [PATCH 35/35] efi: Allow easy selection of serial-only operation Date: Wed, 8 Sep 2021 07:34:05 -0600 Message-Id: <20210908073355.35.I8927cdce4b36339b962ef31074500198fcc3be1c@changeid> X-Mailer: git-send-email 2.33.0.153.gba50c8fa24-goog In-Reply-To: <20210908133405.696481-1-sjg@chromium.org> References: <20210908133405.696481-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. Signed-off-by: Simon Glass --- 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..cdd60be9f85 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" + #endif -- 2.33.0.153.gba50c8fa24-goog