All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [RESEND] bitbake.conf: fix ubi images creation
Date: Mon, 05 Sep 2011 20:37:16 +0100	[thread overview]
Message-ID: <1315251436.1243.17.camel@ted> (raw)
In-Reply-To: <1314979795-13537-1-git-send-email-denis@eukrea.com>

On Fri, 2011-09-02 at 18:09 +0200, Denis Carikli wrote:
> 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.
> 
> Signed-off-by: Denis Carikli <denis@eukrea.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

Merged to master but I moved this definition to image_types.bbclass
since thats the only place its used and we may as well not pollute the
global data store when we don't need to.

Cheers,

Richard




  parent reply	other threads:[~2011-09-05 19:42 UTC|newest]

Thread overview: 13+ 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
2011-09-05  7:33       ` James Limbouris
2011-09-05 19:37     ` Richard Purdie [this message]
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-05  7:32       ` [PATCH v4] " Denis Carikli
2011-09-06  7:04         ` Denis Carikli
2011-09-06  7:12       ` 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=1315251436.1243.17.camel@ted \
    --to=richard.purdie@linuxfoundation.org \
    --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 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.