From: Artem Bityutskiy <dedekind1@gmail.com>
To: Leo Barnes <barnes.leo@gmail.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: Flashing UBIFS over fastboot
Date: Fri, 26 Nov 2010 15:58:03 +0200 [thread overview]
Message-ID: <1290779883.2552.4.camel@localhost> (raw)
In-Reply-To: <AANLkTinzy-qTsYfbZhkhoFN6Tz9G47+JUWsa97KCUAke@mail.gmail.com>
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 (Артём Битюцкий)
next prev parent reply other threads:[~2010-11-26 13:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-26 13:39 Flashing UBIFS over fastboot Leo Barnes
2010-11-26 13:58 ` Artem Bityutskiy [this message]
2010-11-26 14:07 ` Leo Barnes
2010-11-28 8:46 ` Leo Barnes
2010-11-28 14:55 ` Artem Bityutskiy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1290779883.2552.4.camel@localhost \
--to=dedekind1@gmail.com \
--cc=barnes.leo@gmail.com \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.