Firefly Open Source Community

   Login   |   Register   |
New_Topic
12
New Topic
Print Previous Topic Next Topic

M.2 PCIE is it powered on?

71

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
71

M.2 PCIE is it powered on?

Posted at 6/8/2018 03:59:06      View:14587 | Replies:11        Print      Only Author   [Copy Link] 1#
I'm having issues with the RK3399 even recognising that there is a PCIE bus let alone getting it to work

It appears from the following that the voltage regulator is not configured to feed the pcie:

  1. [    0.261544] of_get_named_gpiod_flags: parsed 'gpio' property of node '/vcc3v3-pcie-regulator[0]' - status (0)
  2. [    0.261597] vcc3v3_pcie: no parameters
  3. [    0.261735] reg-fixed-voltage vcc3v3-pcie-regulator: vcc3v3_pcie supplying 0uV
  4. [    0.261850] of_get_named_gpiod_flags: parsed 'gpio' property of node '/vcc3v3-3g-regulator[0]' - status (0)
  5. [    0.261889] vcc3v3_3g: no parameters
  6. [    0.262014] reg-fixed-voltage vcc3v3-3g-regulator: vcc3v3_3g supplying 0uV
  7. [    0.262067] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/vcc3v3-sys[0]'
  8. [    0.262102] vcc3v3_sys: 3300 mV
  9. [    0.262217] reg-fixed-voltage vcc3v3-sys: vcc3v3_sys supplying 3300000uV
  10. [    0.262357] of_get_named_gpiod_flags: parsed 'gpio' property of node '/vcc5v0-host-regulator[0]' - status (0)
  11. [    0.262394] vcc5v0_host: no parameters
  12. [    0.262511] reg-fixed-voltage vcc5v0-host-regulator: vcc5v0_host supplying 0uV
  13. [    0.262559] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/vcc5v0-sys[0]'
  14. [    0.262579] vcc5v0_sys: 5000 mV
  15. [    0.262693] reg-fixed-voltage vcc5v0-sys: vcc5v0_sys supplying 5000000uV
  16. [    0.262738] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/vcc-phy-regulator[0]'
  17. [    0.262752] vcc_phy: no parameters
  18. [    0.262875] reg-fixed-voltage vcc-phy-regulator: vcc_phy supplying 0uV
  19. [    0.262925] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/vccadc-ref[0]'
  20. [    0.262940] vcc1v8_sys: 1800 mV
  21. [    0.263055] reg-fixed-voltage vccadc-ref: vcc1v8_sys supplying 1800000uV
  22. [    0.263188] of_get_named_gpiod_flags: parsed 'gpio' property of node '/vcc-lcd-regulator[0]' - status (0)
  23. [    0.263224] vcc_lcd: no parameters
  24. [    0.263337] reg-fixed-voltage vcc-lcd-regulator: vcc_lcd supplying 0uV
Copy the code

but some of the other bits are configured to provide power. I've been looking at the device tree files, but I'm a bit stuck as to what is missing - I don't really know what the gpio parameters are, and the only thing I can think of doing is setting it to be always on by setting it's voltage parameter to 3300000 in the dts like it is for vcc3v3_sys


any ideas?


Reply

Use props Report

8

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
8
Posted at 10/29/2018 04:15:24        Only Author  2#
Same issue here. Two Firefly RK3399's, brand new, ordered and received about a month apart. Wondering about some physical board mis-configuration/installation or removal of 0-Ohm options/etc. Here is a dmesg | grep pci output:
[    0.235599] of_get_named_gpiod_flags: parsed 'gpio' property of node '/vcc3v3
-pcie-regulator[0]' - status (0)
[    0.235647] vcc3v3_pcie: no parameters
[    0.235804] reg-fixed-voltage vcc3v3-pcie-regulator: vcc3v3_pcie supplying 0u
V
[    0.342952] phy phy-pcie-phy.5: Looking up phy-supply from device tree
[    0.342962] phy phy-pcie-phy.5: Looking up phy-supply property in node /pcie-
phy failed
[    0.344882] rockchip-pcie f8000000.pcie: GPIO lookup for consumer ep
[    0.344892] rockchip-pcie f8000000.pcie: using device tree for GPIO lookup
[    0.344919] of_get_named_gpiod_flags: parsed 'ep-gpios' property of node '/pc
ie@f8000000[0]' - status (0)
[    0.345159] rockchip-pcie f8000000.pcie: Looking up vpcie3v3-supply from devi
ce tree
[    0.345170] rockchip-pcie f8000000.pcie: Looking up vpcie3v3-supply property
in node /pcie@f8000000 failed
[    0.345184] rockchip-pcie f8000000.pcie: no vpcie3v3 regulator found
[    0.345746] rockchip-pcie f8000000.pcie: Looking up vpcie1v8-supply from devi
ce tree
[    0.345755] rockchip-pcie f8000000.pcie: Looking up vpcie1v8-supply property
in node /pcie@f8000000 failed
[    0.345766] rockchip-pcie f8000000.pcie: no vpcie1v8 regulator found
[    0.346338] rockchip-pcie f8000000.pcie: Looking up vpcie0v9-supply from devi
ce tree
[    0.346347] rockchip-pcie f8000000.pcie: Looking up vpcie0v9-supply property
in node /pcie@f8000000 failed
[    0.346358] rockchip-pcie f8000000.pcie: no vpcie0v9 regulator found
[    0.888882] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout!
[    0.889603] rockchip-pcie: probe of f8000000.pcie failed with error -110
[    1.038857] ehci-pci: EHCI PCI platform driver
root@firefly:~# parameters
-bash: parameters: command not found
root@firefly:~# dmesg | grep pci | more
[    0.235599] of_get_named_gpiod_flags: parsed 'gpio' property of node '/vcc3v3
-pcie-regulator[0]' - status (0)
[    0.235647] vcc3v3_pcie: no parameters
[    0.235804] reg-fixed-voltage vcc3v3-pcie-regulator: vcc3v3_pcie supplying 0u
V
[    0.342952] phy phy-pcie-phy.5: Looking up phy-supply from device tree
[    0.342962] phy phy-pcie-phy.5: Looking up phy-supply property in node /pcie-
phy failed
[    0.344882] rockchip-pcie f8000000.pcie: GPIO lookup for consumer ep
[    0.344892] rockchip-pcie f8000000.pcie: using device tree for GPIO lookup
[    0.344919] of_get_named_gpiod_flags: parsed 'ep-gpios' property of node '/pc
ie@f8000000[0]' - status (0)
[    0.345159] rockchip-pcie f8000000.pcie: Looking up vpcie3v3-supply from devi
ce tree
[    0.345170] rockchip-pcie f8000000.pcie: Looking up vpcie3v3-supply property
in node /pcie@f8000000 failed
[    0.345184] rockchip-pcie f8000000.pcie: no vpcie3v3 regulator found
[    0.345746] rockchip-pcie f8000000.pcie: Looking up vpcie1v8-supply from devi
ce tree
[    0.345755] rockchip-pcie f8000000.pcie: Looking up vpcie1v8-supply property
in node /pcie@f8000000 failed
[    0.345766] rockchip-pcie f8000000.pcie: no vpcie1v8 regulator found
[    0.346338] rockchip-pcie f8000000.pcie: Looking up vpcie0v9-supply from devi
ce tree
[    0.346347] rockchip-pcie f8000000.pcie: Looking up vpcie0v9-supply property
in node /pcie@f8000000 failed
[    0.346358] rockchip-pcie f8000000.pcie: no vpcie0v9 regulator found
[    0.888882] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout!
[    0.889603] rockchip-pcie: probe of f8000000.pcie failed with error -110
[    1.038857] ehci-pci: EHCI PCI platform driver
Reply

