JFFS/MTD and Raw access
simon at baydel.com
simon at baydel.com
Fri Nov 29 06:28:16 EST 2002
I have hit exactly the same problem using JFFS2. I am no authority
on this but, I thought the problem might be caused by the write
generating different OOB data for input blocks, which are erased or
only partially written. So I guess what needs to be done is to read
and copy the DATA and OOB. I think you can do this with the
nanddump and nandwrite utilities. I guess I will have to try it
sometime.
Cheers
Simon.
On 28 Nov 2002, at 17:21, Damien GERANTON wrote:
> Hello,
>
> I face a strange problem, i use MTD with JFFS and i want to clone my
> systeme from one card to another. I thought that some think like : dd
> if=/dev/mtd0 of=/master.img
>
> and
>
> dd if=/master.img of=/dev/mtd0
>
> But it does not work, if after i do
>
> dd if=/dev/mtd0 of=/test.img
> diff test.img master.img
> i says they are different.
>
> Is it normal.
>
> Is RAW acces really RAW ?
>
> Do i miss some think ?
>
> Thanks
>
> PS : I use MTD on 2.2.17 kernel
>
>
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
__________________________
Simon Haynes - Baydel
Phone : 44 (0) 1372 378811
Email : simon at baydel.com
__________________________
More information about the linux-mtd
mailing list