]> git.baikalelectronics.ru Git - uboot.git/commit
mkimage: Allow updating the FIT timestamp
authorSimon Glass <sjg@chromium.org>
Fri, 10 Jul 2020 00:39:43 +0000 (18:39 -0600)
committerSimon Glass <sjg@chromium.org>
Sat, 25 Jul 2020 20:46:57 +0000 (14:46 -0600)
commit6487fd651593199d3fc1642220a4cb53f8a7b7e0
tree4b7059f6c53f85b2c0e03b985be845bddd8e1e17
parentb24dede413cde33909b30aa848ed990baabaf531
mkimage: Allow updating the FIT timestamp

Normally the FIT timestamp is created the first time mkimage is run on a
FIT, when converting the source .its to the binary .fit file. This
corresponds to using the -f flag. But if the original input to mkimage is
a binary file (already compiled) then the timestamp is assumed to have
been set previously.

Add a -t flag to allow setting the timestamp in this case.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
doc/mkimage.1
tools/fit_image.c
tools/imagetool.h
tools/mkimage.c