Table of Contents

Advertisement

Quick Links

RZ/G1M/G1N Qseven SOM Linux User Guide
iW-RainboW-G20M
RZ/G1M, RZ/G1N Qseven SOM
Linux User Guide
REL 1.6
iWave Systems Technologies Pvt. Ltd.
Page 1 of 76

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Qseven RZ/G1M and is the answer not in the manual?

Questions and answers

Summary of Contents for iWave Qseven RZ/G1M

  • Page 1 RZ/G1M/G1N Qseven SOM Linux User Guide iW-RainboW-G20M RZ/G1M, RZ/G1N Qseven SOM Linux User Guide REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 1 of 76...
  • Page 2 If you are not the intended recipient (or authorized to receive for the recipient), you are hereby notified that any disclosure, copying distribution or use of any of the information contained within this document is STRICTLY PROHIBITED. Thank you. “iWave Systems Tech. Pvt. Ltd.” REL 1.6 iWave Systems Technologies Pvt.
  • Page 3 No warranty of accuracy is given concerning the contents of the information contained in this publication. To the extent permitted by law no liability (including liability to any person by reason of negligence) will be accepted by iWave Systems, its subsidiaries or employees for any direct or indirect loss or damage caused by omissions from or inaccuracies in this document.
  • Page 4: Table Of Contents

    3.1.2 Booting Via JTAG ............................32 3.1.3 U-Boot Programming ..........................33 ............................. 34 ANUAL ROGRAMMING 3.2.1 Requirements .............................. 34 3.2.2 SD Card Preparation ............................ 34 3.2.3 eMMC Partition ............................35 REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 4 of 76...
  • Page 5 5.3.5 PWM brightness Test ..........................57 ............................... 58 DEVICES 5.4.1 Testing device Requirements ........................58 5.4.2 Mouse Test ..............................58 5.4.3 Keyboard Test .............................. 58 5.4.4 Touch screen Test ............................59 REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 5 of 76...
  • Page 6 5.9.1 Processor cooling fan test ........................... 68 5.9.2 Thermal trip LED test ........................... 68 5.9.3 GPIO setting ..............................69 5.10 ............................... 70 HERMAL ESTING APPENDIX – Frequently Asked Questions ....................71 REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 6 of 76...
  • Page 7 RIVER OURCE 3: D .............................. 14 ABLE EVICE TREE SOURCE 4: W – TV IN ......................63 ABLE AYLAND INPUT RESOLUTION SETTINGS 5: GPIO ..............................69 ABLE DEVICE NODE REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 7 of 76...
  • Page 8: Introduction

    Mega Hertz MIPI Mobile Industry CPU Interface Multi Media Card Pulse Width Modulation Real Time Clock SATA Serial Advanced Technology Attachment Secure Digital System On Module Serial Peripheral Interface REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 8 of 76...
  • Page 9 RZ/G1M/G1N Qseven SOM Linux User Guide Acronyms Abbreviations UART Universal Asynchronous Receiver/Transmitter Universal Serial Bus USB OTG USB On The Go REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 9 of 76...
  • Page 10: Board Support Package

    SDHI driver, SD/SDIO driver header file drivers/rtc/ rtc-pcf85263.c RTC Driver Source File drivers/net/can/rcar_can.c CAN Driver Source file include/linux/can/platform/rcar_can.h CAN Driver header file UART drivers/tty/serial/sh-sci.c Serial source file drivers/tty/serial/sh-sci.h Serial header file REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 10 of 76...
  • Page 11 R-Car Gen2 USB phy driver for EHCI/OHCI source file drivers/pci/host/pci-rcar-gen2.c R-Car Gen2 Internal PCI driver source file drivers/phy/phy-core.c Generic Phy framework drivers/phy/phy-rcar-gen2.c R-Car Gen2 USB phy driver for xHCI source file REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 11 of 76...
  • Page 12 VGA connector header file drivers/gpu/drm/rcar-du/rcar_lvds_regs.h LVDS register header file drivers/gpu/drm/rcar-du/vsp_du_if.c vsp-du interface file drivers/gpu/drm/rcar-du/vsp_du_if.h vsp-du interface header file drivers/gpu/drm/rcar-du/vspd_dl.c vspd display list file drivers/gpu/drm/rcar-du/vspd_drv.h vsp driver header file REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 12 of 76...
  • Page 13 TVP5150 TV-In driver file drivers/media/i2c/tvp5150_reg.h TVP5150 TV-In header file include/media/ov772x.h OV7725 Camera header file include/linux/platform_data/camera_rcar.h Video capture driver header file Touch drivers/input/touchscreen/edt-ft5x06.c Touch Driver Source file include/linux/input/edt-ft5x06.h Touch Driver header file REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 13 of 76...
  • Page 14: Device Tree Source Description

    This device tree source file is for Renesas R8A7743 (Dual) processors used in iW-RainboW-G20 platforms. r8a7744-iwg20m_q7.dts This device tree source file is for Renesas R8A7744 (Dual) processors used in iW-RainboW-G20 platforms. REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 14 of 76...
  • Page 15: Bsp Yocto Compilation

    $ sudo apt-get install sed wget cvs subversion git-core coreutils \ unzip texi2html texinfo libsdl1.2-dev docbook-utils gawk \ python-pysqlite2 diffstat help2man make gcc build-essential \ g++ desktop-file-utils chrpath libgl1-mesa-dev libglu1-mesa-dev \ mercurial autoconf automake groff bc libtool xterm REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 15 of 76...
  • Page 16: Yocto Project Setup

    $ patch -Np1 < <path to Yocto patch file>/PATCH000-iW-PREWZ-SC-01-RX.X-RELX.X- YoctoDaisy_basic_customization.patch  The copy proprietary script file and Multimedia package directory from deliverables is located in the below path respectively. /<path_to_Source-Code>/Source-Code/Linux/Yocto/copy_proprietary_softwares-v1100.sh /<path_to_Source-Code>/Source-Code/Linux/Yocto/PKG-DIR REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 16 of 76...
  • Page 17 Copy configuration files, bblayers.conf and local.conf for iWG20M platform. $ cp ../meta-renesas/meta-rzg1/templates/iwg20m_q7-config/*.conf ./conf/  To build Wayland for iWG20 platform, overwrite the local.conf file with wayland configuration files by executing the below command $ cp conf/local-wayland.conf conf/local.conf REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 17 of 76...
  • Page 18: Yocto Build

    & time>.dtb - - > r8a7743-iwg20m_q7.dtb uImage--<revision>-r8a7744-iwg20m_q7-<date & time>.dtb - - > r8a7744-iwg20m_q7.dtb u-boot-iwg20m-<revision>.bin - -> u-boot.bin  Refer the BINARY PROGRAMMING section to update the Linux kernel binary. REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 18 of 76...
  • Page 19: U-Boot

    After the successful compilation the binaries will be placed in below path. ~/<path to iwg20m-release-bsp>/iwg20-release-bsp/build/tmp/work/cortexa15hf-vfp-neon-poky- linux-gnueabi/u-boot-iwg20m/v2013.01.01+gitAUTOINC+cb82c56b53-r0/git/  The binary files are listed below u-boot.bin  Refer the BINARY PROGRAMMING section to update the u-boot binary. REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 19 of 76...
  • Page 20: Linux Kernel

     Refer the BINARY PROGRAMMING section to update the Linux kernel binary.  Refer the Device tree source description section for device tree source code organization. REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 20 of 76...
  • Page 21: Cross-Compiler Build

    Setting it up...done SDK has been successfully set up and is ready to be used  After successful installation of cross-compiler, the cross compiler will be available in below path. /opt/poky/1.6.1 REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 21 of 76...
  • Page 22: Bsp Standalone Compilation

    Before compiling the source code, cross compiler should be installed to “/opt” directory of host machine if it is not present.  Refer the Cross-compiler build section to install the cross-compiler.  Un-tar the Source-Code.tar.gz from the deliverables. $ cd /<path_to_iW-RainboW-G20M-Q7-RX.X-RELX.X-Linux3.10.31-YoctoDaisy_Deliverables>/iW- RainboW-G20M-Q7-RX.X-RELX.X-Linux3.10.31-YoctoDaisy_Deliverables/Source-Code/ $ tar -xvf Source-Code.tar.gz REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 22 of 76...
  • Page 23: Loader

    To compile the Loader image, execute the below commands. host@host/<Directory>/loader-iwg20m~$ make  After successful compilation, Loader (iw_rainbow_g20m_SPI_loader_v020_ddr3l.bin) will be created in the below path respectively. ~/output/iW_Rainbow_G20M_SPI_LOADER_V020_DDR3L.bin  Refer the BINARY PROGRAMMING section to update the Loader binary. REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 23 of 76...
  • Page 24: U-Boot

    ARCH=arm host@host/<directory>/uboot-iwg20m~$ export PATH=$PATH:/opt/poky/1.6.1/sysroots/<processor>-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi host@host/<Directory>/u-boot-iwg20m~$ export CROSS_COMPILE=arm-poky-linux-gnueabi-  To configure for iWave-G20M-Q7 platform, execute the below command. host@host/<directory>/u-boot-iwg20m~$ make iwg20m_q7_config  To compile the u-boot source code, execute the below command. host@host/<directory>/u-boot-iwg20m~$ make  After successful compilation, boot loader image (u-boot.bin) will be created in below path.
  • Page 25: Linux Kernel

    After successful compilation, kernel image (uImage) and device tree (.dtb) will be created in the below path respectively. ~/linux-iwg20m/arch/arm/boot/uImage ~/linux-iwg20m/arch/arm/boot/dts/r8a7743-iwg20m_q7.dtb ~/linux-iwg20m/arch/arm/boot/dts/r8a7744-iwg20m_q7.dtb  Refer the BINARY PROGRAMMING section to update the Linux kernel binary. REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 25 of 76...
  • Page 26: Bsp Customization

     Add the pfc,I2C2 pins as mentioned below &pfc { pinctrl-0 = <&du_pins &du0_pins &usb0_pins &usb1_pins >; pinctrl-names = "default"; i2c2_pins: i2c2 { renesas,groups = "i2c2"; renesas,function = "i2c2"; REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 26 of 76...
  • Page 27: Uart

    = of_get_gpio(np, 23); // GPIO Pin 23 is acquired in a gpio variable.  To get the base address of GPIO port to mention in of_find_node_by_path(), refer the arch/arm/boot/dts/r8a7743_iwg20m.dtsi file. REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 27 of 76...
  • Page 28: Lvds

    .clock = 30066, .hdisplay = 800, .hsync_start = 840, .hsync_end = 928, .htotal = 1056, .vdisplay = 480, .vsync_start = 490, .vsync_end = 523, .vtotal = 525, .flags = 0, REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 28 of 76...
  • Page 29: Primary Display

    .fbdev_crtc = 0, #endif .i2c_ch = 5, 2.4.6 Boot Logo Configuration  To enable default Linux Boot logo, deselect “Standard 224-color iWave logo” in make menuconfig and compile again. Device Drivers ---> Graphics support ---> [*] Bootup logo ---> [ ] Standard 224-color iWave logo 2.4.7 USB OTG Host Configuration...
  • Page 30: Yocto Package

    To add an package in Yocto filesystem, add a line to conf/local.conf file in Yocto. IMAGE_INSTALL_append = " package"  Make sure to include a space before the package name.  Refer BSP Yocto Compilation to compile the Yocto with package added. REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 30 of 76...
  • Page 31: Binary Programming

    To program the binaries into RZ/G1M/G1N SOM through JTAG Debugger, following Items are required:  JTAG Debugger  Power Supply  RZ/G1M/G1N development platform. Note: Here PEEDI JTAG debugger is taken as example. (http://www.ronetix.at/peedi.html) REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 31 of 76...
  • Page 32: Booting Via Jtag

    Stop in u-boot command prompt by pressing any key.  Once command prompt appears, execute the below command in JTAG board to halt the target board core. RZ/G1x > halt REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 32 of 76...
  • Page 33: U-Boot Programming

    Example: iWave-G20M > sf write 0x50000000 0x0 401c iWave-G20M > sf write 0x50008000 0x20000 3bcdc  Hence, the u-boot and loader are programmed to SPI flash through JTAG Debugger. REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 33 of 76...
  • Page 34: Manual Programming

    Change the boot arguments to SD boot and boot from SD card. Refer the Environment variables settings section to change the boot arguments to SD card.  Boot Linux from the SD card. REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 34 of 76...
  • Page 35: Emmc Partition

    Last cylinder, +cylinders or +size{K,M,G} (1-1038, default 1038): 512  Press 'n' to create new partition (going to create second partition). Command (m for help): n Command action e extended p primary partition (1-4) REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 35 of 76...
  • Page 36 Now format both the partitions. Partition 1 as VFAT i.e windows partition and 2nd partition as EXT4. $ sudo mkfs.vfat /dev/mmcblk2p1 $ sudo mkfs.ext4 /dev/mmcblk2p2  Reboot the board and now eMMC is ready to be programmed. REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 36 of 76...
  • Page 37: U-Boot Programming

    Program the loader to SPI Flash root@iWave-G20M/<mount_directory>~$ dd if=iW_RainboW_G20M_SPI_LOADER_V020_DDR3L.bin of=/dev/mtdblock0 bs=1 root@iWave-G20M/<mount_directory>~$ sync  Program the u-boot binary to SPI flash root@iWave-G20M/<mount_directory>~$ dd if=u-boot.bin of=/dev/mtdblock0 bs=1k seek=128 root@iWave-G20M/<mount_directory>~$ sync REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 37 of 76...
  • Page 38: Kernel Programming

    -xvf rootfs.tar.bz2 -C /media/mmcblk2p2/ root@iWave-G20M/<mount_directory>~$ sync  Copy the iwtest folder to linux partition of eMMC root@iWave-G20M/<mount_directory>~$ cp -rf iwtest /media/mmcblk2p2 root@iWave-G20M/<mount_directory>~$ sync  Reboot the board root@iWave-G20M/<mount_directory>~$ reboot REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 38 of 76...
  • Page 39: Bootable Sd Card

    1, 2, 3, etc until all the partitions are deleted. Once all the partitions are deleted, the below message gets displayed. Command (m for help): d No partition is defined yet!  Press 'u' to change the unit to cylinder. Command (m for help): u REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 39 of 76...
  • Page 40 Hex code (type L to list codes): 6 Changed system type of partition 1 to 6 (FAT16) Command (m for help): t Partition number (1-4): 2 Hex code (type L to list codes): 83 REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 40 of 76...
  • Page 41  Now SD card is ready to use.  Remove the SD card and insert again then the respective partitions can be viewed by the below command. $ mount REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 41 of 76...
  • Page 42: Sd Card Programming

    $ umount /media/<mount point sdcard windows partition> $ umount /media/<mount point sdcard Linux partition>  Now the bootable SD Card is ready to be used in RZ/G1M/G1N SOM to boot the Linux. REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 42 of 76...
  • Page 43: U-Boot Testing And Boot Configuration

    = <NULL> baudrate = 115200 bps TLB addr = 0x5FFF0000 relocaddr = 0x5FF77000 reloc off = 0x79C73000 irq_sp = 0x5FE74F60 sp start = 0x5FE74F50 FB base = 0x00000000 REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 43 of 76...
  • Page 44: Ram Test

    Note: Accessing the restricted RAM area or other physical address may cause unpredictable behaviour. Make sure, you are not entering the restricted area RAM address. 0x5F800000-0x5FFFFFFF is the u-boot RAM location and this RAM area should not be accessed. REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 44 of 76...
  • Page 45: Sd/Mmc Test

    Device: sh-sdhi Manufacturer ID: 3 OEM: 5344 Name: SU04G Tran Speed: 25000000 Rd Block Len: 512 SD version 3.0 Clock: 50000000 High Capacity: Yes Capacity: 3965190144 Bytes Bus Width: 4-bit REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 45 of 76...
  • Page 46: Spi Nor Flash Test

    To show the USB storage devices details, execute the below command. iWave-G20M> usb storage  To set/show the current USB storage device, execute the below command. iWave-G20M> usb dev <device id> Example: iWave-G20M> usb dev 0 REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 46 of 76...
  • Page 47: Environment Variables Settings

    > setenv bootargs_mmc 'setenv bootargs ${bootargs_base} root=/dev/mmcblk2p2 rootwait rootfstype=ext4 rw' iWave-G20M > setenv bootcmd 'run bootcmd_mmc' iWave-G20M >saveenv  To boot the platform, execute the below command. iWave-G20M >boot REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 47 of 76...
  • Page 48: Standard Sd Boot

    >env default -f -a iWave-G15 >saveenv iWave-G15 >reset Caution: Since MAC address will be stored in the SPI Flash by default, restoring the default environment variable will restore the default MAC address. REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 48 of 76...
  • Page 49: Linux Peripheral Testing

    To test the block devices supported by RZ/G1M/G1N SOM, following Items are required.  USB memory stick  Micro SD  Standard SD  USB Type A to micro B cable.  PCIe SATA module  SATA module REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 49 of 76...
  • Page 50: Block Device Test

    Note: In RZ/G1N CPU, PCIe, USB3.0 and SATA High speed transceivers are multiplexed in same pins and so either one interface only can be used at a time. By default USB3.0 is supported. Please contact iWave if PCIe or SATA1 support is required in RZ/G1N CPU based Qseven SOM.
  • Page 51: Usb Otg As Device

    Then the files and folders from RZ/G1M/G1N SOM’s eMMC will be mounted in the Windows Host PC as removable disk.  To unload the modules, execute the below command root@iWave-G20M:~# rmmod g_mass_storage.ko root@iWave-G20M:~# rmmod libcomposite.ko root@iWave-G20M:~# rmmod configfs.ko REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 51 of 76...
  • Page 52: Spi Nor Flash Test

    To exit from the mount partitions and to unmount, execute the below command. root@iWave-G20M/<mount_directory>$ cd /root  To unmount the device, execute the below command. root@iWave-G20M~$ umount <Mount Directory> REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 52 of 76...
  • Page 53: Network Devices Test

    (v1.22.1) started Sending discover... Sending select for *********... Lease of ********** obtained, lease time 43200 Deleting routers /etc/udhcpc.d/50default: Adding DNS ********* /etc/udhcpc.d/50default: Adding DNS ********* /etc/udhcpc.d/50default: Adding DNS ********* REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 53 of 76...
  • Page 54: Ethernet Speed And Duplex Settings

    -g <server_ip> -r <file_name>  To transmit any file from RZ/G1M/G1N SOM to TFTP server (host PC), execute the below command root@iWave-G20M~$ tftp -p <server_ip> -l <file_name> REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 54 of 76...
  • Page 55: Folder Mount From Nfs

    Note: Execute CAN receive command in receiver side before transmitting the data and If customer uses their own CAN device with the G20M platform then user has to take care of the particular CAN device application part REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 55 of 76...
  • Page 56: Display Devices Test

    Figure 2: LCD -Yocto GUI 5.3.3 HDMI Test  While the HDMI is connected to RZ/G1M/G1N SOM, GUI will be displayed in HDMI as follows. Figure 3: HDMI -Yocto GUI REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 56 of 76...
  • Page 57: Qseven Lvds Control Test

    To change the brightness, execute below command. root@iWave-G20M~/$ echo 7 > /sys/class/backlight/backlight.<X>/brightness  PWM output can be varied from 0 – 7. Observe the LCD backlight brightness for different values. REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 57 of 76...
  • Page 58: Hid Devices Test

    1-1.2: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes input: DELL Dell Entry Keyboard /devices/ee000000.xhci/usb1/1-1/1-1.2/1- 1.2:1.0/input/input3 hid-generic 0003:413C:2107.0003: input: USB HID v1.10 Keyboard [DELL Dell USB Entry Keyboard] on usb-ee000000.xhci-1.2/input0 REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 58 of 76...
  • Page 59: Touch Screen Test

    RZ/G1M/G1N Qseven SOM Linux User Guide 5.4.4 Touch screen Test  To calibrate the touch screen, execute the below shown steps. root@iWave-G20M~/$ export XDG_RUNTIME_DIR=/var/run/user/root root@iWave-G20M~/$ weston-calibrator Figure 4: Yocto Touch calibration REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 59 of 76...
  • Page 60: Uart Test

    -F /dev/ttySC3 115200  The default UART baud rate is 9600bps and the tested Baud rates are given below: 300, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200 & 230400 REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 60 of 76...
  • Page 61: Pcie Device Test

    -s "2019-01-04 17:15:50" Fri Jan 04 17:15:50 UTC 2019  To update the set date and time into hardware clock, execute the below command. root@iWave-G20M/$ hwclock -w REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 61 of 76...
  • Page 62: Multimedia Test

    -d 10  To play an audio file, execute the below command. root@iWave-G20M~$ aplay -D plughw:<card>,<subdevice> /<path to audio file>/<audiofile_name> Example: root@iWave-G20M~$ aplay -D plughw:0,0 /iwtest/jazz.wav REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 62 of 76...
  • Page 63: Tv-In Test

     To overlay the TV-IN, execute the below command. root@iWave-G20M~$ gst-launch-1.0 -e v4l2src device=/dev/video0 io-mode=dmabuf ! video/x- raw,width=<input width>,height=<input height>,format=UYVY ! vspfilter ! video/x-raw, format=BGRA, width=800, height=480 ! waylandsink REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 63 of 76...
  • Page 64  To play the captured video, execute the below command. root@iWave-G20M~$ gst-launch-1.0 filesrc location=< file_name>.mp4 ! qtdemux ! omxh264dec ! vspfilter ! video/x-raw, format=BGRA, width=800, height=480 ! waylandsink REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 64 of 76...
  • Page 65: Camera Test

    ! qtmux ! queue ! filesink location=<file_name>.mp4  To play the captured video, execute the below command. root@iWave-G20M~$ gst-launch-1.0 filesrc location=< file_name>.mp4 ! qtdemux ! omxh264dec ! vspfilter ! video/x-raw, format=BGRA, width=800, height=480 ! waylandsink REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 65 of 76...
  • Page 66: Gpu Test

    The given BSP supports GPU libraries. The Processors supports OpenGL ES. This section explains how to test GPU in the RZ/G1M/G1N SOM.  To test GPU information in Wayland, execute the below command root@iWave-G20M~$ export XDG_RUNTIME_DIR=/var/run/user/root root@iWave-G20M~$ weston-flower REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 66 of 76...
  • Page 67: Gstreamer Test

    ! queue ! aacparse ! faad ! alsasink device=hw:0,0 demux.video_0 ! queue ! h264parse ! omxh264dec ! vspfilter ! video/x-raw, format=BGRA, width=800, height=480 ! waylandsink REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 67 of 76...
  • Page 68: Gpio Testing

    To switch on the thermal trip LED, execute the below command root@iWave-G20M~$ echo 0 > /sys/class/gpio/gpio863/value  To switch off the thermal trip LED, execute the below command root@iWave-G20M~$ echo 1 > /sys/class/gpio/gpio863/value REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 68 of 76...
  • Page 69: Gpio Setting

     To set the GPIO value when set as output, execute the below command root@iWave-G20M~$ echo <0/1> > /sys/class/gpio/gpioXXX/value Note: Before changing the pin GPIO functionality and values, make sure that the pins are used as GPIO in the hardware.
  • Page 70: Thermal Testing

    5.10 Thermal Testing The RZ/G1M/G1N SOM supports following thermal testing option by reading thermal sensor.  To read current temperature of the board, execute the below command root@iWave-G20M~$ cat /sys/class/thermal/thermal_zone0/temp REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 70 of 76...
  • Page 71: Appendix - Frequently Asked Questions

    To disable the cursor blink on the primary console display, execute the below command. $echo 0 > /sys/class/graphics/fbcon/cursor_blink To enable the cursor blink on the primary console display, execute the below command. $echo 1 > /sys/class/graphics/fbcon/cursor_blink REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 71 of 76...
  • Page 72 = r7, 0x1C, 0x0C REGISTER = r8, 0x1C, 0x10 REGISTER = r9, 0x1C, 0x14 REGISTER = r10,0x1C, 0x18 REGISTER = r11,0x1C, 0x1C REGISTER = sp, 0x1C, 0x20 REGISTER = pc, 0x1C, 0x24 REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 72 of 76...
  • Page 73 ; beeper volume [ACTIONS] ; user defined scripts ;AUTORUN ; executed on every target connect 1 = prog [prog] ; program flash flash set 0 flash erase flash prog REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 73 of 76...
  • Page 74: Figure 5: Spi Programming Module Connected On Board

    RZ/G1M/G1N Qseven SOM Linux User Guide 9. How to Flash on board SPI using iWave G1M SPI Programmer Board? If the binaries on the on-board SPI is corrupted, it is possible to flash the binaries using iWave G1M SPI Programmer Board following the below procedure.
  • Page 75: Figure 7: Spi Programming Module Switched Off

    RZ/G1M/G1N Qseven SOM Linux User Guide  Make dipswitch “OFF” in iWave G1M SPI Programmer Board and “ON” in G1M/G1N SOM as shown below. Figure 7: SPI Programming Module switched OFF  In U-Boot, execute the below commands to flash On SOM SPI from MicroSD.
  • Page 76 RZ/G1M/G1N Qseven SOM Linux User Guide REL 1.6 iWave Systems Technologies Pvt. Ltd. Page 76 of 76...

This manual is also suitable for:

Qseven rz/g1nIw-rainbow-g20m

Table of Contents