Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 1079CE00E6F; Thu, 14 Apr 2016 12:28:58 -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,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.192.42 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail-qg0-f42.google.com (mail-qg0-f42.google.com [209.85.192.42]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 944C3E00CB5 for ; Thu, 14 Apr 2016 12:28:54 -0700 (PDT) Received: by mail-qg0-f42.google.com with SMTP id j35so69291893qge.0 for ; Thu, 14 Apr 2016 12:28:54 -0700 (PDT) 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:organization; bh=Ln+Xq8S8hVvBdS/CAF99atjabyhHFVfkA0rw1gH6R+o=; b=CrYQNbHrjSRVKgC/oi3zmjKtZaXKSLty7M3nJJDgcDoLOv1kU0obtrJzLpSlAh3O/v zcO3QLv+NVSfFm1avcLLF6Fr1ZTlSM0pzsSWd94McfUxOTW1CzLwRhChgyrWhvegNkxt T+zhvK70/AlUOBN2FZWqSbD5INZ6oB7n0+wUMwWx2XVoconwfJVE4uhB5ZAh2/dLf2Lj G2uYlsrPcDVgBFSbxXJSlAykSkrDwjj2orLwtfEIWRu9EqTHbmwgxKN2tpw2QqjQ2or2 36DKC1ZAeF2qElbrJfdeLAUtlcW9Mad4umgNuzN8B9QcyJaSKauACgupaw7WPeMRouhn fcEw== X-Gm-Message-State: AOPr4FWljdDC+GTTme11ctizFk4YsZnIO0UlYnM03Y0bwQVjP4zIOSeSJcLRyT+jQIJChw== X-Received: by 10.140.168.85 with SMTP id o82mr21036736qho.16.1460662132908; Thu, 14 Apr 2016 12:28:52 -0700 (PDT) Received: from localhost ([187.23.154.250]) by smtp.gmail.com with ESMTPSA id r18sm10682520qhb.35.2016.04.14.12.28.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Apr 2016 12:28:51 -0700 (PDT) Received: by localhost (sSMTP sendmail emulation); Thu, 14 Apr 2016 16:28:47 -0300 From: Otavio Salvador To: meta-freescale Mailing List Date: Thu, 14 Apr 2016 16:28:45 -0300 Message-Id: <1460662125-14459-1-git-send-email-otavio@ossystems.com.br> X-Mailer: git-send-email 2.8.0 Organization: O.S. Systems Software LTDA. Cc: Otavio Salvador Subject: [meta-fsl-arm][PATCH] mfgtool-initramfs-image.bbclass: Fix parsing when using a barebox based machine 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: Thu, 14 Apr 2016 19:28:58 -0000 When building for cfa100xx machines, for meta-fsl-arm-extra, the parsing is aborted with: ,---- | ERROR: No IMAGE_CMD defined for IMAGE_FSTYPES entry | 'barebox.mxsboot-sdcard' - possibly invalid type name or missing | support class | ERROR: Failed to parse recipe: | .../sources/meta-fsl-arm/recipes-fsl/images/fsl-image-mfgtool-initramfs.bb `---- This error was caused by the image not providing all the filesystem types as in fact it generates a Gzipped CPIO filesystem and does not inherit the default ones. To solve the error we ought to include the override for 'mxs' SoC family so the right setting is used as well in this set of SoCs. Change-Id: If6e657793ed7af07decac217f6b3371fad1f521c Signed-off-by: Otavio Salvador --- classes/mfgtool-initramfs-image.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/classes/mfgtool-initramfs-image.bbclass b/classes/mfgtool-initramfs-image.bbclass index dee3137..42792f6 100644 --- a/classes/mfgtool-initramfs-image.bbclass +++ b/classes/mfgtool-initramfs-image.bbclass @@ -4,7 +4,7 @@ # image provides the utilities which are used, in the target, during # the process and receive the commands from the MfgTool application. # -# Copyright 2014 (C) O.S. Systems Software LTDA. +# Copyright 2014, 2016 (C) O.S. Systems Software LTDA. DEPENDS += "u-boot-mfgtool linux-mfgtool" @@ -13,6 +13,7 @@ FEATURE_PACKAGES_extfs = "packagegroup-fsl-mfgtool-extfs" FEATURE_PACKAGES_f2fs = "packagegroup-fsl-mfgtool-f2fs" IMAGE_FSTYPES = "cpio.gz.u-boot" +IMAGE_FSTYPES_mxs = "cpio.gz.u-boot" IMAGE_ROOTFS_SIZE ?= "8192" IMAGE_CLASSES = "image_types_uboot" -- 2.8.0