Skip to end of metadata
Go to start of metadata

 Table of Contents


The purpose of this document is to explain how to quickly setup the hardware and install the GENIVI Dev Platform (GDP) on the Renesas R-Car (Gen 3) M3 Starter Kit.

Renesas R-Car M3 Starter Kit

General hardware, setup and support information can be found on


Installing the gfx/mmp packages into the Yocto BSP

Download the Click-through licenses Linux Drivers and Gfx/MMP packages.  (Current version is for Yocto BSP v2.23-for Weston2.0 (WARNING: there is another one NOT for Weston 2.0).  The latest version can change in the future so beware that this could be out of date!)  

Each release has two ZIP files, one for the kernel space drivers (R-Car_Gen3_Series_Evaluation_Software_Package_of_Linux_Drivers-*.zip), one for the userland drivers (R-Car_Gen3_Series_Evaluation_Software_Package_for_Linux-*.zip).

1) Put them into a folder for which you have write access.

(Previous versions needed to be unzipped, but this is now done by the copyscript itself)

2) To install them into the correct place in the Yocto BSP a copy script is used.
$ cd <path to Yocto BSP>/renesas-rcar-gen3

If you have the click-through packages (no NDA):

$ sh meta-rcar-gen3/docs/sample/copyscript/ -f <path to the folder containing the packages>

If you have the Evaluation packages (with NDA):

$ sh meta-rcar-gen3/docs/sample/copyscript/ <path to the folder containing the packages>

Building GDP Master

Instructions for building GDP Master for the M3 Starter Kit can be found in the section for that board on the GDP Master wiki page.


On the host

The built GDP files can be found in the directory gdp-src-build/tmp/deploy/images/<machine name>

  1. Format storage device (USB stick or SD card) in ext3 format.
  2. Mount storage device
  3. Expand the rootfs onto the storage device, e.g. from the USB root directory:
    sudo tar --numeric-owner --preserve-permissions --preserve-order --totals -xvf <path to genivi-dev-*.tar.bz2> .
  4. Copy the DTB to the rootfs boot directory on the storage device:

    cd boot
    sudo cp <path to GDP file>/Image-r8a7796-m3ulcb.dtb .

On the board

This section gives some example u-boot environments for different scenarios.

General settings:

setenv ipaddr
setenv serverip
setenv netmask
setenv gatewayip
setenv ethaddr <eth address from the label on the board, e.g. 2e:09:0a:01:99:07>

setenv dtb Image-r8a7796-m3ulcb.dtb

Boot from USB:

setenv bootargs_usb 'rw root=/dev/sda1 rootfstype=ext3 rootwait'
setenv bootcmd_usb 'usb start;ext4load usb 0:1 0x48080000 boot/Image;ext4load usb 0:1 0x48000000 /boot/${dtb};booti 0x48080000 - 0x48000000'
setenv bootcmd run bootcmd_usb

Boot from SD:

setenv bootargs_sd0 'rw root=/dev/mmcblk1p1 rootfstype=ext3 rootwait'
setenv booti_cmd 'booti 0x48080000 - 0x48000000'
setenv bootcmd_sd0 'set bootargs ${bootargs_sd0};ext2load mmc 0:1 0x48080000 /boot/Image;ext2load mmc 0:1 0x48000000 /boot/${dtb};run booti_cmd'
setenv bootcmd run bootcmd_sd0

Boot from NFS:

bootargs=root=/dev/nfs rw nfsroot= ip=
bootcmd=tftp 0x48080000 Image; tftp 0x48000000 Image-r8a7796-m3ulcb.dtb; booti 0x48080000 - 0x48000000

Related articles

There is no content with the specified labels