How to flash dtb only

hello,
i am developing xavier nx commerial module p3668-0001 based on Jetpack 5.0.2,
compile kernel dts and copy all generated dtb files into kernel/dtb folder,
then flash dtb by following command:
sudo ./flash.sh -r -k kernel-dtb jetson-xavier-nx-devkit-emmc mmcblk0p1
flash successfully,
then reboot device and check the booting log,
it sees dtb no changed…

hello ChinoLuo,

if there’s FDT entry, the device tree is loaded via file system.
please remove FDT in the /boot/extlinux/extlinux.conf, then it’ll load via kernel-dtb partition.
thanks

that means:
if i want to update dtb by flash tool,
first, remove /boot/extlinux/extlinux.conf, then flash on PC;
if i want to update dtb without flash tool,
replace kernel_tegra194-p3668-0001-p3509-0000.dtb located in /boot/dtb by new one, then reboot.
Is it right?

yes, your understanding is correct.

Thank you!

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