JP-7.2/r39.2, board: jetson AGX thor(t264)
atf_and_optee_README.txt
./optee_src_build.sh -p <platform> -t
but the nv_public_src_build_tos.sh said for t264 do not usr “-t” to compile optee
EXTRA_BUILD_OPTS=“”
if [ “${TARGET_PLATFORM}” == “t234” ]; then
dts_file="./optee/tegra234-optee.dts"
dtb_file="./optee/tegra234-optee.dtb"
export UEFI_STMM_PATH="${UEFI_STMM}"
EXTRA_BUILD_OPTS="-t"
fi
if [ “${TARGET_PLATFORM}” == “t264” ]; then
dts_file="./optee/tegra264-optee.dts"
dtb_file="./optee/tegra264-optee.dtb"
fi
so, should I use “-t”(for fTPM enable) arg for optee compile or not?
when I do not use “-t” to compile optee , I found the device could not bringup when flashing, report “Could not find a device online , after killing and re-starting ADBserver” error.
hello baojifu,
please build OP-TEE with the -t option to include fTPM support, as shown in the README file.
omitting -t excludes the fTPM components and may cause RPC-related errors when UEFI expects those services.
for investigation, please retry with this option and share the UART boot log if the flashing issue persists.
Hi JerryChang,
when I build OP-TEE with the -t, flashing is ok
when I build OP-TEE without the -t, flashing is failed,I catched the console output:
INFO: Initialized VM: 0x8001, boot_order: 0
[8002 0] STMM: StandaloneMmJetson (version 39.2.0-gcid-45755727)
[8002 0] STMM: StandaloneMmJetson (built on 2026-06-01T20:18:49+00:00)
[8002 0] STMM: Boot Complete
INFO: Initialized VM: 0x8002, boot_order: 1
NOTICE: Finished initializing all VMs.
NOTICE: BL31 Boot Complete
醫26x_general UEFI firmware (version root-ab30242 built on 2026-10-09T14:28:36+08:00)
鋄8001 0] I/TC: WARNING (insecure configur酇SSE鋋tio酭T [鋘): 酓ebu銯ail醙Sta鋏d t醫usC鋙 ge醥deD鋞 mo醲e] 鋘oto醄Tcg鋘ic ?Dxe鋍oun醈 Tc鋞er 醙2Dx鋐or 醗.c(銻EE ?818銯S, ?: !鋟sin?((R鋑 0
酔TUR?
酦_STATUS)(Status)) >= 0x8000000000000000ULL)
Resetting the system in 5 seconds.
釸eset requested
Rebooting system ...
console log shows that it rebooting the system,but it not be rebooted, I use the lsusb command that shows that the device is always in recovery:
Bus 003 Device 106: ID 0955:7026 NVIDIA Corp. APX
so why it can not be rebooted success?
thanks
hello baojifu,
your comparison confirms that enabling fTPM with -t resolves the flashing issue. without it, the console shows an assertion in UEFI’s Tcg2Dxe TPM driver, followed by a reset request.
please retain -t when rebuilding OP-TEE for this configuration.
besides..
please check whether Force Recovery remains asserted and share the complete UART log spanning the reset if the device stays in recovery unexpectedly.
Hello JerryChang,
“the console shows an assertion in UEFI’s Tcg2Dxe TPM driver”
the console log contains some Garbled text,I want to know How do you confirm that the TcgDxe TPM driver caused an assert?
please check whether Force Recovery remains asserted and share the complete UART log spanning the reset if the device stays in recovery unexpectedly.
lsusb shows that the device always stays in recovery, the console has no additional logs (below log is the last log)
actually, you should have the -t option enabled.