Flashing error after uefi boot logo changed for Jetson AGX Orin

Test is done using Jetson Linux 34.1. Host PC is a Ubuntu 20.04. I download L4T BSP and Sample Root Filesystem. I first test flashing my Jetson Orin and everything works find. But, after I download UEFI Sources, update bmp logo, then build it by using Bootlin Toolchain gcc 9.3. The build process was successfully done and images generated are: BOOTAA64_Jetson_RELEASE.efi, uefi_Jetson_DEBUG.bin, variables_Jetson_RELEASE.bin. Then I rename these files and update Linux_for_Tegra/bootloader associate files. After executing sudo ./flash.sh jetson-agx-orin-devkit mmcblk0p1 a second time I get error below:
** Flashing target device started. **
Welcome to Tegra Flash
version 1.0.0
Type ? or help for help and q or quit to exit
Use ! to execute system commands

[ 0.0234 ] tegrasign_v3.py --key None --getmode mode.txt
[ 0.0237 ] Assuming zero filled SBK key
[ 0.0127 ] Parsing partition layout
[ 0.0655 ] tegraparser_v2 --pt flash.xml.tmp
[ 0.0674 ]
[ 0.0858 ] Change tegra234-bpmp-3701-0000-3737-0000.dtb to tegra234-bpmp-3701-0000-3737-0000_with_odm.dtb
[ 0.0858 ] Change tegra234-bpmp-3701-0000-3737-0000.dtb to tegra234-bpmp-3701-0000-3737-0000_with_odm.dtb
[ 0.1185 ] /usr/bin/python3 dtbcheck.py -c t234 -o tegra234-bpmp-3701-0000-3737-0000_with_odm.dtb tegra234-bpmp-3701-0000-3737-0000_with_odm_tmp.dtb
[ 0.2094 ]
[ 0.2121 ] Change kernel_tegra234-p3701-0000-p3737-0000.dtb to kernel_tegra234-p3701-0000-p3737-0000_with_odm.dtb
[ 0.2144 ] Change kernel_tegra234-p3701-0000-p3737-0000.dtb to kernel_tegra234-p3701-0000-p3737-0000_with_odm.dtb
[ 0.7935 ] Concatenating tegra234-p3737-overlay-pcie.dtbo,tegra234-p3737-audio-codec-rt5658-40pin.dtbo,tegra234-p3737-a04-overlay.dtbo,tegra234-p3737-camera-dual-imx274-overlay.dtbo,tegra234-p3737-camera-e3331-overlay.dtbo,tegra234-p3737-camera-e3333-overlay.dtbo,tegra234-p3737-camera-imx185-overlay.dtbo,tegra234-p3737-camera-imx390-overlay.dtbo to tegra234-p3701-0000-p3737-0000_with_odm.dtb
[ 0.7940 ] Concatenating bl dtb to cpubl binary
Error: Could not find --device_config
Failed flashing t186ref.
Has anyone encountered something similar to issue I described?
How can I fix this issue? Thank you.

We will try it on our side.

Error above occurs because I wrongfully rename the file uefi_Jetson_RELEASE.bin to uefi_Jetson.bin. In fact name must be uefi_jetson.bin. Notice the ‘j’ letter should be written in lowercase

I put an image at uefi/edk2-nvidia/Silicon/NVIDIA/Assets/image.bmp
I update the path by adding lines below to uefi/edk2-nvidia/Platform/NVIDIA/NVIDIA.fvmain.fdf.inc
FILE FREEFORM = gNVIDIAPlatformLogoGuid {
SECTION RAW = Silicon/NVIDIA/Assets/image.bmp
SECTION RAW = Silicon/NVIDIA/Assets/image.bmp
SECTION RAW = Silicon/NVIDIA/Assets/image.bmp
}

I build the uefi firmware and update Linux_for_Tegra/bootloader/BOOTAA64.efi and Linux_for_Tegra/bootloader/uefi_jetson.bin
I flash the emmc by executing sudo ./flash.sh jetson-agx-orin-devkit mmcblk0p1
But at boot I get black screen where its written Jetson UEFI firmware (version r34.1-Unknown built on 2022-05-12T15:30:46-04:000
Thank you.

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