[oe] Adding sumtool to a JFFS2 build to speed up first boot

Andrea Adami andrea.adami at gmail.com
Wed Dec 7 22:04:09 UTC 2011


On Wed, Nov 23, 2011 at 9:40 PM, Khem Raj <raj.khem at gmail.com> wrote:
> On Sat, Oct 29, 2011 at 2:27 PM, Andrea Adami <andrea.adami at gmail.com> wrote:
>> On Sat, Oct 29, 2011 at 7:14 PM, Tom Rini <tom.rini at gmail.com> wrote:
>>
>>> On Sat, Oct 29, 2011 at 9:27 AM, Ulf Samuelsson
>>> <ulf_samuelsson at telia.com> wrote:
>>> > Trying to solve another problem I came up with
>>> > changing IMAGE_CMD_jffs2 defined in conf/bitbake.conf
>>> > by redefining it in conf/local.conf.
>>> >
>>> > During that process I noticed the "sumtool" utility
>>> > which works on the jffs2 image, doing some
>>> > bookkeeping which then does not have to be
>>> > done on the target.
>>> >
>>> > I unserstand, this can speed up loading significantly.
>>> > Any reason not using this in OE?
>>>
>>> Last time I looked at this, the reason was that you had to re-jigger
>>> the IMAGE_CMD a bit and you also have to take care as not all of the
>>> options are the same between mkfs.jffs2 and sumtool.  At least the
>>> first part might be easier with oe-core and the reworked image class.
>>> The latter part is just annoying.
>>>
>>> --
>>> Tom
>>>
>>> FWIW we are defining our jffs2-summary in
>> http://cgit.openembedded.org/meta-handheld/tree/conf/machine/include/zaurus.inc
>>
>> This works beautifully in oe-dev but not using oe-core for it sets
>> IMAGE_CMD_jffs2 = and this can  not be overriden
>> We would just need a weak assignment in image_types.bbclass or maybe a new
>> image type like IMAGE_CMD_jffs2-summary and related commands.
>>
>
> I would say port patches to oe-core for it.

Done, patch sent to oe-core

Regards
Andrea

>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel at lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel




More information about the Openembedded-devel mailing list