How to for Renesas MPU (RZ/G2L family)ΒΆ

To get more information on EVerest and Renesas hardware, see here: https://www.renesas.com/en/products/microcontrollers-microprocessors/rz-mpus/rz-partner-solutions/pionix-basecamp

Here is how to set it up and run an EVerest simulation:

  1. Clone the rz-community-bsp repo: https://github.com/renesas-rz/rz-community-bsp.git

  2. Apply the patch necessary to build everest-core. You can find the patch here: Patch file

  3. Start the kas-container menu to configure the environment:

    1. Run ./kas-container menu

    2. Select the device RZ/G2L

    3. Save & Exit

  4. Start kas-shell with ./kas-container shell and install dependencies:

    1. Run sudo apt-get update

    2. Run sudo apt-get install -y python3.11 python3.11-dev

  5. Edit the file /work/poky/meta/recipes-devtools/elfutils/elfutils_0.186.bb to add the following line:

    CFLAGS:append = " -Wno-error=deprecated-declarations"
    
  6. Start the build using:

    bitbake renesas-image-minimal

    Once the build is complete, exit the shell.

  7. Flash the hardware with the instructions in the RZ/G2L startup guide: Evaluation Board Kit Quick Start Guide

    The generated images/binaries will be present in:

    built/tmp/deploy/images/smarc-rzg2l
    
  8. Start EVerest with:

    /usr/bin/manager --conf /etc/everest/config-sil.yaml
    

If everything has been set up correctly, you will now be able to run simulation steps with EVerest. See the Quick Start Guide for more information.

To go further and implement your own customized EVerest modules, have a look at the EVerest module concept documentation.


Authors: Manuel Ziegler