Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Date

Owner

Revision

Notes

Yazan Shhady 

1.0

Initial release

Yazan Shhady 

1.1

Updated SW Versions

May 15, 2023

Yazan Shhady 

1.2

Updated SD SW Versions

Yazan Shhady

1.3

Updated the documentation to reflect the eMMC speed mode as HighSpeed

Table of Contents

Table of Contents
minLevel1
maxLevel7

...

HUMMINGBOARD RZ/G2LC

I/Os

2 x USB 3.0

1 x MIPI-CSI

Networking

1 x Ethernet RJ45 10/100
1 x 802.11 a/b/g/n/ac WiFi and Bluetooth (2.4 GHz)

Processor

Renesas RZ/G2LC Dual core Arm Cortex A55 up to 1.2GHz + Cortex M33

Memory & Storage

Up to 2GB DDR4
8GB eMMC (Mode: HighSpeed) [*]
MicroSD

Display

micro 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

Ui button
colorred
titleBuy Now
urlhttps://shop.solid-run.com/product/SRG2L-EVKHR-R00/

Info

[*] eMMC Speed Mode: HighSpeed (up to 52MHz)

Supported with RZ/G2LC SOM. For more detailed information about our SOM-RZ/G2LC series please visit this user manual : RZ/G2LC SOM Hardware User Manual .

...

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/G2LC 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} → off : eMMC , on : SD

Generating Yocto, Buildroot and Debian image

Yocto

  1. Clone the repository from the “List of supported OS” link and move your terminal to this directory.

  2. Download the layers by this command

    Code Block
    $ repo init -u https://github.com/SolidRun/meta-solidrun-arm-rzg2lc.git -b dunfell -m meta-solidrun-arm-rzg2lc.xml
    $ repo sync  
  3. In this stage you can modify your image configs as you want, you can find more info about it the the repository.

  4. For graphics support you need to explore in the readme file in the github and follow the instructions of this utility.

  5. Set the environment of the image that going to be build by this command

    Code Block
    $ TEMPLATECONF=$PWD/meta-solidrun-arm-rzg2lc/docs/template/conf/rzg2lc-solidrun source poky/oe-init-build-env build
  6. Build your own Yocto image by this command

    Code Block
    $ MACHINE=rzg2lc-hummingboard bitbake <target>
    • 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

  1. Clone the repository from the “List of supported OS” link and move your terminal to this directory.

  2. In this stage you can modify your image configs as you want, you can find more info about it the the repository.

  3. Build your own image by this command

    Code Block
    $ MACHINE=rzg2lc-hummingboard Distro=<Buildroot/Debian> ./runme.sh

Booting from SD card

The following shows how to set the switches on the boot source selector:

...

Info

Please Note:

The black rectangle represents the switch position.

Once you set the switches, you can apply the following for booting from SD card:

  1. Downloading the Debian image
    Download the image (for example Debian image ) by running the following command on your Linux/Windows PC:

    Code Block
    wget https://solid-run-images.sos-de-fra-1.exo.io/RZ/rzg2lc_build/20231122-6391518Debian/build_date_20240529-git_rev_f22483f/rzg2lc-solidrun-sd-emmc-debian-6391518f22483f.img.xz
  2. Writing the image to the SD card
    Use the following commands for writing the image to an SD card:

    Code Block
    xz -dc rzg2lc-solidrun-sd-emmc-debian-6391518f22483f.img.xz | dd of=/dev/sdX bs=4k conv=fdatasync 
    • 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:

      Code Block
      $ sudo dd if=/your/image/path of=/dev/sdX bs=4k conv=fdatasync
  3. SD card insertion
    Please Insert the SD card into your device.

  4. Power connection
    Connect your power adaptor to the DC jack, and then connect the adaptor to mains supply.

  5. 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).

  6. 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:

...

The following stages need to be done in order to finalise the imaging from the computer after flashing it.

...

:

  1. Run fdisk /dev/sda2.
    $ sudo e2fsck -f /dev/sda2.
    $ sudo resize2fs /dev/sda2.
    $ sudo parted /dev/sda.
    $ (parted) resizepart 2.
    $ (parted) 15000 .Boot your devicemmcblk0 if using SD or eMMC.

  2. 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).

  3. Write the new partition, when prompt about ‘Do you want to remove the signature?’ then answer with Yes.

  4. Run resize2fs /dev/mmcblk0p2 if using SD Card or eMMC.

  5. In this stage the root partition should be big enough to start populating it; but first update the RTC clock.

  6. Connect the RJ45 to your network with internet access (and DHCP server); and then run dhclient.

  7. Update the RTC clock by running ntpdate pool.ntp.org and then hwclock -w.

  8. Run apt-update commands below and then populate the root filesystem as you wish.

Code Block
$ apt-get update && apt-get upgrade -y

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:

Code Block
apt-get update 
apt-get upgrade 
reboot
WiFi

An example for connecting to WiFi using wpa_supplicant:

  1. To bring a WiFi interface up, run the following :

Code Block
ifconfig wlan0 up 

To discover your wireless network interface name, see Network Interfaces.

  1. Install the wpa_supplicant package:

Code Block
apt-get install wpasupplicant 
  1. Edit network interfaces file :

At the bottom of the file, add the following lines to allow wlan as a network connection:

Code Block
cat <<EOF > /etc/network/interfaces.d/wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp
EOF
  1. Create a configuration file with the relevant ssid:

Code Block
cat <<EOF > /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=/run/wpa_supplicant
update_config=1
network={
    ssid="MYSSID"
    psk="passphrase" 
}
EOF

Check your personal ssids by running : ‘iw dev wlan0 scan’

  1. Make sure it works:

Restart your device and it should connect to the wireless network. If it doesn't, repeat above steps or get help from an adult.

Bluetooth

  1. For showing all Bluetooth devices, run the following:

Code Block
$ apt-get install bluez
$ bluetoothctl
  1. Turn the device on:

Code Block
[bluetooth]# power on
  1. Make your Bluetooth detectable by other devices:

Code Block
[bluetooth]# discoverable on
  1. If you want to connect to other devices:

  • Start by scanning for other Bluetooth devices:

Code Block
[bluetooth]# scan on
  • Choose a MAC address and connect :

Code Block
[bluetooth]# pair $MAC 
  • You can check the pairing list between the devices by writing :

Code Block
[bluetooth]# paired-devices

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.

    Code Block
     $ sudo apt install modemmanager

    2. Search for your modem location:

    Code Block
    $ mmcli -L

    3. Connect to your modem:

    Code Block
    $ mmcli --modem=/your/modem/location

    4. Enable the modem:

    Code Block
    $ mmcli --modem=/your/modem/location -e

    5. Scan for networks:

    Code Block
    $ mmcli --modem=/your/modem/location --3gpp-scan

    6. connect to 3gpp network:

    Code Block
    $ mmcli --modem=/your/modem/location --3gpp-register-in-operator=<network ID>

    7. Make sure the connection was created:

    Code Block
    $ mmcli --modem=/your/modem/location 
  • For some cellular modules to be connected, please refer to Cellular Modules .

Here is an example of the process 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

Include Page
Renesas RZ Features
Renesas RZ Features

List Of Supported OS

...

Build from source

...