Skip to contentSkip to conversation

nand mtd corruption linux-2.6.29

DISCUSSION Fundu 1 participant 1 message Jul 25, 2010 Memory technology devices (MTD)

lore
Share & tools
lore

Fundu

author
#0 lore raw

Hi,

Couple of folks at the mini2440 mailing list have encountered that when issuing 'reboot' at console right after copying some files to a rootfs that resides on a NAND flash. this action results in the bootloader getting corrupt and bricking the board.

Looks like the SIGKILL issued from reboot isn't handled properly (mtd or fs) when changes are pending to be written to persistence storage (in this case the NAND flash) and some corruption occurs.

can some subscriber to this list, help us out.

Q1) has anyone seen this before,
Q2) is there a patch/workaround that we can apply to our linux kernel (2.6.29)

here's the system detail
Kernel : 2.6.29
arm-gcc version 4.3.2
nand 128 mb

also parallelly i'm trying a work around by not making the bootloader partition visible. to see if that help maybe the corruption occurs at a different partition. i'll share my finding.

Any pointers would be appreciated.

Thanks in advance !