Skip to contentSkip to conversation

UbiFS + HWECC(?) + BeagleBoard = fail

DISCUSSION [AvataR] 2 participants 2 messages Nov 7, 2010 – Nov 8, 2010

lore
Share & tools
lore

[AvataR]

author
#0 lore raw

Hi. After moving to upstream 2.6.3{5,6,7} kernels, i forced to use jffs2 instead of ubifs, because of lot CRC errors. If i use prefetch/dma, i can attach to ubi, make volume, write data, reboot - and got lots of CRC errors. Without prefetch i just couldn't do anything to ubi.

Looks like hw/sw bug in ubi

#1 lore raw
Quoted 6 lines · [AvataR]

Hi. After moving to upstream 2.6.3{5,6,7} kernels, i forced to use jffs2 instead of ubifs, because of lot CRC errors. If i use prefetch/dma, i can attach to ubi, make volume, write data, reboot - and got lots of CRC errors. Without prefetch i just couldn't do anything to ubi.

Looks like hw/sw bug in ubi

Looks like Sukumar's recent changes broke subpage reads that are needed for UBI to operate. You can try commenting out #define CONFIG_MTD_NAND_OMAP_HWECC in drivers/mtd/nand/omap2.c and disabling MTD_NAND_OMAP_PREFETCH, with that it mostly works for me but sometimes spits out ECC error or two.