固件类型:官方提供的固件
固件文件名称:rk356x_linux_release_20221015_v1.3.0b
固件下载地址:Firefly | 让科技更简单,让生活更智能
Log日志:log.zip
测试rk356x ubuntu系统下的TEE功能,运行linux源码中提供的CA/TA测试demo rk_test , 其它功能都正常,但其中 storage_speed 测试项跑不通。
日志显示是 key 不匹配,但由于 RK 的TEE-OS 代码不开源,看不出是哪里的key设置有误。
有大佬可以帮忙看下这个问题吗?
关键日志如下:
I/TA: Hello!
I/TA: Test RPMB storage speed, size = 32.
E/TC:? 0 tee_rpmb_verify_key_sync_counter:1019 Verify key returning 0xffff000f
I/TC: RPMB INIT: Try Verify key again.
E/TC:? 0 tee_rpmb_verify_key_sync_counter:1019 Verify key returning 0xffff000f
E/TC:? 0 tee_rpmb_verify_key_sync_counter:1019 Verify key returning 0xffff000f
E/TC:? 0 tee_rpmb_init:1194 Verify key failed!
E/TC:? 0 tee_rpmb_init:1195 Make sure key here matches device key
E/TC:? 0 tee_rpmb_verify_key_sync_counter:1019 Verify key returning 0xffff000f
I/TC: RPMB INIT: Try Verify key again.
E/TC:? 0 tee_rpmb_verify_key_sync_counter:1019 Verify key returning 0xffff000f
E/TC:? 0 tee_rpmb_verify_key_sync_counter:1019 Verify key returning 0xffff000f
E/TC:? 0 tee_rpmb_init:1194 Verify key failed!
E/TC:? 0 tee_rpmb_init:1195 Make sure key here matches device key
E/TC:? 0
E/TC:? 0 TA panicked with code 0xffff000f
E/LD: Status of TA 1db57234-dacd-462d-9bb1-ae79de44e2a5
E/LD: arch: arm
E/LD: region 0: va 0xc0004000 pa 0x08600000 size 0x002000 flags rw-s (ldelf)
E/LD: region 1: va 0xc0006000 pa 0x08602000 size 0x008000 flags r-xs (ldelf)
E/LD: region 2: va 0xc000e000 pa 0x0860a000 size 0x001000 flags rw-s (ldelf)
E/LD: region 3: va 0xc000f000 pa 0x0860b000 size 0x004000 flags rw-s (ldelf)
E/LD: region 4: va 0xc0013000 pa 0x0860f000 size 0x001000 flags r–s
E/LD: region 5: va 0xc0014000 pa 0x08666000 size 0x001000 flags rw-s (stack)
E/LD: region 6: va 0xc0015000 pa 0x09201000 size 0x001000 flags rw-- (param)
E/LD: region 7: va 0xc006b000 pa 0x00001000 size 0x012000 flags r-xs [0]
E/LD: region 8: va 0xc007d000 pa 0x00013000 size 0x044000 flags rw-s [0]
E/LD: [0] 1db57234-dacd-462d-9bb1-ae79de44e2a5 @ 0xc006b000
E/LD: Call stack:
E/LD: 0xc00738c0
E/LD: 0xc0070e39
E/LD: 0xc006b2f3
E/LD: 0xc00741cd
E/LD: 0xc0078bbb
E/LD: 0xc006fa14
tchip_askquestions
log.zip (25.9 KB)