How to reflash a TX2 without rewriting the rootfs

Hello,

there are options to flash.sh to reflash individually some (or every, I did not check) partitions, one by one, but is there an option to reflash everything behalve the rootfs partition.

And if not, is there a faster way than first extracting the rootfs partition and then reflashing it with all the other partitions ?

TIA

Hi phdm,

Yes, it is possible to reflash the kernel image and device tree without touching the file system. For that there is the option “-r”. So for example, if you want to replace the device tree you could use:

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