Issue booting from NVME

Hi experts,

Trying to boot Rock4 SE of NVMe.
Soldered in the W25Q64FV for uBoot and flashed successfully using USB OTG. Connected to uBoot using serial console and everything seems to be working fine except that uBoot cannot see connected NVMe device. 2 NVMe drives I’ve tried, both are working as I can use them without problem when booted into OS from SD card.
In uBoot commands nvme scan, nvme info and nvme detail does not print anything and when booting into Linux I am seeing following call trace:

[    2.431673] pstate: 600000c5 (nZCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--)                            
[    2.432307] pc : rockchip_pcie_rd_conf+0xb0/0x230                            
[    2.432747] lr : rockchip_pcie_rd_conf+0xec/0x230                            
[    2.433184] sp : ffff80000a71b830                            
[    2.433490] x29: ffff80000a71b830 x28: 0000000000000000 x27: 0000000000000000                            
[    2.434150] x26: 0000000000000000 x25: 0000000000000000 x24: ffff80000a71b974                            
[    2.434811] x23: ffff000001aa9800 x22: 0000000000000000 x21: 0000000000000004                            
[    2.435471] x20: ffff80000a71b8b4 x19: ffff80000c100000 x18: 0000000000000000                            
[    2.436131] x17: 6572202c295d3030 x16: 2d3030207375625b x15: ffffffffffffffff                            
[    2.436791] x14: ffff80000954cea8 x13: ffff000001a99a1c x12: ffff000001a99290                            
[    2.437453] x11: 0000000000000028 x10: 0000000000000001 x9 : 0000000001001d87                            
[    2.438112] x8 : 000000000000ea60 x7 : ffff80000a71b800 x6 : 0000000000000001                            
[    2.438772] x5 : 0000000000000003 x4 : 0000000000000000 x3 : 0000000000c00008                            
[    2.439432] x2 : 000000000080000a x1 : ffff80000fc00008 x0 : ffff80000fc0000c                            
[    2.440092] Call trace:                            
[    2.440321]  rockchip_pcie_rd_conf+0xb0/0x230                            
[    2.440729]  pci_bus_read_config_dword+0x84/0xd8                            
[    2.441161]  pci_bus_generic_read_dev_vendor_id+0x34/0x1b0                            
[    2.441673]  pci_bus_read_dev_vendor_id+0x4c/0x70                            
[    2.442113]  pci_scan_single_device+0x84/0xd8                            
[    2.442522]  pci_scan_slot+0x38/0x120                            
[    2.442870]  pci_scan_child_bus_extend+0x58/0x330                            
[    2.443311]  pci_scan_bridge_extend+0x340/0x5a0                            
[    2.443736]  pci_scan_child_bus_extend+0x1fc/0x330                            
[    2.444185]  pci_scan_root_bus_bridge+0xd4/0xf0                            
[    2.444610]  pci_host_probe+0x18/0xb0                            
[    2.444958]  rockchip_pcie_probe+0x4a8/0x4c0                            
[    2.445360]  platform_probe+0x68/0xd8                            
[    2.445709]  really_probe+0xbc/0x428                            
[    2.446046]  __driver_probe_device+0x114/0x188                            
[    2.446460]  driver_probe_device+0xb0/0x110                            
[    2.446851]  __device_attach_driver+0xbc/0x158                            
[    2.447264]  bus_for_each_drv+0x7c/0xd0                            
[    2.447630]  __device_attach+0xec/0x1a8                            
[    2.447990]  device_initial_probe+0x14/0x20                            
[    2.448382]  bus_probe_device+0x9c/0xa8                            
[    2.448741]  deferred_probe_work_func+0x9c/0xf0                            
[    2.449162]  process_one_work+0x20c/0x4c8                            
[    2.449544]  worker_thread+0x208/0x478                            
[    2.449899]  kthread+0x138/0x150                            
[    2.450208]  ret_from_fork+0x10/0x20                            
[    2.450556] Code: f94013f5 a8c37bfd d50323bf d65f03c0 (b9400273)                            
[    2.451113] ---[ end trace 4c33d8d6334ec08a ]---  

Do I miss device tree for my SBC?
Is there anything needs to be done to make it boot from NVMe drive?

Any information regarding this is highly appreciated

After replacing the memory chip, I got further but still boot process hangs.
Re-flashed with another SPI loader (v1.20.126) and I was able to boot into the multiuser using WD Black 256 GB Gen3.
For whatever reason, another drive is hanging the system during boot process. Drive that fails to boot from is Crucial 500 GB Gen3. The drive itself is working fine when booting the system using uSD.

I’d appreciate if anyone could point me to what I could look into next to make the second drive work.

After few tries the solution to make the second rock4se to boot was to use yet another drive.

  • Crucial 500GB did not work
  • Toshiba 256GB did not work
  • Kingston 1TB worked