[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] 16-bit flash again... More clues and info
At Mon, 4 Apr 2005 20:40:46 -0700 (PDT),
Greg Miller wrote:
[...]
> 4). OK, so I tested the flash by reading the info from the flash back to a file:
> dd if=/dev/mtd6 of=/tmp/image_test.bin
>
> This file read back from the flash is perfect and matches the file created from the mkfs.jffs2 command.
>
> However : when I do a cp /dev/mtd6 jffs2_test.img it reads it back incorrectly and puts in 0000s every other half-word. So, this is broken in that it thinks its 32-bits?
it's odd. cp and dd shouldn't differ, IMHO. suzaku is currently
using 16bit flash, so checking the drivers/mtd/map/suzaku.c might
help?
regards,
--
yashi
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/