User Tools

Site Tools


civilinfrastructureplatform:cipreferencehardware:iwg20m:iwg20mbuildinstructions

This is an old revision of the document!


Renesas RZ/G1M iwg20m build instructions (WIP)

How to build the Kernel only

TODO

How to build the full iwg20m BSP from Renesas

This section contains information on how to build a CIP based Yocto BSP for the Renesas RZ/G1M iWave Qseven development kit (iwg20m).

Full instructions can be found in the “Yocto Start-Up Guide” that can be downloaded from the Renesas RZ/G Marketplace:
https://mp.renesas.com/en-eu/rzg/marketplace/document/R01US0227EJ.html

Supported Linux Host Distributions

Ubuntu 14.04 LTS

Build Steps

1. Install the required host packages

$  sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat libsdl1.2-dev xterm

2. Download the required files (poky, meta-openembedded, meta-linaro, meta-renesas) by git-clone

$  export WORK=<path-to-your-working-directory>
$  mkdir $WORK
$  cd $WORK
$  git clone git://git.yoctoproject.org/poky
$  git clone git://git.openembedded.org/meta-openembedded
$  git clone git://git.linaro.org/openembedded/meta-linaro.git
$  git clone https://github.com/renesas-rz/meta-renesas

3. Checkout correct revisions

$  cd $WORK/poky
$  git checkout -b tmp 3b223f75eec1738fbc913858e8e11c8305e3edcb
$  cd $WORK/meta-openembedded
$  git checkout -b tmp dc5634968b270dde250690609f0015f881db81f2
$  cd $WORK/meta-linaro
$  git checkout -b tmp 12993e6bc8658ee37d303d8d59007f8dd9ab2b30
$  cd $WORK/meta-renesas
$  git checkout certified-linux-v2.0.6

4. Install proprietary software packages (graphics, multi-media)

Download packages (Kernel version CIP3) from the RZ/G Marketplace:
America: https://mp.renesas.com/en-us/rzg/marketplace/linux_package/rzg-mlp-pro.html
Europe: https://mp.renesas.com/en-eu/rzg/marketplace/linux_package/rzg-mlp-pro.html
Asia: https://mp.renesas.com/en-sg/rzg/marketplace/linux_package/rzg-mlp-pro.html
Japan: https://mp.renesas.com/ja-jp/rzg/marketplace/linux_package/rzg-mlp-pro.html

$  mkdir $WORK/proprietary
$  cp RZG_Series_Evaluation_Software_Package* $WORK/proprietary
$  cd $WORK/proprietary
$  cd $WORK/meta-renesas/meta-rzg1
$  sh copy_mm_software_lcb.sh  $WORK/proprietary
$  sh copy_gfx_software_rzg1m.sh  $WORK/proprietary

5. Execute source command

$  cd $WORK
$  source poky/oe-init-build-env

6. Copy build configuration files

$  cp $WORK/meta-renesas-ai-demos/meta-qt5-object-recognition-demo/templates/iwg20m/* $WORK/build/conf/

7. Build with bitbake

$  cd $WORK/build
$  bitbake core-image-weston

NOTE: The build may TAKE several hours to complete depending on the Linux Host PC performance and the network environment.

Build Output

Once the build is completed, the Kernel, device tree and RFS are located in $WORK/build/tmp/deploy/images/iwg20m.

How to build/use the SDK

TODO

civilinfrastructureplatform/cipreferencehardware/iwg20m/iwg20mbuildinstructions.1538570881.txt.gz · Last modified: 2018/10/03 12:48 by patersonc