I fixed this problem so this is just a comment: (I think I have the latest cmd_nand.c file.) If so, I found no support for the option 'clean' for 'nand erase', which, to my understanding, does a complete erase of the nand device.