mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-17 10:24:49 +00:00
x86: qemu: Support environment and cat command
Add support for an environment stored in the first partition of the disk, which is assumed to hold a FAT filesystem. Support the 'cat' command as it is useful for looking at extlinux.conf files. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
790baef3b9
commit
b23f0a42c3
2 changed files with 8 additions and 2 deletions
|
@ -41,9 +41,7 @@ CONFIG_SPL_NO_BSS_LIMIT=y
|
|||
CONFIG_SPL_BOARD_INIT=y
|
||||
CONFIG_SPL_SYS_MALLOC_SIMPLE=y
|
||||
CONFIG_SPL_CPU=y
|
||||
CONFIG_SPL_ENV_SUPPORT=y
|
||||
CONFIG_SPL_DM_SPI_FLASH=y
|
||||
CONFIG_SPL_NET=y
|
||||
CONFIG_SPL_PCI=y
|
||||
CONFIG_SPL_PCH=y
|
||||
CONFIG_SPL_RTC=y
|
||||
|
@ -54,6 +52,7 @@ CONFIG_CMD_MEM_SEARCH=y
|
|||
CONFIG_CMD_IDE=y
|
||||
CONFIG_CMD_SPI=y
|
||||
CONFIG_CMD_USB=y
|
||||
CONFIG_CMD_CAT=y
|
||||
# CONFIG_CMD_SETEXPR is not set
|
||||
CONFIG_BOOTP_BOOTFILESIZE=y
|
||||
CONFIG_CMD_EFIDEBUG=y
|
||||
|
@ -61,6 +60,9 @@ CONFIG_CMD_TIME=y
|
|||
CONFIG_CMD_BOOTSTAGE=y
|
||||
CONFIG_CMD_EXT4_WRITE=y
|
||||
CONFIG_ENV_OVERWRITE=y
|
||||
CONFIG_ENV_IS_IN_FAT=y
|
||||
CONFIG_ENV_FAT_INTERFACE="virtio"
|
||||
CONFIG_ENV_FAT_DEVICE_AND_PART="0:1"
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_USE_BOOTFILE=y
|
||||
CONFIG_BOOTFILE="bzImage"
|
||||
|
|
|
@ -34,6 +34,7 @@ CONFIG_CMD_MEM_SEARCH=y
|
|||
CONFIG_CMD_IDE=y
|
||||
CONFIG_CMD_SPI=y
|
||||
CONFIG_CMD_USB=y
|
||||
CONFIG_CMD_CAT=y
|
||||
# CONFIG_CMD_SETEXPR is not set
|
||||
CONFIG_BOOTP_BOOTFILESIZE=y
|
||||
CONFIG_CMD_EFIDEBUG=y
|
||||
|
@ -42,6 +43,9 @@ CONFIG_CMD_BOOTSTAGE=y
|
|||
CONFIG_CMD_EXT4_WRITE=y
|
||||
CONFIG_MAC_PARTITION=y
|
||||
CONFIG_ENV_OVERWRITE=y
|
||||
CONFIG_ENV_IS_IN_FAT=y
|
||||
CONFIG_ENV_FAT_INTERFACE="virtio"
|
||||
CONFIG_ENV_FAT_DEVICE_AND_PART="0:1"
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_USE_BOOTFILE=y
|
||||
CONFIG_BOOTFILE="bzImage"
|
||||
|
|
Loading…
Add table
Reference in a new issue