<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://support.tq-group.com/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://support.tq-group.com/feed.php">
        <title>TQ Support Wiki - en:general_information:tutorial</title>
        <description></description>
        <link>https://support.tq-group.com/</link>
        <image rdf:resource="https://support.tq-group.com/_media/logo.png" />
       <dc:date>2026-05-16T19:14:38+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://support.tq-group.com/en/general_information/tutorial/audio?rev=1738063030&amp;do=diff"/>
                <rdf:li rdf:resource="https://support.tq-group.com/en/general_information/tutorial/autologin_systemd?rev=1738063030&amp;do=diff"/>
                <rdf:li rdf:resource="https://support.tq-group.com/en/general_information/tutorial/autostart?rev=1738063030&amp;do=diff"/>
                <rdf:li rdf:resource="https://support.tq-group.com/en/general_information/tutorial/can?rev=1738063030&amp;do=diff"/>
                <rdf:li rdf:resource="https://support.tq-group.com/en/general_information/tutorial/comp_kernel_bootloader?rev=1738063030&amp;do=diff"/>
                <rdf:li rdf:resource="https://support.tq-group.com/en/general_information/tutorial/devicetree?rev=1738063030&amp;do=diff"/>
                <rdf:li rdf:resource="https://support.tq-group.com/en/general_information/tutorial/edid?rev=1738063030&amp;do=diff"/>
                <rdf:li rdf:resource="https://support.tq-group.com/en/general_information/tutorial/gpio?rev=1738063030&amp;do=diff"/>
                <rdf:li rdf:resource="https://support.tq-group.com/en/general_information/tutorial/i2c?rev=1738063030&amp;do=diff"/>
                <rdf:li rdf:resource="https://support.tq-group.com/en/general_information/tutorial/new_platform?rev=1738063030&amp;do=diff"/>
                <rdf:li rdf:resource="https://support.tq-group.com/en/general_information/tutorial/new_ptxdist_package?rev=1738063030&amp;do=diff"/>
                <rdf:li rdf:resource="https://support.tq-group.com/en/general_information/tutorial/nfs_boot?rev=1738063030&amp;do=diff"/>
                <rdf:li rdf:resource="https://support.tq-group.com/en/general_information/tutorial/patch_git?rev=1738063030&amp;do=diff"/>
                <rdf:li rdf:resource="https://support.tq-group.com/en/general_information/tutorial/ptxdist_license_report?rev=1738063030&amp;do=diff"/>
                <rdf:li rdf:resource="https://support.tq-group.com/en/general_information/tutorial/pwm?rev=1738063030&amp;do=diff"/>
                <rdf:li rdf:resource="https://support.tq-group.com/en/general_information/tutorial/secure_boot_x86?rev=1774253537&amp;do=diff"/>
                <rdf:li rdf:resource="https://support.tq-group.com/en/general_information/tutorial/spi?rev=1738063030&amp;do=diff"/>
                <rdf:li rdf:resource="https://support.tq-group.com/en/general_information/tutorial/systemd_getty?rev=1738063030&amp;do=diff"/>
                <rdf:li rdf:resource="https://support.tq-group.com/en/general_information/tutorial/u-boot_tools?rev=1738063030&amp;do=diff"/>
                <rdf:li rdf:resource="https://support.tq-group.com/en/general_information/tutorial/uboot_tools?rev=1738063030&amp;do=diff"/>
                <rdf:li rdf:resource="https://support.tq-group.com/en/general_information/tutorial/update_firmware_tftp?rev=1738063030&amp;do=diff"/>
                <rdf:li rdf:resource="https://support.tq-group.com/en/general_information/tutorial/write_sdcard_image?rev=1738063030&amp;do=diff"/>
                <rdf:li rdf:resource="https://support.tq-group.com/en/general_information/tutorial/x86_linux_installation?rev=1738063030&amp;do=diff"/>
                <rdf:li rdf:resource="https://support.tq-group.com/en/general_information/tutorial/x86_windows_installation?rev=1738063030&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://support.tq-group.com/_media/logo.png">
        <title>TQ Support Wiki</title>
        <link>https://support.tq-group.com/</link>
        <url>https://support.tq-group.com/_media/logo.png</url>
    </image>
    <item rdf:about="https://support.tq-group.com/en/general_information/tutorial/audio?rev=1738063030&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-01-28T11:17:10+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>audio</title>
        <link>https://support.tq-group.com/en/general_information/tutorial/audio?rev=1738063030&amp;do=diff</link>
        <description>Audio

Please see supported features list of your TQ module to verify that audio playback / recording is supported by the Board Support Package 

Audio playback

