Re: [U-Boot] nand sector size is zero in jffs2 cmds

2009-01-27 Thread Wolfgang Denk
Dear Derek Ou, In message 497dfe89.7020...@siconix.com you wrote: The following patch was tested some time ago. I am in the middle of another task and can not verify this patch with the latest code. Should I just reformat my patch and submit it or should I wait till I can test it with

Re: [U-Boot] nand sector size is zero in jffs2 cmds

2009-01-26 Thread Derek Ou
Hi, Wolfgang, The following patch was tested some time ago. I am in the middle of another task and can not verify this patch with the latest code. Should I just reformat my patch and submit it or should I wait till I can test it with the latest code? Also, I found that jffs2 scanning routine

Re: [U-Boot] nand sector size is zero in jffs2 cmds

2009-01-23 Thread Wolfgang Denk
Dear Derek Ou, In message 49515bd6.9030...@siconix.com you wrote: The ### ERROR ### Please RESET the board ### error and the zero NAND sector size problem can be fixed by the following patch. However, the jffs2 scanning routine does not skip the bad blocks in NAND though. Derek

[U-Boot] nand sector size is zero in jffs2 cmds

2008-12-22 Thread Derek Ou
Hi, all, When I tested jffs2 command for NAND, I found that jffs2_1pass.c:: jffs2_1pass_build_lists() fails at u32 nr_sectors = part-size/part-sector_size; because part-sector_size is zero. And cause the ### ERROR ### Please RESET the board ### error when entering the for loop (i