[yocto] [meta-zephyr][PATCH 0/7] Consolidated pull

Juro Bystricky juro.bystricky at intel.com
Sat Jan 14 11:01:46 PST 2017


This patchset consolidates various fixes and improvements in meta-zephyr.
Notably, it implements support for the Arduino 101 Board. This board contains
a SoC with two CPU cores: Intel MCU ("lakemont") and a Synopsys ARC core.
To support the board, two new toolchains needed to be built as well: One for
Intel IAMCU and one for ARC, none of which is nativelly supported by oe-embedded.
The IAMCU toolchain is built usig standard upstream repositories, but the ARC toolchain
needs to be built using Synopsys ARC repos.
To build Zephyr images for this board, two new MACHINES were implemented:

$ MACHINE=arduino-101 bitbake xxx      : build image for IAMCU core
$ MACHINE=arduino-101-sss bitbake xxx  : build image for ARC core

In general, each BOARD supported by Zephyr needs a corresponding MACHINE
in meta-zephyr. There is a 1:1 mapping between these two, except for some
minor naming discrepancies.

This patch series also contains definitions for a new MACHINE=qemu-cortex-m3,
corresponding to Zephyr BOARD=qemu_cortex_m3.

The patch series was successfully tested with real harware, where the resulting
images were flashed and functioned as expected (kudos to Henry Bruce).



Juro Bystricky (7):
  qemu-cortex-m3: new MACHINE
  zephyr-kernel: refactor common code
  meta-zephyr: Select BOARD via MACHINE
  arduino-101: New MACHINE
  meta-zephyr: Support for ARC toolchain
  arduino-101-sss: New MACHINE
  zephyr-philosophers: also deploy binary image

 README.txt                                         | 12 +--
 conf/distro/machine/include/tune-cortexm3.inc      | 20 -----
 conf/distro/zephyr.conf                            |  6 --
 conf/machine/arduino-101-sss.conf                  | 18 +++++
 conf/machine/arduino-101.conf                      | 10 +++
 conf/machine/include/tune-arc.inc                  | 34 +++++++++
 conf/machine/include/tune-cortexm3.inc             | 20 +++++
 conf/machine/include/tune-iamcu.inc                | 19 +++++
 conf/machine/qemu-cortex-m3.conf                   | 11 +++
 lib/oeqa/utils/qemuzephyrrunner.py                 |  2 +-
 recipes-devtools-arc/binutils/binutils-2.26arc.inc | 37 +++++++++
 .../binutils/binutils-cross-canadian_2.26arc.bb    |  7 ++
 .../binutils/binutils-cross_2.26arc.bb             |  5 ++
 .../cbd8e54244cd02bdcf4f1057be3ce96631f35ac3.patch | 83 ++++++++++++++++++++
 recipes-devtools-arc/gcc/gcc-6.x.arc.inc           | 88 ++++++++++++++++++++++
 .../gcc/gcc-cross-canadian_6.x.arc.bb              |  8 ++
 recipes-devtools-arc/gcc/gcc-cross_6.x.arc .bb     | 11 +++
 recipes-devtools-arc/gcc/gcc-source_6.x.arc.bb     |  2 +
 recipes-devtools-arc/gcc/libgcc_6.x.arc.bb         | 14 ++++
 recipes-kernel/zephyr-kernel/zephyr-image.inc      | 21 +-----
 .../zephyr-kernel/zephyr-kernel-common.inc         | 30 ++++++++
 recipes-kernel/zephyr-kernel/zephyr-kernel.inc     |  4 -
 .../zephyr-kernel/zephyr-philosophers.bb           | 26 +------
 .../zephyr-getchar/zephyr-getchar_git.bb           | 16 +---
 24 files changed, 408 insertions(+), 96 deletions(-)
 delete mode 100644 conf/distro/machine/include/tune-cortexm3.inc
 create mode 100644 conf/machine/arduino-101-sss.conf
 create mode 100644 conf/machine/arduino-101.conf
 create mode 100644 conf/machine/include/tune-arc.inc
 create mode 100644 conf/machine/include/tune-cortexm3.inc
 create mode 100644 conf/machine/include/tune-iamcu.inc
 create mode 100644 conf/machine/qemu-cortex-m3.conf
 create mode 100644 recipes-devtools-arc/binutils/binutils-2.26arc.inc
 create mode 100644 recipes-devtools-arc/binutils/binutils-cross-canadian_2.26arc.bb
 create mode 100644 recipes-devtools-arc/binutils/binutils-cross_2.26arc.bb
 create mode 100644 recipes-devtools-arc/gcc/files/cbd8e54244cd02bdcf4f1057be3ce96631f35ac3.patch
 create mode 100644 recipes-devtools-arc/gcc/gcc-6.x.arc.inc
 create mode 100644 recipes-devtools-arc/gcc/gcc-cross-canadian_6.x.arc.bb
 create mode 100644 recipes-devtools-arc/gcc/gcc-cross_6.x.arc .bb
 create mode 100644 recipes-devtools-arc/gcc/gcc-source_6.x.arc.bb
 create mode 100644 recipes-devtools-arc/gcc/libgcc_6.x.arc.bb
 create mode 100644 recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc

-- 
2.7.4




More information about the yocto mailing list