This shows you the differences between two versions of the page.
ass:labs-2025:05:tasks:02 [2025/08/08 10:01] florin.stancu |
ass:labs-2025:05:tasks:02 [2025/08/08 14:28] (current) florin.stancu |
||
---|---|---|---|
Line 47: | Line 47: | ||
<note> | <note> | ||
- | As for ''TA_DEV_KIT_DIR'' of a Trusted Application, it must point to your BL32 (optee_os) source directory (you may optionally export it as portable SDK by invoking a special ''make'' target and store it somewhere else, but it is laborious). | + | As for ''TA_DEV_KIT_DIR'' of a Trusted Application, it must point to an SDK generated inside BL32 (optee_os) source directory (something like ''export-ta...'''. |
</note> | </note> | ||
Line 77: | Line 77: | ||
Do not Ctrl+C yet, leave it running and mount the newly appeared USB device in your PC/VM! | Do not Ctrl+C yet, leave it running and mount the newly appeared USB device in your PC/VM! | ||
- | After copying the files, boot the Linux package (you can use the Lab02 boot commands, see Readme.md). | + | After copying the files, boot Linux. |
+ | |||
+ | Now check if ''tee-supplicant'' is running... let's mount devtmpfs then start it: | ||
+ | <code bash> | ||
+ | mount -t devtmpfs devtmpfs /dev | ||
+ | tee-supplicant -d | ||
+ | </code> | ||
Mount the boot partition and run the TA (you might need to copy it somewhere else and ''chmod +x'')! | Mount the boot partition and run the TA (you might need to copy it somewhere else and ''chmod +x'')! | ||
Line 85: | Line 91: | ||
Observe the error: OP-TEE cannot find the ''.ta'' file inside a trusted memory or REE. | Observe the error: OP-TEE cannot find the ''.ta'' file inside a trusted memory or REE. | ||
- | For this, you will need to copy the signed ''<UUID>.ta'' file to ''/lib/optee_armtz/'', as (very badly) documented. | + | For this, you will need to copy the signed ''<UUID>.ta'' file to ''/lib/optee_armtz/'' (create it if it doesn't exist), as (very badly) documented. |
</note> | </note> | ||