Can not mount UBIFS
Artem Bityutskiy
dedekind1 at gmail.com
Tue May 11 01:44:50 EDT 2010
On Tue, 2010-05-11 at 11:46 +0800, 林于峻 wrote:
> Dear all,
>
> I have modified bootloader to download image as ubiformat does.
> However, I still can not mount it.
> I also dump the content of mtd partition and compare.
> (Ex: dd if=/dev/block/mtdblock5 of=/data/mtd5bak)
> No difference between the content written by bootloader and written by
> ubiformat.
>
... snip ...
> <3>UBI error: ubi_io_read: error -22 while reading 2048 bytes from PEB
> 3:6144, read 0 bytes
Well, find out why your driver returns -EINVAL and read count 0 when you
read 2048 bytes from PEB 3 on this partition, and offset 6144. Dig the
driver.
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
More information about the linux-mtd
mailing list