flash DTB issue on tx2

Hi,

I expected just flashing dtb file on tx2 follows command

sudo ./flash.sh -d ./kernel/dtb/tegra186-quill-p3310-1000-a00-00-base.dtb jetson-tx2 mmcblk0p1

But after flashing dtb file, files i installed by jetpack on tx2 disappeared, i guess that all files i installed on tx2 erased.

Plz let me know how to flash just dtb file.

Thanks,
Doohan93

The “-r” option to flash.sh says to reuse the rootfs image…if the command is to flash a specific partition (e.g., kernel-dtb), and if “-r” is also used, then rootfs will be preserved.

If the dtb is in the correct directory, then this would flash kernel-dtb directory of a TX2 under R28.1 (if “tegra186-quill-p3310-1000-a00-00-base.dtb” is modified and used to overwrite “kernel/dtb/tegra186-quill-p3310-1000-a00-00-base.dtb”, then this will be put into the partition with label “kernel-dtb”):

sudo ./flash.sh <b>-r</b> -k kernel-dtb jetson-tx2 mmcblk0p1