Hello,
I am trying to implement the sc_seco_commit function in a imx8qxp machine.
I have set the Revocations parameter in the CST [Install SRK] command to revoke key SRK0, and I am signing images with SRK2. But this change is not persistent. I want to make the revocation persistent in the device.
[Install SRK]
...
# bitmask of the revoked SRKs
Revocations = 0x1
For that purpose, I have the following call to sc_seco_commit, but the execution of the command in u-boot does not burn any fuse.
do_ahab_commit(struct cmd_tbl *cmdtp, int flag, int argc,
char *const argv[])
{
int err; uint32_t info = {0};
err = sc_seco_commit(-1, &info);
if (err) {
printf("Error in commit\n");
return -EIO;
}
return CMD_RET_SUCCESS;;
}
Do someone know the correct value of the *info parameter or how to procede?
Thank you.