Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id C4A1CE00AA5; Tue, 27 Oct 2015 12:39:21 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [209.85.220.45 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from mail-pa0-f45.google.com (mail-pa0-f45.google.com [209.85.220.45]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id B8177E009B8 for ; Tue, 27 Oct 2015 12:39:19 -0700 (PDT) Received: by pasz6 with SMTP id z6so231073012pas.2 for ; Tue, 27 Oct 2015 12:39:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gateworks_com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=+Et09lUxBMtm8rP2TuZCqj3GwfvIuhsFN+msOR/jChY=; b=AOWERAdDLm0Vpa+3Li5zNXmv8lu8KRZVO8RKrI03zFY7dFDklt8M5gVsjZEEWeDlwA MnkJEeGawimqYGkgVIMcIen6NnXOHi/OI2OueInGfNZaKfyi4VdnZe124VebWNxZhwQT qr9hCIXPDplNDvXmMpTmVEVbuEiYVbM7+VQWXNWOAVAPcNwDVXd2Wam7No2giOMRRI/n DIal1zH3mKX/jZibHth3Ng/Ms9QBSytZj5zMfRZMyF/8RWTuxsXUYDak425ScQS0CWYy aHAoqqOnz5x5z761tlpWo9Er2KUUbHSgtzpU54F21QYQgyS1lUlx/k6RfmR4Hy7n1IhD vbQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=+Et09lUxBMtm8rP2TuZCqj3GwfvIuhsFN+msOR/jChY=; b=fmkMq+z50lj2b1sYhUq+E18Y4wLTfgi65E/qM2uVnvBrO1BlN42NLg9GcRFUPe+FKn X73HMHJiycRUFb7QT56kciSiuiuFkEE1v1gDdbh2e3y80IS6XdIw7hBlIK0PPt/TFfRP SVXeN0uV6IrW3mqHIAJ4HqNyphBoStKmFLDpHs3GDmrfrlhxnbwmXMAQQKvrq8PxTBO0 sgg0+NcAw4qZx5WIIzgt8yj5zeQT9K1l/CAnRXSlDu4gvzc+AOQ4jRTG1FV8A5igDq/s fRTNZs7xEGMwwUZV6sR5fT7HylErXW5NGwbmXv8EhdCH0fzbSaE9l65UytkqbV+3bvSV PNJQ== X-Gm-Message-State: ALoCoQlGkZ9SeP3UenUViWr7GgwcLnoV71FKufcp0JnUhSPI5VKVwZ/AfLelh//Q4o1ALIwQGZnN X-Received: by 10.66.149.105 with SMTP id tz9mr21199705pab.143.1445974759289; Tue, 27 Oct 2015 12:39:19 -0700 (PDT) Received: from psidhu.gw (68-189-91-139.static.snlo.ca.charter.com. [68.189.91.139]) by smtp.gmail.com with ESMTPSA id rm10sm28269931pbc.96.2015.10.27.12.39.18 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 27 Oct 2015 12:39:18 -0700 (PDT) From: Pushpal Sidhu To: Otavio Salvador Date: Tue, 27 Oct 2015 12:38:52 -0700 Message-Id: <1445974735-31079-4-git-send-email-psidhu@gateworks.com> X-Mailer: git-send-email 2.6.2 In-Reply-To: <1445974735-31079-1-git-send-email-psidhu@gateworks.com> References: <1445974735-31079-1-git-send-email-psidhu@gateworks.com> Cc: meta-freescale@yoctoproject.org Subject: [meta-fsl-arm-extra][PATCH v2 3/6] ventana: build multiubi images instead of just a single ubi image X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Oct 2015 19:39:21 -0000 Because various boards use various flash sizes, build the two sizes fit for Ventana boards. Signed-off-by: Pushpal Sidhu --- Chagnes v2: * Split commit into three commits conf/machine/ventana.conf | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/conf/machine/ventana.conf b/conf/machine/ventana.conf index 3acd201..1974100 100644 --- a/conf/machine/ventana.conf +++ b/conf/machine/ventana.conf @@ -56,12 +56,17 @@ UBOOT_CONFIG[std] = "gwventana_config" SERIAL_CONSOLE = "115200 ttymxc1" # Override FS Type Creation -IMAGE_FSTYPES = "tar.bz2 ubi" +IMAGE_FSTYPES = "tar.bz2 multiubi" + +# Build the following sizes +MULTIUBI_BUILD ?= "normal large" UBI_VOLNAME = "rootfs" + # 256MB ('normal' flash layout) -MKUBIFS_ARGS += "-F -m 2048 -e 124KiB -c 1912 -x zlib" -UBINIZE_ARGS += "-m 2048 -p 128KiB -s 2048" +export MKUBIFS_ARGS_normal = "-F -m 2048 -e 124KiB -c 1912 -x zlib" +export UBINIZE_ARGS_normal = "-m 2048 -p 128KiB -s 2048" + # 2GB ('large' flash layout) -#MKUBIFS_ARGS += "-F -m 4096 -e 248KiB -c 8124 -x zlib" -#UBINIZE_ARGS += "-m 4096 -p 256KiB -s 4096" +export MKUBIFS_ARGS_large = "-F -m 4096 -e 248KiB -c 8124 -x zlib" +export UBINIZE_ARGS_large = "-m 4096 -p 256KiB -s 4096" -- 2.6.2