Customising xavier nx boot order #890
-
How do I change the cboot boot order on the Xavier NX? On the AGX Xavier (not using OE4T) I used a script like below to do it. I assume that means I need to do something similar with creating a cbo.dtb but I am not really sure where to put my cbo.dts to have it built and included in the tegraflash image. dtc -I dts -O dtb -o cbo.dtb << EOF
/dts-v1/;
/ {
compatible = "nvidia,cboot-options-v1";
boot-configuration {
boot-order = "sd", "emmc", "nvme", "usb";
};
};
EOF
dd if=cbo.dtb of=/dev/disk/by-partlabel/CPUBL-CFG |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
It's a two-step process. The first step is to add a recipe with your |
Beta Was this translation helpful? Give feedback.
It's a two-step process. The first step is to add a recipe with your
cbo.dts
file. Next is to add a bbappendfor the
tegra-bootfiles
recipe to have it depend on your new recipe and set CBOOTOPTION_FILE to pointto the file. I have an example in my test distro repo: recipe to install the file, bbappend for tegra-bootfiles