background image

 

 

R01US0556EJ0102  Rev.1.02 

 

Page 1 of 37 

Jun. 17, 2022 

 

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) 

o

 

RZ/G2LC SMARC Module Board (P/N: RTK9744C22C01000BE) 

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/G2

UL

 Evaluation 

board Kit (smarc-rzg2ul).

 

 

R01US0556EJ0102 

Rev.1.02 

Jun. 17, 2022 

Содержание RZ/G2L

Страница 1: ...C Series Carrier Board P N RTK97X4XXXB00000BE RZ G2LC reference board RZ G2LC Evaluation Board Kit smarc rzg2lc 2 o RZ G2LC SMARC Module Board P N RTK9744C22C01000BE 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 Pa...

Страница 2: ...ard Kit for RZ G2UL MPU will be called RZ G2UL Evaluation Kit in the next section 4 RZ V2L Evaluation Board Kit PMIC includes the RZ V2L SMARC Module Board and the RZ SMARC Series Carrier Board 5 RZ Five Evaluation board Kit includes the RZ Five SMARC Module Board and the RZ SMARC Series Carrier Board The Evaluation board Kit for RZ Five MPU will be called RZ Five Evaluation Kit in the next sectio...

Страница 3: ... 3 Settings 10 1 3 Booting Flash Writer 12 1 4 Writing Bootloader 14 1 5 Create a microSD card to boot Linux 16 1 6 Setting U boot 21 2 Appendix 24 2 1 Preparing Flash Writer 24 2 1 1 Preparing cross compiler 24 2 1 2 Building Flash Writer 25 2 2 How to distinguish each board 27 2 3 How to replace the SMARC Module Board 28 2 4 How to connect the Parallel to HDMI Conversion board for RZ G2UL Evalua...

Страница 4: ...er Linux kernel Image smarc rzg2l bin Device tree file Image r9a07g044l2 smarc dtb Boot loader bl2_bp smarc rzg2l_pmic srec fip smarc rzg2l_pmic srec Flash Writer Flash_Writer_SCIF_RZG2L_SMARC_PMIC_DDR4_2GB_1PCS mot RZ G2LC Linux kernel Image smarc rzg2lc bin Device tree file Image r9a07g044c2 smarc dtb Boot loader bl2_bp smarc rzg2lc srec fip smarc rzg2lc srec Flash Writer Flash_Writer_SCIF_RZG2L...

Страница 5: ...2LC RZ G2UL RZ V2L and RZ Five Pin no4 of the SW11 is used to control the input voltage from power charger to 5V or 9V Please use a 5V setting as initial setting Please select boot mode as below figures Currently we support 2 modes in 4 modes SCIF Download mode and QSPI Boot mode eSD Boot mode will be supported by the future update Please select input voltage setting as below SW11 4 Input voltage ...

Страница 6: ...on the SMARC module is exclusive Renesas SMARC RZ G2UL Evaluation kit smarc rzg2ul and RZ Five Evaluation kit smarc rzfive Please set the SW1 settings to follows The SW1 1 is used to select the JTAG debug mode or not JTAG is not used to in the procedure for booting up RZ G2UL and RZ Five Group Board Support Package so please set SW1 1 to normal operation mode The SW1 2 is used to select the eMMC o...

Страница 7: ...FF Select eMMC memory ON Select microSD card The selection of microSD slot and eMMC on the SMARC module is exclusive SW1 3 Ether0 CAN0 CAN1 SSI1 RSPI1 selection OFF CAN0 CAN1 PMOD0 Type 2A PMOD Type 6 ON Ether0 1 1 4 How to use debug serial console ouput Please connect USB Type microAB cable to CN14 CN14 USB Type microAB Connector Connect to PC ...

Страница 8: ...ame location as RZ V2L Evaluation Board Kit PMIC version 1 2 1 Power supply 1 Connect USB PD Power Charger to USB Type C Connector CN6 2 LED1 VBUS Power ON and LED3 Module PWR On lights up 3 Press the power button SW9 to turn on the power Note When turn on the power press and hold the power button for 1 second When turn off the power press and hold the power button for 2 seconds 4 LED4 Carrier PWR...

