<?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>9813</bug_id>
          
          <creation_ts>2016-06-23 06:35:05 +0000</creation_ts>
          <short_desc>Strange kernel image for qemumips and qemumips64 in deploy directory</short_desc>
          <delta_ts>2020-03-23 01:33:33 +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>OE-Core</product>
          <component>kernel</component>
          <version>2.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>OBSOLETE</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>4.99</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yi Zhao">yi.zhao</reporter>
          <assigned_to name="Yi Zhao">yi.zhao</assigned_to>
          <cc>jose.perez.carranza</cc>
    
    <cc>ke.zou</cc>
    
    <cc>kexin.hao</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>stephano</cc>
    
    <cc>tom.zanussi</cc>
    
    <cc>yi.zhao</cc>
          
          <qa_contact name="Yi Zhao">yi.zhao</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>Regression (Used to work)</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>63272</commentid>
    <comment_count>0</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2016-06-23 06:35:05 +0000</bug_when>
    <thetext>Git rev: master/6f0c5537e02c59e1c8f3b08f598dc049ff8ee098

Steps:
Build kernel for qemumips or qemumips64:
$ bitbake linux-yocto

Check the kernel image in tmp/deploy directory:
######################################
$ ls vmlinux*
vmlinux                                                                    vmlinux.bin
vmlinux--4.4.13+git0+870134f4bf_b1f51ad1d4-r0-qemumips-20160622143250.bin  vmlinux.bin--4.4.13+git0+870134f4bf_b1f51ad1d4-r0-qemumips-20160622143250.bin
vmlinux-qemumips.bin                                                       vmlinux.bin-qemumips.bin
#######################################

Looks like there are 2 kernel images:
vmlinux--4.4.13+git0+870134f4bf_b1f51ad1d4-r0-qemumips-20160622143250.bin
and vmlinux.bin--4.4.13+git0+870134f4bf_b1f51ad1d4-r0-qemumips-20160622143250.bin.

The first one is the real kernel image:

$ file vmlinux--4.4.13+git0+870134f4bf_b1f51ad1d4-r0-qemumips-20160622143250.bin
vmlinux--4.4.13+git0+870134f4bf_b1f51ad1d4-r0-qemumips-20160622143250.bin: ELF 32-bit MSB executable, MIPS, MIPS32 version 1 (SYSV), statically linked, BuildID[sha1]=73c8d754c24a7fb75394312646190bdf3aee7a74, not stripped


But the latter one is not a kernel image:

$ file vmlinux.bin--4.4.13+git0+870134f4bf_b1f51ad1d4-r0-qemumips-20160622143250.bin 
vmlinux.bin--4.4.13+git0+870134f4bf_b1f51ad1d4-r0-qemumips-20160622143250.bin: data

This issue also happens on qemumips64.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64518</commentid>
    <comment_count>1</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2016-07-27 06:00:05 +0000</bug_when>
    <thetext>This issue still happens on 2.2 M2 RC1 build
Git rev: master/36feb38045b7a2af86ece147fec54b0db3bf491f</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69677</commentid>
    <comment_count>2</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2017-01-10 20:40:30 +0000</bug_when>
    <thetext>Moving to M3. 

It is unlikely I&apos;ll have cycles to look into this .. so if someone else wants to grab it, that would be excellent.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75856</commentid>
    <comment_count>3</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2017-08-15 14:17:01 +0000</bug_when>
    <thetext>Still no cycles. moving to m4.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79919</commentid>
    <comment_count>4</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2018-03-22 08:23:53 +0000</bug_when>
    <thetext>Zhe, Please check if this is a problem for master.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86761</commentid>
    <comment_count>5</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2020-03-19 15:07:46 +0000</bug_when>
    <thetext>Yi, Does this still happen?</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>