You may need to enable PRINCE encryption here
- Generate key code via PUF
blhost.exe -p COMx -- key-provisioning enroll
blhost.exe -p COMx -- key-provisioning set_user_key 3 <path to the sbkek.bin> // key code for SB. Sbkek.txt is used by elftosb.exe, sbkek.bin is used by PUF and should be inverted order to sbkek.txt
blhost.exe -p COMx -- key-provisioning set_key 7 16 // prince region0 key code, <set_key> <type> <size>
blhost.exe -p COMx -- key-provisioning set_key 8 16 // prince region1 key code,
blhost.exe -p COMx -- key-provisioning set_key 9 16 // prince region2 key code
blhost.exe -p COMx -- key-provisioning read_key_store key_store0.bin // read out the all key code
//power-on reset
- Burn key code into FFR
blhost.exe -p COMx -- key-provisioning write_key_store key_store.bin
blhost.exe -p COMx -- key-provisioning write_key_nonvolatile 0 <write_key_nonvolatile> [memoryID]
- configure prince encryption region:
blhost.exe -p COMx -- fill-memory 0x20034000 4 0x50000000
blhost.exe -p COMx -- fill-memory 0x20034004 4 0x0/0x40000/0x80000 // prince region0/1/2 key code
blhost.exe -p COMx -- fill-memory 0x20034008 4 0x1200
blhost.exe -p COMx -- configure-memory 0 0x20034000 //(Customer Manufacturing/Factory Configuration Area (CMPA))