Page 2
The RzBoard and its related intellectual property are owned by Avnet Manufacturing Services. • Avnet Manufacturing Services has the copyright of this document and reserves all rights. Any part of the document should not be modified, distributed or duplicated in any approach and form without the written permission issued by Avnet Manufacturing Services.
RzBoard-Linux-Yocto-User-Manual-v2.1 Revision History Rev. Description Author Date v1.0 Initial version Lily 2022/9/21 Updated Yocto Project to 3.1.14 v2.0 Lily 2022/09/28 v2.1 Edits to all sections (eliminated non-scripted flash writes) Peter 2022/10/26 https://www.avnet.me/rzboard...
Select OV5640 Camera and Set its Resolution ............27 3.7.3 Take Photo ........................27 3.7.4 Record Video ....................... 28 Gigabit Ethernet Interface ....................... 28 3.8.1 Network Test ........................ 28 3.8.2 Set Static IP ......................... 28 3.8.3 Set Dynamic IP ......................29 https://www.avnet.me/rzboard...
Page 5
Procedure to Increase eMMC Partition Size ................45 Chapter 4 Appendix ..........................46 Hardware Documents ......................46 Software Documents ....................... 46 Linux System Image and Application Development ............... 46 4.3.1 Out of box System Image .................... 46 Contact Information ......................... 46 https://www.avnet.me/rzboard...
Chapter 1 Introduction 1.1 Target Board RzBoard V2L is a development board developed by Avnet, based on the RZ/V2L group of 64bit Arm-based MPUs from Renesas Electronics. 1.2 Introduction This document provides a guide to prepare RzBoard to boot up with the Verified Linux Package for RZ/V2L Group and introduces how to use the supported RZBoard functions.
2 UART (TTL) include debug port • External interfaces (I2C, UART, SPI, CANFD and GPIO) • 802.11ac Wi-Fi plus BLE 5.0 • MIPI-DSI display • Audio playback and record • MIPI-CSI Camera / USB Camera • DRP-AI support • H.264 hardware Enc/Dec support https://www.avnet.me/rzboard...
TFA(Trusted Firmware-A ) BL2 image fip-rzboard.srec Bootloader image, ARM TFA(Trusted Firmware-A ) BL31 and u-boot combined image System core-image-rzboard-**** system image, include linux kernel, DTB and root filesystem, Image **********.rootfs.wic Need to be written to TF card or eMMC https://www.avnet.me/rzboard...
For Windows-based write of bootloader images, command-line debug output and command entry, the use of Tera Term terminal software is recommended • Download and install teraterm-***.exe and configure the relevant COM port as shown below: Install Fastboot Fastboot Download (Windows version) tools from the Android Platform Tools official website. https://www.avnet.me/rzboard...
(Programming bootloader images is less frequently required than updates to the Linux System Image) Related tools, scripts and relevant information are kept up to date in the following repo: https://github.com/Avnet/rzboard-program-tools Simply Download latest image files, .bat and macro files using the following URL: https://avnet.me/RZBoard_emmc...
Page 11
Choose the media (eMMC or QSPI Flash) to program, the macro then waits for system power up. 8) Press and hold S1 for 2 seconds to power-on RZBoard, the macro will now proceed. Wait for this to complete (<5 min) https://www.avnet.me/rzboard...
Note: Complete steps 1-6 below, prior to running the provided flash_system_image.bat file: 1) Download the image files, .bat and macro files from https://avnet.me/RZBoard_emmc extract the zipped files to a staging folder on the development computer 2) Edit Windows Ethernet network adapter settings for the development computer: Set it’s IPv4 properties to static IP Address 192.168.1.88...
Page 13
8) Wait for the macro to complete (typically 15 blocks of data get sent and this completes in <5 min). No input or operation is required during this period. After finishing, press any key to exit the BAT script. 9) Now set RzBoard to boot from QSPI or eMMC as needed and power-cycle the board using switch S1. https://www.avnet.me/rzboard...
When the system boots-up, the serial terminal will print the following information: Welcome to rzboard Board GNU/Linux yocto(dunfell) system. rzboard login: • Enter username as “root”, password as “avnet” to login. • The Linux system interface also supports directly attached keyboard and mouse https://www.avnet.me/rzboard...
Insert the SD card into the card reader, then connect the card reader to the USB port on the PC. • Open Win32 Disk Imager on the PC, Select the Disk Image, then click “Write”. • Wait for completion of the write operation… https://www.avnet.me/rzboard...
When the system boot up, the serial terminal will print the following information: Poky (Yocto Project Reference Distro) 3.1.14 rzboard ttySC0 rzboard login: • Enter username as “root”, password as “avnet” to login. • Users can also use keyboard and mouse connected to RzBoard to login to Linux. https://www.avnet.me/rzboard...
You can also add other configurations defined in u-boot to the uEnv.txt file. The specific description is as follows: Note: fdtfile must be set to a device tree binary blob, which is the basis for applying dtbo file. fdtfile should be set, other configurations are optional. https://www.avnet.me/rzboard...
It flashes blue to indicate heartbeat by default, but this LED can be controlled using follow commands: LED output blue: root@rzboard:~# echo default-on > /sys/class/leds/led_blue/trigger root@rzboard:~# echo 0 > /sys/class/leds/led_blue/brightness root@rzboard:~# echo heartbeat > /sys/class/leds/led_blue/trigger LED output red: root@rzboard:~# echo 0 > /sys/class/leds/led_blue/brightness root@rzboard:~# echo 1 > /sys/class/leds/led_red/brightness root@rzboard:~# echo 0 > /sys/class/leds/led_red/brightness https://www.avnet.me/rzboard...
Event: time 1600620570.1600620570, type 1 (EV_KEY), code 2 (KEY_1), value 1 Event: time 1600620570.1600620570, -------------- SYN_REPORT ------------ Event: time 1600620570.1600620570, type 1 (EV_KEY), code 2 (KEY_1), value 0 Event: time 1600620570.1600620570, -------------- SYN_REPORT ------------ Event: time 1600620606.1600620606, type 1 (EV_KEY), code 2 (KEY_1), value 1 https://www.avnet.me/rzboard...
Execute the following instructions on the serial terminal to implement the backlight test: root@rzboard:~# echo 7 > /sys/class/backlight/backlight/brightness 3.4.2 MIPI To HDMI Screen RzBoard also supports MIPI to HDMI screen, Choose MIPI to HDMI screen, the enable_overlay_disp value should be: enable_overlay_disp=hdmi https://www.avnet.me/rzboard...
-Dhw:0 = use audio card 0 to record (device id of the codec-connected MIC), Use command arecord -l and aplay -l to check the device ID. Change those parameters according to your device. After recording, you can play the recorded audio file with the following command to verify. root@rzboard:~# aplay audio_test.wav https://www.avnet.me/rzboard...
Now playing /home/root/ audio_test1.mp3 Redistribute latency... 0:00:17.6 / 0:03:28.5 aplay command supports .wav format audio files in, gst-play-1.0 command supports wav, mp3 and aac formats When using above command. Audio will play from the default device (on-board audio output interface) https://www.avnet.me/rzboard...
WARNING A lot of buffers are being dropped. WARNING debug information: ../gstreamer-1.16.3/libs/gst/base/gstbasesink.c(3005): gst_base_sink_is_too_late (): /GstPlayBin:playbin/GstPlaySink:playsink/GstBin:vbin/GstGLImageSinkBin:glimagesinkbin0/Gst GLImageSink:sink: There may be a timestamping problem, or this computer is too slow. root@rzboard:~# gst-launch-1.0 playbin uri=file:///home/root/big_buck_bunny.mp4 Setting pipeline to PAUSED ... Pipeline is PREROLLING ... https://www.avnet.me/rzboard...
MIPI CSI-2 module, otherwise the OV5640 will not work. Next we use the following command to enable the CSI-2 module. root@rzboard:~# ls /dev/media* https://www.avnet.me/rzboard...
! 'video/x-raw,format=UYVY,width=1920,height=1080' ! jpegenc ! filesink location=ov5640_capture.jpg Use the follow following command to view this photo directly: root@rzboard:~# gst-launch-1.0 v4l2src device=/dev/video0 ! videoconvert ! waylandsink Or copy the photo to other device, such as computer to display it. https://www.avnet.me/rzboard...
If you need to set a static IP, execute the following 2 steps: 1. Set the static MAC for the Board: modify the ethaddr value in uEnv.txt. Use nano or vi command to modify the uEnv.txt. root@rzboard:/run/media/mmcblk0p1# vi /boot/uEnv.txt https://www.avnet.me/rzboard...
DNS=223.6.6.6 root@rzboard:~# systemctl restart systemd-networkd In above command, replace the IP address, router, DNS with your real network environment. Execute sync after the modification, then reboot the system to make it effect. 3.8.3 Set Dynamic IP root@rzboard:~# vi /etc/systemd/network/01-eth0.network https://www.avnet.me/rzboard...
SD card must be removed before power-up of the board. 3.10 USB 2.0 Interface RzBoard supports two USB 2.0 Host interfaces. 3.10.1 USB Host Insert a U-disk, serial terminal will display the disk information: [ 108.102562] usb 1-1.3: new high-speed USB device number 3 using ci_hdrc https://www.avnet.me/rzboard...
[ 1057.922206] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null) [ 1058.074230] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. Execute the following instructions on the serial terminal: root@rzboard:~# lsusb Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub https://www.avnet.me/rzboard...
Page 32
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 002: ID 03f0:094a HP, Inc Optical Mouse [672662-001] Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub https://www.avnet.me/rzboard...
Use the following steps to configure and start the 2.4 GHz Access Point from the wireless module. Make sure the Wi-Fi is disconnected: root@rzboard:~# killall wpa_supplicant root@rzboard:~# killall hostapd then use the following steps to set up Wi-Fi hotspot. Edit the configuration file for hostapd: root@rzboard:~# vi /etc/hostapd-2.4g.conf Parameter values in the configuration file: https://www.avnet.me/rzboard...
Page 35
“123456789” to connect. After obtaining the IP address, the device will display a status of "Connected, no Internet". If the Ethernet interface is connected to the Internet, you can use the following command to add packet forwarding rules so that the devices connected to the hotspot can access the Internet. https://www.avnet.me/rzboard...
[bluetooth]# default-agent Make the RzBoard discoverable by other Bluetooth device: [bluetooth]# discoverable on Enable and Disable Scan: [bluetooth]# scan on [bluetooth]# scan off Pair and connect the device: [bluetooth]# pair E8:EC:A3:21:57:6C [bluetooth]# trust E8:EC:A3:21:57:6C [bluetooth]# connect E8:EC:A3:21:57:6C Exit bluetoothctl. https://www.avnet.me/rzboard...
UART TTL (on expansion connector) 3.13.1 UART 2 In the Yocto system, the node for UART2 is /dev/ttySC2. Users could also write their own applications to control the uart. enable_overlay_uart2 in uEnv.txt to allow UART2 to be selected: enable_overlay_uart2=1 https://www.avnet.me/rzboard...
) Here we use PIN35 as an example: In above table, the GPIO Number of connector PIN35 is calculated to be 193 GPIO9_IO1 means group=9, pin=1 for calculation of: (9 x 8) + 1 + 120 = 193 https://www.avnet.me/rzboard...
500000 [ 1382.533140] rcar_canfd 10050000.can can0: bitrate error 0.2% root@rzboard:~# ip link set can0 up root@rzboard:~# cansend can0 123#01020304050607 Note: Testing of CAN interfaces on RzBoard confirmed reliable operation for bitrates up to 3.5 Mbps. https://www.avnet.me/rzboard...
[END] Loading DRP-AI Data : Total loading time 2.85 s [bmp_img/sample.bmp] 1 images are loaded from bmp_img Inference 1 ----------------------------------------------- Input: bmp_img/sample.bmp DRP-AI processing time : 64.35 msec Output Binary : resnet50_bmp_output/bmp_img/sample.bmp.bin [INFO] 1 out of 1 images are processed. [INFO] Output Log: resnet50_bmp_output/bmp_img/0920111653.log https://www.avnet.me/rzboard...
./demo.sh ************************************************************************************************************* * Avnet RZBoard V2L - DRP-AI demos (using camera video) * a) Detection + Pose Estimation, skeletal 17-point overlay of person in box (HRNet) * b) Detection + Pose Estimation, skeletal overlays of 1-7 people (HRNet,TinyYOLOv2) * c) Object Classification, does not use bounding-box (ResNet50)
Page 44
470 of size 487 sending payload number 471 of size 488 echo test: sent : 488 received payload number 471 of size 488 ************************************ Test Results: Error count = 0 ************************************ Quitting application .. Echo test end Stopping application... https://www.avnet.me/rzboard...
Use the following steps to expand the rootfs partition in eMMC flash memory: • Open a serial port connection to RZBoard's debug connector • Boot Linux and login to the board with user: root and password: avnet • Execute the command fdisk /dev/mmcblk0 •...
• RzBoard Block Diagram 4.2 Software Documents RzBoard supports Yocto Linux, for additional information, please refer to the following documents accessible from the RzBoard product page at https://www.avnet.me/rzboard • RzBoard Linux Yocto Release Note • RzBoard Linux Yocto User Manual - This document (describes how to reflash RZBoard and aspects of the BSP functionality) •...
Need help?
Do you have a question about the RZBOARD V2L and is the answer not in the manual?
Questions and answers