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 42A09C0015E for ; Mon, 24 Jul 2023 14:53:44 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0799B86830; Mon, 24 Jul 2023 16:52:50 +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="mYad6Glx"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 78E55866DC; Mon, 24 Jul 2023 16:52:30 +0200 (CEST) Received: from mail-io1-xd29.google.com (mail-io1-xd29.google.com [IPv6:2607:f8b0:4864:20::d29]) (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 9558A867EF for ; Mon, 24 Jul 2023 16:52:27 +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-xd29.google.com with SMTP id ca18e2360f4ac-78358268d1bso196140839f.3 for ; Mon, 24 Jul 2023 07:52:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1690210346; x=1690815146; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=tq/gBxP6ctqPlG/4l1VUv6r9k5uKL7dvpT7A7NVtP1k=; b=mYad6GlxYuKIwO71d+gbY9hKryipQZVmBrVxon7cRYxYQg8PjxTAgpT8KAaG1SMWdW syL3Qc9neHDHpPNLxUeFnv7HqmnPiZ2aFRhFozhCJfn5Ln2HFb3XC9+4+6BsqFJ7Ngzl 07pT8Z8bWA3nN3nLsg4O4qSMqBQygHL5qIP/E= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690210346; x=1690815146; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tq/gBxP6ctqPlG/4l1VUv6r9k5uKL7dvpT7A7NVtP1k=; b=iuqCdezLwLLDRRwb4ZJhsrRxIiCSVxwQKofoPCt2oHs18hWlwqIvYin5Uo+RgQz8ij BfrjUmmcB7MdQtcSNgUD3SxLrD1zyviQcFLiibehMAhaMwswrgM7DSwxU340Mln7nPbS hc3rP+0GFImAgO3a7gSaRGOJSQxN7aC8Uw5f/wqOeOVeqVwHZwvskGb2G+Ht7mXm8u1s TKkI5oTRIfTbEKOHPNUm3MeCZlolTlHomFS0o+pVYuPLi3hbpjqgyEf4m1A3ACGlBvFM xts6ebgTCtTGpPC0CNV072d9HJgfHSGaLTTYwA20QAA3X2LEoaQQeKnKNPFfywgDB8Wk 1Zvw== X-Gm-Message-State: ABy/qLYzGnexh8INUK4IDKfgMgCn/4E5plhG6rcs0/kInrRjRQ6cEszX ixIQynvSB6V26h8/I1VuZ+jodgHvFRBEyN0DLPE= X-Google-Smtp-Source: APBJJlHq1rEjkgQ/miasq5eU9QfcLWdRsa5ztazO+IBvOIPCCGnzK3oxm3gREo7VFJFOx2yMJEqOxA== X-Received: by 2002:a5e:8e08:0:b0:787:34d:f223 with SMTP id a8-20020a5e8e08000000b00787034df223mr125490ion.11.1690210346169; Mon, 24 Jul 2023 07:52:26 -0700 (PDT) Received: from sjg1.lan (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id n12-20020a5d824c000000b007862c74cec6sm3462225ioo.1.2023.07.24.07.52.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Jul 2023 07:52:25 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Bin Meng , Simon Glass Subject: [PATCH 8/9] x86: Enable useful options for qemu-86 Date: Mon, 24 Jul 2023 08:52:04 -0600 Message-ID: <20230724145210.304917-8-sjg@chromium.org> X-Mailer: git-send-email 2.41.0.487.g6d72f3e995-goog In-Reply-To: <20230724145210.304917-1-sjg@chromium.org> References: <20230724145210.304917-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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.8 at phobos.denx.de X-Virus-Status: Clean This build can be used to boot 32-bit standard-distro builds. Enable some more options, so that all possible EFI UUIDs are decoded, we can search memory for tables, support the full set of standard-boot features, have full logging along with debug UART and can boot from CDROM media. This mirrors a similar patch for qemu-x86_64 Signed-off-by: Simon Glass --- configs/qemu-x86_defconfig | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/configs/qemu-x86_defconfig b/configs/qemu-x86_defconfig index 56788cd185fd..ff9df677ef4c 100644 --- a/configs/qemu-x86_defconfig +++ b/configs/qemu-x86_defconfig @@ -5,10 +5,14 @@ CONFIG_NR_DRAM_BANKS=8 CONFIG_ENV_SIZE=0x40000 CONFIG_MAX_CPUS=2 CONFIG_DEFAULT_DEVICE_TREE="qemu-x86_i440fx" +CONFIG_DEBUG_UART_BASE=0x3f8 +CONFIG_DEBUG_UART_CLOCK=1843200 +CONFIG_DEBUG_UART=y CONFIG_SMP=y CONFIG_GENERATE_PIRQ_TABLE=y CONFIG_GENERATE_MP_TABLE=y CONFIG_FIT=y +CONFIG_BOOTSTD_FULL=y CONFIG_BOOTSTD_DEFAULTS=y CONFIG_BOOTSTAGE=y CONFIG_BOOTSTAGE_REPORT=y @@ -16,6 +20,8 @@ CONFIG_SHOW_BOOT_PROGRESS=y CONFIG_USE_BOOTARGS=y CONFIG_BOOTARGS="root=/dev/sdb3 init=/sbin/init rootwait ro" CONFIG_SYS_CONSOLE_INFO_QUIET=y +CONFIG_LOG=y +CONFIG_LOGF_FUNC=y CONFIG_DISPLAY_BOARDINFO_LATE=y CONFIG_LAST_STAGE_INIT=y CONFIG_PCI_INIT_R=y @@ -23,11 +29,13 @@ CONFIG_SYS_PBSIZE=532 CONFIG_CMD_CPU=y CONFIG_CMD_BOOTEFI_SELFTEST=y CONFIG_CMD_NVEDIT_EFI=y +CONFIG_CMD_MEM_SEARCH=y CONFIG_CMD_IDE=y CONFIG_CMD_SPI=y CONFIG_CMD_USB=y # CONFIG_CMD_SETEXPR is not set CONFIG_BOOTP_BOOTFILESIZE=y +CONFIG_CMD_EFIDEBUG=y CONFIG_CMD_TIME=y CONFIG_CMD_QFW=y CONFIG_CMD_BOOTSTAGE=y @@ -57,5 +65,6 @@ CONFIG_FRAMEBUFFER_SET_VESA_MODE=y CONFIG_FRAMEBUFFER_VESA_MODE_USER=y CONFIG_FRAMEBUFFER_VESA_MODE=0x144 CONFIG_CONSOLE_SCROLL_LINES=5 +CONFIG_FAT_BLK_XLATE=y CONFIG_GENERATE_ACPI_TABLE=y # CONFIG_GZIP is not set -- 2.41.0.487.g6d72f3e995-goog