From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from 2.mo1.mail-out.ovh.net ([178.32.119.250] helo=mo1.mail-out.ovh.net) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1QzWGQ-0002dB-DQ for openembedded-core@lists.openembedded.org; Fri, 02 Sep 2011 18:06:42 +0200 Received: from mail194.ha.ovh.net (b9.ovh.net [213.186.33.59]) by mo1.mail-out.ovh.net (Postfix) with SMTP id 8FD651000B1A for ; Fri, 2 Sep 2011 15:32:54 +0200 (CEST) Received: from b0.ovh.net (HELO queueout) (213.186.33.50) by b0.ovh.net with SMTP; 2 Sep 2011 15:32:35 +0200 Received: from pac33-2-82-240-38-71.fbx.proxad.net (HELO PCDEV1.lan) (denis%eukrea.com@82.240.38.71) by ns0.ovh.net with SMTP; 2 Sep 2011 15:32:35 +0200 From: Denis Carikli To: openembedded-core@lists.openembedded.org X-Ovh-Mailout: 178.32.228.1 (mo1.mail-out.ovh.net) Date: Fri, 2 Sep 2011 15:31:07 +0200 Message-Id: <1314970267-20365-2-git-send-email-denis@eukrea.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1314970267-20365-1-git-send-email-denis@eukrea.com> References: <1314970267-20365-1-git-send-email-denis@eukrea.com> X-Ovh-Tracer-Id: 15776672444670221763 X-Ovh-Remote: 82.240.38.71 (pac33-2-82-240-38-71.fbx.proxad.net) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-Spam-Check: DONE|U 0.5/N X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeeftddrudegucetggdotefuucfrrhhofhhilhgvmecuqfggjfenuceurghilhhouhhtmecufedttdenuc Subject: [PATCH 2/2] bitbake.conf: fix ubi images creation X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Sep 2011 16:06:42 -0000 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 --- 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 -- 1.7.4.1