Hi, I have two Jetson AGX - one is running Ubuntu 18.04 installed with SDK manager. The other is running a custom distribution built with Yocto. Both have a Kingston M2 drive plugged in.
On the Ubuntu Jetson, lspci gives me the following output:
PCI bridge: NVIDIA Corporation Device 1ad0
memory controller: Kingston Technology Company
PCI bridge: NVIDIA corporation Device 1ad0
SATA controller: Marvell Technology Group Ltd"
Totally forgot to mention that. It’s tucked away inside a box, so I keep forgetting, it’s actually a Connectech carrier board.
And regarding the device tree, this is what I’m afraid of. I’ve no idea how to fiddle with those settings so I’m a bit stuck here. Was hoping I just didn’t mount the M2 drive properly, but it seems this would take a little bit more work to fix.
Not sure what get flashed to the board, I assumed everything is included in the Yocto build which another company build. I’m pretty sure it’s a customized device tree. I could possibly dig out the information - problem is I’m not really sure what to look for since I’m pretty new to this.
Just wanted to make sure it wasn’t an easy fix I overlooked - like mounting the device somehow. But I guess output of the commands I posted suggests that the board is NOT setup to detect an M2 drive.
I really don’t think this could be done by a end user. The debug of why a PCIe device may require kernel knowledge and also we may need to check the schematic of this carrier board.
As you are not the board vendor, it is unlikely you would have the schematic…
It is not related to any “mounting device”. The detection of a device is step by step. First, the lowest hardware interface needs to detect it. In your case, it means lspci shall see this device first. Afterwards it is device driver, for example, for nvme, the nvme driver needs to be enabled. That was what Honey_Patouceul tries to ask.
As your lspci does not have it, there is no need to check if nvme driver is missing.
It should just be flashed using SDK manager - JetPack 4.6.1 if I remember correctly. Don’t remember altering it in any way. I did however install this:
The top line from dmes | grep pcie “Adding device 14180000.pcie to group 0” is missing from the Yocto built jetson - is this how you can tell it is not enabled?
I might be able to get some info on this if I get some help at my work place. I will get back to you with that…
Assuming it’s “just” a question of enabling it - is this something that’s easily doable?
The top line from dmes | grep pcie “Adding device 14180000.pcie to group 0” is missing from the Yocto built jetson - is this how you can tell it is not enabled?
No, I checked the keyword “nvme” and then go back and trace which pcie controller is enabling this device. Turns out it is 14180000.
Actually I think you can report ConnectTech their board cannot detect NVMe drive. They should tell you how to do.