R-Car

From eLinux.org
Revision as of 11:07, 22 February 2017 by Cogente (talk | contribs)
Jump to: navigation, search

Jump to R-Car boards pages Arrow Right-Down.svg


 * Alt
 * Blanche
 * BOCK-W
 * Gose
 * Koelsch
 * Lager
 * Marzen
 * Porter
 * Wheat
 * Salvator-X
 * SILK
 * ADAS Starter Kit (Stout)
 * ADAS Surround View Kit
 * R-Car Starter Kit Pro
 * R-Car Starter Kit Premier
 *  R-Car ADAS View Solution Kit


Introduction

This is starting page for Embedded Linux on Renesas R-Car family of automotive embedded SoCs. Main goal is to make information on R-Car SoCs friendly, easy to access for embedded developers, enthusiasts. It does not aim to replace official Renesas support.

Links below could be used to get familiar with Renesas Automotive SoCs and R-Car Concortia:

Detailed information regarding R-Car SoCs (including roadmap, technical and marketing documents, BSPs and middleware) can be obtained directly from Renesas representative.

R-Car SoCs

Renesas R-Car SoC variants (Generations)
Generation 1 Generation 2 Generation 3
"H" - Premium/High end H1 - R8A7779 H2 - R8A7790 H3 - R8A7795 (or R8J7795)
"M" - Mid range M1A - R8A7778
  • M2-W - R8A7791
  • M2-N - R8A7793
M3-W - R8A7796
"E" - Entry class E1 E2 - R8A7794
"V" - ADAS V2H - R8A7792

The R-Car devices pages lists the peripheral devices available in the R-Car SoCs along with usage information and test procedures.

R-Car Boards

Generation 1

Renesas R-Car Gen1 evaluation boards
Standard Low Cost Boards (LCB)
R-Car H1 Marzen Geuze
R-Car M1A BOCK-W Milan
R-Car E1 Silverstone

Generation 2

Renesas R-Car Gen2 evaluation boards
Standard Low Cost Boards (LCB)
R-Car H2 Lager 65px-Stout top.png
ADAS Starter Kit (Stout)
ADAS Surround View Kit
R-Car M2-W Koelsch 65px-Porter top.png
Porter
R-Car M2-N Gose
R-Car E2 Alt 65px-Silk top.png
SILK
R-Car V2H Blanche 65px-Wheat top.png
Wheat

Generation 3

Renesas R-Car Gen3 evaluation boards
Standard Low Cost Boards (LCB)
R-Car H3 Salvator-X R-Car Starter Kit Premier
R-Car M3-W Salvator-X R-Car Starter Kit Pro

R-Car Linux

Upstream

Renesas mainline R-Car Linux tree is maintained by Simon Horman

Start here to get latest/closest upstream kernel: git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git

e.g. pull development branch: git clone -b devel git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git

Branches

  • next
    • Patches queued up for the forthcoming Kernel release
    • This is included in net-next and complies with its rules
    • It is a feeder for submissions (pull requests) to the ARM-SoC maintainers
    • It is generally based on the latest rc1 release but may be based on a later rc release in order to provide a working kernel for ARM (32-bit) and ARM64 based Renesas SoCs.
  • devel
    • All patches queued up for submission to the ARM-SoC maintainers
    • This is a feeder for the next branch and allows patches to be queued up during times when updates to the next branch are not appropriate
    • Based on a merge of the next branch and the latest rc or full release
  • *-for-vX.Y
    • Individual patch-queues for the ARM-SoC maintainers as per their requirements for patches to be broken out into branches
    • Patches are targeted at kernel version X.Y
    • Merged into next or devel
  • topic/*
    • Branches for specific new features
    • Pushed when the features are under review of otherwise not queued up for submission to the ARM-SoC maintainers
  • other
    • Temporary branches typically for testing purposes

Hardware Support Status (Incomplete)

R-Car Community

Archives available here: http://dir.gmane.org/gmane.linux.kernel.renesas-soc , http://www.spinics.net/lists/linux-renesas-soc/

LTSI (Long Term Support Initiative)

Renesas SoCs and boards are supported as part of LTSI project - http://ltsi.linuxfoundation.org/ . Refer to 4.1.17-LTSI and 3.14.28-LTSI.

Renesas R-Car Gen 2 BSP Tree

Renesas R-Car Gen 2 BSP Tree located at: git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas-backport.git. Check out the latest R-Car Gen 2 BSP release tag.

for example: rcar-gen2/v1.9.7

Renesas R-Car Gen 3 BSP Tree

Renesas R-Car Gen 2 BSP Tree located at: git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas-bsp.git. Check out the latest R-Car Gen 3 BSP release tag.

for example: rcar-3.2.1

R-Car U-Boot

R-Car U-Boot mainline development is done using git://git.denx.de/u-boot-sh.git tree. It is maintained by Nobuhiro Iwamatsu.

e.g. pull renesas/bsp/rcar-gen2-1.8.0 branch and build U-Boot for Lager/Koelsch/Alt boards
git clone -b renesas/bsp/rcar-gen2-1.8.0  git://git.denx.de/u-boot-sh.git

build example

make O=/tmp/build clean
make O=/tmp/build mrproper
make O=/tmp/build gose_config
make O=/tmp/build all

R-Car Yocto

Renesas Yocto/Poky distribution is maintained by Nobuhiro Iwamatsu.

To get started with Yocto on R-Car Gen2 platform - pull git://git.yoctoproject.org/meta-renesas tree

If you pulled complete Yocto/poky trees, you should be able to kick-off a build using the 'oe-init-build-env' script in Poky. Update bblayers.conf by adding the meta-renesas and meta-rcar-gen2 layer. e.g.:

       BBLAYERS ?= " \
               <path to layer>/poky/meta \
               <path to layer>/poky/meta-yocto \
               <path to layer>/poky/meta-yocto-bsp \
               <path to layer>/meta-renesas \
               <path to layer>/meta-renesas/meta-rcar-gen2 \
       "

To build a specific target BSP configure the associated machine in local.conf:

       MACHINE ?= "<supported board name>" (lager, koelsch, gose, alt)

Build the target file system image using bitbake:

       $ bitbake core-image-minimal

R-Car Automotive Grade Linux

Automotive Grade Linux (AGL) is a Linux Foundation Workgroup dedicated to creating open source software solutions for automotive applications. AGL is based on Yocto project for its construction and R-Car Porter board can be used to start an AGL distribution. Please check this page.

R-Car Genivi

GENIVI® is a nonprofit industry alliance committed to driving the broad adoption of specified, open source, In-Vehicle Infotainment (IVI) software. Source: http://www.genivi.org/

As a service to the community Renesas maintains a git repository containing a R-Car Yocto BSP with the changes required for the standard Yocto BSP to work with the Genivi Yocto Baseline and Genivi Development Platform (GDP) already integrated. It is supported on a best effort basis.

You can find more information about building the Genivi Yocto Baseline for various Genivi versions in the Alliance pages for meta-ivi here. Information on building GDP for R-Car M2 Porter can be found here and E2 Silk here.

R-Car Tizen

TBD Renesas R-Car Tizen is already available via tizen.org trees. Add detailed instructions how to get started with Tizen for R-Car

R-Car Android

TBD This section will be added later