cmd: fitupd: Convert CONFIG_CMD_FITUPD
PATCH 1/3 cmd: fitupd: Convert CONFIG_CMD_FITUPD
Convert the CONFIG_CMD_FITUPD symbol to Kconfig.
--- cmd/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+)
cmd/Kconfig +6 -0
@@ -308,6 +308,12 @@ config CMD_SPL_WRITE_SIZE flash used by Falcon-mode boot. See the documentation until CMD_SPL for detail. +config CMD_FITUPD + bool "fitImage update command" + help + Implements the 'fitupd' command, which allows to automatically + store software updates present on a TFTP server in NOR Flash + config CMD_THOR_DOWNLOAD bool "thor - TIZEN 'thor' download" help
Signature · 1 line
2.15.1
PATCH 2/3 cmd: fitupd: Convert CONFIG_UPDATE_TFTP and co.
Convert the CONFIG_UPDATE_TFTP and related symbols to Kconfig.
--- common/Kconfig | 21 +++++++++++++++++++++ scripts/config_whitelist.txt | 3 --- 2 files changed, 21 insertions(+), 3 deletions(-)
common/Kconfig +21 -0
@@ -601,4 +601,25 @@ config HASH endmenu +menu "Update support" + +config UPDATE_TFTP + bool "Auto-update using fitImage via TFTP" + depends on FIT + help + This option allows performing update of NOR with data in fitImage + sent via TFTP boot. + +config UPDATE_TFTP_CNT_MAX + int "The number of connection retries during auto-update" + default 0 + depends on UPDATE_TFTP + +config UPDATE_TFTP_MSEC_MAX + int "Delay in mSec to wait for the TFTP server during auto-update" + default 100 + depends on UPDATE_TFTP + +endmenu + source "common/spl/Kconfig"
scripts/config_whitelist.txt +0 -3
@@ -4740,9 +4740,6 @@ CONFIG_ULPI_REF_CLK CONFIG_UMSDEVS CONFIG_UPDATEB CONFIG_UPDATE_LOAD_ADDR -CONFIG_UPDATE_TFTP -CONFIG_UPDATE_TFTP_CNT_MAX -CONFIG_UPDATE_TFTP_MSEC_MAX CONFIG_USART1 CONFIG_USART_BASE CONFIG_USART_ID
Signature · 1 line
2.15.1
PATCH 2/3 cmd: fitupd: Convert CONFIG_UPDATE_TFTP and co.
Quoted 4 lines · Marek Vasut
Convert the
CONFIG_UPDATE_TFTPand related symbols toKconfig.Signed-off-by Marek Vasut <[email protected]>Cc Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180213/b6357dee/attachment.sig>
PATCH 3/3 tftp: update: Include missing cfi_flash.h header
In reply to Marek VasutAdd the missing header, otherwise CONFIG_SYS_MAX_FLASH_BANKS may be undeclared.
--- common/update.c | 1 + 1 file changed, 1 insertion(+)
common/update.c +1 -0
@@ -24,6 +24,7 @@#include <malloc.h> #include <dfu.h> #include <errno.h> +#include <mtd/cfi_flash.h> /* env variable holding the location of the update file */ #define UPDATE_FILE_ENV "updatefile"
Signature · 1 line
2.15.1
PATCH 3/3 tftp: update: Include missing cfi_flash.h header
Quoted 5 lines · Marek Vasut
Add the missing header, otherwise
CONFIG_SYS_MAX_FLASH_BANKSmay be undeclared.Signed-off-by Marek Vasut <[email protected]>Cc Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180213/917f16af/attachment.sig>
PATCH 1/3 cmd: fitupd: Convert CONFIG_CMD_FITUPD
In reply to Marek VasutQuoted 4 lines · Marek Vasut
Convert the
CONFIG_CMD_FITUPDsymbol toKconfig.Signed-off-by Marek Vasut <[email protected]>Cc Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180213/6ad9c564/attachment.sig>