06-14-2020, 04:10 PM
(06-06-2020, 11:28 AM)sigmaris Wrote: @edrose Here are a couple of test builds, based on mainline U-Boot including the mainline RK3399 PCIe driver, to try with your card:Thanks for getting back to me!
Firstly, this build (based on this branch) adds 100ms delay before attempting link training - based on this patch for the Rockchip PCIe driver in Linux.
Secondly, this build (based on this branch) incorporates the 100ms pre-training delay, and also 2s (!) delay after training before reading PCIe config space, using this patch from the mailing list.
Note neither of these contain the patches to set up the SPI flash partitions in the device tree for Linux, but that shouldn't matter if you are booting it from MMC.
I'd be interested to hear if either of them helps with your issue.
I tried both of those builds over the weekend. Unfortunately I had the same issues with both of them. Exactly the same behaviour.
I wonder whether I have a bad SATA card or something.