1. Generate otpmk key with the following procedure.
$ git clone https://github.com/nxp-qoriq/cst.git
$ cd cst/
$ make
$ ./gen_otpmk_drbg -b 2
2. Program OTPMK key to fuse with the following procedure.
Connect the J9 jumper with a jumper wire.
Please program OTPMK fuse using ccs following instruction
config cc cwtap
ccs::config_chain t2080
ccs::write_mem 0 0xfe0e821c 4 0 0xcd5543ad
ccs::write_mem 0 0xfe0e8220 4 0 0x219e0fff
ccs::write_mem 0 0xfe0e8224 4 0 0xf26ea164
ccs::write_mem 0 0xfe0e8228 4 0 0x2a3a5c20
ccs::write_mem 0 0xfe0e822c 4 0 0x6616ab67
ccs::write_mem 0 0xfe0e8230 4 0 0x6ed980dd
ccs::write_mem 0 0xfe0e8234 4 0 0x20ee8c90
ccs::write_mem 0 0xfe0e8238 4 0 0x53e60691
ccs::display_mem 0 0xfe314014 4 0 1 (please check the second nibble is 0)
80000b00
ccs::display_mem 0 0xfe0e8024 4 0 1 (please check the value is 0)
0
Please make sure there is no problem with the above two registers, then run the following command to write values in mirror registers to fuse array.
ccs::write_mem 0 0xfe0e8020 4 0 0x00000002 (set bit SFP_INGR)
Reset the target board and check whether the value of 0xfe314014 is 80000b00.