Problems After Integrating NVMe with Seeed R2000

Further update!

I wanted to get a raspberry pi OS working as well but found that the Hailo was showing up but the SSD was not.

I compared my working HassOS config and cmdline with the raspberry pi and found that the raspberry pi included several PCIe mitigation/management scripts where HassOS did not. I updated my raspberry pi configs to match and all appeared to work successfully.

I kept this in the config.txt:

dtoverlay=pciex1-compat-pi5,no-mip

Though I noted from the Seeed Studio wiki for the M.2 Hat that they recommend:
dtoverlay=pciex1-compat-pi5,no-mip,mmio-hi

And I removed these from the Raspberry PI OS’s default command line (/boot/firmware/cmdline.txt) – as in – they were present out of the box but I removed them so they are no longer there:

Removed Parameters:

  1. pci=pcie_bus_safe - Forces PCIe bus configuration to use safe/conservative settings
  2. nvme.max_host_mem_size_mb=0 - Disables NVMe host memory buffer allocation
  3. nvme_core.default_ps_max_latency_us=0 - Disables NVMe power state transitions
  4. pcie_aspm=off - Disables PCIe Active State Power Management
  5. pcie_port_pm=off - Disables PCIe port power management
1 Like