Read software revision information from file master
authorAndrew Davis <afd@ti.com>
Thu, 7 Jul 2022 17:19:12 +0000 (12:19 -0500)
committerAndrew Davis <afd@ti.com>
Thu, 7 Jul 2022 17:19:12 +0000 (12:19 -0500)
commiteb2c4d734487e5095b94cef3fd7213ee71d9e016
tree16a2c9aefd9a49e538e4a321067afd5f78933012
parent9eecc3e5407290727c0e41421b0d50a849c19a05
Read software revision information from file

Add a file containing the software revision to use for images signed by
this tool. We put this in a file over using an environment variable or
hard-coding it so the revision can be read by other external tooling.

Set the default to 1, this is lowest revision allowed by ROM on newer
K3 devices.

Signed-off-by: Andrew Davis <afd@ti.com>
keys/swrv.txt [new file with mode: 0644]
scripts/secure-binary-image.sh
scripts/x509-template.txt