Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 24B9EE00DEA; Wed, 19 Oct 2016 10:06:16 -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=-1.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_SPAM autolearn=no version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [209.85.213.66 listed in list.dnswl.org] * 0.5 RCVD_IN_SORBS_SPAM RBL: SORBS: sender is a spam source * [209.85.213.66 listed in dnsbl.sorbs.net] * -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-vk0-f66.google.com (mail-vk0-f66.google.com [209.85.213.66]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 2F622E0071C for ; Wed, 19 Oct 2016 10:06:02 -0700 (PDT) Received: by mail-vk0-f66.google.com with SMTP id b186so1408793vkb.3 for ; Wed, 19 Oct 2016 10:06:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ossystems-com-br.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :organization; bh=sbMxYmXQWsUlXcq2F3btYfCFdTgURU2zzCieQl6FfWA=; b=pXT5Wv0hwW7kO/xrGbURJUhAluWJkJdonXLQMfhFXwKMjRcvq+YcZl1Dq/hNs7HsfF ETVugGQiThIClccVAtgW6L/MqJHWFPNI33sSLc3W1kx26dzFXP3EppilGGY20SnP1jhk lMmM4dRFaly9Pkg7aV3nKo5skx4CTJWijcfwxpJRm5tG8uLaE9zoqwCvIH3YjuhAsqlT 0DYr2RrMD2mRY+mCrgjOZ3aeRo9BvZi63jNyyp6uf54CAIlf6g4Na0i7SmAvq32ucAdP +tyhDQ9gsj+9BErXVaF63bk4B1H1A4+r5b7RLca1W8pf9ei6lmv61aw2g3msbF1o/xbM elgw== 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:organization; bh=sbMxYmXQWsUlXcq2F3btYfCFdTgURU2zzCieQl6FfWA=; b=EmpfBLchwreONboIrY6ieEe3n5PSg0aV4lYG/VynrFKQdMR0hitTF232ih5rpqe9WU 6qLhCIyYBy1dgx7FYUnOlFGn8fDTN+0q9TQmOzP+QG77lNJV5iPLKuEglQngyx7SPt1Z JVWAzBDqpsJJVR9hDwF7QYCImp2ReogUaqBNzWFq9JDNKM3eX8YvGE0hqoZPzdyTpe1c RcXrcKGq4F/K2pqcGyIEedsKS+T24zVK6b/KhTwQ6i05u87vpq+ghEQ58RsmFELH+esU GQ90cgyoCeRLUosKkIe51HhxtbwC/nq9DXRHlhY78ItD8FwAB1KLgTVyDMLR2CEsZEBm XyCA== X-Gm-Message-State: AA6/9Rni4TEpbfsU35FNN098JYxGjjybAbHTzFomZ77FWnixDsP0SWmEyXajJKyOsAduMw== X-Received: by 10.31.197.2 with SMTP id v2mr5057181vkf.32.1476896761383; Wed, 19 Oct 2016 10:06:01 -0700 (PDT) Received: from monster.lab.ossystems.com.br ([187.23.155.148]) by smtp.gmail.com with ESMTPSA id o12sm16041995vka.19.2016.10.19.10.05.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 19 Oct 2016 10:06:00 -0700 (PDT) From: Fabio Berton To: meta-freescale@yoctoproject.org Date: Wed, 19 Oct 2016 15:05:02 -0200 Message-Id: <1476896702-16446-3-git-send-email-fabio.berton@ossystems.com.br> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1476896702-16446-1-git-send-email-fabio.berton@ossystems.com.br> References: <1476896702-16446-1-git-send-email-fabio.berton@ossystems.com.br> Organization: O.S. Systems Software LTDA. Subject: [meta-fsl-arm-extra][PATCH 3/3] imx6dl-riotboard: Migrate to use wic image creator tool 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: Wed, 19 Oct 2016 17:06:16 -0000 Use wic image creator tool instead of image_types_fsl class to create sdcard images. wic uses imx-uboot.wks file and this new layout has only one partition, so all files will be installed on the same partition. We need to set MACHINE_ESSENTIAL_EXTRA_RDEPENDS to install kernel image and devitree and u-boot to root part, set wic.gz as IMAGE_FSTYPES and set correct WKS_FILES. Signed-off-by: Fabio Berton --- conf/machine/imx6dl-riotboard.conf | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/conf/machine/imx6dl-riotboard.conf b/conf/machine/imx6dl-riotboard.conf index 5e5bf71..cba0c2e 100644 --- a/conf/machine/imx6dl-riotboard.conf +++ b/conf/machine/imx6dl-riotboard.conf @@ -13,3 +13,15 @@ PREFERRED_PROVIDER_virtual/kernel ?= "linux-fslc" KERNEL_DEVICETREE = "imx6dl-riotboard.dtb" SERIAL_CONSOLE = "115200 ttymxc1" + +MACHINE_ESSENTIAL_EXTRA_RDEPENDS += " \ + kernel-image \ + kernel-devicetree \ + u-boot-fslc \ +" + +WKS_FILES ?= "imx-uboot.wks" + +IMAGE_DEPENDS_wic_append = " virtual/bootloader" + +IMAGE_FSTYPES = "wic.gz" -- 2.1.4