Hello,
I am using jffs root file system in nand.
In the first boot after reset I usually see no ecc error or only one error, but in later boots I start to get more and more errors each new boot as floowing:
CPSW phy found : id is : 0x4dd074
CPSW phy found : id is : 0x4dd074
IP-Config: Guessing netmask 255.0.0.0
IP-Config: Complete:
device=eth0, addr=10.0.0.2, mask=255.0.0.0, gw=255.255.255.255,
host=10.0.0.2, domain=, nis-domain=(none),
bootserver=255.255.255.255, rootserver=10.0.0.1, rootpath=
Waiting 15sec before mounting root device...
PHY: 0:01 - Link is Up - 0/Half
PHY: 0:01 - Link is Down
PHY: 0:00 - Link is Up - 100/Full
mtd->read(0x1fd64 bytes from 0x204029c) returned ECC error
mtd->read(0x1b2fc bytes from 0x2044d04) returned ECC error
Empty flash at 0x02044d00 ends at 0x02045000
jffs2_scan_inode_node(): CRC failed on node at 0x0402cff0: Read 0xffffffff, calculated 0x7d2aae68
VFS: Mounted root (jffs2 filesystem) on device 31:5.
devtmpfs: mounted
Freeing init memory: 232K
mtd->read(0x7bc bytes from 0x2045844) returned ECC error
mtd->read(0x800 bytes from 0x2045800) returned ECC error
mtd->read(0x7bc bytes from 0x2045044) returned ECC error
mtd->read(0x800 bytes from 0x2045000) returned ECC error
mtd->read(0x44 bytes from 0x2045844) returned ECC error
INIT: version 2.88 booting
Mounting /dev/shm : Mounting /dev/pts : Mounting other filesystems : mount: mounting 10.0.0.1:/mnt/DVR_NEW on /mnt/nfs failed: No such file or directory
Mounting /dev/sda1 : mount: mounting /dev/sda1 on /media/sda1 failed: No such file or directory
Sync command ...ranran remove /media/sdb1
Error opening /dev/fb0: No such file or directory
Starting udev
udev[115]: starting version 164
Starting Bootlog daemon: bootlogd.
Applying sync command
What should I do ? I notice that only when flashing with:
nandecc hw 2 (HW ECC BCH8) I have this sucess with boot with jffs root (ecxpet the ecc errors).
When flashing with nandecc sw or nandecc hw, It fails to detect file system.
It seels also to be related to jff size. the jffs size I have it 0x2044d00, which is not aligned to 128K.
It seems that the errors are mostly coming after this offset.
Any suggestion is welcomed,
Ran