Dear All,
I develop Trusted Application on Trusty TEE on Jetson AGX Xavier.
From TA development to board flashing, everything works just fine, as documented here
The following trusty version is deployed on the platform:
:: Problem
But, when I test my TA (based on the sample luks-srv TA) on the board, I get this error:
While investigating on the potential sources for this error, I’ve found the following message in dmesg:
:: Resolution tentative
You can find below my tentatives to solve -in vain- this issue.
:: :: Look for the device inside the /dev:
The device trusty-ipc-dev0 is missing.
:: :: Try other TAs:
I tried hwkey-agent TA with the same result.
:: :: Use tipc_test
Trusty provides TAs cli-testable with tipc_test.
Still the same error, with the TA not capable of connecting with trusty-ipc-dev0.
:: :: List TIPC devices
At this point the only source of the problem left is TIPC itself, so I tried to list tipc devices.
The TIPC module is maybe not loaded.
:: :: Load TIPC
I tried to load TIPC module with modprobe.
Modprobe can’t find the modules inside the kernel.
:: :: Check for TIPC module:
I looked for the module within the kernel. The usual dir for TIPC is /lib/modules/{$uname -r}/kernel/net.
The TIPC folder is missing.
As the issue seems to be related to TIPC loading, I tried the following approaches:
:: :: Look for TIPC modules:
I searched the tipc modules inside the board.
The folder /usr/src/linux-headers-4.9.201-tegra-ubuntu18.04_aarch64/kernel-4.9/net/tipc exists.
I copied/pasted it in /lib/modules/4.9.201-tegra/kernel/net/.
But still modprobe does not load the tipc module.
:: :: Force TIPC loading:
Inside modprobe aliases, tipc was not present.
I tried to force its loading as follows
echo 'tipc' > /lib/modprob.d/tipc.conf & systemctl start systemd-modules-load
But still facing the same errors.
I am short on ideas now, so any suggestions or recommendations would be highly appreciated!
Thank you in advance,
Best.