Skip to content

how porting (enable ) optee in yocto rock 5c board? #42

@gitgonewithwind

Description

@gitgonewithwind

how porting (enable ) optee in yocto rock 5c board(rk3588s)?

hi all,
I get source code here:
https://github.com/radxa/yocto-manifests/tree/master
but the source code not support optee, so I ported optee from meta-arm/meta-arm latest master branch. the optee-os shows it support rk3588 , I ported, build sucessfully

after boot up, I can find /dev/tee0 that seems kerenl and ubuntu directly supported optee. but I run xtest, there are lot of error:( not like maaxboard I did before, almost every passed : OK in maaxboard)

...
....
regression_6019 OK
regression_6020 OK
regression_6021 OK
regression_8001 FAILED first error at /usr/src/debug/optee-test/4.1.0/host/xt7
regression_8002 OK
regression_8101 FAILED first error at /usr/src/debug/optee-test/4.1.0/host/xt7
regression_8102 FAILED first error at /usr/src/debug/optee-test/4.1.0/host/xt1
regression_8103 FAILED first error at /usr/src/debug/optee-test/4.1.0/host/xt7
+-----------------------------------------------------
750 subtests of which 273 failed
103 test cases of which 77 failed
3 test cases were skipped

...
and I can not use. xtest --install-ta xxxx-xxx.-xxxx.ta at all.

error:
xtest --install-ta cb3e5ba0-adf1-11e0-998b-0002a5d5c51b.ta
Installing "cb3e5ba0-adf1-11e0-998b-0002a5d5c51b.ta"
xtest: install_ta: TEEC_InvokeCommand: 0xffff000f err_origin 0x4
7d-4988-95ee-e4962fff7154.tac:/lib/optee_armtz# xtest --install-ta ffd2bded-ab7d-4988-95ee-e4962fff7154.ta
Installing "ffd2bded-ab7d-4988-95ee-e4962fff7154.ta"
xtest: install_ta: TEEC_InvokeCommand: 0xffff000f err_origin 0x4

what is the issue? maybe there is a new feature, a few year ago, I worked well in maaxboard.

how to do ?

Thank you!

I posted the issue here too:
OP-TEE/optee_os#7607

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions