[PATCH v4 33/45] x86: Enable useful options for qemu-86_64

Bin Meng bmeng.cn at gmail.com
Thu Jul 13 12:49:21 CEST 2023


On Mon, Jun 19, 2023 at 8:02 PM Simon Glass <sjg at chromium.org> wrote:
>
> This build can be used to boot standard distro builds, since these are
> mostly 64-bit these days. Enable some more options, so that all possible
> EFI UUIDs are decoded, we get a proper printf() in SPL, can search
> memory for tables, support the full set of standard-boot features, have
> full logging and can boot from CDROM media.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> (no changes since v1)
>
>  configs/qemu-x86_64_defconfig | 8 ++++++++
>  1 file changed, 8 insertions(+)
>
> diff --git a/configs/qemu-x86_64_defconfig b/configs/qemu-x86_64_defconfig
> index 371ca9de8429..79ea35918575 100644
> --- a/configs/qemu-x86_64_defconfig
> +++ b/configs/qemu-x86_64_defconfig
> @@ -19,6 +19,7 @@ CONFIG_GENERATE_MP_TABLE=y
>  CONFIG_X86_OFFSET_U_BOOT=0xfff00000
>  CONFIG_FIT=y
>  CONFIG_SPL_LOAD_FIT=y
> +CONFIG_BOOTSTD_FULL=y
>  CONFIG_SYS_MONITOR_BASE=0x01110000
>  CONFIG_DISTRO_DEFAULTS=y
>  CONFIG_BOOTSTAGE=y
> @@ -27,6 +28,9 @@ 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_SPL_LOG=y
>  CONFIG_DISPLAY_BOARDINFO_LATE=y
>  CONFIG_LAST_STAGE_INIT=y
>  CONFIG_PCI_INIT_R=y
> @@ -46,12 +50,14 @@ 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_NFS is not set
> +CONFIG_CMD_EFIDEBUG=y
>  CONFIG_CMD_TIME=y
>  CONFIG_CMD_QFW=y
>  CONFIG_CMD_BOOTSTAGE=y
> @@ -83,5 +89,7 @@ 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

Except this one that is in question

> +# CONFIG_SPL_USE_TINY_PRINTF is not set
>  CONFIG_GENERATE_ACPI_TABLE=y
>  # CONFIG_GZIP is not set
> --

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list