Use props Report

35

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
35
Posted at 3/17/2019 06:00:14        Only Author  3#
Hi everybody,

did you manage to get the PCIe on the NGFF working?
I myself also have an RF3399 with the intent to use it as a storage server by using this PCIe 2.0 to 4x SATA adapter
https://www.delock.com/produkte/G_62850/merkmale.html
Unfortunately it didn't work right from the start (same messages as you see). So there is obviously stuff to do with the device tree but after measuring the PCIE_3V3 signal I found that the supply voltage from U15 is there.
The main issue seems so be differrent:   
M.2 has 4 config pins
config_0 : Pin 21
config_1 : Pin 69
config_2 : Pin 75
config_3 : Pin 1
as described here  http://pinoutguide.com/HD/M.2_NGFF_connector_pinout.shtml
If you look at the schematic you can get the impression that config_0 is not connected and the others are connected to GND (with the caveat that the Pin numbers in the schematic does not match the official pin numbers, e.g. config_0 is numbered 13 instead of 21).  
This would mean the board will only be able to accept WWAN-SIC (if config_0 is left open) or SATA (if config_0 is tied to GND on the m.2 card).
http://download-c.huawei.com/dow ... er?downloadId=18428
http://www.computex.biz/PhotoPool2/201406/201406251407499629.pdf

Unfortunately for me my PCIe > SATA adapter pulls config_1 to PCIE_3V3 (which leads to high current consumption and is also not correct).

So I have some questions to the Firefly Team:
- Can you provide a schematic with correct config pin numbers
- Why did you connect all this config pins to GND instead of pull them up to PCIE_3V3 and route them to GPIO as proposed here https://mindchasers.com/dev/m2-connectors ?
- Is config_1 (pin69) actually connected to GND (without a 0 Ohm bridge)
  - If so, can you provide a board layout with this line highlighted so I can (hopefully) scratch it off?

Best regards,
Mathias
Reply

Use props Report

4

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
4
Posted at 9/3/2020 12:05:29        Only Author  4#
FWIW, had the same -110 error with M.2 SATA card (ASM106x chipset) on NanoPC-T4 (RK3399) with 4.4.x from FriendlyARM and from Rockchip, but problem went away on mainline 5.8.5. Details here: https://discuss.96boards.org/t/p ... rd/9643/7?u=redfish
Reply

Use props Report

46

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
46
Posted at 5/14/2022 13:53:14        Only Author  5#
@radfish how did you manage to run 5.8.5 on the device?
Reply

Use props Report

127

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
127
Posted at 1/9/2026 08:24:29        Only Author  6#
The content is excellent, so I’m liking it now. Enhance your IT expertise—free AZ-104 new exam camp available now! Best wishes for success!
Reply

Use props Report

133

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
133
Posted at 1/19/2026 21:33:57        Only Author  7#
The article opened my eyes to so many new ideas. 300-835 valid study questions free offers great content that I hope helps you, and it's entirely free.
Reply

Use props Report

122

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
122
Posted at 1/22/2026 11:31:48        Only Author  8#
I feel like I’ve gained a whole new perspective. The Latest test FCP_GCS_AD-7.6 lab questions exam questions are available for free! Good luck on your exams!
Reply

Use props Report

135

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
135
Posted at 1/25/2026 03:43:00        Only Author  9#
Without thinking, I’m liking this amazing content. 212-89 latest study guide sheet test questions—free and essential for your career and salary advancement!
Reply

Use props Report

134

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
134
Posted at 1/30/2026 14:56:57        Only Author  10#
Thank you for sharing such a powerful article, it really left an impression. The 712-50 new test bootcamp materials questions were a key part of my success—promotion and salary raise—and today, I’m sharing them for free!
Reply

Use props Report

Return to List
12
You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list