[PATCH 2/2] xilinx: zynq: Enable capsule update for Antminer S9

Michal Simek michal.simek at amd.com
Tue Nov 21 15:28:50 CET 2023



On 11/13/23 10:05, Michal Simek wrote:
> Capsule update helps with easier firmware development that's why enable it
> by default to be able to update system without replugging SD card again and
> again.
> 
> Signed-off-by: Michal Simek <michal.simek at amd.com>
> ---
> 
>   configs/bitmain_antminer_s9_defconfig | 12 ++++++++++--
>   1 file changed, 10 insertions(+), 2 deletions(-)
> 
> diff --git a/configs/bitmain_antminer_s9_defconfig b/configs/bitmain_antminer_s9_defconfig
> index b8c9afd9cfcd..5c9b97819b14 100644
> --- a/configs/bitmain_antminer_s9_defconfig
> +++ b/configs/bitmain_antminer_s9_defconfig
> @@ -42,7 +42,6 @@ CONFIG_SYS_PBSIZE=2075
>   CONFIG_CMD_BOOTZ=y
>   CONFIG_SYS_BOOTM_LEN=0x3c00000
>   # CONFIG_CMD_ELF is not set
> -# CONFIG_CMD_DM is not set
>   # CONFIG_CMD_FLASH is not set
>   CONFIG_CMD_FPGA_LOADBP=y
>   CONFIG_CMD_FPGA_LOADFS=y
> @@ -50,6 +49,7 @@ CONFIG_CMD_FPGA_LOADMK=y
>   CONFIG_CMD_FPGA_LOADP=y
>   CONFIG_CMD_GPIO=y
>   CONFIG_CMD_MMC=y
> +CONFIG_CMD_MTD=y
>   CONFIG_CMD_NAND_LOCK_UNLOCK=y
>   CONFIG_CMD_PART=y
>   # CONFIG_CMD_SETEXPR is not set
> @@ -60,11 +60,15 @@ CONFIG_CMD_MII=y
>   CONFIG_CMD_PING=y
>   CONFIG_CMD_PXE=y
>   CONFIG_CMD_CACHE=y
> +CONFIG_CMD_EFIDEBUG=y
>   CONFIG_CMD_EXT2=y
>   CONFIG_CMD_EXT4=y
>   CONFIG_CMD_EXT4_WRITE=y
>   CONFIG_CMD_FAT=y
>   CONFIG_CMD_FS_GENERIC=y
> +CONFIG_CMD_MTDPARTS=y
> +CONFIG_CMD_MTDPARTS_SPREAD=y
> +CONFIG_CMD_MTDPARTS_SHOW_NET_SIZES=y
>   CONFIG_ENV_OVERWRITE=y
>   CONFIG_ENV_IS_IN_FAT=y
>   CONFIG_ENV_IS_IN_NAND=y
> @@ -74,6 +78,8 @@ CONFIG_SYS_FAULT_ECHO_LINK_DOWN=y
>   CONFIG_BOOTP_SERVERIP=y
>   CONFIG_SPL_DM_SEQ_ALIAS=y
>   CONFIG_BOOTCOUNT_LIMIT=y
> +CONFIG_DFU_TIMEOUT=y
> +CONFIG_DFU_MMC=y
>   CONFIG_FPGA_XILINX=y
>   CONFIG_FPGA_ZYNQPL=y
>   CONFIG_MMC_SDHCI=y
> @@ -93,4 +99,6 @@ CONFIG_ZYNQ_SERIAL=y
>   CONFIG_WDT=y
>   CONFIG_WDT_CDNS=y
>   CONFIG_SYS_TIMER_COUNTS_DOWN=y
> -# CONFIG_EFI_LOADER is not set
> +CONFIG_EFI_RUNTIME_UPDATE_CAPSULE=y
> +CONFIG_EFI_CAPSULE_FIRMWARE_RAW=y
> +CONFIG_TOOLS_MKEFICAPSULE=y

Applied.
M



More information about the U-Boot mailing list