At present, my project is to decompile the dtb into a dts file with DTC tool. After modification, converted dtb into dts with dtc tool. then flash it into mmc flash.
the based dtb file is :tegra186-quill-p3310-1000-c03-00-base.dtb,
and flash cmd is: sudo ./flash.sh -r -k kernel-dtb -d modifyxxx.dtb jetson-tx2 mmcblk0p1
This method is worked, but I want to try the another way .
I’ve made some attempts and the results are as follows
1.make O=$TEGRA_KERNEL_OUT dtbs
this cmd is compile /hardware/nvidia/platform/t18x/quill/kernel-dts/xxx.dts into dtb file, and output to Linux_for_Tegra/images/arch/arm64/boot/dts/ folder.
this shell will copy Linux_for_Tegra/kernel/dtb/xxx.dtb to somewhere.
- flash.sh -r -k kernel-dtb jetson-tx2 mmcblk0p1
this shell cmd will populating Linux_for_Tegra/kernel/dtb/xxx.dtb to rootfs
The above steps did not make the modified part take effect. What is the official recommended operation? How to make it work. thks