Board Documentation
Board Revisions
Power Supply
Display
Serial Console
Turning On/Off the Board
1. Download the Linux BSP
2. Build Environment
The BSP will only build in Ubuntu 20.04
3. Build the BSP
4. Prepare an SD Card
5. Boot the Board
RZ/G2 Group Application Note and Source Codes of Sample Applications
RZ/G2 Door Phone Demo
The RZ/G2E eval board is design/manufactured by Silicon Linux and distributed by iWave. So it sometimes refereed to as the “iWave board” or “Silicon Linux board”. Silicon linux is small company and does not have have distribution channel. Therefore, iWave is distributing the the Silicon linux RZ/G2E board using their channel.
The RZ/G2E has two types of display outputs - LVDS and parallel (RGB888). On the RZ/G2E evaluation board the HDMI output is connected to the parallel RGB interface. That interface has a maximum pixel clock of 75MHz which is not enough to support 1080p at 60fps, the maximum that can be supported is 1080p 30fps, or 1080i 60 fps or lower.
The problem is that most desktop displays support 1080p 60fps and that gets auto negotiated over the HDMI connection. And since the board doesn't actually support that mode, there are visual artifacts on the display. Because of that, specific display configuration settings were put into the BSP that sets the mode to 1080p 30 fps in order to show application running a 1920x1080. However, it turns out those settings work for the specific LCD display that was used for testing, but do not necessary work for many other displays. The reason they don't work is because these LCD displays don't actually support 30fps, they only support 60 fps.
One solution is to use a display that supports 1080p 30fps (although that might not be a common feature). The other option is to use a display that support lower resolutions. e.g. Use a portable touch display called GeChic 1002 which has a native resolution of 1280x800 and works fine with the RZ/G2E board.
The display configuration for RZ/G2 is controlled by a file named 'weston.ini' located in the folder /etc/xdg/weston. Currently there is a section in it that sets some specific display timings. Please note, that board can only display a maximum of 1920x1080 @ 30Hz, so by default, the timing has been fixed to that.
When using the HDMI connector, you may have to edit the file /etc/xdg/weston/weston.ini on your target board and remove the "mode" line if not video shows up. This is always the case with the small 1280x800 monitors. You can just comment it out by putting a # sign at the beginning of the line.
[output] name=HDMI-A-1 #mode=79.75 1920 1976 2168 2416 1080 1083 1088 1102 -hsync +vsync
These timings force the output to be 1920x1080 30Hz. The reason we add this setting is to prevent monitor from displaying in 1920x1080 60Hz. Without this setting, the board always run in 1920x1080 60Hz (if supported by the monitor, because it will pick the highest resolution). In that case, system still work, but users will see many noise on the screen. Not all monitors support 30Hz at 1920x1080. You can use the command 'cvt 1920 1080' to see what refresh rates are supported.
Possible solutions are to change the mode line to:
mode=138.50 1920 1968 2000 2080 1080 1083 1088 1111 +hsync -vsync
or By just specifying 'mode=1920x1080' in weston.ini, which is the same as not specifying anything and letting the timings be auto negotiated.
Another option is to set mode to "current" and then set the resolution the kernel command line:
[output] name=HDMI-A-1 mode=current
Then in u-boot, change the boot args to specify the resolution you want:
=> setenv bootargs 'root=/dev/mmcblk0p2 rootwait video=HDMI-A-1:1280x720-32' => saveenv
NOTE: The GeChic 1002 portable touchscreen monitor (used by many Renesas people) has a native resolution of 1280x800, so you should use that instead of 720p.
=> setenv bootargs 'root=/dev/mmcblk0p2 rootwait video=HDMI-A-1:1280x800-32' => saveenv
The u-boot for the RZ/G2 configures the HW (peripherals and drivers) in multiple locations.
Board | Device Tree | Header | Code |
RZ/G2E EK874 | arch/arm/dts/r8a774c0-u-boot.dtsi arch/arm/dts/r8a774c0-ek874.dts arch/arm/dts/r8a774c0-ek874-u-boot.dts | include/configs/ek874.h | board/renesas/ek874/ek874.c |