issues loading firmware and missing pci card - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: ROCKPRO64 (https://forum.pine64.org/forumdisplay.php?fid=98) +--- Forum: Linux on RockPro64 (https://forum.pine64.org/forumdisplay.php?fid=101) +--- Thread: issues loading firmware and missing pci card (/showthread.php?tid=6763) |
issues loading firmware and missing pci card - rich0 - 11-10-2018 I just got my rockpro64 2gb (board rev 2.1), and while it boots up fine, it isn't detecting my LSI HBA PCIe card. lspci just gives no output at all, so I don't think it is simply a missing kernel module. I'm using the debian stretch image off of the wiki. I'm also getting errors in dmesg that may or may not be relevant: [ 8.566853] cdn-dp fec00000.dp: Direct firmware load for rockchip/dptx.bin failed with error -2 [ 16.581959] cdn-dp fec00000.dp: Direct firmware load for rockchip/dptx.bin failed with error -2 [ 32.584126] cdn-dp fec00000.dp: Direct firmware load for rockchip/dptx.bin failed with error -2 [ 64.586143] cdn-dp fec00000.dp: Direct firmware load for rockchip/dptx.bin failed with error -2 [ 128.588049] cdn-dp fec00000.dp: [drm:cdn_dp_request_firmware] *ERROR* Timed out trying to load firmware I did do an apt-get update/upgrade and rebooted, and the issue persists. uname -a output: Linux chunk1 4.4.132-1075-rockchip-ayufan-ga83beded8524 #1 SMP Thu Jul 26 08:22:22 UTC 2018 aarch64 GNU/Linux That kernel doesn't look terribly fresh... I'll also go ahead and confess that while I'm quite comfortable with linux inside and out, I rarely use debian-based distros, so please do list complete instructions (typically I use Gentoo) or provide links if you want me to do something like run a custom kernel. Any suggestions? RE: issues loading firmware and missing pci card - rich0 - 11-10-2018 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 RE: issues loading firmware and missing pci card - dukla2000 - 11-13-2018 Sadly the list of successes in the RockPro64 PCIe slot is extremely short (excluding NVMe adapters and the Pine64 SATA card) - check the other threads around here. Much of what you have in your log is "normal" with current kernel/DT, including the "invalid power supply". My log is below - I have a non-Pine64 NVMe adapter working just fine. Code: $ uname -a RE: issues loading firmware and missing pci card - MisterA - 11-13-2018 Could you explain how you update the kernel to the latest one? If I install 4.18 for example my rockpro64 fails to boot. RE: issues loading firmware and missing pci card - jja2000 - 11-13-2018 https://forum.pine64.org/showthread.php?tid=6685 I have exactly the same problem, also with the SATA card pine64 sells in the shop here. No real way to check what the problem is sadly since we got no communication from devs or pine64 themselves. RE: issues loading firmware and missing pci card - dukla2000 - 11-13-2018 (11-13-2018, 07:22 AM)MisterA Wrote: Could you explain how you update the kernel to the latest one? OK, it all depends on /boot/extlinux/extlinux.conf and also what is in your /boot directory. After a basic install of say the 0.7.9 (stable) Ayufan minimal release you will only have 1 kernel in your filesystem - in /boot/ you will have 1 of each config..., initrd... and vmlinux... Now, I find it easier to find kernels using synaptic (a gui). And 4.18 has no merit any longer as 4.19 has hit the streets. You can of course do this all from a Linux command line, and there are other gui tools. So doing it my way, start synaptic, and hit the big Reload button (which effectively is an apt-get update) Then hit Search, and look for linux-image-4.19 There are about 12 results today, and mostly in pairs. If you expand the Package column you will see each result has a -dbg mate which is a complete debug version. I ignore them - I am sure they have a use but so far my life has been just fine without a debug kernel! Many of the results are 4.19.0-rc4... , these are versions Ayufan cooked from release candidate 4 which is now pretty much deceased. The only 1 of real interest is 4.19.0-1073... - select it (but not the -dbg one) Click the Mark all Upgrades button (if you haven't upgraded your Linux recently) Then click the Apply button When synaptic has finished playing, exit and check /boot/extlinux/extlinux.conf and also what is in your /boot directory again. You should now have 4.19 scattered about in addition to what you had before. The key to deciding which kernel when booting is the .conf, and you can set a default from the options there. My file is currently Code: $ cat /boot/extlinux/extlinux.conf Note the 3rd line I have added, which currently selects the 4.4 option at the bottom. Without that default entry the first option will be used. Also note this is your "Get out of jail free" card: if you screw up and have a duff kernel that wont do what you want, you can just change the default and try again. At worst you may need to mount your SDcard or eMMC (whichever you use to boot) in another Linux box and edit it there. Hope this helps RE: issues loading firmware and missing pci card - rich0 - 11-16-2018 I've tried linux 4.19.0 and I'm still not having any luck getting the PCIe slot to work. Does anybody have any suggestions? Is there any way to engage the vendor for support? I bought the card for the PCIe slot, so if it doesn't actually work the card is probably going to end up being useless, which means I'll probably be seeking a full refund from them. However, I don't mind putting some effort into getting it working if there is someplace reasonable to start... RE: issues loading firmware and missing pci card - rich0 - 04-06-2019 FYI, a kernel is now available with a fix for the LSI issues: https://github.com/nuumio/linux-kernel/releases/tag/nuumio-4.4-pcie-scan-sleep-02 The changes look like they should be released as part of ayufan soon, if they aren't already in there. These do require a command line parameter pcie_rk_bus_scan_delay=1500 to work (consider experimenting with the delay). I was also having power issues due to using the pine64 3A power supply. A 5A power supply is probably more likely to work with an LSI HBA due to the card drawing 2A on its own. ayufan has been merging a bunch of other pcie patches as well, so anybody with other issues may want to test the latest release. |