We have a custom i.MX6Quad board with a SSD connected via M.2 SATA running a mainline Linux 4.14.x kernel.
Some SSD are not always detected during start. With others we see random CRC errors during read tests.
I know that we can tweak the parameters in IOMUXC_GPR13 via device tree attributes to get a more stable SATA connection.
Is there anything similar to the DDR3 RAM stress test program in order to find the best parameter set?
If not, what is the recommended way to determine these parameters?