RZ-G/RZ-G2L SMARC: Difference between revisions

From Renesas.info
No edit summary
Line 21: Line 21:
2. '''Build Environment''' : To build the BSP, you will need a Linux PC running Ubuntu 20.04.
2. '''Build Environment''' : To build the BSP, you will need a Linux PC running Ubuntu 20.04.


3. '''Build the BSP''' : The instructions for building the BSP are located in the "Release Note" document that is include in the BSP download.
3. '''Build the BSP''' : The instructions for building the BSP are located in the "Release Note" document that is included in the BSP download.


4. '''Prepare an SD Card''' : The evaluation boards are intended to be booted from SD Cards. These cards must be formatted and loaded using a Linux PC. A helpful script has been created ([https://github.com/renesas-rz/rzg2_bsp_scripts/tree/master/usb_sd_partition usb_sd_partition]) that you can run on your Linux PC.
4. '''Prepare an SD Card''' : The evaluation boards are intended to be booted from SD Cards. These cards must be formatted and loaded using a Linux PC. A helpful script has been created ([https://github.com/renesas-rz/rzg2_bsp_scripts/tree/master/usb_sd_partition usb_sd_partition]) that you can run on your Linux PC.
Line 42: Line 42:
</pre>
</pre>
* Insert the SD card into the socket on SMARC SOM CPU board (not the carrier board).
* Insert the SD card into the socket on SMARC SOM CPU board (not the carrier board).
* Enter the follow commands to boot the board.
* Press the blue reset button, then enter the follow commands to boot the board.
<pre>
<pre>
=> mmc dev 0 ; fatload mmc 0:1 0x48080000 Image ; fatload mmc 0:1 0x48000000 /r9a07g044l-smarc-rzg2l.dtb
=> mmc dev 0 ; fatload mmc 0:1 0x48080000 Image ; fatload mmc 0:1 0x48000000 /r9a07g044l-smarc-rzg2l.dtb

Revision as of 13:54, 7 July 2021

← RZ-G

General Information

Getting Started

1. Download the Linux BSP : Download the Linux BSP from renesas.com. More information can be found here

2. Build Environment : To build the BSP, you will need a Linux PC running Ubuntu 20.04.

3. Build the BSP : The instructions for building the BSP are located in the "Release Note" document that is included in the BSP download.

4. Prepare an SD Card : The evaluation boards are intended to be booted from SD Cards. These cards must be formatted and loaded using a Linux PC. A helpful script has been created (usb_sd_partition) that you can run on your Linux PC.

5. Boot the Board :

  • Supply power the board using the USB-C connection on the carrier board labeled "Power Input"
  • On the carrier board, press the red button in order to turn on power to the board.
  • Plug a USB micro cable into the carrier board to the USB connector labeled "SER 3 UART". Use a serial terminal program to interact as you board (In Linux, we recomend "putty", in Windows we recommend "TeraTerm")
  • Set the switches on the SOM board to boot from SD card. On the SOM (CPU) board, there is a little switch (SW1) by the SD card socket. Set both 1 and 2 to the "ON" position.
Boot from SD Card                             Boot from eMMC
SW1-1 = ON                                    SW1-1 = ON
SW1-2 = ON                                    SW1-2 = OFF
      +-----+                                       +-----+
      | ON  |                                       | ON  |
      | = = |                                       | =   |
      |     |                                       |   = |
      | 1 2 |                                       | 1 2 |
      +-----+                                       +-----+
  • Insert the SD card into the socket on SMARC SOM CPU board (not the carrier board).
  • Press the blue reset button, then enter the follow commands to boot the board.
=> mmc dev 0 ; fatload mmc 0:1 0x48080000 Image ; fatload mmc 0:1 0x48000000 /r9a07g044l-smarc-rzg2l.dtb
=> setenv bootargs 'root=/dev/mmcblk0p2' ; booti 0x48080000 - 0x48000000
  • The login will be "root" (no password is needed)

Board Setup Information

board configuration.png
RZ/G2L Evaluation Board Kit Configuration
smarc module board top.png
RZ/G2L SMARC Module Board (TOP)
smarc module board bottom.png
RZ/G2L SMARC Module Board (Bottom)
smarc series carrier board.png
RZ SMARC Series Carrier Board
 
power supply.png
Power Supply
The following power supply environment is used in the evaluation of Renesas:
● USB Type-C cable CB-CD23BK (manufactured by Aukey)
● USB PD Charger Anker PowerPort III 65W Pod (manufactured by Anker)
JTAG connection ice debug.png
JTAG Cable Connection for ICE Debugging
When connecting JTAG debugger, please set the DIP SW1 settings as shown.
The JTAG connector is 10pin.
 
boot mode.png
How to set Boot Modes

Board Operation Information

power on.png
Power ON
● Connect USB-PD Power Charger to USB Type-C Connector. Then LED1(VBUS PWR On) and LED3(Module PWR On) lights up.
● Press SW9 to turn on the power. Then LED4(Carrier PWR On) lights up.
debug serial.png
Debug Serial (Console Output)
● Debug serial uses CN14. The baud rate is 115200bps.
● Since the serial-USB conversion IC is not always powered, the Windows PC will recognize it after the power switch is turned on.
● If it is not recognized by your Windows PC, please install the driverοΏ½https://www.ftdichip.com/Drivers/VCP.htm