FreeBSD on Layerscape/QorIQ LX2160X

Dan Kotowski dan.kotowski at a9development.com
Fri Jun 5 19:18:23 UTC 2020


> > > https://gist.github.com/agrajag9/749f504dcac741e902f87c2ea03ae9ac
> > > From jnettlet:
> > > BEGIN QUOTE
> > > the V1 silicon has a SATA errata. I have partially worked around the errata moving some
> > > configuration into the firmware, but I still need to sort out the remaining bits. Sometimes just
> > > unplugging and replugging your SATA cable will help to reseat the connector and help. Also it is
> > > very sensitive to marginal SATA cables.
> > > END QUOTE
> > > I played around a bit and could create and destroy GPTs, make filesystems, read and write to said
> > > filesystems, and hot-plug even seems to work. But I'm not sure if jon's comment really explains the
> > > AHCI error we're still seeing:
> > >
> > >     (aprobe3:ahcich3:0:15:0): NOP FLUSHQUEUE. ACB: 00 00 00 00 00 00 00 00 00 00 00 00
> > >     (aprobe3:ahcich3:0:15:0): CAM status: Command timeout
> > >     (aprobe3:ahcich3:0:15:0): Error 5, Retries exhausted
> > >
> >
> > I experienced this issue on a cuple of targets (e.g. Zynq-MP or
> > LS1046A). The port-multiplier quirk flag helped - please try adding:
> > ahci->quirks |= AHCI_Q_NOPMP;
>
> Build with this + more ITS logging:
> https://send.firefox.com/download/cf66ed7f48160529/#LpeMjccv7iqze5hAx_6BrQ
>
> The patch that lets AHCI attach:
> https://reviews.freebsd.org/D25145

https://gist.github.com/agrajag9/129585436f01876cc4d799382e1c0fac

AHCI is looking better and better! I'm going to do a little bit of poking at that SATA HDD just to see how stable it really is.


More information about the freebsd-arm mailing list