Searched hist:"926664 c9a034a2d3dd1d0ab9e3df5802cf5a6693" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/lib/avb/rk_avb_user/ |
| H A D | rk_avb_ops_user.c | 926664c9a034a2d3dd1d0ab9e3df5802cf5a6693 Sat Jan 30 02:23:15 UTC 2021 Jason Zhu <jason.zhu@rock-chips.com> lib: avb: reduce write rollback index operations
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
|