View: 1622|Reply: 3

PCIe fails to initialize on Orange PI 5

[Copy link]

1

threads

3

posts

31

credits

Novice

Rank: 1

credits
31
Published in 2023-1-2 20:58:16 | Show all floors |Read mode
This post was finally edited by fenrirjk at 2023-1-2 21:00

Hi,

I received an Orange Pi 5 and I could not use the NVMe SSD.
I tried with
  • Orangepi5_1.0.2_debian_bullseye_server_linux5.10.110.7z
  • Orangepi5_1.0.6_ubuntu_focal_server_linux5.10.110.7z with the same result.

After some investigation I noticed that tthe PCIe fails to initialize with:
  1. $ cat dmesg.txt | grep rk-pcie
  2. [    6.086227] rk-pcie fe190000.pcie: invalid prsnt-gpios property in node
  3. [    6.086238] rk-pcie fe190000.pcie: Looking up vpcie3v3-supply from device tree
  4. [    6.086922] rk-pcie fe190000.pcie: missing legacy IRQ resource
  5. [    6.086939] rk-pcie fe190000.pcie: IRQ msi not found
  6. [    6.086945] rk-pcie fe190000.pcie: use outband MSI support
  7. [    6.086951] rk-pcie fe190000.pcie: Missing *config* reg space
  8. [    6.086966] rk-pcie fe190000.pcie: host bridge /pcie@fe190000 ranges:
  9. [    6.086996] rk-pcie fe190000.pcie:      err 0x00f4000000..0x00f40fffff -> 0x00f4000000
  10. [    6.087018] rk-pcie fe190000.pcie:       IO 0x00f4100000..0x00f41fffff -> 0x00f4100000
  11. [    6.087040] rk-pcie fe190000.pcie:      MEM 0x00f4200000..0x00f4ffffff -> 0x00f4200000
  12. [    6.087058] rk-pcie fe190000.pcie:      MEM 0x0a00000000..0x0a3fffffff -> 0x0a00000000
  13. [    6.087088] rk-pcie fe190000.pcie: Missing *config* reg space
  14. [    6.087118] rk-pcie fe190000.pcie: invalid resource
  15. [    6.293620] rk-pcie fe190000.pcie: PCIe Linking... LTSSM is 0x2
  16. [    6.319156] rk-pcie fe190000.pcie: PCIe Linking... LTSSM is 0x2
  17. [    6.345823] rk-pcie fe190000.pcie: PCIe Linking... LTSSM is 0x2
  18. [    6.372490] rk-pcie fe190000.pcie: PCIe Linking... LTSSM is 0x2
  19. [    6.399152] rk-pcie fe190000.pcie: PCIe Linking... LTSSM is 0x2
  20. [    6.425824] rk-pcie fe190000.pcie: PCIe Linking... LTSSM is 0x2
  21. [    6.452485] rk-pcie fe190000.pcie: PCIe Linking... LTSSM is 0x1
  22. [    6.479154] rk-pcie fe190000.pcie: PCIe Linking... LTSSM is 0x0
  23. [    6.505824] rk-pcie fe190000.pcie: PCIe Linking... LTSSM is 0x2
  24. [    6.532487] rk-pcie fe190000.pcie: PCIe Linking... LTSSM is 0x2
  25. [    8.992510] rk-pcie fe190000.pcie: PCIe Link Fail
  26. [    8.992526] rk-pcie fe190000.pcie: failed to initialize host
Copy code

This happens with or without the NVMe SSD plugged in.

Here is the full dmesg log: https://pastebin.com/4UZ03yAP

Please tell me if this is a software or hardware issue and how to fix this.

Thanks.


1

threads

3

posts

31

credits

Novice

Rank: 1

credits
31
 Author| Published in 2023-1-4 00:06:14 | Show all floors
This post was finally edited by fenrirjk at 2023-1-4 00:07

Similar issue with an odroid M1 board: https://forum.odroid.com/viewtopic.php?t=45605

The guy had to use another board.

Can someone confirm this is a hardware issue ?


1

threads

3

posts

31

credits

Novice

Rank: 1

credits
31
 Author| Published in 2023-1-5 16:51:22 | Show all floors
This post was finally edited by fenrirjk at 2023-1-5 17:42

Okay, my issue was that I am using a M.2 SATA SSD (not M.2 PCIe SSD).

See: https://github.com/orangepi-xunlong/orangepi-build/issues/53 for more details.

Edit: I managed to boot from my M.2 SATA SSD.

1

threads

8

posts

19

credits

Novice

Rank: 1

credits
19
Published in 2023-10-12 01:18:13 | Show all floors
fenrirjkPublished in 2023-1-5 05:51
This post was finally edited by fenrirjk at 2023-1-5 17:42

Okay, my issue was that I am using a M ...

How on earth did you do that? You're booting from an non NVME SSD?


I'm really suffering here, I think I've tried everything.

I tried to:
*overwrite the SPI flash with nand-sata-install
*create identical partitions on SD and SSD with same UUID's
*set overlays=ssd-sata in the orangepiEnv.text

I can see and use the SSD, but I can't find any way to boot from it.
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list