We are using SATA multiplier(88SM9705) in our custom carrier board. This is working well with iMX6 and Hard disks are also mounted properly.
When we are connecting the iMX8 SOM on our custom carrier board then Hard disks are not detecting,
but If we connect single hard disk then it is working.
We have tried to reduce the SATA link speed from sata2(3Gbps) to sata1(1.5Gbps) by adding below line in u-boot. setenv defargs $defargs libata.force=1.5Gbps
After changing to 1.5Gbps also it is not working.
Linux apalis-imx8 5.4.77-5.1.0-devel+git.8fc7bd5da76f #1 SMP PREEMPT Mon Nov 30 08:44:04 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux
I could able to reproduce the issue at my end. Could you force the SATA link to 3 Gbps or 1.5 Gbps in the u-boot and try again. With this, Both the Hard drives are detecting and mounting properly. The connection is also stable. I tried with the latest Linux BSP v5.4 reference-multimedia-image. setenv defargs $defargs libata.force=1.5Gbps