nftl_format
Subsystems (2)
I got an older Diskonchip with NFTL all messed up after trying to install Grub on it, so I had to nftl_format it.
First I had to make the changes below to get nftldump and nftl_format to compile again.
When I ran nftl_format, it took about 20 minutes for a 96MB DOC, is that normal ?
The nftl_format worked and the DOC is now back to its original state.
Chris.
-------
Please note that the following breaks the compilation of the kernel, so you can only do it to compile nftl_format then you have to change it back if you need to recompile bzImage.
in mtd/include/linux/mtd:
nftl.h 2003-10-28 17:18:36.000000000 -0800 renamed from nftl.h~ 2003-10-27 15:47:40.000000000 -0800 +0 -0
@@ -8,7 +8,7 @@
#define __MTD_NFTL_H__
#include <linux/mtd/mtd.h>
-#include <linux/mtd/blktrans.h>
+//#include <linux/mtd/blktrans.h>
/* Block Control Information */
in mtd/util:
Makefile 2003-10-28 17:06:00.000000000 -0800 renamed from Makefile~ 2003-10-28 17:05:35.000000000 -0800 +0 -0
@@ -10,7 +10,8 @@
TARGETS = ftl_format erase eraseall nanddump doc_loadbios \
mkfs.jffs ftl_check mkfs.jffs2 lock unlock \
einfo mtd_debug fcp nandwrite jffs2dump \
- jffs2reader nftldump nftl_format
+ nftldump nftl_format
+ #jffs2readerSYMLINKS = crc32.h crc32.c compr_rtime.c