Difference between revisions of "RZ-G"

From eLinux.org
Jump to: navigation, search
m
m
Line 1: Line 1:
'''<span style="color:#008000;">Jump to RZ-G boards pages</span>''' <sub>[[File:Arrow Right-Down.svg|19px|frameless]]</sub>
+
'''<span style="color:#008000;">Jump to RZ/G boards pages</span>''' <sub>[[File:Arrow Right-Down.svg|19px|frameless]]</sub>
  
 
[[File:65px-G1M_top.png|65px|link=RZ-G/Boards/SK-RZG1M]]<br/>[[RZ-G/Boards/SK-RZG1M |RZ/G1M Starter Kit]]
 
[[File:65px-G1M_top.png|65px|link=RZ-G/Boards/SK-RZG1M]]<br/>[[RZ-G/Boards/SK-RZG1M |RZ/G1M Starter Kit]]
Line 9: Line 9:
 
= Introduction =  
 
= Introduction =  
  
This is the starting page for Embedded Linux on the Renesas RZ-G family of general embedded SoCs. The main goal is to make the information about RZ-G SoCs friendly, easy to access for embedded developers and enthusiasts. It does not aim to replace official Renesas support.
+
This is the starting page for Embedded Linux on the Renesas RZ/G family of embedded SoCs. The main goal is to make the information about RZ/G SoCs friendly, easy to access for embedded developers and enthusiasts. It does not aim to replace official Renesas support.
  
