Hi,
I modify spi1 item in the dts file and flash the new dtb to jetson xavier, but it did not work. The detail is :
step1. I download the kernel source, and modify
tegra194-p2888-0001-p2822-0000-common.dtsi
at kernel_src/hardware/nvidia/platform/t19x/galen/kernel-dts/common
I disable the SPIDEV.
step2. I compile the whole kernel, get the
tegra194-p2888-0001-p2822-0000.dtb
at okernel/arch/arm64/boot/dts
step3. I copy this new dtb file to the host at nvidia_sdk/jetpack_4.5_linux_jetson_agx_xavier/linux_for_tegra/kernel/dtb
Thanks Wayne, I know how to use dmesg, but I never use uart log, can you tell me how to use it?
By the way, after flash new dtb, are these files in /boot/ of jetson will be replace?
I use ls -l command and the /boot dir seems no file date change, it still show 6, May. Could there be a problem with the flash step?
Did you run jetson-io before? This makes the bootloader to boot the dtb from the rootfs but not the default partition. That is why the update by flash.sh does not take effect.
I am not sure if you understand how jetson-io works.
The logic is same, jetson-io replaces the dtb. But this dtb is created on the device and jetson-io just modifies the extlinux.conf to add a “FDT” there. This FDT will force the bootloader to read the dtb from the rootfs, but not the partition.
Thus, if you just want to me to reply a simple yes or no answer to your question here, then my answer is no. If you remove the FDT, then jetson-io’s change will not take effect anymore.
But I think it is easy to come up with a idea for how to workaround this. You can try to think about it by yourself first.