Flashing UBIFS over fastboot
dedekind1 at gmail.com
Fri Nov 26 08:58:03 EST 2010
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
> 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.
Artem Bityutskiy (Артём Битюцкий)
More information about the linux-mtd