Hi, everyone,
I want to change the booting order of tx2-nx by modifying uboot code, and I refer to the nVIDIA official website. There is a step ask me to modify include/config_distro_bootcmd.h, but didn’t tell what contents need to be modified in the file, can someone tell me how to modify that? THANKS!
Modify include/configs/tegra‑common‑post.h instead of the file you are using now.
@WayneWWW Thanks for your reply,
I have modified the boot order in include/configs/tegra-common-post.h to make USB and SSD boot prior than emmc. The following is the order I modified:
#ifndef BOOT_TARGET_DEVICES
#define BOOT_TARGET_DEVICES(func) \
func(USB, usb, 0) \
func(NVME, nvme, 0)\
func(MMC, mmc, 0) \
func(MMC, mmc, 1) \
func(PXE, pxe, na) \
func(DHCP, dhcp, na)
However, after I rebuild the uboot.bin file and reflash module, the emmc still booted first instead of USB. Did I miss any steps that should be done?