<?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>10659</bug_id>
          
          <creation_ts>2016-11-14 23:25:22 +0000</creation_ts>
          <short_desc>Support for ARC baremetal toolchain for Zephyr images</short_desc>
          <delta_ts>2017-01-23 20:27:45 +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>Other YP Layers</product>
          <component>meta-zephyr</component>
          <version>2.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</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>2.3 M2</target_milestone>
          <dependson>10655</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Juro Bystricky">juro.bystricky</reporter>
          <assigned_to name="Juro Bystricky">juro.bystricky</assigned_to>
          
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>68302</commentid>
    <comment_count>0</comment_count>
    <who name="Juro Bystricky">juro.bystricky</who>
    <bug_when>2016-11-14 23:25:22 +0000</bug_when>
    <thetext>Zephyr images can run on various hardware platforms. Some of these do not have native yocto/oe-core support. In order to support platforms with ARC CPUs (for example Arduino 101), we need the corresponding toolchain.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68523</commentid>
    <comment_count>1</comment_count>
    <who name="Juro Bystricky">juro.bystricky</who>
    <bug_when>2016-11-22 23:08:03 +0000</bug_when>
    <thetext>There is support for ARC toolchain in Zephyr SDK, so it should be straightforward to re-use the recipes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68526</commentid>
    <comment_count>2</comment_count>
    <who name="Juro Bystricky">juro.bystricky</who>
    <bug_when>2016-11-22 23:23:20 +0000</bug_when>
    <thetext>The Zephyr SDK toolchain for ARC contains several variants of libgcc (multilib).
The library that is actually used (being linked in) is selected via gcc command line arguments. The BSP for ARC contains only trivial tunes. We may have to implement all available tunes for ARC in order to be able  to reproduce the Zephyr binaries.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69694</commentid>
    <comment_count>3</comment_count>
    <who name="Juro Bystricky">juro.bystricky</who>
    <bug_when>2017-01-10 22:48:29 +0000</bug_when>
    <thetext>I did manage to cross-compile a zephyr image for ARC CPU, in particular the sample &quot;philosophers&quot; for Arduino 101 board. Other ARC board will be eventually supported as well (EM Starter Kit).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70044</commentid>
    <comment_count>4</comment_count>
    <who name="Juro Bystricky">juro.bystricky</who>
    <bug_when>2017-01-23 20:27:45 +0000</bug_when>
    <thetext>meta-zephyr:
https://git.yoctoproject.org/cgit/cgit.cgi/meta-zephyr/commit/?id=f47182e4f9a3ece1ec94918c7908e2bde303c8f2</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>