summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Mittelstaedt <thomas.mittelstaedt@de.bosch.com>2023-05-04 13:42:53 +0000
committerBin Meng <bmeng@tinylab.org>2023-09-22 06:03:46 +0800
commitc323921ba9e395e0351d41b60041c9312c271207 (patch)
tree7e6c4514e5dde1e092275649f27d501c6999f48f
parent5c39f2c150612e04c0534348cc71e93e43026cf0 (diff)
downloadu-boot-c323921ba9e395e0351d41b60041c9312c271207.tar.gz
u-boot-c323921ba9e395e0351d41b60041c9312c271207.tar.bz2
u-boot-c323921ba9e395e0351d41b60041c9312c271207.zip
x86: efi-payload64: Add support for SCSI devices
U-Boot at VirtualBox must load Linux and boot configuration from disk devices. Here the discs at AHCI (scsi) bus are used to load the needed boot data. Signed-off-by: Thomas Mittelstaedt <thomas.mittelstaedt@de.bosch.com> Reviewed-by: Simon Glass <sjg@chromium.org> [Added 'efi-payload64' tag and rebased on top of u-boot/master] Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
-rw-r--r--configs/efi-x86_payload64_defconfig5
1 files changed, 4 insertions, 1 deletions
diff --git a/configs/efi-x86_payload64_defconfig b/configs/efi-x86_payload64_defconfig
index 80460d336f..9b45e06360 100644
--- a/configs/efi-x86_payload64_defconfig
+++ b/configs/efi-x86_payload64_defconfig
@@ -7,11 +7,11 @@ CONFIG_VENDOR_EFI=y
CONFIG_TARGET_EFI_PAYLOAD=y
CONFIG_FIT=y
CONFIG_FIT_SIGNATURE=y
+CONFIG_LEGACY_IMAGE_FORMAT=y
CONFIG_SHOW_BOOT_PROGRESS=y
CONFIG_USE_BOOTARGS=y
CONFIG_BOOTARGS="root=/dev/sdb3 init=/sbin/init rootwait ro"
CONFIG_USE_BOOTCOMMAND=y
-CONFIG_BOOTCOMMAND="ext2load scsi 0:3 01000000 /boot/vmlinuz; zboot 01000000"
CONFIG_PRE_CONSOLE_BUFFER=y
CONFIG_SYS_CONSOLE_INFO_QUIET=y
CONFIG_DISPLAY_BOARDINFO_LATE=y
@@ -35,6 +35,9 @@ CONFIG_MAC_PARTITION=y
CONFIG_ISO_PARTITION=y
CONFIG_EFI_PARTITION=y
CONFIG_ENV_OVERWRITE=y
+CONFIG_ENV_IS_IN_FAT=y
+CONFIG_ENV_FAT_INTERFACE="scsi"
+CONFIG_ENV_FAT_DEVICE_AND_PART="0:1"
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
CONFIG_USE_BOOTFILE=y
CONFIG_BOOTFILE="bzImage"