<?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>1914</bug_id>
          
          <creation_ts>2012-01-18 02:01:09 +0000</creation_ts>
          <short_desc>modify the tune files of ppc targets</short_desc>
          <delta_ts>2014-05-05 20:16:47 +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-oe-core</component>
          <version>1.5</version>
          <rep_platform>Other</rep_platform>
          <op_sys>ppc</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Liming Wang">liming.wang</reporter>
          <assigned_to name="Khem Raj">raj.khem</assigned_to>
          <cc>dvhart</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>mark.hatle</cc>
    
    <cc>raj.khem</cc>
    
    <cc>sgw</cc>
    
    <cc>yp.bsp.watcher</cc>
    
    <cc>yp.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>18202</commentid>
    <comment_count>0</comment_count>
    <who name="Liming Wang">liming.wang</who>
    <bug_when>2012-01-18 02:01:09 +0000</bug_when>
    <thetext>Some ppc targets need suitable tune files to be built, such as qemuppc, mpc8315e-rdb.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21418</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2012-05-17 20:11:35 +0000</bug_when>
    <thetext>I believe all of the needed PowerPC tunings are in place:

powerpc - classic PPC, hard float
powerpc-nf - classic PPC, soft-float

powerpc64 - classic PPC64, hard float

ppc603e - PPC 603e, hard float

ppce300c2 - PPC e300c2, soft float
ppce500 - PPC e500v1, Single Precision SPE, soft float
ppce500v2 - PPC e500v2, Double Precision SPE, soft float

ppce500mc - PPC e500mc, hard float

ppce5500 - PPC e5500, hard float

ppce550064 - PPC64 e5500, hard float

---

What additional tunings are needed?  The qemuppc is fine w/ powerpc or ppc603e.  The mpc8315 is also fine w/ the 603e, but if someone wanted a ppce300c1 or c3 we could add it as necessary.  (c1/c3 are basically 603e cores..)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23965</commentid>
    <comment_count>2</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2012-08-13 15:24:41 +0000</bug_when>
    <thetext>If there is any additional issues, please re-open this</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35661</commentid>
    <comment_count>3</comment_count>
    <who name="Khem Raj">raj.khem</who>
    <bug_when>2013-08-14 21:55:41 +0000</bug_when>
    <thetext>we use mac99 emulation for qemuppc, mac99 is essentially a G4 platform which means the 603e tunes are not exactly right for it. big difference I see is FPU is 64bit on ppc74xx whereas 603e has 32bit and additionally it has Altivec.

I am reopening this bug to track activities if we have to add a new tune to match
mac99 platform.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35670</commentid>
    <comment_count>4</comment_count>
    <who name="Khem Raj">raj.khem</who>
    <bug_when>2013-08-15 14:01:03 +0000</bug_when>
    <thetext>I have sent out a patch to add new appropriate tune files. it also needs a altivec to be enabled in kernel which I have already asked Bruce to add. once these two changes are in I will send out another patch to switch the default tune for qemuppc.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43125</commentid>
    <comment_count>5</comment_count>
    <who name="Khem Raj">raj.khem</who>
    <bug_when>2014-05-05 20:16:47 +0000</bug_when>
    <thetext>This has been fixed long ago by

commit 9b5572b8014f23747f18a7e0ca30c7094c524920
Author: Khem Raj &lt;raj.khem@gmail.com&gt;
Date:   Thu Aug 15 10:35:27 2013 -0700

    qemuppc: Change default tune to 74xx
    
    We use mac99 as platform for qemuppc
    lets choose a tuning thats appropriate for it
    
    Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
    Signed-off-by: Saul Wold &lt;sgw@linux.intel.com&gt;

commit 52ea026df141ea23bbab38ad3a9733c15097eaa4
Author: Liming Wang &lt;liming.wang@windriver.com&gt;
Date:   Wed Jan 4 18:29:17 2012 +0800

    qemuppc: replace emulation of qemuppc from prep to mac99
    
    With this new emulation, existing qemuppc functionality is maintained
    and other functionality such as framebuffer + sato and NFS boot are
    added.
    
    Signed-off-by: Liming Wang &lt;liming.wang@windriver.com&gt;
    Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>