Flashing only UEFI bootloader to Jetson AGX Xavier


I want to setup a PXE boot environment in our system in which the Jetson only contains the UEFI bootloader and nothing else on its eMMC. In my current setup, the Jetson uses the integrated PXE boot functionality in the UEFI bootloader to PXE boot a GRUB image from the TFTP server and use said GRUB image to boot a kernel image, initial ramdisk, and device tree blob from the TFTP server while also mounting its root filesystem over NFS from the server. This allows for nothing to be saved on the eMMC but the bootloader, which is a requirement for the system. However, I have not figured out a way to use the NVIDIA flashing script (flash.sh) to flash just the bootloader to the eMMC and not the kernel or anything else. Is this possible?

Thanks in advance for any help.

Hi abotelho1994,

Are you using the devkit or custom board?

You could replace the uefi_jetson.bin under Linux_for_Tegra/bootloader/
and use the following command to flash bootloader only.

$ sudo ./flash.sh -r -k cpu-bootloader jetson-agx-xavier-devkit mmcblk0p1

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