[U-Boot] [RFC PATCH 00/29] arm: Introduce Marvell/Cavium OcteonTX
Tim Harvey
tharvey at gateworks.com
Fri Nov 1 16:07:38 UTC 2019
On Thu, Oct 31, 2019 at 3:42 PM Suneel Garapati <suneelglinux at gmail.com> wrote:
>
<snip>
> > >
> > > >
> > > > I was able to functionally test mmc/i2c/gpio/pci/nic(BGX/RGX) and they
> > > > were all functioning well.
> > > >
> > > > When I enable SATA I find that it crashes on init:
> > > > GW6300-D1> sata info
> > > > Target spinup took 0 ms.
> > > > AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl SATA mode
> > > > flags: 64bit ncq ilck stag pm led clo only pmp fbss pio slum part ccc apst
> > > > "Synchronous Abort" handler, esr 0x96000006
> > > > elr: 000000000052c240 lr : 00000000005101bc (reloc)
> > > > elr: 000000003fecb240 lr : 000000003feaf1bc
> > > > x0 : 000000003be91380 x1 : 0000000000000000
> > > > x2 : 0000000000000000 x3 : 000000003be9c100
> > > > x4 : 0000000000000120 x5 : 000000003be9b800
> > > > x6 : 0000000000000001 x7 : 0000000000000000
> > > > x8 : 000000003ff46998 x9 : 0000000000000008
> > > > x10: 000000003ff2e8c4 x11: 000000003ff2e8ca
> > > > x12: 000000003ff2e8cf x13: 000000003ff2e8d5
> > > > x14: 000000003ff2e8da x15: 000000003ff2e8e0
> > > > x16: 000000003ff2e8e6 x17: 000000003ff43362
> > > > x18: 000000003be8ede0 x19: 0000000000000000
> > > > x20: 000000003be9ab30 x21: 0000000000000002
> > > > x22: 000000003be9ab30 x23: 0000000000000002
> > > > x24: 000000003ff63aa4 x25: 000000003be9ab90
> > > > x26: 0000000000000000 x27: 0000000000000000
> > > > x28: 0000000000000000 x29: 000000003be881f0
> > > >
> > > > Code: 928004a0 d65f03c0 f9400007 f94034e7 (f94008e7)
> > > > Resetting CPU ...
> > > sata command is not enabled in octeontx_81xx, do you have custom changes?
> > > I re-checked scsi command on 81xx and did not see this issue.
> > >
> >
> > Right, but AHCI is enabled and supported by the SoC and you include
> > the driver for it in your patch series, thus you should enable using
> > it (and thus be able to test it):
>
> If you check 'dm tree' dump, ahci_pci/scsi are in use and not native
> ahci [relate to sata].
> Hence scsi commands only will work. And this is correct as 81xx has AHCI on PCI.
>
Suneel,
Thanks for the explanation.
I tested and using the scsi command works great. I must admit I've
been very confused as to why scsi here is used instead of sata. I
understand SATA actually talks SCSI but why is dm enumerating it as
scsi and not sata?
Regards,
Tim
More information about the U-Boot
mailing list