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 77208C433F5 for ; Tue, 26 Oct 2021 03:37:20 +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 E3B9B60E74 for ; Tue, 26 Oct 2021 03:37:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org E3B9B60E74 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 8B87D83643; Tue, 26 Oct 2021 05:34:22 +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="M2pm1j2D"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D59C28358D; Tue, 26 Oct 2021 05:32:05 +0200 (CEST) Received: from mail-io1-xd35.google.com (mail-io1-xd35.google.com [IPv6:2607:f8b0:4864:20::d35]) (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 084608357F for ; Tue, 26 Oct 2021 05:31:36 +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-io1-xd35.google.com with SMTP id s20so4647852ioa.4 for ; Mon, 25 Oct 2021 20:31:35 -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=LAsBDGlPmC/+n6FzBOsFvh6gCKBbFfXjF1NuYZ8cqQ4=; b=M2pm1j2DbZcOWKe6HnmqwNkjd/wtLsQVHiqs2lPXaVHYSGZBQZGWYa2yUgzBCHzY8+ imL2YluIZrMOr3v+xCPjMCHlU4fcSC9FmVKc5K9fsHTvMfIsHwgAGbza0RYBDul8d5jG XuwkbuxamNTcyShsut/6OCw1rGoW6PJIHtgT0= 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=LAsBDGlPmC/+n6FzBOsFvh6gCKBbFfXjF1NuYZ8cqQ4=; b=HRRN2TQyWHxsWf5mZftiehCD/5aAFFsB74FnTcuTd53Zazrl7AStMkKCQQvbBRW34g P9ckuE6DwlWB2jqGnECvv4LcCYsHlFWsEdNB4c3rUdfGLOJkl64S53f5qvbyg93fSgo2 ThY2vHE5XdL6thCFnw4hdDoJ48rdCTHCDO/kldP5rjnqzSNWBXObLVS9gkl0WJJFnW+7 o+5h4JEY1nlZNr/1JXaXFPTUOfJh5a7JdlgfcgK5tc3z10e/riHW++VPkNm66qk6RXDG Oizq1eP0+RoJdvAc3QBLKt4CQEoheBJUbu2m0KESWGlq8R44GfN+Rp3VZH4baaVQy2H4 D5Aw== X-Gm-Message-State: AOAM530gM6hWqhOsYD5J4NrNfdLGIEIQu/lruBujWPySnpGUegvy9f9v mki8RHLbUjJ2R/nsrO/YfYhDu79Od5DUJQ== X-Google-Smtp-Source: ABdhPJy2HmNohenCxZoQ8En6iFwQXOdY9OxSpKJRIt0FO/zrEgP3xNPO+tU/RyQn9tXqUNPepNdm8Q== X-Received: by 2002:a5d:9d9a:: with SMTP id ay26mr13077986iob.37.1635219094649; Mon, 25 Oct 2021 20:31:34 -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 s10sm10127203ild.78.2021.10.25.20.31.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Oct 2021 20:31:34 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Ilias Apalodimas , Christian Melki , Bin Meng , Tom Rini , Heinrich Schuchardt , Simon Glass , Alexander Graf Subject: [PATCH v3 32/35] efi: Allow easy selection of serial-only operation Date: Mon, 25 Oct 2021 21:30:55 -0600 Message-Id: <20211025213041.v3.32.I8927cdce4b36339b962ef31074500198fcc3be1c@changeid> X-Mailer: git-send-email 2.33.0.1079.g6e70778dc9-goog In-Reply-To: <20211026033058.430010-1-sjg@chromium.org> References: <20211026033058.430010-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 --- (no changes since v2) 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.1079.g6e70778dc9-goog