The latest BSP revisions are preconfigured for audio playback, when audio is supported.</description>
    </item>
    <item rdf:about="https://support.tq-group.com/en/general_information/tutorial/autologin_systemd?rev=1738063030&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-01-28T11:17:10+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>autologin_systemd</title>
        <link>https://support.tq-group.com/en/general_information/tutorial/autologin_systemd?rev=1738063030&amp;do=diff</link>
        <description>Autologin with systemd

Tested with:

	*  TQMa6x BSP REV.0109
	*  TQMa7x BSP REV.0101

Copy serial getty service

Copy /lib/systemd/system/serial-getty@.service to /etc/systemd/system


cp /lib/systemd/system/serial-getty@.service /etc/systemd/system</description>
    </item>
    <item rdf:about="https://support.tq-group.com/en/general_information/tutorial/autostart?rev=1738063030&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-01-28T11:17:10+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>autostart</title>
        <link>https://support.tq-group.com/en/general_information/tutorial/autostart?rev=1738063030&amp;do=diff</link>
        <description>How to autostart application with systemd

1. Create file /lib/systemd/system/demo.service with following content :


[Unit]
After=multi-user.target
Description=start Qt demo

[Service]
Type=forking
RemainAfterExit=no
ExecStart=/lib/systemd/systemd-demo start
ExecStop=/lib/systemd/systemd-demo stop

[Install]
WantedBy=multi-user.target.wants</description>
    </item>
    <item rdf:about="https://support.tq-group.com/en/general_information/tutorial/can?rev=1738063030&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-01-28T11:17:10+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>can</title>
        <link>https://support.tq-group.com/en/general_information/tutorial/can?rev=1738063030&amp;do=diff</link>
        <description>CAN

CAN configuration STKa8Xx



DIP switch SW1 and SW2 are used to configure the CAN interfaces CAN1 and CAN2.


