Nop, We connected same NVMe drive with NX devkit and it is able to boot from same NVMe drive.
In our case, We have PCIe switch in between to NX SoM and M.2 Key-M connector. If we are performing the experiment with the NX devkit its working fine, but with our case its not working. I am not able to understand where I need to change in cboot source code for the port changes.
I made below changes in cboot source code to detect the NVMe SSD in custom device. nx_custom_device_changes.patch (5.3 KB)
Case-1 : If we are not doing any changes in cboot source code, and plugin SSD with NX devkit. It is working fine.
Case-2 : If we made above changes in cboot source code, it is able to detect NVMe drive as well as it is able to get the bar address properly, but it is getting the empty mqes. So I need your help to resolve this issue.
Case-3 : If we made above changes in cboot source code and update the “#define NVME_CLASS_CODE 0x010802” value then it is also working in NX devkit.
Please let me know if any query regarding the mentioned cases and attached patch and help me to resolve this issue.
In our custom device architecture, we replaced the M.2 Key-M connector with the PCIe switch, and M.2 Key-M connector is connected with the PCIe switch DSP port. Below image clarifying the same thing.
The CBoot PCIE failed to read due to your HW change, and that’s we never tested. currently no idea aboit this, will forward to internal team to see if can have some suggestions.