[SPAM] Re: [BUG] pxa3xx: wait time out when scanning for bb

Miquel RAYNAL miquel.raynal at free-electrons.com
Mon Dec 18 02:19:19 PST 2017


Hi Sean,

On Mon, 18 Dec 2017 11:12:19 +0100
Sean Nyekjær <sean.nyekjaer at prevas.dk> wrote:

> Hi Miquel
> >>>> https://gist.github.com/anonymous/08049fbb46bf6df2d24a07aab8783833  
> >>> This is really helpful. It shows the driver is the problem. I
> >>> don't know yet why it reads the NAND status instead of the actual
> >>> data at this moment. I am looking into it.
> >>>
> >>> I added one fixup in my github branch that could possibly help,
> >>> could you give it a try while I am going deeper in my research?
> >>>     
> >> Rebased on top of 8cec3f8653e0fe914d831f05cf91ab9face5c1a5
> >> The "print_req_error: I/O error, dev mtdblock1, sector 0" is gone
> >>
> >> And what you did have apperently fixed the issue with ecc.
> >> The driver is reading the bbt uboot have written :-)
> >>
> >> https://gist.github.com/anonymous/4476819c081896e5e265b3282db52e46  
> > That is good news but can you please also do a dump without -n but
> > with -o, it failed in this configuration until now and if I am not
> > doing any mistake, you did not try this with the last fix?  
> Last fix?
> I have rebase my kernel on top of marvell/nand-next/nfc-rework
> 8cec3f865

Ok that should be fine!

I have added another fix just now for the same problem on write side.

I did not spot all of that because I only worked with NAND chips
bigger than 2k, where read/writes are split.

Thank you very much for your time.
Miquèl



More information about the linux-mtd mailing list