HummingBoard Ripple & RZ/G2L SOM Quick Start Guide

Introduction
The following quick start guide provides background information about the HummingBoard Ripple RZ/G2L.
The guide will give a technical overview about the product and by the end of it you should be able to boot an operating system and begin testing your application.
Revision and Notes
Date
Owner
Revision
Notes
21 Aug 2023
Yazan Shhady
1.0
Initial release
Nov 13, 2023
Shahar Fridman
1.1
Update for the first boot and for the features
Hardware Setup
Product specifications
I/Os
2 x USB 2.0 1 x MIPI-CSI
Networking
1 x Ethernet RJ45 10/100/1000 1 x 802.11 a/b/g/n/ac WiFi and Bluetooth (2.4/5 GHz)
Processor
Renesas RZ/G2L Dual core Arm Cortex A55 up to 1.2GHz + Cortex M33
Memory & Storage
Up to 2GB DDR4 RAM Starting from 8GB eMMC MicroSD
Display
HDMI (ADI bridge MIPI-DSI to HDMI)
Misc.
1 x Reset button 1 x Configurable push button 3 x LED indicators RTC
Development and Debug interfaces
Micro USB
Power
7V – 36V
Expansion card I/Os
mikroBUS header Mini Pcie with SIM holder
Temperature
Commercial: 0°C to 70°C Industrial: -40°C to 85°C
Dimensions
PCBA: 100 x 70mm Enclosure: 120 x 80 x 30mm
Enclosure
Extruded aluminium
Supported with RZ/G2L SOM. For more detailed information about our SOM RZ/G2L series please visit this user manual : RZ/G2L SOM Hardware User Manual .
Block Diagram
The following figure describes the RZ/G2L Block Diagram.

Visual features overview
Please see below the features overview of the connector side of the HummingBoard Ripple & RZ/G2L SOM.

Print side connector overview of the HummingBoard Ripple & RZ/G2L SOM.

Software Setup
Cable setup and prerequisites
Here is what you will need to power up and use the board:
Linux or Windows PC
HummingBoard Ripple with RZ/G2L SOM (HummingBoard Ripple & RZ/G2L SOM)
12V Power adapter (HummingBoard Ripple has wide range input of 7V-36V, it is recommended to use 12V power adapter).
Micro USB to USB for console, the HummingBoard Ripple has an onboard FTDI chip.
IP router or IP switch
USB Disk and SD Card
Boot Select
Before powering up the board for the first time it is recommended to select the boot media. In order to configure the boot media, please refer to HummingBoard RZ/G2L Boot Select .
eMMC and SD connect to the same SDIO signals via MUX so we can’t have access to the SD & eMMC at the same time, select eMMC/SD by setting switch S3{6} → on : eMMC , off : SD
Generating Yocto, Buildroot and Debian image
Yocto
Clone the repository from the “List of supported OS” link and move your terminal to this directory.
Download the layers by this command
In this stage you can modify your image configs as you want, you can find more info about it the the repository.
For graphics support you need to explore in the readme file in the github and follow the instructions of this utility.
Set the environment of the image that going to be build by this command
Build your own Yocto image by this command
NOTE: Choose your relevant target, for example: -core-image-bsp: cli image. -core-image-weston: graphical image. -core-image-qt: graphical image including qt.
Buildroot/Debian
Clone the repository from the “List of supported OS” link and move your terminal to this directory.
In this stage you can modify your image configs as you want, you can find more info about it the the repository.
Build your own image by this command
Booting from SD card
The following shows how to set the switches on the boot source selector:

Please Note: The black rectangle represents the switch position.
Once you set the switches, you can apply the following for booting from SD card:
Downloading the image Download the image (for example Debian) by running the following command on your Linux/Windows PC:
For more Debian releases, please visit Debian Releases for RZ/G2L.
Writing the image to the SD card Use the following commands for writing the image to an SD card:
For more information, please visit Flashing an SD Card .
Note: Plug a micro SD into your Linux PC, the following assumes that the USB-Disk / Micro-SD is added as /dev/sdX and all it’s partitions are unmounted.
Note: You can use the following command for writing to the SD in case you generated your own image:
SD card insertion Please Insert the SD card into your device.
Power connection Connect your power adaptor to the DC jack, and then connect the adaptor to mains supply.
Power On Hold on the On/Off Power button - SW1 (as shown in the figure below)