[{{:intern:general_information:tutorial:mba8xx-can.png?400|]



List available CAN Interfaces




root@MBaXXX:~ ip link show

output:
1: lo: &lt;LOOPBACK,UP,LOWER_UP&gt; mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: can0: &lt;NOARP,ECHO&gt; mtu 16 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen…</description>
    </item>
    <item rdf:about="https://support.tq-group.com/en/general_information/tutorial/comp_kernel_bootloader?rev=1738063030&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-01-28T11:17:10+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>comp_kernel_bootloader</title>
        <link>https://support.tq-group.com/en/general_information/tutorial/comp_kernel_bootloader?rev=1738063030&amp;do=diff</link>
        <description>Compile kernel/bootloader outside of the BSP

	*  TQ Systems GmbH development and testing is done under the documented environment. Please consider to use the same environment for testing if you think there are issues. 
		*  BSP consists of bootloader, kernel, root FS</description>
    </item>
    <item rdf:about="https://support.tq-group.com/en/general_information/tutorial/devicetree?rev=1738063030&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-01-28T11:17:10+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>devicetree</title>
        <link>https://support.tq-group.com/en/general_information/tutorial/devicetree?rev=1738063030&amp;do=diff</link>
        <description>Change Device Tree



The hardware is configured using Device Tree. The Device Tree files for your module are located in:

platform-&lt;platformname&gt;/build-target/linux-&lt;version&gt;/arch/arm/boot/dts/&lt;devicetreefile&gt;.dts(i) 

after the prepare step of the kernel package.</description>
    </item>
    <item rdf:about="https://support.tq-group.com/en/general_information/tutorial/edid?rev=1738063030&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-01-28T11:17:10+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>edid</title>
        <link>https://support.tq-group.com/en/general_information/tutorial/edid?rev=1738063030&amp;do=diff</link>
        <description>Basic Information about EDID



EDID (Extended Display Identification Data) is a data structure between the graphics unit and the connected monitor. Via this the graphic unit receives the values of the display like timings, resolution, colors and further information about the used display. mostly the EDID data is stored as 128 byte large binary in an EEPROM which is then read via an interface like I2C.</description>
    </item>
    <item rdf:about="https://support.tq-group.com/en/general_information/tutorial/gpio?rev=1738063030&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-01-28T11:17:10+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>gpio</title>
        <link>https://support.tq-group.com/en/general_information/tutorial/gpio?rev=1738063030&amp;do=diff</link>
        <description>Using GPIO from sysfs

Where to find GPIO&#039;s in sysfs

GPIO&#039;s are listed under /sys/class/gpio

Calculate Linux GPIO Number  Freescale i.MX Processor Family

Linux GPIO Number = &lt;GPIO_bank – 1&gt; × 32 + &lt;GPIO Port number&gt;

example

GPIO2_04 = (2 - 1) * 32 + 4 = GPIO 36 (Linux)</description>
    </item>
    <item rdf:about="https://support.tq-group.com/en/general_information/tutorial/i2c?rev=1738063030&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-01-28T11:17:10+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>i2c</title>
        <link>https://support.tq-group.com/en/general_information/tutorial/i2c?rev=1738063030&amp;do=diff</link>
        <description>I2C

U-Boot

read i2c addresses


U-Boot &gt; i2c dev &lt; busnumber &gt;
U-Boot &gt; i2c probe


example


U-Boot &gt; i2c dev 0
U-Boot &gt; i2c probe


read eeprom 0x50

i2c md 0x50 0x20.2   read MAC adress 

i2c md 0x50 0x30.2   read serial number 


Linux


root@MBaXXX:~ i2cdetect &lt;busnumber&gt;</description>
    </item>
    <item rdf:about="https://support.tq-group.com/en/general_information/tutorial/new_platform?rev=1738063030&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-01-28T11:17:10+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>new_platform</title>
        <link>https://support.tq-group.com/en/general_information/tutorial/new_platform?rev=1738063030&amp;do=diff</link>
        <description>General

Creating a new platform in PTXdist

We highly recommend to create a new platform for your board in PTXdist

Work in progress</description>
    </item>
    <item rdf:about="https://support.tq-group.com/en/general_information/tutorial/new_ptxdist_package?rev=1738063030&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-01-28T11:17:10+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>new_ptxdist_package</title>
        <link>https://support.tq-group.com/en/general_information/tutorial/new_ptxdist_package?rev=1738063030&amp;do=diff</link>
        <description>How to create a simple &quot;Hello, World!&quot; application with PTXdist

In this tutorial we use the STKa6x and BSP Rev.0109, but you can easily adapt this example to any other TQ staterkit and BSP.

Make sure you are in the BSP root directory


user@ubuntu-vm:~$ cd workspace/TQMa6x-BSP-REV.0109/
user@ubuntu-vm:~/workspace/TQMa6x-BSP-REV.0109$</description>
    </item>
    <item rdf:about="https://support.tq-group.com/en/general_information/tutorial/nfs_boot?rev=1738063030&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-01-28T11:17:10+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>nfs_boot</title>
        <link>https://support.tq-group.com/en/general_information/tutorial/nfs_boot?rev=1738063030&amp;do=diff</link>
        <description>Using NFS boot

For module specific configuration please see the following links:

	*  TQMa6x
	*  TQMa7x
	*  TQMa6ULx
	*  TQMa28
	*  TQMa335x
	*  TQMLS102xA</description>
    </item>
    <item rdf:about="https://support.tq-group.com/en/general_information/tutorial/patch_git?rev=1738063030&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-01-28T11:17:10+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>patch_git</title>
        <link>https://support.tq-group.com/en/general_information/tutorial/patch_git?rev=1738063030&amp;do=diff</link>
        <description>Create a patch with git

In this tutorial we will use git to create a new patch for the package “u-boot”.
The patch modifies the default environment of U-Boot, which results in the rootfilesystem of TQMa6x BSP Rev.0105 being mounted in read/write</description>
    </item>
    <item rdf:about="https://support.tq-group.com/en/general_information/tutorial/ptxdist_license_report?rev=1738063030&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-01-28T11:17:10+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ptxdist_license_report</title>
        <link>https://support.tq-group.com/en/general_information/tutorial/ptxdist_license_report?rev=1738063030&amp;do=diff</link>
        <description>PTXdist license report

Tested with PTXdist 2016.04 and PTXdist 2015.05

Prerequisites

The following packages must be installed on the Linux development host:

	*  dot2tex
	*  texliv-xetex
	*  texliv-latex-extra 

Create license report

With the following command the license reoprt can be created after building the BSP.</description>
    </item>
    <item rdf:about="https://support.tq-group.com/en/general_information/tutorial/pwm?rev=1738063030&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-01-28T11:17:10+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>pwm</title>
        <link>https://support.tq-group.com/en/general_information/tutorial/pwm?rev=1738063030&amp;do=diff</link>
        <description>Using PWM from sysfs

following Instuction only works for Linux kernel 3.11 or greater 

Where to find PWM devices in sysfs

PWM devices are listed under /sys/class/pwm

export PWM device

You must export the PWM at first, otherwise the other commands in this tutorial will not work</description>
    </item>
    <item rdf:about="https://support.tq-group.com/en/general_information/tutorial/secure_boot_x86?rev=1774253537&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-03-23T08:12:17+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>secure_boot_x86</title>
        <link>https://support.tq-group.com/en/general_information/tutorial/secure_boot_x86?rev=1774253537&amp;do=diff</link>
        <description>Secure Boot Setup with Manual Key Enrollment via USB

A quick guide to configure Secure Boot by generating keys and enrolling them manually in the BIOS from a USB stick.

1. Prerequisites: Install Tools



You need openssl for key creation and sbsigntool</description>
    </item>
    <item rdf:about="https://support.tq-group.com/en/general_information/tutorial/spi?rev=1738063030&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-01-28T11:17:10+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>spi</title>
        <link>https://support.tq-group.com/en/general_information/tutorial/spi?rev=1738063030&amp;do=diff</link>
        <description>SPI




This tutorial was tested on STKa6x BSP with Rev.0104 and BSP Rev.0105

SPI can be tested with spidev_test from the kernel sources.

&lt;https://www.kernel.org/doc/Documentation/spi/spidev_test.c&gt;

spidev_test is included by default in the BSP, you will find it under /usr/bin/.



Testing spidev 0.1

spidev_test is a loopback test, to use it on the Starterkit put a bridge between the pins</description>
    </item>
    <item rdf:about="https://support.tq-group.com/en/general_information/tutorial/systemd_getty?rev=1738063030&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-01-28T11:17:10+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>systemd_getty</title>
        <link>https://support.tq-group.com/en/general_information/tutorial/systemd_getty?rev=1738063030&amp;do=diff</link>
        <description>systemd: enable getty for framebuffer console (tty0)
 Scenario:   Use an HDMI/DVI monitor and USB keyboard (instead of RS232 connection) to control the starterkit.   Tested with:   STKa6x Rev.02xx + BSP Rev.0109   May also work on:   STKLS102xA, STKa7x, STKa6ULx</description>
    </item>
    <item rdf:about="https://support.tq-group.com/en/general_information/tutorial/u-boot_tools?rev=1738063030&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-01-28T11:17:10+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>u-boot_tools</title>
        <link>https://support.tq-group.com/en/general_information/tutorial/u-boot_tools?rev=1738063030&amp;do=diff</link>
        <description>U-Boot Tools

Working with U-Boot tools requires that the environment has been saved with the saveenv command from  U-Boot prompt, otherwise the U-Boot tools are using the default environment.

If redundant environment is configured the saveenv command must be executed twice to write the the second environment.</description>
    </item>
    <item rdf:about="https://support.tq-group.com/en/general_information/tutorial/uboot_tools?rev=1738063030&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-01-28T11:17:10+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>uboot_tools</title>
        <link>https://support.tq-group.com/en/general_information/tutorial/uboot_tools?rev=1738063030&amp;do=diff</link>
        <description>U-Boot Tools

U-Boot provides two tools to read fw_printenv and  edit fw_setenv the U-Boot environment from the Linux shell.   The U-Boot tools are selected by default in PTXdist based BSP&#039;s. This tutorial describes how to setup the configuration file and the usage of the tools mentioned above.</description>
    </item>
    <item rdf:about="https://support.tq-group.com/en/general_information/tutorial/update_firmware_tftp?rev=1738063030&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-01-28T11:17:10+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>update_firmware_tftp</title>
        <link>https://support.tq-group.com/en/general_information/tutorial/update_firmware_tftp?rev=1738063030&amp;do=diff</link>
        <description>Updating existing firmware over ethernet



This tutorial describes hoe to update the firmware files in U-Boot.

Prerequisites

	*  Configured TFTP Server on development host, please see How to setup TFTP Server

1. Boot from eMMC or SD and stop autoboot in U-Boot


Hit any key to stop autoboot:  0
=&gt;</description>
    </item>
    <item rdf:about="https://support.tq-group.com/en/general_information/tutorial/write_sdcard_image?rev=1738063030&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-01-28T11:17:10+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>write_sdcard_image</title>
        <link>https://support.tq-group.com/en/general_information/tutorial/write_sdcard_image?rev=1738063030&amp;do=diff</link>
        <description>Balena Etcher (Windows, Linux and MacOS)


This guide provides step-by-step instructions on how to write an image to an SD card using Balena Etcher.
Balena Etcher is a user-friendly and open-source tool designed for flashing operating system images to SD cards, USB drives, and other removable storage devices. It simplifies the process of writing images to storage media like sd-cards.</description>
    </item>
    <item rdf:about="https://support.tq-group.com/en/general_information/tutorial/x86_linux_installation?rev=1738063030&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-01-28T11:17:10+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>x86_linux_installation</title>
        <link>https://support.tq-group.com/en/general_information/tutorial/x86_linux_installation?rev=1738063030&amp;do=diff</link>
        <description></description>
    </item>
    <item rdf:about="https://support.tq-group.com/en/general_information/tutorial/x86_windows_installation?rev=1738063030&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-01-28T11:17:10+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>x86_windows_installation</title>
        <link>https://support.tq-group.com/en/general_information/tutorial/x86_windows_installation?rev=1738063030&amp;do=diff</link>
        <description></description>
    </item>
</rdf:RDF>
