How to Compile the dtb from kernel source instead of dtc

Hello,
We have a custom Carrier board that does not have the USBC PD IC in the design. We need to enable the USB 3.0 on the USB3 port (the USB connected to the J507 connector on the NVIDIA carrier board) and SPI2 interface.
We modified the dts and used the dtc to compile it but the OS crashes every time as shown in the image below.

Therefore how would we go about Compiling the dtb from kernel source instead of dtc ?

Thanks.
Arun.

You should have just needed to disable that device in the device tree for the platform.
Then
make ARCH=arm64 O=KERNEL_OUT CROSS_COMPILE={CROSS_COMPILE} -j4

builds the DTB and the kernel from the source tree.

Looking at your error, you might not have flashed the system correctly.
You need to flash the kernel, flash, the dtb, and flash the rootfs. The correct sequence in in the Tegra manual somewhere.

sudo ./flash.sh -k kernel jetson-xavier mmcblk0p1
sudo ./flash.sh -k kernel-dtb jetson-xavier mmcblk0p1
sudo ./flash.sh jetson-xavier mmcblk0p1