We have a customized device that can flash a certain hard drive normally, but after flashing, the hard drive cannot be found. The error is shown in the following figure
To troubleshoot the issue, I flashed a system that started from a USB device, and then found through checking the logs that PCIe did not recognize the hard disk device, and the lspci command could not see the information of the hard disk
Through testing, it was found that:
-
If you reload the PCIe driver during system startup, the hard drive will recognize it,
rmmod pcie_tegra194
modprobe pcie_tegra194
pcie_autoboot_error.log (88.4 KB) -
Delete pcie_tegra194.ko from initrd to prevent the kernel from automatically loading the pcie driver. After entering the system, manually execute insmod pcie_tegra194.ko, which can also be recognized by the hard drive,
pcie_insmod.log (68.5 KB)
One more thing, keeping all hardware unchanged, there is no such issue on jetpack5
R35_dmesg.log (82.2 KB)

