]> 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>
Mon, 20 Jul 2020 17:37:47 +0000 (11:37 -0600)
commit275374873552c51941ef98ab93bc12360abd0b29
treeb68e81534295133503f11ee2e1e1ceaae50d227c
parente3d3abb42567086027f9b09f6e6f7e85fcc63b8a
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