Add scripts for FIT image re-signing
Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Andrew Davis <afd@ti.com>
Use name CUSTOMERKEY over IFT which was a legacy holdover
Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Andrew Davis <afd@ti.com>
Use script location instead of present working directory for tool search
Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Andrew Davis <afd@ti.com>
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>
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>
Use instance unique temporary files to allow parallel execution
This script generates, uses, and then removes some temporary files. When
multiple instance of this script are run this can cause a race between
these actions on the same file. Use 'mktemp' to generate unique temporary
files to prevent this issue and make this tool multi-invocation safe.
Signed-off-by: Andrew F. Davis <afd@ti.com>
This script generates, uses, and then removes some temporary files. When
multiple instance of this script are run this can cause a race between
these actions on the same file. Use 'mktemp' to generate unique temporary
files to prevent this issue and make this tool multi-invocation safe.
Signed-off-by: Andrew F. Davis <afd@ti.com>
Add software manifest as required for external software release
Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Andrew F. Davis <afd@ti.com>
Update for latest SYSFW certificate format
Core boot is now optional, drop this for our image signing template.
Replace it with the new image load section. The boot section will
be used later when we support creating boot images from here.
Signed-off-by: Andrew F. Davis <afd@ti.com>
Core boot is now optional, drop this for our image signing template.
Replace it with the new image load section. The boot section will
be used later when we support creating boot images from here.
Signed-off-by: Andrew F. Davis <afd@ti.com>
Initial Commit