[PATCH v3 20/49] mkimage: Allow updating the FIT timestamp

Simon Glass sjg at chromium.org
Sun Jul 19 22:49:10 CEST 2020


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 at chromium.org>
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
---

(no changes since v1)

 doc/mkimage.1     | 9 +++++++++
 tools/fit_image.c | 2 +-
 tools/imagetool.h | 1 +
 tools/mkimage.c   | 5 ++++-
 4 files changed, 15 insertions(+), 2 deletions(-)

Applied to u-boot-dm


More information about the U-Boot mailing list