Jetson Agx Orin UEFI startup error

When we use Jetson Agx Orin, we occasionally encounter a UEFI error during system startup, as shown in the following figure.

at this time, no matter how many times we reboot the orin, the same error will be reported in uefi startup.

The only solution is to re-flash the UEFI partition。use this command:sudo ./flash.sh -r -k A_cpu-bootloader jetson-agx-orin-devkit mmcblk0p1
But I promise that no one will modify this partition during use, why does it get corrupted?

With devkit or custom carrier board?
Which JetPack SW?

custom carrier board
jetpack SW is 35.1

How frequently does it happen?
Have you tried a later release of L4T?
There’s little we can help if it does not happen on a DevKit.

happen three times in a few months so far
every time after we reflash uefi,it work fine。

Put the full booting log with UEFI debug binary here.
The screenshot does not give much useful information.

this is jetson agx orin startup log
orin_uefi.log (147.9 KB)

Hi,

I am not sure if this is the cause of this issue.

SNP:PHY: PhyDxeInitialization () Failed to configure Phy
DeviceDiscoveryBindingStart, driver returned Device Error to start notification

Do you have RGMII enabled on your board? I guess it should be a custom board here?

1、but normal startup these error also exist, not affect orin uefi startup


orin_normal_startup_2023-11-22_20-27-14.log (186.5 KB)

2、if these error cause uefi startup failed,why we reflash uefi part ,it work fine.

Hi,

It’s bug in OP-TEE that has been fixed in newer L4T releases.
Please download and extract public_sources.tbz2 at https://developer.nvidia.com/embedded/jetson-linux-r351.
The source code is available in Linux_for_Tegra/source/public/nvidia-jetson-optee-source.tbz2.
Apply the following patch:

diff --git a/core/arch/arm/kernel/stmm_sp.c b/core/arch/arm/kernel/stmm_sp.c
index bf90eef..b45cc90 100644
--- a/core/arch/arm/kernel/stmm_sp.c
+++ b/core/arch/arm/kernel/stmm_sp.c
@@ -76,7 +76,7 @@
 static const uint16_t ffa_storage_id = 4U;
 
 static const unsigned int stmm_stack_size = 4 * SMALL_PAGE_SIZE;
-static const unsigned int stmm_heap_size = 600 * SMALL_PAGE_SIZE;
+static const unsigned int stmm_heap_size = 750 * SMALL_PAGE_SIZE;
 static const unsigned int stmm_sec_buf_size = 21 * SMALL_PAGE_SIZE;
 static const unsigned int stmm_ns_comm_buf_size = 21 * SMALL_PAGE_SIZE;

Build and flash the image following instructions in nvidia-jetson-optee-source.tbz2/optee/atf_and_optee_README.txt.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.