All of lore.kernel.org
 help / color / mirror / Atom feed
* [ANOUNCEMENT] bmaptool
@ 2013-01-14 12:46 Artem Bityutskiy
  2013-01-14 17:56 ` Wolfgang Denk
  0 siblings, 1 reply; 3+ messages in thread
From: Artem Bityutskiy @ 2013-01-14 12:46 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 2092 bytes --]

Hi Yocto people,

I would like to announce the bmap-tools project here, because I think it
may be very useful for Yocto and some of the people who are using Yocto.

The bmap-tools project is about disk images, like direct HDD images, or
Virtual-machine images like vdmk or qcow2, etc. The project uses simple
ideas in a clever way to copy/flash these kind of images quickly.

Please, read all the details in the project wiki page:
https://source.tizen.org/documentation/reference/bmaptool

The project was created for Tizen IVI, but it is generic and is not
bounded to Tizen in any way.

I do not want to duplicate the bmap-tools documentation here, but
instead, let me just describe how we use it in Tizen IVI.

1. We produce raw images of 4GB in size.
2. Images have 3 partitions inside.
3. Images are rather sparse, we have only 1.2GB of data inside (total)
4. We publish compressed images, they take 300MiB
5. We also publish bmap file for the image, e.g., see the ".bmap" file
   here:
http://download.tizen.org/snapshots/2.0alpha/ivi/tizen-2.0_20130111.3/images/ivi-2.0-alpha/

Now the key point: when users flash the 4GiB images using bmaptool, they
actually copy only 1.1GiB of data. E.g, when flashing to slow USB
sticks, it reducing writing time from 20Min to 4Min.

The other key point here: if we or others decide to produce 64GiB or
1TiB images instead, with the same amount of data (1.2GiB), the flashing
time will be almost the same.

The third key point here: images are compressed, and rather small, which
saves space and network traffic. When/if we make images 64GiB or 1TiB,
their .bz2 files will still be almost as small, because zeroes compress
very well.

If you think about a production factory case, you may see a lot of
benefits of using bmap.

Anyway, for the Yocto project, it would probably be nice if in the
window where you select the type of image to generate and its size,
there was a "generate bmap" check-box (on by default :-)).

Comments, questions?

Thanks,
Artem.

-- 
Best Regards,
Artem Bityutskiy

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 853 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ANOUNCEMENT] bmaptool
  2013-01-14 12:46 [ANOUNCEMENT] bmaptool Artem Bityutskiy
@ 2013-01-14 17:56 ` Wolfgang Denk
  2013-01-14 18:17   ` Artem Bityutskiy
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Denk @ 2013-01-14 17:56 UTC (permalink / raw)
  To: dedekind1; +Cc: yocto

Dear Artem,

In message <1358167593.2731.66.camel@sauron.fi.intel.com> you wrote:
> 
> Please, read all the details in the project wiki page:
> https://source.tizen.org/documentation/reference/bmaptool
> 
> The project was created for Tizen IVI, but it is generic and is not
> bounded to Tizen in any way.
> 
> I do not want to duplicate the bmap-tools documentation here, but
> instead, let me just describe how we use it in Tizen IVI.

Thanks for doing this, as the links on the page referenced above are
broken:  both [1] "Introduction" and [2] "Usage" give just a 404 to
me...

[1] https://source.tizen.org/documentation/reference/bmap-tool/bmap-introduction
[2] https://source.tizen.org/documentation/reference/bmap-tool/usage


Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
If the odds are a million to one against something occuring,  chances
are 50-50 it will.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ANOUNCEMENT] bmaptool
  2013-01-14 17:56 ` Wolfgang Denk
@ 2013-01-14 18:17   ` Artem Bityutskiy
  0 siblings, 0 replies; 3+ messages in thread
From: Artem Bityutskiy @ 2013-01-14 18:17 UTC (permalink / raw)
  To: Wolfgang Denk; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 1148 bytes --]

On Mon, 2013-01-14 at 18:56 +0100, Wolfgang Denk wrote:
> Thanks for doing this, as the links on the page referenced above are
> broken:  both [1] "Introduction" and [2] "Usage" give just a 404 to
> me...
> 
> [1] https://source.tizen.org/documentation/reference/bmap-tool/bmap-introduction
> [2] https://source.tizen.org/documentation/reference/bmap-tool/usage

Very embarrassing, sorry. The links are broken, I'll try to fix them
tomorrow. Please, so far use the links at the left-side frame of the web
page. You should see them there like this:

The bmaptool
 * Introduction
 * Usage
   - bmaptool copy
   - bmaptool create
 * Bmap-tools project

Sorry for inconvenience. The direct links are:

https://source.tizen.org/documentation/reference/bmaptool/bmap-introduction
https://source.tizen.org/documentation/reference/bmaptool/bmaptool-usage
https://source.tizen.org/documentation/reference/bmaptool/usage/bmaptool-copy
https://source.tizen.org/documentation/reference/bmaptool/usage/bmaptool-create
https://source.tizen.org/documentation/reference/bmaptool/bmap-tools-project

-- 
Best Regards,
Artem Bityutskiy

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 853 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-01-14 18:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-14 12:46 [ANOUNCEMENT] bmaptool Artem Bityutskiy
2013-01-14 17:56 ` Wolfgang Denk
2013-01-14 18:17   ` Artem Bityutskiy

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.