
On Sun, Feb 14, 2021 at 03:58:56PM -0300, Fabio Estevam wrote:
On Sun, Feb 14, 2021 at 11:26 AM Tom Rini trini@konsulko.com wrote:
Where is something missing for SATA support? With DM enabled, you can enable AHCI and BLK and DWC_AHSATA is already converted. Is there some i.MX specific work required still? Thanks!
I have added CONFIG_AHCI=y and added:
--- a/drivers/ata/dwc_ahsata.c +++ b/drivers/ata/dwc_ahsata.c @@ -1093,6 +1093,7 @@ struct ahci_ops dwc_ahsata_ahci_ops = {
static const struct udevice_id dwc_ahsata_ahci_ids[] = { { .compatible = "fsl,imx6q-ahci" },
- { .compatible = "fsl,imx53-ahci" }, { }
};
but after running the "sata" command I do get a data abort and the board resets.
I haven't gotten a chance to debug it further, but I was hoping to proceed with the DM conversion without sata support for now and then work on adding sata support for this board.
Thanks for explaining.