
Hi Michael,
On 26/11/2024 at 21:19:58 +01, Michael Nazzareno Trimarchi michael@amarulasolutions.com wrote:
Hi Miquel
On Tue, Nov 28, 2023 at 11:56 AM Miquel Raynal miquel.raynal@bootlin.com wrote:
This is a debug command to monitor the retention state of the data on the array. The command needs a duplication of the mtd_read_oob() function to actually return the maximum number of bitflips encountered while reading the page. We could write a specific implementation for the Sunxi driver but this is probably enough.
nand watch <off> <size> - check an area for bitflips nand watch.part <part> - check a partition for bitflips nand watch.chip - check the whole device for bitflips
The output may be a bit verbose and could look like:
I have rebased and I will take a look on this patch tomorrow. I think having it is ok.
Haha, I must admit I forgot about it, but I think it would be nice to get it in, I used this tool quite a lot for debugging purposes, I am sure it can be useful to others. :-)
Cheers, Miquèl