We boot from SD card on LS1028A-RDB, but U-boot doesn't detect SATA drive.
Already we have modified the LS1028A-RDB to use SATA interface, so the LS1028A-RDB is detected SATA drive on Linux OS.
How does U-boot detect SATA drives?
We have already modified the LS1028A-RDB and change RCW to use SATA interface, so the LS1028A-RDB detect SATA drive on Linux .
We use Layerscape(LSDK) 21.08
The default u-boot source code provided in LSDK 21.08 for LS1028ARDB supports SATA.
=> scsi reset Reset SCSI scanning bus for devices... Target spinup took 0 ms. AHCI 0001.0301 32 slots 1 ports 6 Gbps 0x1 impl SATA mode flags: 64bit ncq pm clo only pmp fbss pio slum part ccc apst Device 0: (0:0) Vendor: ATA Prod.: KINGSTON SA400M8 Rev: 0309 Type: Hard Disk Capacity: 114473.4 MB = 111.7 GB (234441648 x 512)
In u-boot, there is no command to implement this function, you need to modify u-boot source code to force low speed link up.