Jetson Orin Nano Building the miniUEFI

I am going to Build the miniUEFI Jetson Orin nano

i follow the with docker > Build with docker · NVIDIA/edk2-nvidia Wiki · GitHub
i could not run this command because, i don’t have JetsonMinimal folder inside workspace. i have attached the screenshot



$ cd nvidia-uefi
$ edk2_docker edk2-nvidia/Platform/NVIDIA/JetsonMinimal/build.sh


i use previous version and try to flash. i got this error

susara@mars:~/nvidia/nvidia_sdk/JetPack_6.2_Linux_JETSON_ORIN_NANO_TARGETS/Linux_for_Tegra$ sudo ADDITIONAL_DTB_OVERLAY="BootOrderEmmc.dtbo" ./flash.sh --no-systemimg jetson-orin-nano-devkit internal
[sudo] password for susara: 
###############################################################################
# L4T BSP Information:
# R36 , REVISION: 4.3
# User release: 0.0
###############################################################################
ECID is 0x80012344705DD4511400000011FE0100
# Target Board Information:
# Name: jetson-orin-nano-devkit, Board Family: generic, SoC: Tegra 234, 
# OpMode: production, Boot Authentication: NS, 
# Disk encryption: disabled ,
###############################################################################
copying device_config(/home/susara/nvidia/nvidia_sdk/JetPack_6.2_Linux_JETSON_ORIN_NANO_TARGETS/Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-device-p3767-0000.dts)... done.
copying misc_config(/home/susara/nvidia/nvidia_sdk/JetPack_6.2_Linux_JETSON_ORIN_NANO_TARGETS/Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-misc-p3767-0000.dts)... done.
copying emc_fuse_dev_params(/home/susara/nvidia/nvidia_sdk/JetPack_6.2_Linux_JETSON_ORIN_NANO_TARGETS/Linux_for_Tegra/bootloader/generic/BCT/tegra234-br-bct-diag-boot.dts)... done.
copying minratchet_config(/home/susara/nvidia/nvidia_sdk/JetPack_6.2_Linux_JETSON_ORIN_NANO_TARGETS/Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-ratchet-p3767-0000.dts)... done.
Existing emcfuse(/home/susara/nvidia/nvidia_sdk/JetPack_6.2_Linux_JETSON_ORIN_NANO_TARGETS/Linux_for_Tegra/bootloader/fuse_t234.xml) reused.
./tegraflash.py --chip "0x23" --applet "/home/susara/nvidia/nvidia_sdk/JetPack_6.2_Linux_JETSON_ORIN_NANO_TARGETS/Linux_for_Tegra/bootloader/mb1_t234_prod.bin" --skipuid --cfg readinfo_t234_min_prod.xml --dev_params tegra234-br-bct-diag-boot.dts --device_config tegra234-mb1-bct-device-p3767-0000.dts --misc_config tegra234-mb1-bct-misc-p3767-0000.dts --bins "mb2_applet applet_t234.bin" --minratchet_config tegra234-mb1-bct-ratchet-p3767-0000.dts --cmd "readfuses fuse_t234.bin fuse_t234.xml; dump eeprom cvm cvm.bin; dump try_custinfo custinfo_out.bin; reboot recovery" 
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.0141 ] Reading fuses
[   0.0149 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[   0.0154 ] File rcm_state open failed
[   0.0156 ] ERROR: failed to read rcm_state
[   0.0156 ] 
[   0.0168 ] tegrasign_v3.py --key None --getmode mode.txt
[   0.0169 ] Assuming zero filled SBK key
[   0.0160 ] Pre-processing config: tegra234-mb1-bct-device-p3767-0000.dts
[   0.0562 ] Pre-processing config: tegra234-mb1-bct-misc-p3767-0000.dts
Error: Return value 2
Command dtc -I dts -O dtb -o tegra234-mb1-bct-misc-p3767-0000_cpp.dtb tegra234-mb1-bct-misc-p3767-0000_cpp.dts
[   0.0633 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[   0.0641 ] File rcm_state open failed
[   0.0642 ] ERROR: failed to read rcm_state
[   0.0642 ] 
[   0.0654 ] tegrasign_v3.py --key None --getmode mode.txt
[   0.0656 ] Assuming zero filled SBK key
[   0.0648 ] Pre-processing config: tegra234-mb1-bct-device-p3767-0000.dts
[   0.0695 ] Pre-processing config: tegra234-mb1-bct-misc-p3767-0000.dts
Error: Return value 2
Command dtc -I dts -O dtb -o tegra234-mb1-bct-misc-p3767-0000_cpp.dtb tegra234-mb1-bct-misc-p3767-0000_cpp.dts
Reading board information failed.

Hi susara.nuwara,

Are yo using the devkit or custom board for Orin Nano?
What’s the Jetpack version in use?

Please share the full command how did you clone the source for UEFI.