I am using Jetson AGX Xavier based board, with L4T35.1 images flashed to emmc. I am trying to make emmc as the device with highest priority in the boot order because board tries to boot from sdcard when connected.
gNVIDIATokenSpaceGuid {
DefaultBootPriority {
data = "emmc,usb,nvme,sd,ufs";
locked;
};
Updated LinuxforTegra/kernel/dtb/L4TConfiguration.dtbo. Flashed board with above changes.
But i can observe the board still tries to boot from sdcard and not the emmc. Also if i go to the boot options menu, SDcard has higher priority than emmc.
No @DaveYYY. Still SDCard has the highest priority.
Built the uefi from sources and picked BootOrderEmmc_Jetson_DEBUG.dtbo and copied to LinuxForTegra and LinuxforTegra/kernel/dtb
Used command sudo ADDITIONAL_DTB_OVERLAY="BootOrderEmmc_Jetson_DEBUG.dtbo" ./flash.sh jetson-agx-xavier-devkit mmcblk0p
if you want to stick with 35.1, then you may update only the UEFI binary instead of the entire L4T version.
You can compile the latest version of UEFI source code provided here:
Replace uefi_jetson.bin inside Linux_for_Tegra/bootloader/ with the one you just generate, and flash either with