Страница 9: ...s serial terminal software Table 2 File names of Boot loader Board File name of Boot loader RZ G2L Evaluation Board Kit PMIC version bl2_bp smarc rzg2l_pmic srec fip smarc rzg2l_pmic srec RZ G2LC Evaluation Board Kit bl2_bp smarc rzg2lc srec fip smarc rzg2lc srec RZ G2UL Evaluation Board Kit bl2_bp smarc rzg2ul srec fip smarc rzg2ul srec RZ V2L Evaluation Board Kit PMIC version bl2_bp smarc rzv2l_...

Страница 10: ...le according to the Release Note 1 Bring up the terminal software and select the File New Connection to set the connection on the software 2 Select the Setup Serial port to set the settings about serial communication protocol on the software Set the settings about serial communication protocol on a terminal software as below Speed 115200 bps Data 8bit Parity None Stop bit 1bit Flow control None ...

Страница 11: ...02 Rev 1 02 Page 11 of 37 Jun 17 2022 3 To set the board to SCIF Download mode set the SW11 as below please refer 2 1 2 SW11 1 2 3 4 OFF ON OFF ON 4 After finished all settings when pressed the reset button SW10 the messages below are displayed on the terminal 3 Press the Blue button ...

Страница 12: ... 3 below to know which file name of Flash Writer should be sent Table 3 File names of Flash Writer Board name File name of Flash Writer RZ G2L Evaluation Board Kit PMIC version Flash_Writer_SCIF_RZG2L_SMARC_PMIC_DDR4_2GB_1PCS mot RZ G2LC Evaluation Board Kit Flash_Writer_SCIF_RZG2LC_SMARC_DDR4_1GB_1PCS mot RZ G2UL Evaluation Board Kit Flash_Writer_SCIF_RZG2UL_SMARC_DDR4_1GB_1PCS mot RZ V2L Evaluat...

Страница 13: ...n 17 2022 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 Flash writer for RZ V2 Series V1 02 Nov 15 2021 Product Code RZ V2L ...

Страница 14: ...ess Qspi Save Address Please Input Program Top Address Please Input H 11E00 Please Input Qspi Save Address Please Input H 00000 Work RAM H 50000000 H 53FFFFFF Clear please send CR stop load Send the data of bl2_bp 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 SPI Data Clear H ...

Страница 15: ...rd by changing the SW11 Table 4 Address for sending each loader binary file RZ G2L Evaluation Board Kit PMIC version File name Address to load to RAM Address to save to ROM bl2_bp smarc rzg2l_pmic srec 11E00 00000 fip smarc rzg2l_pmic srec 00000 1D200 RZ G2LC Evaluation Board Kit File name Address to load to RAM Address to save to ROM bl2_bp smarc rzg2lc srec 11E00 00000 fip smarc rzg2lc srec 0000...

Страница 16: ... microSD card to Linux Host PC with USB adapter 3 Check the device name which is associated to the microSD card lsblk NAME MAJ MIN RM SIZE RO TYPE MOUNTPOINT sda 8 0 0 30 9G 0 disk sda1 8 1 0 512M 0 part boot efi sda2 8 2 0 1K 0 part sda5 8 5 0 30 3G 0 part sdb 8 16 1 29 7G 0 disk sdb1 8 17 1 29 7G 0 part sr0 11 0 1 1024M 0 rom The message above shows the card associated with the dev sdb Be carefu...

Страница 17: ...tions Select default p p Partition number 1 4 default 1 First sector 2048 62333951 default 2048 Last sector sectors or size K M G T P 2048 62333951 default 6233395 1 500M Created a new partition 1 of type Linux and of size 500 MiB Partition 1 contains a vfat signature Do you want to remove the signature Y es N o Y The signature will be removed by a write command Command m for help n Partition type...

Страница 18: ...bytes 512 bytes Disklabel type dos Disk identifier 0x6b6aac6e Device Boot Start End Sectors Size Id Type dev sdb1 2048 1026047 1024000 500M b W95 FAT32 dev sdb2 1026048 62333951 61307904 29 2G 83 Linux 6 Format and mount the partitions If the partitions were automatically mounted after the step 4 please unmount them according to the step 3 Then format the partitions using the command below sudo mk...

