To set up the RZ Linux Benchmark Demo, use a PC with one of the following OSes.
- Ubuntu 20.04 LTS
- Windows 10
The demo uses the following devices. Connect necessary devices to the EVK.
Device | Connector | Required/Optional | Remarks |
---|---|---|---|
USB power delivery adapter and USB type C cable | CN6 | Required | A standard USB power delivery adapter is used for power supply to the evaluation board. |
Micro SD card | CN3 | Required | It is used for a bootable SD card. Please use a micro SDHC card. It should be more than 4 GB. |
HDMI display monitor and HDMI cable | CN13 | Required | The RZ Linux Benchmark Demo shows output to the HDMI display monitor. The recommended resolution of the monitor is 1920 x 1080 px. |
USB mouse | CN11 or CN12 | Required | You can operate the RZ Linux Benchmark Demo with a mouse. |
Ethernet cable | CN9 | Optional | Connect the EVK to your PC with the ethernet cable if necessary. |
USB cable for SCIF connection | CN14 | Optional | Connect the EVK to your PC with this cable when you use the serial debug console on your PC. This cable is provided in the EVK. |
Set up DIP switch SW1 and SW11 as follows.
Write an image in the release package to your micro SD card.
-
Download or copy the release package into your PC.
-
Unzip the release package and extract an image file.
-
Write the image file to your micro SD card by using one of the following tool.
Note: Even if you see a message such as "you need to format the disk" before/after writing the image, do not format the SD card.
-
Download or copy the release package into your PC.
-
Unzip the release package and extract an image file.
-
Insert the micro SD Card into your Linux PC and find the device name of the SD card.
Use 'lsblk' command to check the device name as follows.- Before inserting the SD card
$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT (snip) nvme0n1 259:0 0 465.8G 0 disk ├─nvme0n1p1 259:1 0 512M 0 part /boot/efi └─nvme0n1p2 259:2 0 465.3G 0 part /
- After inserting the SD card
$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT (snip) nvme0n1 259:0 0 465.8G 0 disk ├─nvme0n1p1 259:1 0 512M 0 part /boot/efi └─nvme0n1p2 259:2 0 465.3G 0 part / sda 8:0 1 14.5G 0 disk ├─sda1 8:1 1 500M 0 part /media/user/boot └─sda2 8:2 1 3.4G 0 part /media/user/rootfs
The device name is assigned to the SD card by Linux on your Host PC. It may be named '/dev/sd*' (* is a letter representing the physical drive). It is '/dev/sda' in this sample.
-
Unmount the SD card if it is mounted.
Use 'umount' command with mount points that are displayed when you executed 'lsblk' command. For example:$ umount /media/user/boot $ umount /media/user/rootfs
-
Write the image to the SD card
Use 'dd' command and 'sync' command. Replace '/dev/sda' with the device name of your SD card. 'Images_RZG2L_VLP_benchmark.img' should be read as an actual name of the image file.$ sudo dd bs=1M if=Images_RZG2L_VLP_benchmark.img of=/dev/sda $ sync
Notice: Please be careful not to make a mistake. If you specify the device name incorrectly, it may cause serious damage to disk device on your Linux Host PC.
- Insert the bootable SD card created at Step 2.
- Connect a USB cable to CN6 for power supply.
- Press and hold power button (SW9) for 1 second to turn on the EVK.
Note: Press and hold the button for 2 seconds when you turn off the EVK.
After you turn on the EVK, Linux system starts, and then the demo starts automatically.
The demo application program shows a splash screen first, then it moves to a list screen automatically. You can select one of the benchmark tools on the list by clicking it.
After you select a benchmark, a configuration screen will be displayed.
You can change benchmark options on the screen if it is available.
And a measurement screen is displayed by pressing 'Measurement' tab.
To run the benchmark, press 'Start' button on the measurement screen.
The benchmark result will be displayed after it is completed.
Note: Some benchmark tools need additional devices. For example, to measure read/write speed of USB flash drive, you need to insert the drive to the EVK.
To quit the demo application program, press 'Quit' button at the upper right corner of the screen. You can quit the program by pressing 'Quit' button on the quit pop-up dialog. If you restart the program, click 'RZ' icon at the upper left corner of weston desktop.
Note: To introduce the 'RZ' icon, a script '/home/root/start_demo.sh' changes Weston configuration file ('/etc/xdg/weston/weston.ini').