I have a problem what after mass flashing device still trying to check network boot, so people have to manually change settings in boot manager, which is a big problem during mass flashing
Mass flash process: Step 1, create backup from device with project
First of all, we don’t currently support the workflow of generating massflash packages from images backed up from NVMe/USB drives. I don’t believe the three steps you are trying will work.
Second,
this option will only work for the first time after the device is re-flashed with a clean BSP, not backup, and UEFI will still scan for all booting options each time the device is booting up.
Therefore, if you want to prevent devices from getting stuck in network boot, please consider the following way to completely disable it in UEFI:
I followed instructions from rebuild UEFI thread, I removed network stack and compilation was successful
INFO - ------------------------------------------------
INFO - --------------Cmd Output Finished---------------
INFO - --------- Running Time (mm:ss): 01:56 ----------
INFO - ----------- Return Code: 0x00000000 ------------
INFO - ------------------------------------------------
PROGRESS - Running Post Build
INFO - Generating uefi image nvidia-uefi/images/uefi_Jetson_RELEASE.bin
INFO - Copying boot app nvidia-uefi/images/BOOTAA64_Jetson_RELEASE.efi
INFO - Copying DTB images/BootOrderNvme_Jetson_RELEASE.dtbo
INFO - Copying DTB images/AcpiBoot_Jetson_RELEASE.dtbo
INFO - Copying DTB images/BootOrderEmmc_Jetson_RELEASE.dtbo
INFO - Copying DTB images/BootOrderSata_Jetson_RELEASE.dtbo
INFO - Copying DTB images/BootOrderUfs_Jetson_RELEASE.dtbo
INFO - Copying DTB images/BootOrderPxe_Jetson_RELEASE.dtbo
INFO - Copying DTB images/BootOrderUsb_Jetson_RELEASE.dtbo
INFO - Copying DTB images/BootOrderHttp_Jetson_RELEASE.dtbo
INFO - Copying DTB images/L4TConfiguration_Jetson_RELEASE.dtbo
INFO - Copying DTB images/DgpuDtEfifbSupport_Jetson_RELEASE.dtbo
DEBUG - Plugin Success: Linux GCC5 Tool Chain Support
INFO - Writing BuildToolsReports to nvidia-uefi/Build/Jetson/RELEASE_GCC5/BUILD_TOOLS_REPORT
DEBUG - Plugin Success: Build Tools Report Generator
PROGRESS - End time: 2024-02-19 09:27:51.998829 Total time Elapsed: 0:01:57
SECTION - Log file is located at: nvidia-uefi/Build/BUILDLOG_Jetson.txt
SECTION - Summary
PROGRESS - Success
I got uefi_Jetson_RELEASE.bin at the end and replaced it inside my “mfi*” folder, but it didnt make any effect, as I understand its using encrypted version uefi_jetson_with_dtb_sigheader.bin.encrypt
You can add --no-flash to the flashing command, so it will only prepare the image instead of really flashing the device.
Then you can extract the encrypted UEFI binary now.
At this moment I copy from Linux_for_Tegra/bootloader/uefi_jetson_with_dtb_sigheader.bin.encrypt to my mfi directory Linux_for_Tegra/mfi_p3509-a02+p3767-0000/bootloader/uefi_jetson_with_dtb_sigheader.bin.encrypt