<?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>5314</bug_id>
          
          <creation_ts>2013-10-04 08:30:03 +0000</creation_ts>
          <short_desc>add mips64 support to the &apos;yocto-bsp&apos; script/command</short_desc>
          <delta_ts>2014-12-15 09:01:00 +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>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>1.6</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>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>1.8 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Stoicescu Cornel">corneliux.stoicescu</reporter>
          <assigned_to name="Tom Zanussi">tom.zanussi</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</cc>
    
    <cc>yi.zhao</cc>
          
          
          <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>37603</commentid>
    <comment_count>0</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2013-10-04 08:30:03 +0000</bug_when>
    <thetext>The user should be able to create mips64 layers using the &apos;yocto-bsp&apos; command. Currently it is not possible:

cornel@NODE1:~/SSD/poky/build$ yocto-bsp list karch
Architectures available:
    i386
    mips
    powerpc
    x86_64
    arm
    qemu

Please note that &quot;mips&quot; refers to 32 bit.

Also, to make architecture of a layer more clear, please make the &quot;yocto-bsp list karch&quot; command output similar to:

cornel@NODE1:~/SSD/poky/build$ yocto-bsp create layer_name qemu
Checking basic git connectivity...
Done.

Which qemu architecture would you like to use? [default: i386]
        1) i386    (32-bit)
        2) x86_64  (64-bit)
        3) ARM     (32-bit)
        4) PowerPC (32-bit)
        5) MIPS    (32-bit)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47403</commentid>
    <comment_count>1</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2014-12-05 22:03:42 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=bf0ec702842e5cf78b96e8581d1a5f14c0d948ae</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47552</commentid>
    <comment_count>2</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2014-12-15 09:01:00 +0000</bug_when>
    <thetext>Verified with 1.8 M1 (git rev: master/b813bdebb36501500e86fea5f7e15b4b15ea0902)

The qemumips64 can build without problems. But I found the runqemu can not launch the image directly: 

$ runqemu qemumips64 ~/vmlinux-myqemumips64.bin ~/core-image-sato-myqemumips64-20141210092048.rootfs.ext3 

Continuing with the following parameters:
KERNEL: [/home/build/vmlinux-myqemumips64.bin]
ROOTFS: [/home/build/core-image-sato-myqemumips64-20141210092048.rootfs.ext3]
FSTYPE: [ext3]
Acquiring lockfile for tap1...
Setting up tap interface under sudo
Acquiring lockfile for tap0...
Error: No QEMU binary &apos;qemu-system-mips64&apos; could be found.
Set &apos;tap0&apos; nonpersistent
Releasing lockfile of preconfigured tap device &apos;tap0&apos;

I need to install qemu-system package in order to get command qemu-system-mips64 in Ubuntu host. I will file a new bug to report it.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>