flashgen

Little utility program to generate empty NAND or NOR flash images.

No external libraries are needed, so it should compile on every system running glibc.

You can download it here.