[EXT] Re: Boot failed after patch "mtd: rawnand: Support for sequential cache reads"

Miquel Raynal miquel.raynal at bootlin.com
Mon Jun 5 01:39:43 PDT 2023


Hi Alexander,

eagle.alexander923 at gmail.com wrote on Fri, 2 Jun 2023 12:52:08 +0300:

> Hello.
> 
> > As you mentioned no ECC error.  And SquashFS complains: Unable to read data cache.
> > We want to see I/Ox, RE#, WE# and R/B#, to check if command input and data output properly.
> > It is better to capture the command 31h, and its following data.  
> 
> I only have a two-channel oscilloscope :)
> In any case, in order to capture the right moment, I need to somehow
> loop command 0x31
> when an error occurs in order to take a picture. Right?
> 
> Please, tell me where I can patch the nand_base to get such an
> infinity loop on error?

Anywhere in the core you could just make your own exec_op sequence and
call it in a loop I guess?

Bean, what are you trying to picture precisely? Have you ever had any
issues with these commands? Can Alexander try to add a surgical delay
somewhere?

Thanks,
Miquèl



More information about the linux-mtd mailing list