Files
OpenCellular/util
Vadim Bendebury 3d9c605257 cr50: fix prod images timestamp
When sighing prod images it is important to be able to reproduce them
bit for bit. Setting the manifest timestamp filed to a non-zero value
makes sure that this value is used in the header as opposed to the
current time.

Setting the value to 1 guarantees that any dev image with the same
epoch/major/minor field values will be preferred, as it would have a
later timestamp.

BRANCH=none
BUG=none

TEST=verified that two images built with this manifest are exactly the
     same (they used to differ before this change).
     verified that the header timestamp field is indeed set to 1:

  $ od -Ax -t x1 -vd d2/cr50.bin.prod | grep -A1 004350
  $ 004350 ff ff ff ff ff ff ff ff ff ff ff ff 00 00 00 00
  $ 004360 00 00 00 00 11 00 00 00 01 00 00 00 00 00 00 00

     location 0x435c is the epoch_ field offset, 32 bit
     epoch/major/minor is set to 0/0/17 and 64 bit timestamp is set to
     1.

Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>

Change-Id: I6ea0e664fa3eab7917ca472d715824feec49eb51
Reviewed-on: https://chromium-review.googlesource.com/452956
Commit-Ready: Vadim Bendebury <vbendeb@chromium.org>
Tested-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-by: Marius Schilder <mschilder@chromium.org>
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
2017-03-10 19:52:33 -08:00
..
2017-03-01 05:04:04 -08:00
2016-06-02 17:02:51 -07:00
2017-03-10 19:52:33 -08:00
2013-07-01 16:14:16 -07:00
2015-06-18 19:07:00 +00:00
2015-12-08 12:28:57 -08:00
2016-11-15 17:41:56 -08:00
2016-11-15 17:41:56 -08:00
2016-02-10 18:19:24 -08:00
2017-03-07 14:15:56 -08:00
2012-11-01 14:09:34 -07:00
2017-02-17 01:47:29 -08:00
2016-02-05 06:02:49 -08:00
2014-02-17 17:35:43 +00:00
2014-01-15 04:52:54 +00:00
2017-02-17 01:47:29 -08:00
2016-02-05 06:02:49 -08:00