Note: The system should turn on by default when the power is connected (without pressing the button).
Serial Connection Please insert the micro USB into your device, then you can refer to Serial Connection for installing necessary serial connection software in Linux/Windows. Once you installed the necessary serial connection software, you should be able to see the following:
In order to be able to log in , please insert “root” as a username as follows:

Final stages
The following stages need to be done in order to finalise the imaging:
Run
fdisk /dev/mmcblk0if using SD or eMMC.Recreate the rootfs partition (mostly the second partition) by deleting it and then creating a new partition that starts at the next sector after the first one and extends to the end of the drive (or less depending on your needs).
Write the new partition, when prompt about ‘Do you want to remove the signature?’ then answer with Yes.
Run
resize2fs /dev/mmcblk0p2if using SD Card or eMMC.In this stage the root partition should be big enough to start populating it; but first update the RTC clock.
Connect the RJ45 to your network with internet access (and DHCP server); and then run
dhclient.Update the RTC clock by running
ntpdate pool.ntp.organd thenhwclock -w.Run apt-update commands below and then populate the root filesystem as you wish.
Here is an example of the same process in the rzg2lc device until the 3rd step (include):

After those steps you should end the process in this way (step 4 to the end):

In the end you should see with “lsblk” that the partition size is in the required size.
More Features
Internet
Connect an Ethernet cable to your HummingBoard Pulse (for internet access during boot-up). Models HummingBoard with WiFi, can be connected via WiFi or wired Ethernet.
Please check you Ethernet connection.
Use the following commands in order to keep your system up-to-date:
For more detailed information, please refer to RZ/G2LC Debian .
WiFi
You can connect to WiFi using any application, such as : connmanctl or wpa_spplicant.
An example for connecting to WiFi using wpa_supplicant:
To bring a WiFi interface up, run the following :
To discover your wireless network interface name, see Network Interfaces.
Install the wpa_supplicant package:
Edit network interfaces file :
At the bottom of the file, add the following lines to allow wlan as a network connection:
Create a configuration file with the relevant ssid:
Check your personal ssids by running : ‘iw dev wlan0 scan’
Make sure it works:
Restart your device and it should connect to the wireless network. You can check it by running the command $ iwconfig . If it doesn't, repeat above steps or get help from an adult.
For more information about using wpa_supplicant , you can refer to wpa_supplicant or wpa_supplicant.
Bluetooth
For showing all Bluetooth devices, run the following:
Turn the device on:
Make your Bluetooth detectable by other devices:
If you want to connect to other devices:
Start by scanning for other Bluetooth devices:
Choose a MAC address and connect :
You can check the pairing list between the devices by writing :
Cellular Modem
The cellular modem is a more fully featured extension of which contains a cellular module with additional hardware interfaces and a SIM card slot.
You can connect your cellular modem to the mPCIe, and insert a SIM card.
How to connect to the network: 1. Install “modemmanager” package on your debian.
2. Search for your modem location:
3. Connect to your modem:
4. Enable the modem:
5. Scan for networks:
6. connect to 3gpp network:
7. Make sure the connection was created:
For some cellular modules to be connected, please refer to Cellular Modules .
GUI On Debian
There is an option with the Debian image, up to the user, to work with a GUI like Weston, GNOME and etc. For applying this option do the following steps:
First, connect your device to a screen using the working output (HDMI / uHDMI).
For working with Weston GUI:
Install the Weston package.
Set the XDG_RUNTIME_DIR env param.
Restart the system
Start Weston (must be run from the Dissplay Terminal)
Run the weston command from the Dissplay Terminal using keyboard (PHYSICAL TERMINAL not serial session or remote connection)
For working with GNOME GUI on top of Xorg:
Install Xorg.
Install your desired gnome.
NOTE: ‘gnome-session’ is an example of gnome that we can work with, you can replace the ‘session' with another GNOME extention. 3. Start your GNOME GUI.
For logging in you need a user on your device to log into it. You can create one before step 3 by this command (replace the ‘username’ with name that you want) :
You can jump between GUIs that you install (like gnome-session) by the setting button that locates in the down right corner of the home screen.
List Of Supported OS
Build from source
Documentation
File
Modified
Last updated


