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.
2.apply_binaries.sh
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
When I was investigating a uart7 problem, the method of referring to the forum has not been solved, so I began to reflect on the generation steps of DTB.
So I want to find out, from the initial DTS, dtsi files, to how to generate a separate DTB, and then how to merge into the final DTB file.