Renesas RZ/G2L Startup Manual
Hide thumbs Also See for RZ/G2L:

Advertisement

Quick Links

SMARC EVK of RZ/G2L, RZ/G2LC, RZ/G2UL, RZ/V2L,
and RZ/Five
Start-up Guide
Introduction
This document provides a guide to prepare RZ/G2L, RZ/G2LC, RZ/G2UL, RZ/V2L, and RZ/Five reference boards to
boot up with the Verified Linux Package of RZ/G2L Group and the Board Support Package of RZ/V2L Group and
RZ/Five. Especially, procedures to write the bootloaders to each board are explained.
Bootloaders are written to the Flash ROM on the board using the Flash Writer tool provided by Renesas through the
minimonitor utility. This document explains the way to write these files using the Flash Writer.
After obtaining your reference board, please be sure to follow this document and write the bootloaders to the Flash
ROM before starting the evaluation.
Target Reference Board
RZ/G2L reference board
RZ/G2L Evaluation Board Kit PMIC version (smarc-rzg2l-pmic) (*1)
o
RZ/G2L SMARC Module Board (P/N: RTK9744L23C01000BE)
o
RZ SMARC Series Carrier Board (P/N: RTK97X4XXXB00000BE)
RZ/G2LC reference board
RZ/G2LC Evaluation Board Kit (smarc-rzg2lc) (*2)
RZ/G2LC SMARC Module Board (P/N: RTK9744C22C01000BE)
o
o
RZ SMARC Series Carrier Board (P/N: RTK97X4XXXB00000BE)
RZ/G2UL reference board
RZ/G2UL Evaluation board Kit (smarc-rzg2ul) (*3)
o
RZ/G2UL SMARC Module Board (P/N: RTK9743U11C01000BE)
o
RZ SMARC Series Carrier Board (P/N: RTK97X4XXXB00000BE)
o
Parallel to HDMI Conversion board (This board is included with RTK9743U11C01000BE and is not
sold separately, so a part number does not exist.)
RZ/V2L reference board
RZ/V2L Evaluation Board Kit PMIC version (smarc-rzv2l-pmic) (*4)
o
RZ/V2L SMARC Module Board (P/N: RTK9754L23C01000BE)
o
RZ SMARC Series Carrier Board (P/N: RTK97X4XXXB00000BE)
RZ/Five reference board
RZ/Five Evaluation board Kit (smarc-rzfive) (*5)
o
RZ/Five SMARC Module Board (P/N: RTK9743F01C01000BE)
o
RZ SMARC Series Carrier Board (P/N: RTK97X4XXXB00000BE)
Please refer to Appendix 2.2 and 2.3 for how to distinguish and replace each board.
Please refer to Appendix 2.4 for how to connect the Parallel to HDMI Conversion board for RZ/G2UL Evaluation
board Kit (smarc-rzg2ul).
R01US0556EJ0102 Rev.1.02
Jun. 17, 2022
R01US0556EJ0102
Rev.1.02
Jun. 17, 2022
Page 1 of 37

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RZ/G2L and is the answer not in the manual?

Questions and answers

