From: Marek Szyprowski Date: Mon, 20 Apr 2020 13:08:30 +0000 (+0200) Subject: tizen: replace NFSdown with generic Tizen Download utility (NFS and USB) X-Git-Tag: submit/tizen/20200528.065747~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F17%2F231517%2F10;p=platform%2Fkernel%2Fu-boot.git tizen: replace NFSdown with generic Tizen Download utility (NFS and USB) Tizen Download utility provides replacement for nfsdown and usbdown commands, implemented on top of the generic u-boot's DFU framework. It allows to flash any entity defined in dfu_alt_info, not only the ones hardcoded in the mentioned commands. This is useful for flashing only the selected images/entities. Signed-off-by: Marek Szyprowski Change-Id: Ic4275302442b84dc96a2d7d31188eb3d7143e7ec --- diff --git a/configs/odroid-xu3_defconfig b/configs/odroid-xu3_defconfig index 5c81a72e9f..9f2c32bf7a 100644 --- a/configs/odroid-xu3_defconfig +++ b/configs/odroid-xu3_defconfig @@ -23,10 +23,9 @@ CONFIG_CMD_GPIO=y CONFIG_CMD_I2C=y CONFIG_CMD_MMC=y CONFIG_CMD_USB=y -CONFIG_CMD_USBDOWN=y CONFIG_CMD_USB_MASS_STORAGE=y +CONFIG_CMD_TIZEN_DOWNLOAD=y # CONFIG_CMD_SETEXPR is not set -CONFIG_CMD_NFS_DOWNLOAD=y CONFIG_CMD_CACHE=y CONFIG_CMD_TIME=y CONFIG_CMD_PMIC=y diff --git a/configs/rpi_3_32b_defconfig b/configs/rpi_3_32b_defconfig index 2941ac554a..efcc7a823f 100644 --- a/configs/rpi_3_32b_defconfig +++ b/configs/rpi_3_32b_defconfig @@ -17,13 +17,14 @@ CONFIG_SYS_PROMPT="U-Boot> " CONFIG_CMD_GPIO=y CONFIG_CMD_MMC=y CONFIG_CMD_USB=y -CONFIG_CMD_NFS_DOWNLOAD=y +CONFIG_CMD_TIZEN_DOWNLOAD=y CONFIG_CMD_FS_UUID=y CONFIG_OF_EMBED=y CONFIG_DEFAULT_DEVICE_TREE="bcm2837-rpi-3-b" CONFIG_ENV_FAT_INTERFACE="mmc" CONFIG_ENV_FAT_DEVICE_AND_PART="0:1" CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y +CONFIG_DFU_MMC=y CONFIG_DM_KEYBOARD=y CONFIG_DM_MMC=y CONFIG_MMC_SDHCI=y diff --git a/configs/rpi_3_defconfig b/configs/rpi_3_defconfig index f7333a16c3..7513dc7ca8 100644 --- a/configs/rpi_3_defconfig +++ b/configs/rpi_3_defconfig @@ -42,12 +42,14 @@ CONFIG_SYS_PROMPT="U-Boot> " CONFIG_CMD_GPIO=y CONFIG_CMD_MMC=y CONFIG_CMD_USB=y +CONFIG_CMD_TIZEN_DOWNLOAD=y CONFIG_CMD_FS_UUID=y CONFIG_OF_EMBED=y CONFIG_DEFAULT_DEVICE_TREE="bcm2837-rpi-3-b" CONFIG_ENV_FAT_INTERFACE="mmc" CONFIG_ENV_FAT_DEVICE_AND_PART="0:1" CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y +CONFIG_DFU_MMC=y CONFIG_DM_KEYBOARD=y CONFIG_DM_MMC=y CONFIG_SPL_OF_CONTROL=y @@ -74,5 +76,4 @@ CONFIG_CONSOLE_SCROLL_LINES=10 CONFIG_PHYS_TO_BUS=y CONFIG_OF_LIBFDT_OVERLAY=y # CONFIG_EFI_LOADER is not set -CONFIG_CMD_NFS_DOWNLOAD=y CONFIG_CMD_TIME=y diff --git a/configs/rpi_4_32b_defconfig b/configs/rpi_4_32b_defconfig index d276e708dc..0fce184809 100644 --- a/configs/rpi_4_32b_defconfig +++ b/configs/rpi_4_32b_defconfig @@ -18,9 +18,9 @@ CONFIG_CMD_DFU=y CONFIG_CMD_GPIO=y CONFIG_CMD_MMC=y CONFIG_CMD_USB_MASS_STORAGE=y -CONFIG_CMD_NFS_DOWNLOAD=y CONFIG_CMD_PCI=y CONFIG_CMD_USB=y +CONFIG_CMD_TIZEN_DOWNLOAD=y CONFIG_CMD_FS_UUID=y CONFIG_OF_BOARD=y CONFIG_ENV_FAT_INTERFACE="mmc" diff --git a/configs/rpi_4_defconfig b/configs/rpi_4_defconfig index 6f274fac96..cf66bae2c8 100644 --- a/configs/rpi_4_defconfig +++ b/configs/rpi_4_defconfig @@ -18,9 +18,9 @@ CONFIG_CMD_DFU=y # CONFIG_CMD_FLASH is not set CONFIG_CMD_GPIO=y CONFIG_CMD_MMC=y -CONFIG_CMD_NFS_DOWNLOAD=y CONFIG_CMD_PCI=y CONFIG_CMD_USB=y +CONFIG_CMD_TIZEN_DOWNLOAD=y CONFIG_CMD_FS_UUID=y CONFIG_OF_BOARD=y CONFIG_ENV_FAT_INTERFACE="mmc" diff --git a/configs/tizen_defconfig b/configs/tizen_defconfig index 43f0c1f817..992baaab10 100644 --- a/configs/tizen_defconfig +++ b/configs/tizen_defconfig @@ -26,8 +26,8 @@ CONFIG_CMD_I2C=y CONFIG_CMD_MMC=y CONFIG_CMD_USB=y CONFIG_CMD_USB_MASS_STORAGE=y +CONFIG_CMD_TIZEN_DOWNLOAD=y # CONFIG_CMD_MII is not set -CONFIG_CMD_NFS_DOWNLOAD=y # CONFIG_CMD_MISC is not set CONFIG_CMD_PMIC=y CONFIG_CMD_REGULATOR=y