From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: [RESEND] bitbake.conf: fix ubi images creation
Date: Mon, 5 Sep 2011 09:09:43 +0200 [thread overview]
Message-ID: <20110905070943.GA31057@jama.jama.net> (raw)
In-Reply-To: <20110905070522.GA8690@chargestorm.se>
[-- Attachment #1: Type: text/plain, Size: 1846 bytes --]
On Mon, Sep 05, 2011 at 09:05:22AM +0200, Anders Darander wrote:
> * Denis Carikli <denis@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@eukrea.com>
>
> Acked-by: Anders Darander <anders@chargestorm.se>
Acked-by: Martin Jansa <Martin.Jansa@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@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
next prev parent reply other threads:[~2011-09-05 7:14 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-02 13:31 [PATCH 1/2] mtd-utils: update to version to 1.4.6 Denis Carikli
2011-09-02 13:31 ` [PATCH 2/2] bitbake.conf: fix ubi images creation Denis Carikli
2011-09-02 16:09 ` [RESEND] " Denis Carikli
2011-09-05 7:05 ` Anders Darander
2011-09-05 7:09 ` Martin Jansa [this message]
2011-09-05 7:33 ` James Limbouris
2011-09-05 19:37 ` Richard Purdie
2011-09-02 13:38 ` [PATCH v2] mtd-utils: update to version to 1.4.6 Denis Carikli
2011-09-02 13:45 ` Denis Carikli
2011-09-02 14:07 ` [PATCH v3] " Denis Carikli
2011-09-06 7:12 ` [PATCH v4] " Denis Carikli
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=20110905070943.GA31057@jama.jama.net \
--to=martin.jansa@gmail.com \
--cc=openembedded-core@lists.openembedded.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox