add command fitupd to run an update from a FIT image

Command calls update_tftp() analogous to automatic update described
in doc/README.update.

Usage:
fitupd [addr]
        - run update from FIT image at addr
          or from tftp 'updatefile'

Signed-off-by: Andreas Pretzsch <apr@cn-eng.de>
This commit is contained in:
Andreas Pretzsch
2011-07-16 05:51:00 +00:00
committed by Wolfgang Denk
parent 8d6b73202c
commit 7130a579fd
3 changed files with 42 additions and 0 deletions

View File

@@ -51,6 +51,11 @@ the mkimage tool. dtc tool with support for binary includes, e.g. in version
to be prepared. Refer to the doc/uImage.FIT/ directory for more details on FIT
images.
This mechanism can be also triggered by the commmand "fitupd".
If an optional, non-zero address is provided as argument, the TFTP transfer
is skipped and the image at this address is used.
The fitupd command is enabled by CONFIG_CMD_FITUPD.
Example .its files
------------------