From: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
To: "Hunter Adrian (Nokia-D/Helsinki)" <adrian.hunter@nokia.com>
Cc: "linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>,
"Tobias Wahlström" <tobias.tanke@gmail.com>
Subject: Re: mkfs.ubifs / ubiformat: Bad UBI magic
Date: Thu, 08 Oct 2009 11:55:52 +0300 [thread overview]
Message-ID: <4ACDA918.2020103@nokia.com> (raw)
In-Reply-To: <4ACDA8B6.3020807@nokia.com>
On 10/08/2009 11:54 AM, Hunter Adrian (Nokia-D/Helsinki) wrote:
> Tobias Wahlström wrote:
>> Hi!
>>
>> This is my first post at this list - I hope it makes (at least) some
>> sense anyway. I have looked through the mailing archive and searched
>> using google without finding anything useful on the topic. I hope I
>> provided the information you need - if not, just tell me what you are
>> missing!
>>
>> I'm working on a project where we would like to use ubi and ubifs as
>> root filesystem since it seems to be the best choise in many ways. But
>> I have a problem which I can't find anything about either the mail
>> archive nor using google etc. I currently use linux 2.6.26 with some
>> patches. My target is the freescale imx255 pdk board. My build system
>> is Ubuntu 9.04 (run within vmware).
>>
>> I have cloned the mtd-utils.git (today 2009-09-05) and compiled the
>> tools both for my build system and my target (both without xattr
>> support). Then I created a ubifs image using mkfs.ubifs on my build
>> system and tried to flash it to the nand using ubiformat. The commands
>> I used was:
>>
>> build> mkfs.ubifs -m 2048 -e 256KiB -c 384 -U --root rootfs -o rootfs.ubifs
>> target> flash_eraseall /dev/mtd2
>> target> ubiformat /dev/mtd2 -s 2048 -v -f rootfs.ubifs
>
> Also, doesn't ubiformat take a UBI image not a UBIFS image
Right.
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
prev parent reply other threads:[~2009-10-08 8:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-06 11:00 mkfs.ubifs / ubiformat: Bad UBI magic Tobias Wahlström
2009-10-08 8:51 ` Adrian Hunter
2009-10-08 8:54 ` Adrian Hunter
2009-10-08 8:55 ` Artem Bityutskiy [this message]
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=4ACDA918.2020103@nokia.com \
--to=artem.bityutskiy@nokia.com \
--cc=adrian.hunter@nokia.com \
--cc=linux-mtd@lists.infradead.org \
--cc=tobias.tanke@gmail.com \
/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.