[Openpxa-users] PXA310: double bit errors on NAND

Bjørn Forsman bjorn.forsman at gmail.com
Tue Nov 9 04:15:40 EST 2010


Hi Pieter,

Thanks for your reply. It's nice to know someone is out there :-)

2010/11/8 pieterg <pieterg at gmx.com>:
> On Monday, November 08, 2010 15:54:43 Bjørn Forsman wrote:
>> I get "double bit error @ page" messages while working with NAND on a
>> Colibri PXA310 module. Basically, when I write an UBI image to NAND,
>> either with U-Boot "nand write" or "nandwrite" from mtd-utils,
>> everything is OK on the *first* mount. But on the second mount I get
>> several "double bit error @ page" messages and mount fails.
>
> You are not erase-block padding your image, when you write it?
> That's the mistake I made (with jffs2 in my case), in that openpxa-users
> thread you mention.
> As soon as I found out my image was eraseblock padded, and fixed that,
> the number of single/double bit errors was reduced dramatically,
> but some errors remained.

I've tried nandwrite with or without the --pad option. Is that the
padding you are referring to? Or is it the --blockalign option? How
exactly did you flash your rootfs?

> I haven't yet had the time to further investigate this, my preliminary
> conclusion is that the Samsung K9K's, though advertised as SLC,
> are very poor quality, and they probably need a better ecc than
> Hamming (as the pxa nand controller implements).
> And also that jffs2 seems to care less than ubi(fs) when double bit errors
> do happen.(ubifs often refused to even mount when biterrors occurred,
> jffs2 so far always continued with what remained)
> That's the reason why I'm using jffs2 for the time being, a non-booting
> device is worse than a device with a corrupted file.
> (from a theoretical point of view however both are equally bad of course,
> this issue does need to be resolved)

Thanks for the info. Note that I've had *zero* trouble with ubifs when
it's flashed with ubiformat and ubiupdatevol. I did some more googling
and found some other threads about the "ubiformat + ubiupdatevol works
but not direct UBI image flashing" issue. I'll take a closer look.

Best regards,
Bjørn Forsman



More information about the linux-mtd mailing list