background image

Reference Boards of RZ/G2H, RZ/G2M, RZ/G2N, and RZ/G2E 

Start-up Guide 

R01US0555EJ0100  Rev.1.00 

 

Page 7 of 13 

Mar. 31, 2022 

 

  Please Input : H'

000000

 

Work RAM(H'50000000-H'53FFFFFF) Clear.... 
please send ! ('.' & CR stop load) 

 

Send the data of “bootparam_sa0.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'FF) Check :H'00000000-H'00007FFF Erasing. 
........Erase Completed 
SAVE SPI-FLASH....... 
======= Qspi  Save Information  ================= 
 SpiFlashMemory Stat Address : H'00000000 
 SpiFlashMemory End Address  : H'00000E67 
=========================================================== 

 

SPI Data Clear(H'FF) Check : H'00000000-0000FFFF,Clear OK?(y/n) 

In case a message to prompt to clear data like above, please enter “y”. 

Write all necessary files using the addresses listed at Table 1 and turn off the power of the board by changing the 
SW2402. 

 
Table 1. Addresses for each file 

File name 

Address to load to RAM 

Address to save to ROM 

bootparam_sa0.srec 

E6320000 

000000 

bl2-hihope-rzg2h.srec  or 
bl2-hihope-rzg2m.srec  or 
bl2-hihope-rzg2n.srec 

E6304000 

040000 

cert_header_sa6.srec 

E6320000 

180000 

bl31-hihope-rzg2h.srec  or 
bl31-hihope-rzg2m.srec  or 
bl31-hihope-rzg2n.srec 

44000000 

1C0000 

tee-hihope-rzg2h.srec or  
tee-hihope-rzg2m.srec or  
tee-hihope-rzg2n.srec 

44100000 

200000

 

u-boot-elf-hihope-rzg2m.srec  or 
u-boot-elf-hihope-rzg2n.srec 

50000000 

300000 

 

 

1.4 

Setting U-boot 

To set the board to SPI Boot mode, set the SW1002 as below: 

 

 

Summary of Contents for RZ/G2E

Page 1: ...ash ROM on the board using the Flash Writer or the Mini Monitor provided by Renesas This document explains the way to write these files using the Flash Writer Target RZ G2 Group reference boards Hoperun Technology HiHope RZ G2H platform hihope rzg2h Hoperun Technology HiHope RZ G2M platform hihope rzg2m Hoperun Technology HiHope RZ G2N platform hihope rzg2n Silicon Linux RZ G2E evaluation kit EK87...

Page 2: ...echnology HiHope RZ G2 HMN platform hihope rzg2h hihope rzg2m hihope rzg2n 4 1 1 Preparation 4 1 1 1 Building files to write 4 1 1 2 Settings 4 1 2 Booting Flash Writer 5 1 3 Writing Bootloader 6 1 4 Setting U boot 7 2 Silicon Linux RZ G2E evaluation kit EK874 9 2 1 Preparation 9 2 1 1 Building files to write 9 2 1 2 Settings 9 2 2 Booting Flash Writer 9 2 3 Writing Bootloader 10 2 4 Setting U boo...

Page 3: ...ch64 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 14 environment setup aarch64 poky linux 1 2 Building Flash Writer Get source codes of Flash Writer from the GitHub repository and checkout the latest tag cd git clone https github com renesas rz rzg2_flash_writer git cd rzg2_flash_writer git checkout ...

Page 4: ...M or bl2 hihope rzg2n srec RZ G2N cert_header_sa6 srec bl31 hihope rzg2h srec RZ G2H or bl31 hihope rzg2m srec RZ G2M or bl31 hihope rzg2n srec RZ G2N u boot elf hihope rzg2h srec RZ G2H or u boot elf hihope rzg2m srec RZ G2M or u boot elf hihope rzg2n srec RZ G2N 1 1 2 Settings Connect between the board and a control PC by USB serial cable according to the Release Note Set the settings about seri...

Page 5: ... on the terminal SCIF Download mode w o verification C Renesas Electronics Corp Load Program to SystemRAM please send Send an image of Flash Writer AArch64_Flash_writer_SCIF_DUMMY_CERT_E6300400_hihope mot using terminal software after the message please send is shown Below is a sample procedure with Tera Term Open a Send file dialog by selecting File Sendfile menu Then select the image to be send ...

Page 6: ...used to write binary files This command receives binary data from the serial port and write the data to specified address of the Flash ROM with information where the data should be loaded on the address of the main memory This is an example of writing bootparam_sa0 srec which should be placed to E6320000h of the main memory to 000000h of the Flash ROM xls2 Qspi writing of RZ G2 Board Command Load ...

Page 7: ...0000000 0000FFFF Clear OK y n In case a message to prompt to clear data like above please enter y Write all necessary files using the addresses listed at Table 1 and turn off the power of the board by changing the SW2402 Table 1 Addresses for each file File name Address to load to RAM Address to save to ROM bootparam_sa0 srec E6320000 000000 bl2 hihope rzg2h srec or bl2 hihope rzg2m srec or bl2 hi...

Page 8: ...the Flash ROM env default a Resetting to default environment saveenv Saving Environment to SPI Flash SF Detected w25m512jv with page size 256 B ytes erase size 4 KiB total 32 MiB Erasing SPI flash Writing to SPI flash done OK In case booting from micro SD card set environment variables using the commands below setenv bootargs root dev mmcblk0p2 rootwait setenv bootcmd fatload mmc 0 1 0x48080000 Im...

Page 9: ...cording to the Release Note 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 To set the board to SCIF Download mode set the SW12 which is placed near the micro SD card slot as below 6 5 4 3 2 1 ON ON OFF OFF OFF OFF 2 2 Booting Flash Writer Turn on the power of the board by changing the SW23 ...

Page 10: ...Reference Boards of RZ G2H RZ G2M RZ G2N and RZ G2E Start up Guide R01US0555EJ0100 Rev 1 00 Page 10 of 13 Mar 31 2022 Booting Flash Writer ...

Page 11: ...or each file File name Address to load to RAM Address to save to ROM bootparam_sa0 srec E6320000 000000 bl2 ek874 srec E6304000 040000 cert_header_sa6 srec E6320000 180000 bl31 ek874 srec 44000000 1C0000 tee ek874 rzg2e srec 44100000 200000 u boot elf ek874 srec 50000000 300000 2 4 Setting U boot To set the board to SPI Boot mode set the SW12 which is placed near the micro SD card slot as below 6 ...

Page 12: ...ev mmcblk0p2 rootwait setenv bootcmd fatload mmc 0 1 0x48080000 Image ek874 bin fatload mmc 0 1 0x48000000 r8a774c0 ek874 dtb booti 0x48080000 0x48000000 saveenv Saving Environment to SPI Flash SF Detected w25m512jv with page size 256 B ytes erase size 4 KiB total 32 MiB Erasing SPI flash Writing to SPI flash done OK Note The setting above assumes the SD card has two partitions and stores data as ...

Page 13: ...art up Guide R01US0555EJ0100 Rev 1 00 Page 13 of 13 Mar 31 2022 Website and Support Renesas Electronics Website http www renesas com Inquiries http www renesas com contact All trademarks and registered trademarks are the property of their respective owners ...

Page 14: ...Revision History Rev Date Description Page Summary 1 00 Mar 31 2022 First edition issued ...

Reviews: