I’m having trouble getting Jetson Xavier AGX to detect a connected SSD.
There is no block device file for the SSD present in /dev. lsblk and lspci do not list the device either.
The SSD works and is detect normally on other computers but not on Xavier.
I’ve tested also with 2 other 970 Pro’s but none of them are recognized.
Dmesg does not seem to contain any relevant information but I attached it just in case.
Is the SSD here connected to M.2 Key-M slot or CEM slot i.e. x16 slot?
If it is connected to M.2 Key-M slot, then make the below modifications in pcie@14180000 DT node or else in pcie@141a0000 node.
Try setting maximum speed to Gen-1 by setting “nvidia,max-speed = <1>”
Try limiting the link width to only x1 by setting num-lanes = <1>;
Default stock kernel. Don’t know which JetPack version it was because it was not installed by me.
/etc/nv_tegra_release shows: R32 (release), REVISION: 3.1
CONFIG_NVME_CORE=y
CONFIG_BLK_DEV_NVME=y
# CONFIG_BLK_DEV_NVME_SCSI is not set
# CONFIG_NVME_TARGET is not set
# CONFIG_NVMEM is not set
Thanks @Andrey1984 for helping out here. Just want to clarify here issue is about PCIe EP detection. it should work on all Jetpack release. so no need to move to Jetpack 4.4 for this issue
@joel.polso Please try what @vidyas has suggested first.
you mentioned that this nvme card is working on some other host, can you share output of “sudo lspci -vvv”
Tried recompiling kernel with your patch, but it does not seem to make any difference. the NVMe -drive is still missing.
After booting the system, it says “DTS File Name: path/to/Linux_for_Tegra/sources/kernel/kernel-4.9/arch/arm64/boot/dts/…/…/…/…/…/…/hardware/nvidia/platform/t19x/galen/kernel-dts/common/tegra194-p2888-0001-p2822-0000-common.dtsi”
after digging into the tegra194-p2888-0001-p2822-0000-common.dtsi -file, it seems, that the tegra194-soc-pcie.dtsi, referred by your patch, is not included at all? Am I doing something wrong?
after digging into the tegra194-p2888-0001-p2822-0000-common.dtsi -file, it seems, that the tegra194-soc-pcie.dtsi, referred by your patch, is not included at all? Am I doing something wrong?
tegra194-p2888-0001-p2822-0000-common.dtsi is platform dt file. all module dt will be included in it.
Can you provide me output of below commands:
xxd /proc/device-tree/pcie@14180000/nvidia,max-speed
xxd /proc/device-tree/pcie@14180000/num-lanes
default values are 4 and 8 respectively. If you are flashing it correctly value should be 3 and 4.
make sure after compilation your are updating dt binary before flash
seems ok to me, but for some reason xxd still reports:
xxd /proc/device-tree/pcie@14180000/nvidia,max-speed
00000000: 0000 0004
xxd /proc/device-tree/pcie@14180000/num-lanes
00000000: 0000 0008 …