Summary of Contents for Renesas RZ/G2L

  • Page 1 This document provides a guide to prepare RZ/G2L, RZ/G2LC, RZ/G2UL, RZ/V2L, and RZ/Five reference boards to boot up with the Verified Linux Package of RZ/G2L Group and the Board Support Package of RZ/V2L Group and RZ/Five. Especially, procedures to write the bootloaders to each board are explained.
  • Page 2 SMARC EVK of RZ/G2L, RZ/G2LC, RZ/G2UL, RZ/V2L, and RZ/Five Start-up Guide (*1) “RZ/G2L Evaluation Board Kit PMIC” includes the RZ/G2L SMARC Module Board and the RZ SMARC Series Carrier Board. (*2) “RZ/G2LC Evaluation Board Kit” includes the RZ/G2LC SMARC Module Board and the RZ SMARC Series Carrier Board.
  • Page 3: Table Of Contents

    SMARC EVK of RZ/G2L, RZ/G2LC, RZ/G2UL, RZ/V2L, and RZ/Five Start-up Guide Contents Renesas SMARC Evaluation Board kit of RZ/G2L, RZ/G2LC, RZ/G2UL, RZ/V2L, and RZ/Five ..........................4 Preparation before startup ......................4 1.1.1 Preparation of Hardware and Software ................4 1.1.2 How to set boot mode and input voltage ................
  • Page 4: Renesas Smarc Evaluation Board Kit Of Rz/G2L, Rz/G2Lc, Rz/G2Ul, Rz/V2L, And Rz/Five

    SMARC EVK of RZ/G2L, RZ/G2LC, RZ/G2UL, RZ/V2L, and RZ/Five Start-up Guide Renesas SMARC Evaluation Board kit of RZ/G2L, RZ/G2LC, RZ/G2UL, RZ/V2L, and RZ/Five Preparation before startup 1.1.1 Preparation of Hardware and Software The following environment of Hardware and Software is used in the evaluation.
  • Page 5: How To Set Boot Mode And Input Voltage

    Start-up Guide 1.1.2 How to set boot mode and input voltage Please set the SW11 settings as follows. Pin no1 to no3 of the SW11 is used to control boot mode of RZ/G2L, RZ/G2LC, RZ/G2UL, RZ/V2L, and • RZ/Five. •...
  • Page 6: How To Set Sw1

    SMARC EVK of RZ/G2L, RZ/G2LC, RZ/G2UL, RZ/V2L, and RZ/Five Start-up Guide 1.1.3 How to set SW1 Renesas SMARC RZ/G2L Evaluation kit PMIC (smarc-rzg2l-pmic), RZ/G2LC Evaluation kit (smarc-rzg2lc) and RZ/V2L Evaluation kit PMIC (smarc-rzv2l-pmic) Please set the SW1 settings to follows. •...
  • Page 7: How To Use Debug Serial (Console Ouput)

    SMARC EVK of RZ/G2L, RZ/G2LC, RZ/G2UL, RZ/V2L, and RZ/Five Start-up Guide SW1-2 SD/MMC selection Select eMMC memory Select microSD card The selection of microSD slot and eMMC on the SMARC module is exclusive SW1-3 Ether0/CAN0, CAN1, SSI1, RSPI1 selection CAN0, CAN1, PMOD0 Type-2A, PMOD Type-6 Ether0 1.1.4...
  • Page 8: Startup Procedure

    Start-up Guide Startup Procedure Hereafter, RZ/V2L Evaluation Board Kit PMIC version picture is used as a representative. If you use RZ/G2L, RZ/G2LC, RZ/G2UL, and RZ/Five Evaluation Board Kit PMIC version, you can use Connectors on same location as RZ/V2L Evaluation Board Kit PMIC version.
  • Page 9: Building Files To Write

    SMARC EVK of RZ/G2L, RZ/G2LC, RZ/G2UL, RZ/V2L, and RZ/Five Start-up Guide 1.2.2 Building files to write The evaluation boards use the files in the Table 2 as the boot loaders. Please build them according to the Release Note and copy these files to a PC which runs serial terminal software.
  • Page 10: Settings

    SMARC EVK of RZ/G2L, RZ/G2LC, RZ/G2UL, RZ/V2L, and RZ/Five Start-up Guide 1.2.3 Settings Connect between the board and a control PC by USB serial cable according to the Release Note. 1. Bring up the terminal software and select the “File” > “New Connection” to set the connection on the software.
  • Page 11 SMARC EVK of RZ/G2L, RZ/G2LC, RZ/G2UL, RZ/V2L, and RZ/Five Start-up Guide 3. To set the board to SCIF Download mode, set the SW11 as below (please refer 2.1.2): SW11 4. After finished all settings, when pressed the reset button SW10, the messages below are displayed on the terminal.
  • Page 12: Booting Flash Writer

    SMARC EVK of RZ/G2L, RZ/G2LC, RZ/G2UL, RZ/V2L, and RZ/Five Start-up Guide Booting Flash Writer Turn on the power of the board by pressing SW9. The messages below are shown on the terminal. SCIF Download mode (C) Renesas Electronics Corp. -- Load Program to SystemRAM --------------- please send ! Send an image of Flash Writer using terminal software after the message “please send !”...
  • Page 13 SMARC EVK of RZ/G2L, RZ/G2LC, RZ/G2UL, RZ/V2L, and RZ/Five Start-up Guide Then, select the image to be send and click “Open” button. The image will be sent to the board via serial connection. After successfully downloading the binary, Flash Writer starts automatically and shows a message like below on the terminal.
  • Page 14: Writing Bootloader

    SMARC EVK of RZ/G2L, RZ/G2LC, RZ/G2UL, RZ/V2L, and RZ/Five Start-up Guide Writing Bootloader For the boot operation, two boot loader files need to be written to the target board. Corresponding bootloader files and specified address information are depending on each target board as described in Table 4.
  • Page 15 SMARC EVK of RZ/G2L, RZ/G2LC, RZ/G2UL, RZ/V2L, and RZ/Five Start-up Guide Send the data of “fip-smarc-rzv2l_pmic.srec” from terminal software after the message “please send !” is shown. After successfully download the binary, messages like below are shown on the terminal.
  • Page 16: Create A Microsd Card To Boot Linux

    SMARC EVK of RZ/G2L, RZ/G2LC, RZ/G2UL, RZ/V2L, and RZ/Five Start-up Guide Create a microSD card to boot Linux To boot from SD card, over 4GB capacity of blank SD card is needed. You can use Linux Host PC to expand the kernel and the rootfs using USB card reader or other equipment.
  • Page 17 SMARC EVK of RZ/G2L, RZ/G2LC, RZ/G2UL, RZ/V2L, and RZ/Five Start-up Guide (5) Change the partition table microSD card needs two partitions as listed in Table 5. Table 5. Partitions of microSD card Type/Number Contents Size Filesystem Primary #1 500MB (minimum 128MB) FAT32...
  • Page 18 SMARC EVK of RZ/G2L, RZ/G2LC, RZ/G2UL, RZ/V2L, and RZ/Five Start-up Guide Disklabel type: dos Disk identifier: 0x6b6aac6e Device Boot Start Sectors Size Id Type /dev/sdb1 2048 1026047 1024000 500M 83 Linux /dev/sdb2 1026048 62333951 61307904 29.2G 83 Linux Filesystem/RAID signature on partition 1 will be wiped.
  • Page 19 $WORK/build/tmp/deploy/images/<board>/<Devise tree> /media/user/A299-E6A6 Expand rootfs to the second partition. $ cd /media/user/rootfs $ sudo tar jxvf $WORK/build/tmp/deploy/images/<board>/<root filesystem> Above samples are suitable only for RZ/G2L group and RZ/V2L. Please replace <board> by the name below: RZ/G2L Evaluation Board Kit: smarc-rzg2l...
  • Page 20 The file nemes of <Linux kernel>, <Devise tree>, and <root filesystem> are listed in the Table 6. Table 6. Image files for RZ/G2L, RZ/G2LC, RZ/G2UL, RZ/V2L, and RZ/Five RZ/G2L Linux kernel Image-smarc-rzg2l.bin Device tree file Image-r9a07g044l2-smarc.dtb root filesystem <image name>-smarc-rzg2l.tar.bz2...
  • Page 21: Setting U-Boot

    SMARC EVK of RZ/G2L, RZ/G2LC, RZ/G2UL, RZ/V2L, and RZ/Five Start-up Guide Setting U-boot To set the board to SPI Boot mode, set the SW11 as below: SW11 Note:- Set the SW1 on SoM module to eMMC mode. Please refer to the section 1.1.3.
  • Page 22 SMARC EVK of RZ/G2L, RZ/G2LC, RZ/G2UL, RZ/V2L, and RZ/Five Start-up Guide In case booting from micro SD card on SMARC carrier board, set environment variables using the commands below. The commands below are for the RZ/V2L board. Please replace the file names in “bootcmd” according to the Release Note when you use other boards.
  • Page 23 SMARC EVK of RZ/G2L, RZ/G2LC, RZ/G2UL, RZ/V2L, and RZ/Five Start-up Guide Loading Environment from MMC... OK serial@1004b800 Out: serial@1004b800 Err: serial@1004b800 Net: eth0: ethernet@11c20000 Hit any key to stop autoboot: switch to partitions #0, OK mmc1 is current device 16947712 bytes read in 1054 ms (15.3 MiB/s) 37530 bytes read in 5 ms (7.2 MiB/s)
  • Page 24: Appendix

    Flash Writer is built automatically when building BSP by bitbake command. Please refer to the Release Note of the RZ/G2L BSP Group, the RZ/V2L BSP, and the RZ/Five BSP to obtain a binary file of Flash Writer. If you need latest one, please get source code from the GitHub repository and build it according to the following instructions.
  • Page 25: Building Flash Writer

    SMARC EVK of RZ/G2L, RZ/G2LC, RZ/G2UL, RZ/V2L, and RZ/Five Start-up Guide 2.1.2 Building Flash Writer For SMARC Evaluation Board kit of RZ/G2L, RZ/G2LC, RZ/G2UL, and RZ/V2L Get source codes of Flash Writer from the GitHub repository and checkout the branch rz_g2l. $ cd ~/ $ git clone https://github.com/renesas-rz/rzg2_flash_writer.git...
  • Page 26 SMARC EVK of RZ/G2L, RZ/G2LC, RZ/G2UL, RZ/V2L, and RZ/Five Start-up Guide For SMARC Evaluation Board kit of RZ/Five Get source codes of Flash Writer from the GitHub repository and checkout the branch rz_g2l. $ cd ~/ $ git clone https://github.com/renesas-rz/rzg2_flash_writer.git...
  • Page 27: How To Distinguish Each Board

    SMARC EVK of RZ/G2L, RZ/G2LC, RZ/G2UL, RZ/V2L, and RZ/Five Start-up Guide How to distinguish each board The differences between each board are as follows. Comparison of RZ/G2L Evaluation Board Kit and RZ/V2L Evaluation Board Kit: RZ/G2L Evaluation Kit RZ/V2L Evaluation Kit RZ/G2L (R9A07G044L23GBG)
  • Page 28: How To Replace The Smarc Module Board

    SMARC EVK of RZ/G2L, RZ/G2LC, RZ/G2UL, RZ/V2L, and RZ/Five Start-up Guide How to replace the SMARC Module Board Please be careful when replacing the board as follows. 1. Remove the four screws. Note: The screw thread is a special shape, so be careful not to crush the screw thread.
  • Page 29: How To Connect The Parallel To Hdmi Conversion Board For Rz/G2Ul Evaluation Kit (Smarc-Rzg2Ul)

    SMARC EVK of RZ/G2L, RZ/G2LC, RZ/G2UL, RZ/V2L, and RZ/Five Start-up Guide How to connect the Parallel to HDMI Conversion board for RZ/G2UL Evaluation kit (smarc-rzg2ul) Please connect CN1 of the Parallel to HDMI Conversion board to CN5 via the 50mm FPC (228-000071-01).
  • Page 30 SMARC EVK of RZ/G2L, RZ/G2LC, RZ/G2UL, RZ/V2L, and RZ/Five Start-up Guide A termination procedure of the 50mm FPC is follows. The top and bottom surfaces of the FPC are shown below. Bottom surface Top surface 1. Lift up the actuator. Use thumb or index finger.
  • Page 31: How To Boot From Emmc

    SMARC EVK of RZ/G2L, RZ/G2LC, RZ/G2UL, RZ/V2L, and RZ/Five Start-up Guide How to boot from eMMC 2.5.1 Rebuild rootfs Build a rootfs according to Release Note. After that, please rebuild the rootfs with the below commands. $ cd ${your build directory} (ex.$ cd ~/rzv_vlp _v3.0.0...
  • Page 32 SMARC EVK of RZ/G2L, RZ/G2LC, RZ/G2UL, RZ/V2L, and RZ/Five Start-up Guide After successfully download the binary, messages like below are shown on the terminal. SAVE -FLASH..EM_W Complete! Next, write another loader file by using EM_W command again. EM_W >...
  • Page 33: Create A Microsd Card To Boot Linux For Emmc Boot

    SMARC EVK of RZ/G2L, RZ/G2LC, RZ/G2UL, RZ/V2L, and RZ/Five Start-up Guide File name Partition to save to Address to save to Address to load to eMMC eMMC bl2_bp-smarc-rzg2lc.srec 00000001 11E00 fip-smarc-rzg2lc.srec 00000100 00000 RZ/G2UL Evaluation Board Kit File name Partition to save to...
  • Page 34: Setting U-Boot And Writing Rootfs To Emmc

    SMARC EVK of RZ/G2L, RZ/G2LC, RZ/G2UL, RZ/V2L, and RZ/Five Start-up Guide 2.5.4 Setting U-boot and Writing rootfs to eMMC To set the board to eMMC Boot mode, set the SW11 as below: SW11 Note:- Set the SW1 on SoM module to eMMC mode. Please refer to the section 1.1.3.
  • Page 35 SMARC EVK of RZ/G2L, RZ/G2LC, RZ/G2UL, RZ/V2L, and RZ/Five Start-up Guide Using default response p. (Push the enter key) Partition number (2-4, default 2): (Push the enter key) First sector (1026048-124321791, default 1026048): Last sector, +/-sectors or +/-size{K,M,G,T,P} (1026048-124321791, default 1243...
  • Page 36: Setting U-Boot For Emmc Boot

    SMARC EVK of RZ/G2L, RZ/G2LC, RZ/G2UL, RZ/V2L, and RZ/Five Start-up Guide 2.5.5 Setting U-boot for eMMC boot Reset the board by pressing the reset button SW10. U-Boot 2021.10 (Apr 22 2022 - 03:04:59 +0000) CPU: Renesas Electronics K rev 16.15...
  • Page 37: Revision History

    SMARC EVK of RZ/G2L, RZ/G2LC, RZ/G2UL, RZ/V2L, and RZ/Five Start-up Guide Revision History Description Rev. Date Page Summary 1.00 Mar. 31, 2022 First edition issued. 1.01 Jun. 6, 2022 Modify the Table4 of RZ/Five Evaluation Board Kit. Add instruction to format SD cards.

This manual is also suitable for:

Rz/g2lcRz/g2ulRz/v2lRz/five

Table of Contents