{{template>en:templates:tabs_yocto_bootstrap|product_type="Embedded module"|lang="en"|mod_name="tqmarzg2x"|mod_name_head="TQMaRZG2x"|mod_arch="arm"|bsp_name="linux"|build_system="yocto"|build_system_head="YOCTO"|bsp_name_head="Linux"}}
\\
===== Starterkit Interfaces and Functions =====
{{template>en:templates:howto:can|can_description="The MBaRZG2x provides the CAN interfaces CAN1 and CAN2."|dipdescription="DIP switch S10 is used to configure the CAN interfaces CAN0 and CAN1."|dip1="S1-1"|dip2="S1-2"|can_image="{{ :en:arm:tqmarzg2x:linux:yocto:how_to:tqmarzg2x_can_loopback.png?nolink&400 \|}}"}}
{{template>en:templates:howto:ethernet|ethernet_description="The STKRZG2X Starterkit provides one Gigabit Ethernet interfaces."|ubootdescription="In U-Boot eth0 is configured as default interface. The IP configuration can be done statically or by a DHCP server in the network."|linuxdescription="The Ethernet interface is activated and configured by systemd-network. The configuration file for the interface are located in /lib/systemd/network/ the configuration file can be altered to customize the default interface configuration."|ethernet_table="\| eth0 \| 10-eth0.network \|"}}
The STKaRZG2x provides a HDMI interface, the interface is activated by default.
{{template>en:templates:howto:i2c|mod_name="tqmarzg2x"|mod_arch="arm"|ubooti2c="4,7"|linuxi2c="6,7,8"}}
TQ offers an optional LVDS Display kit for the STKRZG2x. An LVDS Display can be used by setting the corresponding device tree in the U-Boot environment.
To allow reusage, the support for each display is separated in a separate dtsi fragment.
To bring up the display the U-Boot environment has to be adapted accordingly.
1. Interrupt boot process in U-boot\\
2. Set U-Boot environment variable fdt_file a specific command has to be used for the differnt types of the TQMaRZG2x:\\ **TQMaRZG2N** setenv fdt_file r8a774b1-tqmarzg2n_b-mbarzg2x-lvds-tm070jvhg33.dtb
\\ **TQMaRZG2M-AA** setenv fdt_file r8a774a1-tqmarzg2m_aa-mbarzg2x-lvds-tm070jvhg33.dtb
\\ **TQMaRZG2H** setenv fdt_file r8a774e1-tqmarzg2h_c-mbarzg2x-lvds-tm070jvhg33.dtb
3. Save the envrionment by executing the ''saveenv'' command
{{template>en:templates:howto:rtc|}}
{{template>en:templates:howto:temperature|}}
{{template>en:templates:howto:usb|}}
{{template>en:templates:howto:userled|userled_description="The MBaRZG2x has three user controllable LEDs, the behavior of these LEDs can be selected by several triggers."|userled_image="{{ :en:arm:tqmarzg2x:linux:yocto:how_to:mbarzg2x_user_led.png?nolink&400 \|}}"|userled_location="/sys/devices/platform/leds/leds/"|led_example="user_led_1"|userled_example="/sys/class/leds/user_led_1/trigger"}}
==== SSH Connection ====
{{template>en:templates:howto:ssh|stk_name="STKaRZG2x"}}