Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plat_prng_add_jitter_entropy fatal error on i.MX93 #1776

Open
tprrt opened this issue Mar 28, 2024 · 1 comment
Open

plat_prng_add_jitter_entropy fatal error on i.MX93 #1776

tprrt opened this issue Mar 28, 2024 · 1 comment
Assignees

Comments

@tprrt
Copy link
Contributor

tprrt commented Mar 28, 2024

When traces are enabled, at boot, the following errors can be observed:

D/TC:0 0 core_mmu_xlat_table_alloc:554 xlat tables used 6 / 8
D/TC:? 0 tee_ta_init_pseudo_ta_session:297 Lookup pseudo TA 7011a688-ddde-4053-a5a9-7b3c4ddf13b8
D/TC:? 0 tee_ta_init_pseudo_ta_session:310 Open device.pta
D/TC:? 0 tee_ta_init_pseudo_ta_session:327 device.pta : 7011a688-ddde-4053-a5a9-7b3c4ddf13b8
F/TC:? 0 plat_prng_add_jitter_entropy:72 0x7309
D/TC:? 0 tee_ta_close_session:468 csess 0x2a3e8f40 id 1
D/TC:? 0 tee_ta_close_session:487 Destroy session
[...]
F/TC:? 0 trace_syscall:150 syscall #3 (syscall_get_property)
F/TC:? 0 trace_syscall:150 syscall #5 (syscall_open_ta_session)
D/TC:? 0 ldelf_syscall_open_bin:163 Lookup user TA ELF ed32d533-99e6-4209-9cc0-2d72cdd998a7 (early TA)
D/TC:? 0 ldelf_syscall_open_bin:167 res=0xffff0008
D/TC:? 0 ldelf_syscall_open_bin:163 Lookup user TA ELF ed32d533-99e6-4209-9cc0-2d72cdd998a7 (Secure Storage TA)
I/TC: WARNING (insecure configuration): Failed to get monotonic counter for REE FS, using 0
D/TC:? 0 ldelf_syscall_open_bin:167 res=0xf0100003
D/TC:? 0 ldelf_syscall_open_bin:163 Lookup user TA ELF ed32d533-99e6-4209-9cc0-2d72cdd998a7 (REE)
D/TC:? 0 ldelf_syscall_open_bin:167 res=0xffff0009
E/LD:  init_elf:486 sys_open_ta_bin(ed32d533-99e6-4209-9cc0-2d72cdd998a7)
E/TC:? 0 ldelf_init_with_ldelf:152 ldelf failed with res: 0xffff0009
D/TC:? 0 tee_ta_open_session:694 init session failed 0xffff0009
F/TC:? 0 plat_prng_add_jitter_entropy:72 0xE2
Unable to open OP-TEE session (err=-5)

This issue occurs with lf-6.1.55-2.2.0 and lf-6.1.36-2.1.0.

@tprrt
Copy link
Contributor Author

tprrt commented Apr 5, 2024

Hello,
This issue still occurs on lf-6.1.55-2.2.0-0:

D/TC:? 0 ldelf_load_ldelf:110 ldelf load address 0xc0007000
D/LD:  ldelf:142 Loading TS ed32d533-99e6-4209-9cc0-2d72cdd998a7
F/TC:? 0 trace_syscall:150 syscall #3 (syscall_get_property)
F/TC:? 0 trace_syscall:150 syscall #5 (syscall_open_ta_session)
D/TC:? 0 ldelf_syscall_open_bin:163 Lookup user TA ELF ed32d533-99e6-4209-9cc0-2d72cdd998a7 (early TA)
D/TC:? 0 ldelf_syscall_open_bin:167 res=0xffff0008
D/TC:? 0 ldelf_syscall_open_bin:163 Lookup user TA ELF ed32d533-99e6-4209-9cc0-2d72cdd998a7 (Secure Storage TA)
I/TC: WARNING (insecure configuration): Failed to get monotonic counter for REE FS, using 0
D/TC:? 0 ldelf_syscall_open_bin:167 res=0xf0100003
D/TC:? 0 ldelf_syscall_open_bin:163 Lookup user TA ELF ed32d533-99e6-4209-9cc0-2d72cdd998a7 (REE)
D/TC:? 0 ldelf_syscall_open_bin:167 res=0xffff0009
E/LD:  init_elf:486 sys_open_ta_bin(ed32d533-99e6-4209-9cc0-2d72cdd998a7)
E/TC:? 0 ldelf_init_with_ldelf:152 ldelf failed with res: 0xffff0009
D/TC:? 0 tee_ta_open_session:694 init session failed 0xffff0009
F/TC:? 0 plat_prng_add_jitter_entropy:72 0xD5
[...]
F/TC:? 0 plat_prng_add_jitter_entropy:72 0x7FEB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants