AnsweredAssumed Answered

JFFS2 doesn't use OOB.

Question asked by Franz TRIERWEILER on Sep 22, 2009
Latest reply on Nov 16, 2010 by TIM GROTH

I programmed my iMX25 board Flash memories with zImage and rootfs provided on Freescale CD/ROM. When I boot the board, here is what happens:

 

JFFS2 doesn't use OOB.                                                                                           
Empty flash at 0x033c81f4 ends at 0x033c8800                                                                     
Empty flash at 0x033dd0e4 ends at 0x033dd800                                                                     
Empty flash at 0x033e2828 ends at 0x033e3000                                                                     
Empty flash at 0x033e8a1c ends at 0x033e9000                                                                     
Empty flash at 0x033ef1c4 ends at 0x033ef800                                                                     
Empty flash at 0x033f3138 ends at 0x033f3800                                                                     
Empty flash at 0x033f5168 ends at 0x033f5800                                                                     
Empty flash at 0x033f8004 ends at 0x033f8800                                                                     
jffs2_scan_inode_node(): CRC failed on node at 0x03bc5ff4: Read 0xffffffff, calculated 0x1490a44b                
Empty flash at 0x03bc62c0 ends at 0x03bc6800                                                                     
Empty flash at 0x03bcca60 ends at 0x03bcd000                                                                     
Empty flash at 0x03bd50ac ends at 0x03bd5800                                                                     
Empty flash at 0x03bd924c ends at 0x03bd9800                                                                     
Empty flash at 0x03bdc9d8 ends at 0x03bdd000                                                                     
VFS: Mounted root (jffs2 filesystem).        
    

 

Another information: There seems to be as if the rootfs.jffs2 file has not been taken into account when programming the flash because I can find old files previously created in the Flash when I log on the board.

 

Furthermore, the kernel reports many CRC errors:

 

freescale login: JFFS2 notice: (1668) check_node_data: wrong data CRC in data node at 0x03bcc738: read 0xa178a97.
JFFS2 notice: (1668) check_node_data: wrong data CRC in data node at 0x033c7f80: read 0x142a2a46, calculated 0x4.
JFFS2 warning: (1668) jffs2_do_read_inode_internal: Truncating ino #6724 to 10499 bytes failed because it only h!
JFFS2 warning: (1668) jffs2_do_read_inode_internal: Truncating ino #7199 to 35679 bytes failed because it only h!
JFFS2 notice: (1668) check_node_data: wrong data CRC in data node at 0x033ff4fc: read 0x83a92d71, calculated 0x3.

 

I performed a fis init before importing the images and programming the flash. Do I have to perform an erase operation?

 

Does someone know what "JFFS2 doesn't use OOB" mean?

 

Regards

Outcomes