An overview of the setup to configure your R-Car development board is described in this section but does not aim to provide a comprehensive set of steps for your hardware version.
The Elinux wiki R-Car section provides instructions for your hardware setup.
Depending on what board you have available, setup instructions can be found on the ELinux wiki.
Follow the ELinux instructions for how to set up your hardware. Particularly
of note is the
cmemdrv.bsize setting which must be set to
0x10000000 for the H3.
Example boot argument for H3 StarterKit:
setenv bootargs 'console=ttySC0,115200 root=/dev/mmcblk0p1 rootwait consoleblank log_buf_len=1M cmemdrv.bsize=0x10000000'
Yocto build instructions can be found on the ELinux wiki here.
Important Notes For Building
Add the following lines below to the file build/meta-rcar/meta-rcar-gen3-adas/conf/layer.conf
# IMP IMAGE_INSTALL_append_rcar-gen3 += " \ kernel-module-uio-imp \ kernel-module-cmemdrv \ udev-rules-cvlib \ "
If using the R-Car H3 board, in the section "Building the BSP for Renesas ADAS boards" use the changelist "fe9bb2675a86d1c9816c8c45e685ef276255f6b7"
Required packages on Debian based systems.
sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib \ build-essential chrpath socat libsdl1.2-dev xterm python-crypto
Multimedia and graphics drivers can be found on the Renesas website. Graphic drivers are required for Wayland. Multimedia drivers are optional.
Building the SDK
After building the Yocto BSP, to get the poky cross compilation toolchain follow these steps from the ELinux wiki.
For version 2.1.3 the toolchain install script generated would be called
poky-glibc-x86_64-core-image-minimal-aarch64-toolchain-2.1.3.sh and is located