Check the status of NAND flash chips using the Linux MTD interface
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
COPYING
Makefile
README.md
nand_check.c
nandcheck_1.0.bb

README.md

nandcheck

Checks the status of NAND flash chips using the Linux MTD interface

Usage

Just point it at the MTD device node:

nand_check /dev/mtdN

For each NAND eraseblock, nand_check prints

B   Bad block
.   Empty
-   Partially filled
=   Full, no summary node
S   Full, summary node

Compiling

When cross-compiling, set CC to point to your cross compiler, for example:

make CC=arm-linux-gnueabihf-gcc

Further information

You may want to take a look at my blog on Reducing JFFS2 mount time