summaryrefslogtreecommitdiff
path: root/doc/imx/hab/habv4/csf_examples/mx8m_mx8mm/csf_fit.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/imx/hab/habv4/csf_examples/mx8m_mx8mm/csf_fit.txt')
-rw-r--r--doc/imx/hab/habv4/csf_examples/mx8m_mx8mm/csf_fit.txt36
1 files changed, 36 insertions, 0 deletions
diff --git a/doc/imx/hab/habv4/csf_examples/mx8m_mx8mm/csf_fit.txt b/doc/imx/hab/habv4/csf_examples/mx8m_mx8mm/csf_fit.txt
new file mode 100644
index 0000000000..d9218ab431
--- /dev/null
+++ b/doc/imx/hab/habv4/csf_examples/mx8m_mx8mm/csf_fit.txt
@@ -0,0 +1,36 @@
+[Header]
+ Version = 4.3
+ Hash Algorithm = sha256
+ Engine = CAAM
+ Engine Configuration = 0
+ Certificate Format = X509
+ Signature Format = CMS
+
+[Install SRK]
+ # Index of the key location in the SRK table to be installed
+ File = "../crts/SRK_1_2_3_4_table.bin"
+ Source index = 0
+
+[Install CSFK]
+ # Key used to authenticate the CSF data
+ File = "../crts/CSF1_1_sha256_2048_65537_v3_usr_crt.pem"
+
+[Authenticate CSF]
+
+[Install Key]
+ # Key slot index used to authenticate the key to be installed
+ Verification index = 0
+ # Target key slot in HAB key store where key will be installed
+ Target index = 2
+ # Key to install
+ File = "../crts/IMG1_1_sha256_2048_65537_v3_usr_crt.pem"
+
+[Authenticate Data]
+ # Key slot index used to authenticate the image data
+ Verification index = 2
+ # Authenticate Start Address, Offset, Length and file
+ Blocks = 0x401fcdc0 0x057c00 0x01020 "flash.bin", \
+ 0x40200000 0x05AC00 0x9AAC8 "flash.bin", \
+ 0x00910000 0x0F56C8 0x09139 "flash.bin", \
+ 0xFE000000 0x0FE804 0x4D268 "flash.bin", \
+ 0x4029AAC8 0x14BA6C 0x06DCF "flash.bin"