11-10-2018, 03:39 PM
An update: I got the firmware issues resolved (the blob was missing and I just copied it from another distro - the debian image has a pretty old linux-firmware).
However, that did not resolve the PCIe issues. I tried the bionic image and still no luck.
dmesg | grep pci gives me:
[ 0.504108] of_get_named_gpiod_flags: parsed 'gpio' property of node '/vcc3v3-pcie-regulator[0]' - status (0)
[ 0.504158] reg-fixed-voltage vcc3v3-pcie-regulator: Looking up vin-supply from device tree
[ 0.504197] vcc3v3_pcie: supplied by dc_12v
[ 0.504264] vcc3v3_pcie: 3300 mV
[ 0.504419] reg-fixed-voltage vcc3v3-pcie-regulator: vcc3v3_pcie supplying 3300000uV
[ 1.164733] ehci-pci: EHCI PCI platform driver
[ 2.208360] vcc3v3_pcie: disabling
[ 2.740182] phy phy-pcie-phy.9: Looking up phy-supply from device tree
[ 2.740190] phy phy-pcie-phy.9: Looking up phy-supply property in node /pcie-phy failed
[ 2.767504] rockchip-pcie f8000000.pcie: GPIO lookup for consumer ep
[ 2.767514] rockchip-pcie f8000000.pcie: using device tree for GPIO lookup
[ 2.767543] of_get_named_gpiod_flags: parsed 'ep-gpios' property of node '/pcie@f8000000[0]' - status (0)
[ 2.767812] rockchip-pcie f8000000.pcie: Looking up vpcie3v3-supply from device tree
[ 2.767904] rockchip-pcie f8000000.pcie: Looking up vpcie1v8-supply from device tree
[ 2.767913] rockchip-pcie f8000000.pcie: Looking up vpcie1v8-supply property in node /pcie@f8000000 failed
[ 2.767940] rockchip-pcie f8000000.pcie: no vpcie1v8 regulator found
[ 2.771942] rockchip-pcie f8000000.pcie: Looking up vpcie0v9-supply from device tree
[ 2.771962] rockchip-pcie f8000000.pcie: Looking up vpcie0v9-supply property in node /pcie@f8000000 failed
[ 2.771991] rockchip-pcie f8000000.pcie: no vpcie0v9 regulator found
[ 2.775643] rockchip-pcie f8000000.pcie: invalid power supply
[ 3.278857] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout!
[ 3.285359] rockchip-pcie: probe of f8000000.pcie failed with error -110
However, that did not resolve the PCIe issues. I tried the bionic image and still no luck.
dmesg | grep pci gives me:
[ 0.504108] of_get_named_gpiod_flags: parsed 'gpio' property of node '/vcc3v3-pcie-regulator[0]' - status (0)
[ 0.504158] reg-fixed-voltage vcc3v3-pcie-regulator: Looking up vin-supply from device tree
[ 0.504197] vcc3v3_pcie: supplied by dc_12v
[ 0.504264] vcc3v3_pcie: 3300 mV
[ 0.504419] reg-fixed-voltage vcc3v3-pcie-regulator: vcc3v3_pcie supplying 3300000uV
[ 1.164733] ehci-pci: EHCI PCI platform driver
[ 2.208360] vcc3v3_pcie: disabling
[ 2.740182] phy phy-pcie-phy.9: Looking up phy-supply from device tree
[ 2.740190] phy phy-pcie-phy.9: Looking up phy-supply property in node /pcie-phy failed
[ 2.767504] rockchip-pcie f8000000.pcie: GPIO lookup for consumer ep
[ 2.767514] rockchip-pcie f8000000.pcie: using device tree for GPIO lookup
[ 2.767543] of_get_named_gpiod_flags: parsed 'ep-gpios' property of node '/pcie@f8000000[0]' - status (0)
[ 2.767812] rockchip-pcie f8000000.pcie: Looking up vpcie3v3-supply from device tree
[ 2.767904] rockchip-pcie f8000000.pcie: Looking up vpcie1v8-supply from device tree
[ 2.767913] rockchip-pcie f8000000.pcie: Looking up vpcie1v8-supply property in node /pcie@f8000000 failed
[ 2.767940] rockchip-pcie f8000000.pcie: no vpcie1v8 regulator found
[ 2.771942] rockchip-pcie f8000000.pcie: Looking up vpcie0v9-supply from device tree
[ 2.771962] rockchip-pcie f8000000.pcie: Looking up vpcie0v9-supply property in node /pcie@f8000000 failed
[ 2.771991] rockchip-pcie f8000000.pcie: no vpcie0v9 regulator found
[ 2.775643] rockchip-pcie f8000000.pcie: invalid power supply
[ 3.278857] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout!
[ 3.285359] rockchip-pcie: probe of f8000000.pcie failed with error -110