Print list of bad blocks in NAND flash from user space
7
votes
2
answers
4848
views
Is there any user space tool that can retrieve and dump the list of bad blocks in a NAND flash device? I've checked the
mtdinfo
command line utility, and also searched /proc
and /sys
, but couldn't find anything.
I am looking for something suitable for use from a shell script.
I could parse dmesg
as the kernel prints bad block information on init, but I am hoping there will be a better way.
Asked by Grodriguez
(1006 rep)
Feb 24, 2015, 03:44 PM
Last activity: Nov 24, 2023, 07:20 AM
Last activity: Nov 24, 2023, 07:20 AM