Quesion on copying to mtdblock0
dwmw2 at infradead.org
Fri May 17 04:42:09 EDT 2002
zeusj at firstlinux.net said:
> But I wrote a small program to tranfer the .b file into Big-endian
> Maybe I got something wrong in it...
Exactly what does your program do? You can't just byte-swap all words or
dwords in the whole image - you have to byteswap only the fields in the
JFFS2 node headers that are larger than a byte.
Unless your program had intimate knowledge of JFFS2 structure, it can't
possibly have got it right.
More information about the linux-mtd