Sample Header Ad - 728x90

Mount JFFS2 FS in openwrt

0 votes
1 answer
2795 views
I'm trying to mount 1[MB] of flash as JFFS2 FS in openwrt environment, using 128[MB] NAND flash (4 bit ECC). I'm using the following sequence - flash_eraseall -j dev/mtd6 mount -t jffs2 -o noatime /dev/mtdblock6 /NAME_OF_MOUNT After running this sequence, it seems mounting completed and I can access, read and write to the mounted area. The problem begins when I reboot the system, during the boot following message appears: jffs2: mtd->read(0x800 bytes from 0x60000) returned ECC error jffs2: notice: (667) read_dnode: wrong data CRC in data node at 0x00060000: read 0xf7a2ee2c, calculated 0x2f2a8b04 I have also tried to create nvm.jffs2 file using mkfs.jffs2 and burn it to requested partition - but the issue still occured. I will appreciate any ideas or thoughts. Thank you all in advanced!
Asked by dear_tzvi (219 rep)
Sep 22, 2014, 07:40 AM
Last activity: Jun 11, 2025, 06:07 AM