How to disable SMMU for pcie5?
I read the similar topics and went through the following steps:
Download Linux_for_Tegra, kernel source and sample rootfs from this link https://developer.nvidia.com/embedded/linux-tegra-r3271
I extracted rootfs to Linux_for_tegra/rootfs
Removed this strings from tegra194-soc-pcie.dtsi
iommus = <&smmu TEGRA_SID_PCIE5>;
dma-coherent;
In arm-smmu-t19x.c
reg = readl_relaxed(ARM_SMMU_GR0_NS(smmu) +
ARM_SMMU_GR0_sCR0);
/* Enable fault reporting /
-reg |= (sCR0_GFRE | sCR0_GFIE | sCR0_GCFGFRE | sCR0_GCFGFIE |
sCR0_USFCFG);
+reg |= (sCR0_GFRE | sCR0_GFIE | sCR0_GCFGFRE | sCR0_GCFGFIE);
+
+/ Disable Unidentified stream fault reporting */
+reg &= ~(sCR0_USFCFG);
./nvbuild.sh -o $HOME/Desktop/kernel_out/ and copy *.dtb *.dtbo and Image to Linux_for_Tegra dir
sudo ./apply_binaries.sh
sudo ./flash.sh jetson-xavier-nx-devkit-emmc mmcblk0p1
The script succseed and after rebooting jetson didnt start the system.
So what am i doing wrong? I tryed to change /bootloader/t186ref/BCT/tegra194-memcfg-sw-override.cfg in Linux_for_Tegra as in the pcie smmu issue - #6 by vidyas but nothing changed.