Unable to boot from NVMe hard drive after flashing on R36.4.3

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:

  1. 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)

  2. 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)

HI,

Do you build the custom kernel?
What is your target JP version?

Thanks

Yes, the version I am using is 36.4.3/jetpack6.2 , and the kernel was compiled by us

Please try this one:

edit /etc/fstab, leave only / is mounted and try again.

the current issue is the inability to recognize PCIe nvme devices, rather than specific partitions

Oops. Sorry for that.
Did you try sudo ./tools/l4t_update_initrd.sh before you flash the NVMe?
I met the issue before while the initrd image didn’t contain the right driver for it.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.