Skip to end of metadata
Go to start of metadata

This page describes building Genivi 13 (Orion) platforms using Renesas R-Car SoC BSPs.

Specifically the page was written for the R-Car Gen 3 SoCs: H3, M3 and E3


Contents

General (read first)

This section provides information that applies to all platforms. Information for specific platforms is covered in the following section. Please read this section first.

Yocto BSP Compatibility

The standard Renesas customer Yocto BSP meets the functional and version requirements of Genivi 13 compliance. The kernel simply needs to be configured for the requirements of the Genivi 13 platform.

At a minimum the following kernel config options are enabled:

  • FHANDLE
  • EXPERIMENTAL
  • ECRYPT_FS
  • QUOTA
  • BT
  • CGROUPS


The Genivi 13 specification does not specify a build system and instead allows the implementer the freedom to choose what fits their needs best. The Genivi implementations of the specification in the shape of the Genivi Yocto Baseline and Genivi Development Platform both use Yocto Project 2.3 (Pyro). At the time of writing the standard Yocto BSP v2.23.1 uses Yocto Project 2.1 (Krogoth). As a service to the community Renesas maintains a git repository containing a Yocto BSP with the changes required for the standard Yocto BSP to work with the Genivi Yocto Baseline (GYB) and Genivi Development Platform (GDP) already integrated. It is supported on a best effort basis.

Here are the details:

PurposeRepository locationBranch
Community Yocto BSP supporthttps://github.com/slawr/meta-renesas.gitpyro

Adapt community Yocto BSP (meta-renesas) to Genivi Yocto Baseline (meta-ivi)

https://github.com/slawr/meta-ivi-renesas.gitgenivi-13

Note: Starting with support for YP 2.3 (Pyro) the Genivi Yocto BSP has been split into two layers, meta-renesas a community Yocto BSP providing Yocto support and meta-ivi-renesas to adapt the Yocto BSP to the needs of the Genivi Yocto Baseline. For a more detailed explanation please see the blog.

Specific Genivi Platforms

This section provides information for specific Genivi platforms such as the Genivi Baselines.

Genivi Development Platform (GDP)

R-Car Generation 3

Instructions for building and deploying GDP on the R-Car H3/M3 Starter Kit and H/3M3 Salvator-X boards are maintained in the GDP-13 and GDP Master wiki pages.

Issues are maintained in the Genivi JIRA GDP project.

Genivi Yocto Baseline (GYB)

For those familiar with Yocto and the GYB you can find the Orion Renesas Yocto BSP details for Gen 3 in the table below. At the time of writing they have been successfully tested with meta-ivi 13.0.0 (O-1.0).

Steps:

1) Clone and checkout Genivi Yocto Baseline repositories

See the meta-ivi Readme.md for details.

2) Clone and checkout the Renesas Genivi Yocto BSP and meta-linaro toolchain layers.

Note: It should be possible to use the Yocto Project, rather than Linaro, gcc toolchain if you prefer but that has not been tested.

3) Obtain and install the Renesas R-Car Graphics and Multimedia packages

4) You can now follow the build instructions in the meta-ivi Readme.md.

4a) Export TEMPLATECONF to pick up correct configuration for the build

export TEMPLATECONF=/full/path/to/meta-ivi/meta-ivi/conf

4b) Run the following command:

> $ source poky/oe-init-build-env 

BBLAYERS += " \

  ${TOPDIR}/../meta-renesas/meta-rcar-gen3 \

  ${TOPDIR}/../meta-openembedded/meta-oe \

      ${TOPDIR}/../meta-openembedded/meta-filesystems \
      ${TOPDIR}/../meta-linaro/meta-linaro-toolchain \
      ${TOPDIR}/../meta-linaro/meta-optee \
      ${TOPDIR}/../meta-ivi-renesas \
   "

M3 Starter Kit
Local.conflink

At the time of writing meta-ivi does not add the weston-init package required to start weston using systemd to the rootfs by default. If you would like to run gfx applications, such as the wayland ivi-extension mock navigation application, please add the following line to your local.conf so weston-init is added:

    IMAGE_INSTALL_append = " weston-init"

4d) Build nostromo-image including GENIVI 13 (Orion) components

> $ bitbake orion-image