Versions Compared

Key

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

...

Info

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 .

Block Diagram

The following figure describes the RZ/G2LC Block Diagram.

...

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-6391518/rzg2lc-solidrun-sd-debian-6391518.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-debian-6391518.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:

...

List Of Supported OS

Quick start Yocto and Buildroot

For working with a different distro except the Debian you have 2 option, here is the way of doing it:

Yocto

...

Clone the repository from the above link of supported OS and move your terminal to this directory.

...

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  

...

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.

...

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.

Code Block
$ TEMPLATECONF=$PWD/meta-solidrun-arm-rzg2lc/docs/template/conf/rzg2lc-solidrun source poky/oe-init-build-env build

...

  1. Clone the repository from the above link of supported OS 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 Buildrtoot image by this command

    Code Block
    $ MACHINE=rzg2lc-hummingboard ./runme.sh

...

Build from source

...