colibri pxa320 NAND errors
A message that is not in the archive (sent off-list or not yet received): [email protected]
Dne ?t 16. z??? 2010 18:27:04 pieterg napsal(a):
Quoted 27 lines
Hi all,
I guess there are a few colibri 320 users on this list, I'd like to hear your experiences with the NAND flash.
I'm getting a whole lot of single bit errors, and also many double bit errors. As a result, my filesystem gets corrupted, even after a single reboot.
I'm using jffs2, but tried ubifs as well (to rule out jffs2 bugs), with even worse results.The situation is the same for colibri boards pxa310 V1.30A, pxa320 V1.2E, V1.2F.
These use similar types of flash (Samsung K9F4G08U0A, K9K8G08U0A, K9K8G08U0B).
Tried different boards, to rule out some incidental error.I'm not 100% convinced it's a hardware issue, because when I write a (jffs2) image with u-boot, I can boot it without any errors. Only after the first reboot, after some modifications have been made to the filesystem, everything gets messy (see a kernel console snippet below)
So you might think it's a kernel bug.
I'm using the latest devel branch from Eric Miao, but this problem has been there since at least 2.6.28.
And, I find it hard to believe I'm the only one getting all these problems.
Quoted 8 lines
To make sure it's not my heavily modified old 2009.3 u-boot, which is causing the problems because of some faulty nand controller configuration, I've just built the latest openpxa u-boot, and booted it with OBM2. But the results are the same.
Does anyone recognise this situation?
Or are you using the nand without any problems?
Maybe the NAND's misconfigured, what bootloader do you use ?
btw. CCing appropriate places.
Quoted 92 lines
Rgds, Pieter
double bit error @ page 00002284
double bit error @ page 00002285
double bit error @ page 00002287
double bit error @ page 00002288
double bit error @ page0000228b
double bit error @ page0000228c
double bit error @ page 00002299
double bit error @ page0000229a
double bit error @ page0000229c
double bit error @ page0000229d
double bit error @ page000022a0
double bit error @ page000022a5
double bit error @ page 00002284
double bit error @ page 00002285
double bit error @ page 00002287
double bit error @ page 00002288
double bit error @ page0000228b
double bit error @ page0000228c
double bit error @ page 00002299
double bit error @ page0000229a
double bit error @ page0000229c
double bit error @ page0000229d
double bit error @ page000022a0
double bit error @ page000022a5
Empty flash at0x00cc197cends at0x00cc2000jffs2_scan_inode_node(): CRC failed on node at0x00cc2000: Read0x248da816, calculated0x7c7ef05fjffs2_scan_dirent_node(): Name CRC failed on node at0x00cc2844: Read0xf76a5b96, calculated0xd0c4da7ejffs2_scan_dirent_node(): Name CRC failed on node at0x00cc3044: Read0x6c47a3fe, calculated0x6fc37790jffs2_scan_inode_node(): CRC failed on node at0x00cc3710: Read0xf02508a7, calculated0xf02108a7jffs2_scan_inode_node(): CRC failed on node at0x00cc39dc: Read0x0321a42a, calculated0xcd10dc77jffs2_scan_inode_node(): CRC failed on node at0x00cc512c: Read0x4c51a8fc, calculated0xdd0c08c8jffs2_scan_inode_node(): CRC failed on node at0x00cc6d8c: Read0x4cd5a708, calculated0x659913c2jffs2_scan_eraseblock(): Node at0x00cc6e04{0x1985,0x2004,0x001001fc) has invalid CRC0x7ebffc99(calculated0x347deec8)jffs2_scan_eraseblock(): Magic bitmask0x1985not found at0x00cc6e08:0x01fcinsteadjffs2_scan_eraseblock(): Magic bitmask0x1985not found at0x00cc6e0c:0xfc99insteadjffs2_scan_dirent_node(): Name CRC failed on node at0x00cc7044: Read0xb9eb2d20, calculated0xceec1db6jffs2_scan_inode_node(): CRC failed on node at0x00cc736c: Read0x36c54c35, calculated0x34c54c35jffs2_scan_inode_node(): CRC failed on node at0x00cc73c4: Read0xe2812946, calculated0x04a617d8jffs2_scan_inode_node(): CRC failed on node at0x00cc748c: Read0x1b4eab40, calculated0xd4f392dcjffs2_scan_inode_node(): CRC failed on node at0x00cc757c: Read0xd2ec78b6, calculated0x8f0029bajffs2_scan_inode_node(): CRC failed on node at0x00cc78a8: Read0x50f59a58, calculated0xb1a0b2bdjffs2_scan_inode_node(): CRC failed on node at0x00cc78f8: Read0xfcc89ca3, calculated0x21d0aa21jffs2_scan_inode_node(): CRC failed on node at0x00cc7b0c: Read0x4f25942e, calculated0x22d9556cjffs2_scan_inode_node(): CRC failed on node at0x00cc7ce0: Read0x43b8bc80, calculated0xd9a964d0jffs2_scan_eraseblock(): Node at0x00cc803c{0x1985,0xe002,0x00000063) has invalid CRC0xa5126c1a(calculated0xa5126c9a)jffs2_scan_eraseblock(): Magic bitmask0x1985not found at0x00cc8040:0x0063insteadjffs2_scan_eraseblock(): Magic bitmask0x1985not found at0x00cc8044:0x6c1ainsteadjffs2_scan_eraseblock(): Magic bitmask0x1985not found at0x00cc8048:0x07d0insteadjffs2_scan_eraseblock(): Magic bitmask0x1985not found at0x00cc804c:0x002dinsteadjffs2_scan_eraseblock(): Magic bitmask0x1985not found at0x00cc8050:0x8180insteadjffs2_scan_eraseblock(): Magic bitmask0x1985not found at0x00cc8058:0x064binstead
Further such events for this erase block will not be printed---------------------------------------------------------------------------
--- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Openpxa-users mailing list
Openpxa-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openpxa-users
Quoted 6 lines · On Saturday 18 September 2010 12:19:38 Marek Vasut wrote:
Dne ?t 16. z??? 2010 18:27:04 pieterg napsal(a):
Quoted 3 lines
I'm getting a whole lot of single bit errors, and also many double bit errors. As a result, my filesystem gets corrupted, even after a single reboot.
Maybe the NAND's misconfigured, what bootloader do you use ?
I'm using u-boot.
Mostly 2009.3, but to rule out bad NAND configuration, I've tried the latest u-boot-pxa branch, with the same results:
Quoted 4 lines
Quoted 4 lines
To make sure it's not my heavily modified old 2009.3 u-boot, which is causing the problems because of some faulty nand controller configuration, I've just built the latest openpxa u-boot, and booted it with OBM2. But the results are the same.
Rgds, Pieter
Dne So 18. z??? 2010 16:04:25 pieterg napsal(a):
Quoted 11 lines · On Saturday 18 September 2010 12:19:38 Marek Vasut wrote:
Quoted 6 lines
Dne ?t 16. z??? 2010 18:27:04 pieterg napsal(a):
Quoted 3 lines
I'm getting a whole lot of single bit errors, and also many double bit errors. As a result, my filesystem gets corrupted, even after a single reboot.
Maybe the NAND's misconfigured, what bootloader do you use ?
I'm using u-boot.
Mostly 2009.3, but to rule out bad NAND configuration, I've tried the latest
All right ... I'll jump on a bullet train, go back home, grab my tdex board and test it.
Cheers
Quoted 8 lines
u-boot-pxa branch, with the same results:
Quoted 4 lines
Quoted 4 lines
To make sure it's not my heavily modified old 2009.3 u-boot, which is causing the problems because of some faulty nand controller configuration, I've just built the latest openpxa u-boot, and booted it with OBM2. But the results are the same.
Rgds, Pieter