How to update DTB with TX2 itself

I am using L4T R28.1 with Jetson TX 2, and I need to update the DTB frequently.

According to “Replacing the Kernel” in “NVIDIA Tegra Linux Driver Package Development Guide 28.1 Release”,
putting “kernel files” in /boot can update the kernel.

I put a DTB file in /boot to update the DTB, but I could not update it.

With reference to [url]flash DTB issue on tx2 - Jetson TX2 - NVIDIA Developer Forums,
using JetPack’s, I was able to update the DTB .

Is there a way to update DTB with TX2 itself without using

Hi n.tazawa, since R28.1 release, updating DTB partition with the following command is the official way:

$ sudo ./flash -r -k kernel-dtb jetson-tx2 mmcblk0p1

The full DTB is no longer stored in /boot or fully referenced from extlinux.conf.

Unofficially, you may try using dd to update the DTB partition yourself, see these posts from users:

Are there plans for an official method to update the DTB partition? We hope to be able to provide OTA upgrades to customers, and there’s a chance those would need to include device tree changes.

There’s an update process defined in the “TX2 Bootloader Update and Redundancy” section of the R28.2 docs, and the update engine is provided with the BSP. I adapted that for my project, and it works pretty well.