Hi, everyone
Mkyaffs2image has not support summary. So I make some modification to let mkyaffs2image add summary info into the output image.
But when I write the image into several nand flash, I found that the same image’s summary isn’t valid on every nand.
There is a compare “hdr.block != blk” in yaffs_summary_read when verify the summary header.
Because the nand may have some bad block and the nandwrite will skip those block. So the image’s summary hdr.block didn’t match the block number.
I look into the yaffs2’s summary and found out the hdr.block maybe make no sense. I delete that cpmpare and now the image with summary works well.
Anyone know shall I delete that, please give me some comments.
Best Regards!
Lin