Hi, Attached is a patch to get nftl_format compiling with the latest version of mtd. I managed to get 2 of my DoC chips into a state where DFORMAT would not want to reprogram them. The trigger for this seemed to be loading the grub_firmware into them with doc_loadbios. Anyway with this patch I was able to build nftl_format and reformat both of the chips. Regards, Denis.