[PATCH 1/4] X86: Add support for SCSI devices

Heinrich Schuchardt xypron.glpk at gmx.de
Tue May 2 12:11:11 CEST 2023


On 5/2/23 11:49, thomas.mittelstaedt at bosch.com wrote:
> From: mtt2hi <thomas.mittelstaedt at de.bosch.com>
>
> Signed-off-by: mtt2hi <thomas.mittelstaedt at de.bosch.com>
> ---
>   configs/efi-x86_payload64_defconfig | 9 ++++++++-
>   1 file changed, 8 insertions(+), 1 deletion(-)
>
> diff --git a/configs/efi-x86_payload64_defconfig b/configs/efi-x86_payload64_defconfig
> index 5cde04a5ac..f3423091ae 100644
> --- a/configs/efi-x86_payload64_defconfig
> +++ b/configs/efi-x86_payload64_defconfig
> @@ -22,7 +22,7 @@ CONFIG_CMD_IDE=y
>   CONFIG_CMD_MMC=y
>   CONFIG_CMD_PART=y
>   CONFIG_CMD_USB=y
> -# CONFIG_CMD_SETEXPR is not set
> +CONFIG_CMD_SETEXPR=y

This looks like an unrelated change.

>   CONFIG_CMD_DHCP=y
>   CONFIG_BOOTP_BOOTFILESIZE=y
>   # CONFIG_CMD_NFS is not set
> @@ -32,6 +32,7 @@ CONFIG_CMD_EXT2=y
>   CONFIG_CMD_EXT4=y
>   CONFIG_CMD_EXT4_WRITE=y
>   CONFIG_CMD_FAT=y
> +CONFIG_CMD_SCSI=y
>   CONFIG_CMD_FS_GENERIC=y
>   CONFIG_MAC_PARTITION=y
>   CONFIG_ISO_PARTITION=y
> @@ -58,3 +59,9 @@ CONFIG_SYS_NS16550_PORT_MAPPED=y
>   CONFIG_EFI=y
>   CONFIG_EFI_STUB=y
>   CONFIG_EFI_STUB_64BIT=y
> +CONFIG_FAT_WRITE=y
> +CONFIG_ENV_FAT_INTERFACE="scsi"
> +CONFIG_ENV_FAT_DEVICE_AND_PART="0:1"
> +CONFIG_ENV_FAT_FILE="uboot.env"
> +CONFIG_ENV_IS_IN_FAT=y

When changing the defconfig, please, use

     make savedefconfig
     cp defconfig configs/efi-x86_payload64_defconfig
     git commit -s configs/efi-x86_payload64_defconfig

Best regards

Heinrich

> +CONFIG_LEGACY_IMAGE_FORMAT=y





More information about the U-Boot mailing list