Re: GPMI iMX6ull timeout on DMA

Miquel Raynal
2019-07-29T21:03:27Z

Hi Michael,

Michael Nazzareno Trimarchi <michael@amarulasolutions.com> wrote on
Mon, 29 Jul 2019 22:00:25 +0200:

> Hi Miquel
>
> sorry was difficult day ;). My answer below
>

No pb ;)

[...]

> > > > > > > > That's strange... I don't get what would produce
such unstable issue.
> > > > > > >
> > > > > > > My initial guess is that the calculated timing is very marginal.
> > > > > >
> > > > > > What do you mean by "marginal"?
> > > > > >
> > > > >
> > > > > I don't think that is timing calculation. I have tried to use the same timing
> > > > > as before but when those are applide. Is it possible?
> > > >
> > > > ^
> > > > I suppose the end of the sentence is missing?
> >
> > Michael, what did you mean here?
> >
> commit 02c786627b93b3c3286570f793294816286ff397
> Author: Michael Trimarchi <michael@amarulasolutions.com>
> Date: Fri Oct 5 09:46:29 2018 +0200
>
> Revert "mtd: rawnand: gpmi: use core timings instead of an
> empirical derivation"
>
> This reverts commit b1206122069aadabe1a8c50789277a978aaa4df7.
>
> Change-Id: Icd0ddcd5e3ac7d82932bbf412299cca424cbc571
> Jira-Id: WAN-50
> Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
>
> Revert this one does not fix the problem. Right now I have two revert
> this one and
>
> commit 6ab543c1924f77957004994bd6806a9daa45f903 (tag: MMI_004_011_R02)
> Author: Michael Trimarchi <michael@amarulasolutions.com>
> Date: Fri Oct 5 09:46:44 2018 +0200
>
> Revert "mtd: rawnand: gpmi: support ->setup_data_interface()"
>
> This reverts commit 76e1a0086a0c3276b384f77905345e0fcc886fdd.
>
> Change-Id: I60fb6f874364d1deeda3424d4508553a38ac9b1a
> Jira-Id: WAN-50
> Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
>
> I did not have time to finish to undestand why this was fixing my problem

Ok so I am pretty convinced that this is still a timings issue then;
but not entirely due to the different timings calculation. Interesting.
I'm waiting for Greg's results now.

Thanks,
Miquèl