This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Do I need to format entire NAND flash for programming just ubifs image?

Hi Rex,

I have these below questions.

1. Do I need to format the entire NAND flash before programming ubifs? I mean, do I have to program u-boot and then ubifs on NAND every time when I want to boot with my modified kernel and file system? Isn't it enough to erase only ubifs partition and program my new ubifs image?

Because, for the first time when I formatted NAND and burnt u-boot & ubifs, board came up well. But when I reprogrammed only ubifs for the second time, the board didnot come up. 

2. When I formatted and programmed my images(u-boot, ubifs) to NAND multiple times(say 5-10 times), I see some errors messages during kernel boot up.  There are related to UBI reads. Attached doc has these error messages. Kernel is coming up properly but I see these error messages. Are these because of bad blocks on NAND or because of wearing out of NAND due to frequent formating-programming?

Please reply.

Thanks

kg