R35.6.0, uefi crashes after updating customer-customized logo

Hi,
https://docs.nvidia.com/jetson/archives/r35.6.0/DeveloperGuide/SD/Bootloader/UEFI.html?highlight=logo#customized-logo
Following this instruction, we rebuilt the uefi_jetson.bin file and replaced it for burning, but uefi crashed after burning. The newly compiled uefi_jetsion.bin can be burned and run normally on R35.1.
The burning command and crash log are as follows:
flash command:

sudo ./flash.sh -r -k A_cpu-bootloader  jetson-agx-orin-devkit mmcblk0p1 

crash log:

FW Boot Done
�ICE:  BL31: v2.6(release):5e1f8b33d
NOTICE:  BL31: Built : 01:45:47, Aug 28 2024
I/TC: Physical secure memory base 0x83c040000 size 0x3fc0000
I/TC: 
I/TC: Non-secure external DT found
I/TC: OP-TEE version: 3.22 (gcc version 9.3.0 (Buildroot 2020.08)) #2 Wed Aug 28 08:55:22 UTC 2024 aarch64
I/TC: WARNING: This OP-TEE configuration might be insecure!
I/TC: WARNING: Please check https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html
I/TC: Primary CPU initializing
I/TC: Test OEM keys are being used. This is insecure for shipping products!
I/TC: Primary CPU switching to normal world boot
Unhandled Exception in EL3.
x30            = 0x000000005000138c
x0             = 0x0000000000000000
x1             = 0xfffffffffffff000
x2             = 0xfffffffffffdd000
x3             = 0x0000000000022000
x4             = 0x0000000000000588
x5             = 0x0000000832000590
x6             = 0x0000000000000000
x7             = 0x0000000000000000
x8             = 0x000000082ce00000
x9             = 0x0000000000100004
x10            = 0x000000082ce123c8
x11            = 0x0000000000011ef8
x12            = 0x000000082ce11b89
x13            = 0x0000000000000000
x14            = 0x0000000000000000
x15            = 0x0000000000000000
x16            = 0x0000000000000000
x17            = 0x0000000000000000
x18            = 0x0000000000000000
x19            = 0x0000000000000000
x20            = 0x0000000000000000
x21            = 0x0000000000000000
x22            = 0x0000000000000000
x23            = 0x0000000000000000
x24            = 0x0000000000000000
x25            = 0x0000000000000000
x26            = 0x0000000000000000
x27            = 0x0000000000000000
x28            = 0x0000000000000023
x29            = 0x0000000000000000
scr_el3        = 0x000000000003073d
sctlr_el3      = 0x00000000b0cd183f
cptr_el3       = 0x0000000000000000
tcr_el3        = 0x0000000080823518
daif           = 0x00000000000002c0
mair_el3       = 0x00000000004404ff
spsr_el3       = 0x00000000200003c9
elr_el3        = 0x0000000000000200
ttbr0_el3      = 0x0000000050026ac1
esr_el3        = 0x0000000082000010
far_el3        = 0x0000000000000200
spsr_el1       = 0x0000000000000000
elr_el1        = 0x0000000000000000
spsr_abt       = 0x0000000000000000
spsr_und       = 0x0000000000000000
spsr_irq       = 0x0000000000000000
spsr_fiq       = 0x0000000000000000
sctlr_el1      = 0x0000000030d00800
actlr_el1      = 0x0000000000000000
cpacr_el1      = 0x0000000000000000
csselr_el1     = 0x0000000000000000
sp_el1         = 0x0000000000000000
esr_el1        = 0x0000000000000000
ttbr0_el1      = 0x0000000000000000
ttbr1_el1      = 0x0000000000000000
mair_el1       = 0x0000000000000000
amair_el1      = 0x0000000000000000
tcr_el1        = 0x0000000000000000
tpidr_el1      = 0x0000000000000000
tpidr_el0      = 0x0000000000000000
tpidrro_el0    = 0x0000000000000000
par_el1        = 0x0000000000000800
mpidr_el1      = 0x0000000081000000
afsr0_el1      = 0x0000000000000000
afsr1_el1      = 0x0000000000000000
contextidr_el1 = 0x0000000000000000
vbar_el1       = 0x0000000000000000
cntp_ctl_el0   = 0x0000000000000000
cntp_cval_el0  = 0x0000000000000000
cntv_ctl_el0   = 0x0000000000000000
cntv_cval_el0  = 0x0000000000000000
cntkctl_el1    = 0x0000000000000000
sp_el0         = 0x0000000000000000
isr_el1        = 0x0000000000000040
cpuectlr_el1   = 0xa000000b40543000
gicd_ispendr regs (Offsets 0x200 - 0x278)
 Offset:                        value
0000000000000200:               0x0000000000000000
0000000000000204:               0x0000000000000000
0000000000000208:               0x0000000000000000
000000000000020c:               0x0000000000000000
0000000000000210:               0x0000000000000000
0000000000000214:               0x0000000000000000
0000000000000218:               0x0000000000000000
000000000000021c:               0x0000000000020000
0000000000000220:               0x0000000000000000
0000000000000224:               0x0000000000000000
0000000000000228:               0x0000000000000000
000000000000022c:               0x0000000000000000
0000000000000230:               0x0000000000000000
0000000000000234:               0x0000000000000000
0000000000000238:               0x0000000000000000
000000000000023c:               0x0000000000000000
0000000000000240:               0x0000000000000000
0000000000000244:               0x0000000000000000
0000000000000248:               0x0000000000000000
000000000000024c:               0x0000000000000000
0000000000000250:               0x0000000000000000
0000000000000254:               0x0000000000000000
0000000000000258:               0x0000000000000000
000000000000025c:               0x0000000000000000
0000000000000260:               0x0000000000000000
0000000000000264:               0x0000000000000000
0000000000000268:               0x0000000000000000
000000000000026c:               0x0000000000000000
0000000000000270:               0x0000000000000000
0000000000000274:               0x0000000000000000
0000000000000278:               0x0000000000000000
000000000000027c:               0x0000000000000000

Hi,
Maybe I didn’t describe my problem clearly,I want to replace the nvidia logo image in uefi. There is a problem with the newly built uefi_jetson.bin

Hi wangxiaozhuang,

Are you using the devkit or custom board for AGX Orin?

Please share the steps how do you build the UEFI binary.
You may sync the wrong UEFI source for R35.6.0.

Hi KevinFFF,
Already solved.

  • custom board for AGX Oin.

https://github.com/NVIDIA/edk2-nvidia/wiki/Build-without-docker

  • Refer to this document to compile uefi and it will start normally

edkrepo clone nvidia-uefi NVIDIA-Platforms r35.6.0

  • The key here is to change it to the r35.6.0 branch. You cannot use the main branch directly.

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