The links below could be used to get familiar with Renesas RZ-G SoC
+
The links below can be used to get familiar with Renesas RZ/G SoC
*[http://www.renesas.com/products/mpumcu/rz/rzg/index.jsp Renesas RZ-G overview]
+
*[http://www.renesas.com/products/mpumcu/rz/rzg/index.jsp Renesas RZ/G overview]
  
Detailed information regarding RZ-G SoCs (including roadmap, technical and marketing documents, BSPs and middleware) can be obtained directly from a Renesas representative.
+
Detailed information regarding RZ/G SoCs (including roadmap, technical and marketing documents, BSPs and middleware) can be obtained directly from a Renesas representative.
  
= RZ-G SoCs =
+
= RZ/G SoCs =
 
{| class="wikitable"
 
{| class="wikitable"
|+ Renesas RZ-G SoC variants
+
|+ Renesas RZ/G SoC variants
 
|-
 
|-
 
|
 
|
Line 30: Line 30:
 
|}
 
|}
  
= RZ-G Boards =
+
= RZ/G Boards =
  
 
== Generation 1 ==
 
== Generation 1 ==
  
 
{| class="wikitable"
 
{| class="wikitable"
|+ Renesas RZ-G evaluation boards
+
|+ Renesas RZ/G evaluation boards
 
|-
 
|-
 
|
 
|
Line 48: Line 48:
 
|}
 
|}
  
= RZ-G Linux =
+
= RZ/G Yocto Linux =
  
== Upstream ==
+
The Linux BSP for RZ/G is built using the Yocto/Openembedded project. For detailed build instructions please visit [[RZ-G/Boards/Yocto]].
  
Renesas mainline R-Car and RZ-G Linux tree is maintained by [http://horms.org/about_me.shtml Simon Horman]
+
<br/>Quick steps:<br/>
 +
To get started, pull the https://github.com/renesas-rz/meta-renesas tree.
  
Start here to get latest/closest upstream kernel:
+
Update bblayers.conf by adding the the meta-renesas and meta-rzg1 layers. e.g.:
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
+
        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-rzg1 \
 +
        "
  
== RZ-G Community==
+
Specify the associated machine in local.conf:
*Mailing list - via kernel.org [mailto:majordomo@vger.kernel.org?body=subscribe linux-sh Majordomo].
 
Archives available here: http://marc.info/?l=linux-sh , http://dir.gmane.org/gmane.linux.ports.sh.devel , http://www.spinics.net/lists/linux-sh/
 
  
== LTSI (Long Term Support Initiative) ==
+
        MACHINE ?= "<supported board name>" (skrzg1m skrzg1e)
  
Renesas SoCs and boards are supported as part of the LTSI project - http://ltsi.linuxfoundation.org/ . Refer to [http://ltsi.linuxfoundation.org/releases/ltsi-tree/3.10.31-ltsi/stable-release 3.10] and [http://ltsi.linuxfoundation.org/releases/ltsi-tree/3.14.24-rc1-ltsi/release-candidate 3.14] baselines
+
Setup be build environment using the 'oe-init-build-env' script in Poky:
  
== Renesas Stable RZ-G BSP Tree ==
+
        $ source poky/oe-init-build-env
  
Stable Renesas R-Car and RZ-G BSP Tree located here: git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas-backport.git. Pull latest stable branch.
+
Build the target file system image using bitbake:
  
for example: bsp/v3.10.31-ltsi/rcar-gen2-1.8.0
+
        $ bitbake core-image-minimal
  
= RZ-G U-Boot =
+
= RZ/G Linux Kernel =
  
RZ-G U-Boot mainline development is done using git://git.denx.de/u-boot-sh.git tree. It is maintained by Nobuhiro Iwamatsu.
+
== Upstream ==
  
e.g. pull the renesas/bsp/rcar-gen2-1.8.0 branch and build U-Boot for the RZ/G1E and RZ/G1M Starter Kit boards
+
The Linux kernel mainline tree for Renesas R-Car and RZ/G SoCs is maintained by [http://horms.org/about_me.shtml Simon Horman]
git clone -b renesas/bsp/rcar-gen2-1.8.0  git://git.denx.de/u-boot-sh.git
 
  
build example
+
Start here to get latest/closest upstream kernel:
make O=/tmp/build clean
+
git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git
make O=/tmp/build mrproper
 
make O=/tmp/build gose_config
 
make O=/tmp/build all
 
  
= RZ-G Yocto =
+
== RZ/G Community==
 +
*Mailing list - via kernel.org [mailto:majordomo@vger.kernel.org?body=subscribe linux-sh Majordomo].
 +
Archives available here: http://marc.info/?l=linux-sh , http://dir.gmane.org/gmane.linux.ports.sh.devel , http://www.spinics.net/lists/linux-sh/
  
Renesas Yocto/Poky distribution is maintained by Nobuhiro Iwamatsu.
+
== LTSI (Long Term Support Initiative) ==
  
To get started with Yocto on the RZ-G platform - pull the https://github.com/renesas-rz/meta-renesas tree
+
Renesas SoCs and boards are supported as part of the LTSI project - http://ltsi.linuxfoundation.org/ . Refer to [http://ltsi.linuxfoundation.org/releases/ltsi-tree/3.10.31-ltsi/stable-release 3.10] and [http://ltsi.linuxfoundation.org/releases/ltsi-tree/3.14.24-rc1-ltsi/release-candidate 3.14] baselines
 
 
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 the meta-renesas and meta-rzg1 layers. e.g.:
 
  
        BBLAYERS ?= " \
+
== Renesas Stable RZ/G Linux Tree ==
                <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-rzg1 \
 
        "
 
  
To build a specific target BSP configure the associated machine in local.conf:
+
Stable Renesas R-Car and RZ/G Linux tree located here: git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas-backport.git. Pull latest stable branch.
  
        MACHINE ?= "<supported board name>" (skrzg1m skrzg1e)
+
for example: bsp/v3.10.31-ltsi/rcar-gen2-1.9.7
  
Build the target file system image using bitbake:
+
= RZ/G U-Boot =
  
        $ bitbake core-image-minimal
+
RZ/G U-Boot mainline development is done using git://git.denx.de/u-boot-sh.git tree. It is maintained by Nobuhiro Iwamatsu.
  
For more information about building Yocto for Renesas please visit [[RZ-G/Boards/Yocto]]
+
for example: renesas/bsp/rcar-gen2-1.9.4
  
= RZ-G Android =
+
= RZ/G Android =
  
 
TBD
 
TBD

Revision as of 10:59, 14 December 2016

Jump to RZ/G boards pages Arrow Right-Down.svg

65px-G1M top.png
RZ/G1M Starter Kit

65px-G1E top.png
RZ/G1E Starter Kit

Introduction

This is the starting page for Embedded Linux on the Renesas RZ/G family of embedded SoCs. The main goal is to make the information about RZ/G SoCs friendly, easy to access for embedded developers and enthusiasts. It does not aim to replace official Renesas support.

The links below can be used to get familiar with Renesas RZ/G SoC

Detailed information regarding RZ/G SoCs (including roadmap, technical and marketing documents, BSPs and middleware) can be obtained directly from a Renesas representative.

RZ/G SoCs

Renesas RZ/G SoC variants
Generation 1
"M" - Mid range 1M - R8A7743
"E" - Entry class 1E - R8A7745

RZ/G Boards

Generation 1

Renesas RZ/G evaluation boards
Low Cost Boards (LCB)
RZ/G1M 65px-G1M top.png
RZ/G1M Starter Kit
RZ/G1E 65px-G1E top.png
RZ/G1E Starter Kit

RZ/G Yocto Linux

The Linux BSP for RZ/G is built using the Yocto/Openembedded project. For detailed build instructions please visit RZ-G/Boards/Yocto.


Quick steps:
To get started, pull the https://github.com/renesas-rz/meta-renesas tree.

Update bblayers.conf by adding the the meta-renesas and meta-rzg1 layers. 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-rzg1 \
       "

Specify the associated machine in local.conf:

       MACHINE ?= "<supported board name>" (skrzg1m skrzg1e)

Setup be build environment using the 'oe-init-build-env' script in Poky:

       $ source poky/oe-init-build-env

Build the target file system image using bitbake:

       $ bitbake core-image-minimal

RZ/G Linux Kernel

Upstream

The Linux kernel mainline tree for Renesas R-Car and RZ/G SoCs 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

RZ/G Community

Archives available here: http://marc.info/?l=linux-sh , http://dir.gmane.org/gmane.linux.ports.sh.devel , http://www.spinics.net/lists/linux-sh/

LTSI (Long Term Support Initiative)

Renesas SoCs and boards are supported as part of the LTSI project - http://ltsi.linuxfoundation.org/ . Refer to 3.10 and 3.14 baselines

Renesas Stable RZ/G Linux Tree

Stable Renesas R-Car and RZ/G Linux tree located here: git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas-backport.git. Pull latest stable branch.

for example: bsp/v3.10.31-ltsi/rcar-gen2-1.9.7

RZ/G U-Boot

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

for example: renesas/bsp/rcar-gen2-1.9.4 

RZ/G Android

TBD