Skip to contentSkip to conversation

Errors writing to flash

DISCUSSION Muhammad Yahya 1 participant 1 message Feb 23, 2005 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

Hi,

I am running a PPC 875 board with Linux 2.4.25 and an 8MB flash. When I try to write to the flash an image, as

Quoted 12 lines

/tmp # wget -O - http://129.148.183.102/~muhammad/flashupdate/spimage_nouboot | dd of=/dev/mtdblock0 bs=1k seek=256
7936+0 records in
7936+0 records out

The write seems to go OK withiout any errors, but, on the console, we see the following messages which I an not sure if they are coming from jffs or the mtd driver. Sometimes these messages are output right away after the write completes and sometimes there is a delay before they are output:

Quoted 5 lines

Node totlen on flash (0xffffffff) != totlen in node ref (0x000000c0) Node totlen on flash (0xffffffff) != totlen in node ref (0x00000064) Node totlen on flash (0xffffffff) != totlen in node ref (0x00000044)

Any idea as to what this means and how to avoid this ?

Thanks!
Muhammad

Quoted 7 lines