Страница 19: ... dev snip dev sdb1 510984 16 510968 1 media user A299 E6A6 dev sdb2 30041556 45080 28447396 1 media user rootfs Copy kernel and device tree file to the first partition cp WORK build tmp deploy images board Linux kernel media user A299 E6A 6 cp 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 ...

Страница 20: ...l2 smarc dtb root filesystem image name smarc rzg2l tar bz2 RZ G2LC Linux kernel Image smarc rzg2lc bin Device tree file Image r9a07g044c2 smarc dtb root filesystem image name smarc rzg2lc tar bz2 RZ G2UL Linux kernel Image smarc rzg2ul bin Device tree file Image r9a07g043u11 smarc dtb root filesystem image name smarc rzg2ul tar bz2 RZ V2L Linux kernel Image smarc rzv2l bin Device tree file Image ...

Страница 21: ... 2021 10 Mar 31 2022 03 57 20 0000 CPU Renesas Electronics K rev 14 15 Model smarc rzg2l DRAM 1 9 GiB MMC sd 11c00000 0 sd 11c10000 1 Loading Environment from MMC OK In serial 1004b800 Out serial 1004b800 Err serial 1004b800 Net eth0 ethernet 11c20000 Hit any key to stop autoboot 0 Following the messages above many warning messages will be shown These warnings are eliminated by setting correct env...

Страница 22: ...rd bootcmd mmc dev 1 fatload mmc 1 1 0x48080000 Linux kernel fatload mmc 1 1 0x48000000 Device tree booti 0x48080000 0x48000000 Note The setting above assumes the SD card has two partitions and stores data as below First partition formatted as FAT includes Image smarc rzv2l bin and Image r9a07g054l2 smarc dtb Second partition formatted as ext4 rootfs image is expanded Set microSD card to slot on c...

Страница 23: ... read in 5 ms 7 2 MiB s Moving Image from 0x48080000 to 0x48200000 end 49290000 Flattened Device Tree blob at 48000000 Booting using the fdt blob at 0x48000000 Loading Device Tree to 0000000057ff3000 end 0000000057fff299 OK Starting kernel 0 000000 Booting Linux on physical CPU 0x0000000000 0x412fd050 0 000000 Linux version 5 10 83 cip1 yocto standard oe user oe host aa rc Poky Yocto Project Refer...

Страница 24: ...ease get cross compiler built by Linaro or setup a Yocto SDK ARM toolchain cd wget https developer arm com media Files downloads gnu a 10 2 2020 11 bi nrel gcc arm 10 2 2020 11 x86_64 aarch64 none elf tar xz tar xvf gcc arm 10 2 2020 11 x86_64 aarch64 none elf tar xz Yocto SDK Build an SDK according to Release Notes and install it to a Linux Host PC Then enable the SDK as below source opt poky 3 1...

Страница 25: ...cc arm 10 2 2020 11 x86_64 aarch64 none elf bin export CROSS_COMPILE aarch64 none elf export CC CROSS_COMPILE gcc export AS CROSS_COMPILE as export LD CROSS_COMPILE ld export AR CROSS_COMPILE ar export OBJDUMP CROSS_COMPILE objdump export OBJCOPY CROSS_COMPILE objcopy make clean make BOARD board Yocto SDK make clean make BOARD board Please replace board to a proper option according to this table T...

Страница 26: ... the GitHub repository and checkout the branch rz_g2l cd git clone https github com renesas rz rzg2_flash_writer git cd rzg2_flash_writer git checkout rz_five Build Flash Writer as an s record file by the following commands Please specify a target board by BOARD option export PATH PATH opt riscv bin make clean make BOARD RZFIVE_SMARC After above steps Flash_Writer_SCIF_RZFIVE_SMARC mot is generate...

