Bug 10659 - Support for ARC baremetal toolchain for Zephyr images
Summary: Support for ARC baremetal toolchain for Zephyr images
Status: RESOLVED FIXED
Alias: None
Product: Other YP Layers
Classification: Build System, Metadata & Runtime
Component: meta-zephyr (show other bugs)
Version: 2.3
Hardware: x86 Multiple
: Medium+ enhancement
Target Milestone: 2.3 M2
Assignee: Juro Bystricky
QA Contact:
URL:
Whiteboard:
Depends on: 10655
Blocks:
  Show dependency tree
 
Reported: 2016-11-14 23:25 UTC by Juro Bystricky
Modified: 2017-01-23 20:27 UTC (History)
0 users

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Yes (doc changes required)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Juro Bystricky 2016-11-14 23:25:22 UTC
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.
Comment 1 Juro Bystricky 2016-11-22 23:08:03 UTC
There is support for ARC toolchain in Zephyr SDK, so it should be straightforward to re-use the recipes.
Comment 2 Juro Bystricky 2016-11-22 23:23:20 UTC
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.
Comment 3 Juro Bystricky 2017-01-10 22:48:29 UTC
I did manage to cross-compile a zephyr image for ARC CPU, in particular the sample "philosophers" for Arduino 101 board. Other ARC board will be eventually supported as well (EM Starter Kit).