Flashing UBIFS over fastboot

Leo Barnes barnes.leo at gmail.com
Fri Nov 26 09:07:41 EST 2010


Thanks for the extremely quick reply, will take a look at it.

//Leo

On Fri, Nov 26, 2010 at 10:58 PM, Artem Bityutskiy <dedekind1 at gmail.com> wrote:
> Hi,
>
> On Fri, 2010-11-26 at 22:39 +0900, Leo Barnes wrote:
>> I am trying to get UBIFS to work on a fastboot-based Android device.
>> So far, I have managed to create a working UBIFS partition on a
>> running device using ubiformat/nandwrite, but whenever I try to flash
>> images with fastboot, the flashing process fails. I assume that this
>> is because fastboot expects YAFFS2 images (which contain OOB-data)
>> while what I am trying to flash is UBIFS images (which do not). So my
>> question:
>>
>> Has anyone either got fastboot to work directly with UBIFS images, or
>> is it possible to somehow create UBIFS images that "look like" YAFFS2
>> images (by creating dummy OOB-data for instance)? As it is, fastboot
>> obviously misinterprets the images. Or does anyone have any data on
>> exactly how the UBIFS and YAFFS2 image formats look like? In that case
>> I might be able to figure out some way of doing it.
>
> I think you can hack ubinize and teach it to add OOB bytes.
>
> --
> Best Regards,
> Artem Bityutskiy (Артём Битюцкий)
>
>



More information about the linux-mtd mailing list