No such file or directory

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

No such file or directory

1,481 Views
dongyeonkim01
Contributor I

Hello,

we are following Trusted Excution(OP-TEE)  section on the LSDKUG_REV20.04 document

guide document.PNG

 

We checked whether the OP-TEE kernel driver was successfully initialized and we got this result,

dongyeonkim01_0-1625551660058.png

so, I tried to run the tee-supplicant file, but it running failed..

 

dongyeonkim01_1-1625551793838.png

 

and I can't try xtest to

dongyeonkim01_2-1625553059545.png

 

 

NXP board : LX2160ardb 

0 Kudos
6 Replies

1,465 Views
yipingwang
NXP TechSupport
NXP TechSupport

1. In configs/build_lsdk.cfg

CONFIG_APP_OPTEE=y

2. Build optee-os, optee-client and optee-test

$ flex-builder -c optee -m lx2160ardb

3. Rebuild atf with optee-os included in fip.bin

flex-builder -c atf -m lx2160ardb -b xspi

4. Please reprogram build/firmware/atf/lx2160ardb/fip_uboot.bin on the target board.

5. Merge optee-client and optee-test into rootfs filesystem.

$ flex-builder -i merge-component -a arm64

$ flex-builder -i packrfs

 

0 Kudos

1,459 Views
dongyeonkim01
Contributor I

hello 
thank you for your replying,

I tried build new image include 'CONFIG_APP_OPTEE=y' option and build success,

I tried update image to NXP board and i can get this message

dongyeonkim01_1-1625722248179.png

 

but still can't run 'xtest' and './tee-supplicant' 

dongyeonkim01_2-1625722310878.png

 

so, I tried next step, 

2. Build optee-os, optee-client and optee-test

 

 i got fail..

dongyeonkim01_0-1625721239897.png

 

* ps

What message will be printed when 'te-supplicant' is run normally?

 

0 Kudos

1,452 Views
yipingwang
NXP TechSupport
NXP TechSupport

I didn't reproduce your problem when executing the following command.

$ flex-builder -c optee_test -m lx2160ardb

Which version LSDK are you using?

Please use LSDK 2012 or LSDK 2004.

0 Kudos

1,438 Views
dongyeonkim01
Contributor I

Hi, thank you for your reply

 

but i can't solve issues, 
I used LSDK 2004.

 

I try this command

$ flex-builder -c optee_test -m lx2160ardb

 

and i got this result

dongyeonkim01_0-1626049645274.png

 

0 Kudos

1,427 Views
yipingwang
NXP TechSupport
NXP TechSupport

Are you using Ubuntu 18.04 to build LSDK 2004?

0 Kudos

1,408 Views
dongyeonkim01
Contributor I

thanks your reply

I solved .. issue

Build tool was an issue.

 

thank you for your help

0 Kudos