Tee-supplicant run failed on Xavier NX

[Issue Category] Security

[Hardware Setup] Jetson NX Xavier module + custom carrier board
[Repro Steps]

[Test Sample] tee-supplicant

[Error Log] ERR [13058] TSUP:main:922: failed to find an OP-TEE supplicant device

[dmesg] upload

[Device tree patch if any]

[Reproducible on dev-kit] Yes

[Dev-kit Model + BSP version] r35.3.1

[Additional Information]
I check the device node on /dev/ there’s no tee node can be found. I add tegra194-optee.dts in dts, but take no effect. Please help to take a look. thanks.
5003956_a90df1f8af_dmesg.txt (175.5 KB)

hello lingsong.zheng,

please check whether you’ve device nodes created correctly.
for instance,

$ ls /dev/tee*
/dev/tee0  /dev/teepriv0

you may dig into $ ls -la /dev/teepriv0 to confirm its permission (i.e. should be 664) as well.

Hi Jerry, thanks for reply:
There is no /dev/tee0 or /dev/teepriv0.I change dts like this.
firmware {
optee {
compatible = “linaro,optee-tz”;
method = “smc”;
status = “okay”;
};
};
Then I get the error in kernel:
[Sat Dec 14 15:23:36 2024] optee: probing for conduit method.
[Sat Dec 14 15:23:36 2024] optee: api uid mismatch
[Sat Dec 14 15:23:36 2024] optee: probe of firmware:optee failed with error -22

hello lingsong.zheng,

please check you’ve update TOS image correctly.
you may see-also Topic 246326 for reference.

It seems to be working fine now, thank you for your support.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.