How to generate a user key for enabling Jetson TX2 secure boot

hello mehmetutkucolakofficial,

the user_key is specified in eks.img.
you may download public release sources for checking CA sample,
i.e. hwkey-agent/CA_sample/tool/gen_ekb/ to generate eks.img, the sym.key is the user_key.
it’s Trusty retrieves user_key from eks.img, and loads the key into keyslot_14 for decryption. when flashing, please use --use_key options to specify the user_key.

please see-also developer guide. Tool for EKB Generation.
here’s similar discussion thread you may reference, Topic 238756.