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 3B11FC00528 for ; Sun, 30 Jul 2023 17:18:41 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A7C0186A8A; Sun, 30 Jul 2023 19:16:54 +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="m0hxbN1i"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 23CB186A0C; Sun, 30 Jul 2023 19:16:40 +0200 (CEST) Received: from mail-il1-x133.google.com (mail-il1-x133.google.com [IPv6:2607:f8b0:4864:20::133]) (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 85CB686A57 for ; Sun, 30 Jul 2023 19:16:33 +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-il1-x133.google.com with SMTP id e9e14a558f8ab-348c47ca963so12195685ab.0 for ; Sun, 30 Jul 2023 10:16:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1690737392; x=1691342192; 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=PhyM6dvIkJZe6k/jf+42UnUIn0992BPHI5D7z0D/xRM=; b=m0hxbN1iPF9KyiYDysiB3Wmvl5Bkb3ZanLbN66ySIBGGxfaHs46wOnEpF4OqzPNngk u3gOIE/B9+0FE7o+x8N8YXOCZdHuki/3r0GaC9OSE6HmA42BWuuSACprEO3xnich4Mtp +Rx2BugSvZ3+Agb7D2kVeBDxjBwd30BgvMRu8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690737392; x=1691342192; 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=PhyM6dvIkJZe6k/jf+42UnUIn0992BPHI5D7z0D/xRM=; b=TX29oxHT6HOj5+6n62MKRiI9k0Btxj/e5h98lEF5Wwbd4hcFnfLl/sydEVWXUyx1Kj mwfYgbIWqe5ywEb5qEXI4Kc//0l8P0kbYbDiKWbquJFKa9oMQf7Mqlemjj8+umr8cNpc WGT3ihWHYMfpHJgxqHG/n/3kjzjL2mfG6TTQafnFMt0zl1QoyGeuYFkL6ZVsSMJjdnQQ iw+x9jLeSZeskM/sdPtoerAj3X9jtoN6rzePoNC0iCuJ4ZS0Rkk8ma2inI/5slSPWZSD D7nJRqxU3WWSpT5hZwxqU/0cCpTSuUxlv/Dhdjx+S5EfZiC7Z6PzoGlgxZSw6id1SlD8 j63A== X-Gm-Message-State: ABy/qLbFwT2n3tVVf9F0JcYtS9AU03gPscjjCrh6PBZaK4Yp7IzYEiRO oxEyqUwwLJiGbQQPqsnBua0oxza4+cwhrx62jMg= X-Google-Smtp-Source: APBJJlGkZ6c/Sqf6ioM02BlQQuuzfsDi/3D7z82C3+BnSQtl9SqH1U+9JXmOKiZpwmyqcRq8kRLDhw== X-Received: by 2002:a05:6e02:1bc8:b0:340:79ff:c1b6 with SMTP id x8-20020a056e021bc800b0034079ffc1b6mr7157822ilv.4.1690737392181; Sun, 30 Jul 2023 10:16:32 -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 l1-20020a02cd81000000b0042b57bbbaf2sm2519732jap.26.2023.07.30.10.16.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 30 Jul 2023 10:16:31 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Simon Glass , Bin Meng Subject: [PATCH v2 8/9] x86: Enable useful options for qemu-86 Date: Sun, 30 Jul 2023 11:16:06 -0600 Message-ID: <20230730171619.915576-8-sjg@chromium.org> X-Mailer: git-send-email 2.41.0.487.g6d72f3e995-goog In-Reply-To: <20230730171619.915576-1-sjg@chromium.org> References: <20230730171619.915576-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 --- (no changes since v1) 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