Can not mount UBIFS
林于峻
okpalin at gmail.com
Tue May 11 21:18:05 EDT 2010
Dear Sir,
I am very confused.
If the driver has some problems, why images written by ubiformat can work well?
Images written by bootloader or ubiformat should have the same
problem, if the driver is wrong.
Thank you,
Best regards,
2010/5/11 Artem Bityutskiy <dedekind1 at gmail.com>:
> 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