The optee is used to storage security data in U-Boot, and a file which occupy 16KB is created when write a rollback index. But the security space is only 512KB, the sapce is not enough when write too many items. And here we write rollback index 32 times, but the avb only use rollback_index_location 0 to verify the rollback index with vbmeta. So just get the rollback_index_location 0 in this process. Test: fastboot getvar at-vboot-state Error log: TEEC: reference out of data: -1 TEEC: Not enough space available in secure storage! Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: Id69b852553a4ef9111dabe6f23e25038b0928bb3 |
||
|---|---|---|
| .. | ||
| libavb | ||
| libavb_ab | ||
| libavb_atx | ||
| libavb_user | ||
| rk_avb_user | ||