[OE-core] [RESEND] bitbake.conf: fix ubi images creation

Martin Jansa martin.jansa at gmail.com
Mon Sep 5 07:09:43 UTC 2011


On Mon, Sep 05, 2011 at 09:05:22AM +0200, Anders Darander wrote:
> * Denis Carikli <denis at eukrea.com> [110902 18:19]:
> > Without that commit ubinize.cfg lack a volume name value,
> >   and the related ubinize.cfg line looks like that:
> >     vol_name=
> >   which result in a broken ubi image,which after beeing flashed produce
> >   the following error:
> >     UBI error: vtbl_check: volume table check failed: record 0, error 11
> >   wich result in a kernel panic because the rootfs can't be mounted.
> 
> I've recently spent some time debugging this very same issue, when
> converting an on-going project from oe-dev to oe-core.
> 
> > Signed-off-by: Denis Carikli <denis at eukrea.com>
> 
> Acked-by: Anders Darander <anders at chargestorm.se>

Acked-by: Martin Jansa <Martin.Jansa at gmail.com>
> 
> > ---
> >  meta/conf/bitbake.conf |    2 ++
> >  1 files changed, 2 insertions(+), 0 deletions(-)
> > 
> > diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
> > index a68be07..14ee90c 100644
> > --- a/meta/conf/bitbake.conf
> > +++ b/meta/conf/bitbake.conf
> > @@ -382,6 +382,8 @@ IMAGE_BASENAME = "${PN}"
> >  IMAGE_NAME = "${IMAGE_BASENAME}-${MACHINE}-${DATETIME}"
> >  IMAGE_LINK_NAME = "${IMAGE_BASENAME}-${MACHINE}"
> >  
> > +UBI_VOLNAME ?= "${MACHINE}-rootfs"
> > +
> >  # This option allows for a percentage overage of the actual image size rather than a
> >  # fixed extra space, this is space needed for initial startup and basic operations.
> >  IMAGE_OVERHEAD_FACTOR ?= 1.3
> -- 
> Anders Darander
> ChargeStorm AB
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20110905/fd17bd8f/attachment-0002.sig>


More information about the Openembedded-core mailing list