<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>8945</bug_id>
          
          <creation_ts>2016-01-19 16:59:47 +0000</creation_ts>
          <short_desc>meta-fsl-arm layer fails to parse with MACHINE = &quot;imx28evk</short_desc>
          <delta_ts>2016-02-05 11:06:17 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>BSPs</product>
          <component>bsps-meta-fsl-arm</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.1 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Richard Purdie">richard.purdie</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>bogdanx.a.voiculescu</cc>
    
    <cc>otavio</cc>
          
          <qa_contact name="Bogdan Alexandru Voiculescu">bogdanx.a.voiculescu</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>57957</commentid>
    <comment_count>0</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2016-01-19 16:59:47 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/main/builders/nightly-fsl-arm/builds/603/steps/BuildImages_2/logs/stdio


You can also run generated qemu images with a command like &apos;runqemu qemux86&apos;
WARNING: Host distribution &quot;CentOS-Linux-7.1.1503&quot; has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Parsing recipes...ERROR: No IMAGE_CMD defined for IMAGE_FSTYPES entry &apos;uboot.mxsboot-sdcard&apos; - possibly invalid type name or missing support class
ERROR: Failed to parse recipe: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-fsl-arm/build/meta-fsl-arm/recipes-fsl/images/fsl-image-mfgtool-initramfs.bb

Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
program finished with exit code 1

The layer needs something like:

diff --git a/classes/mfgtool-initramfs-image.bbclass b/classes/mfgtool-initramfs-image.bbclass
index dee3137..36d5f8f 100644
--- a/classes/mfgtool-initramfs-image.bbclass
+++ b/classes/mfgtool-initramfs-image.bbclass
@@ -13,6 +13,7 @@ FEATURE_PACKAGES_extfs = &quot;packagegroup-fsl-mfgtool-extfs&quot;
 FEATURE_PACKAGES_f2fs = &quot;packagegroup-fsl-mfgtool-f2fs&quot;
 
 IMAGE_FSTYPES = &quot;cpio.gz.u-boot&quot;
+IMAGE_FSTYPES_mxs = &quot;cpio.gz.u-boot&quot;
 IMAGE_ROOTFS_SIZE ?= &quot;8192&quot;
 IMAGE_CLASSES = &quot;image_types_uboot&quot;
 
(since the IMAGE_FSTYPES override n the core overrides this otherwise, leading to a parse failures since IMAGE_CLASSES is changed to a class which doesn&apos;t include the sdcard image definition).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58241</commentid>
    <comment_count>1</comment_count>
    <who name="Otavio Salvador">otavio</who>
    <bug_when>2016-01-26 16:13:25 +0000</bug_when>
    <thetext>The proposed fix has been reworked[1] and sent for review.

1. http://patchwork.openembedded.org/patch/113775/

However, OE-Core also needs fixing as it needs to mangle the tasks name for a valid one.

This can be done using:

&lt;pre&gt;
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 3870516..797f342 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -395,9 +395,9 @@ python () {
 
         after = &apos;do_image&apos;
         for dep in typedeps[t]:
-            after += &apos; do_image_%s&apos; % dep.replace(&quot;-&quot;, &quot;_&quot;)
+            after += &apos; do_image_%s&apos; % dep.replace(&quot;-&quot;, &quot;_&quot;).replace(&quot;.&quot;, &quot;_&quot;)
 
-        t = t.replace(&quot;-&quot;, &quot;_&quot;)
+        t = t.replace(&quot;-&quot;, &quot;_&quot;).replace(&quot;.&quot;, &quot;_&quot;)
 
         d.setVar(&apos;do_image_%s&apos; % t, &apos;\n&apos;.join(cmds))
         d.setVarFlag(&apos;do_image_%s&apos; % t, &apos;func&apos;, &apos;1&apos;)
&lt;/pre&gt;

Richard is going to send a patch for OE-Core to address this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58317</commentid>
    <comment_count>2</comment_count>
    <who name="Otavio Salvador">otavio</who>
    <bug_when>2016-01-28 19:36:14 +0000</bug_when>
    <thetext>Fixed in:

http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/commit/?id=3848dc0cb4ab9f271e9654dc2271880124153466</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58635</commentid>
    <comment_count>3</comment_count>
    <who name="Bogdan Alexandru Voiculescu">bogdanx.a.voiculescu</who>
    <bug_when>2016-02-05 11:06:17 +0000</bug_when>
    <thetext>Verified on https://autobuilder.yoctoproject.org/main/builders/nightly-fsl-arm/builds/623/steps/BuildImages_2/logs/stdio</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>