Страница 27: ...L23GBG RZ V2L R9A07G054L23GBG Comparison of RZ G2L Evaluation Board Kit and RZ G2LC Evaluation Board Kit RZ G2L Evaluation Kit RZ G2LC Evaluation Kit IC1 RZ G2L R9A07G044L23GBG RZ G2LC R9A07G054GBG IC7 MT40A1G16KD 062E E 2GB MT40A512M16LY 062EIT E 1GB IC23 Ethernet PHY KSZ9131RNXC Not mounted CN1 10 pin connector for ADC Not mounted SW1 2bit bus switch 6bit bus switch Comparison of RZ G2UL Evaluat...

Страница 28: ... follows 1 Remove the four screws Note The screw thread is a special shape so be careful not to crush the screw thread Please recommend to prepare a torx screwdriver which is a T6 head size 2 Remove the screw and the board will stand up at an angle Slide it out 3 Insert the replacement the board diagonally then roll the SMARC board parallel to the board and fix it with screws Specially shaped scre...

Страница 29: ... 1 02 Page 29 of 37 Jun 17 2022 2 4 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 Parallel to HDMI Conversion board CN5 FFC FPC Connector 50mm FPC ...

Страница 30: ...x finger 2 Fully insert the FPC in the connector parallel to mounting surface with the exposed conductive traces facing down 3 Rotate down the actuator until firmly closed Note The PFC must be fully inserted in the connector If not fully inserted the actuator will not close property Should this be the case lift up the actuator and repeat the process starting with Step 1 above 4 FPC Removal 1 Lift ...

Страница 31: ...oot Then EM_W command of Flash Writer is used to write boot loader binary files This command receives binary data from the serial port and writes the data to a specified address of the eMMC with information where the data should be loaded on the address of the main memory For example this part describes how to modify EXT_CSD register and write boot loader files in the case of RZ V2L Evaluation Boa...

Страница 32: ...00 Please Input Program Start Address 0 Work RAM H 50000000 H 50FFFFFF Clear please send CR stop load 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 SAVE FLASH EM_W Complete After writing two loader files normally turn off the power of the board by changing...

Страница 33: ...zv2l_pmic srec 1 00000001 11E00 fip smarc rzv2l_pmic srec 1 00000100 00000 RZ Five Evaluation Board Kit File name Partition to save to eMMC Address to save to eMMC Address to load to RAM spl smarc rzfive srec 1 00000001 11E00 fit smarc rzfive srec 1 00000100 00000 2 5 3 Create a microSD card to boot linux for eMMC boot Create a microSD card by 1 5 Create a microSD card to boot linux After finishin...

Страница 34: ...sk dev mmcblk0 Welcome to fdisk util linux 2 35 1 Changes will remain in memory only until you decide to write them Be careful before using the write command Command m for help o Created a new DOS disklabel with disk identifier 0xf3d53104 Command m for help n Partition type p primary 0 primary 0 extended 4 free e extended container for logical partitions Select default p Push the enter key Partiti...

Страница 35: ... bytes Disklabel type dos Disk identifier 0xf3d53104 Device Boot Start End Sectors Size Id Type dev mmcblk0p1 2048 1026047 1024000 500M 83 Linux dev mmcblk0p2 1026048 124321791 123295744 58 8G 83 Linux Command m for help w The partition table has been altered Calling ioctl to re read partition table Syncing disks root smarc rzv2l Format eMMC root smarc rzv2l mkfs ext4 dev mmcblk0p1 root smarc rzv2...

Страница 36: ...b800 Err serial 1004b800 Net eth0 ethernet 11c20000 Hit any key to stop autoboot 0 Set environment variables to boot from eMMC The following variables are for the RZ V2L board Please replace the file names in bootcmd according to the Release Note when you use other boards and set IP address of your Linux Host PC setenv bootargs root dev mmcblk0p2 rootwait setenv bootcmd mmc dev 1 ext4load mmc 0 1 ...

Страница 37: ...31 2022 First edition issued 1 01 Jun 6 2022 15 Modify the Table4 of RZ Five Evaluation Board Kit 16 Add instruction to format SD cards 24 Move the section Preparing Flash Writer How to distinguish each board and How to replace the SMARC Module Board to the chapter 2 Appendix 1 02 Jun 17 2022 14 Update the description in the section 1 4 31 Add the descriptions for booting from eMMC ...

Отзывы: