The Starterkit STKLS10xxA consisting of the TQMLS10xxA module and MBLS10xxA mainboard is intended as evaluation platform for the TQMLS10xxA. To bring up the board a comprehensive set of accessories is supplied with the kit. The STKLS10xxA is delivered preconfigured to boot the latest released Linux BSP revision at the time of delivery, so only the Host Computer has to be set up properly to bring the STKLS10xxA up. This page guides through the first steps with the STKLS10xxA Starterkit.
The TQMLS10xxA debug UART is connected via a FTDI USB-to-Serial converter to X38 (micro-USB) on the MBLS10xxA. A micro-USB/USB-A cable for the connection to the host PC is part of the STKLS10xxA accessory set. Depending on the host operating system, the USB-to-serial converter driver may need to be installed.
The FTDI driver is maintained in the Linux mainline kernel, the configuration options below must be activated in the Linux kernel configuration to operate the USB-to-Serial converter
The driver can be downloaded from the FTDI website:
https://ftdichip.com/drivers/vcp-drivers/
An installation guide can be found at the following link:
https://ftdichip.com/document/installation-guides/
Minicom is a command line based serial terminal for serial communication with hardware like our starterkits.
$ sudo apt install minicom
In order for the terminal to work properly with full rights you need to add your user to the dialout group:
$ sudo usermod -a -G dialout $USER
To determine the serial device name under linux you can use dmesg. Just run the command below and then plug in the starter kit to see the new detected interface names:
$ dmesg -w
Once the interface name is clear you can abort dmesg with ctrl + c.
Now you can start minicom via the command line interface:
$ minicom -D /dev/ttySx
The serial configuration should be correct by default. However, hardware flow control must be disabled for some starter kits, otherwise the communication works only in one direction.
TeraTerm is an open source terminal emulator for windows. It can be downloaded here.
The serial port which connects the STKLS10xxA to the Host PC must be configured as follows:
| Baud rate: | 115200 |
|---|---|
| Data bits: | 8 |
| Parity: | none |
| Stop bits: | 1 |
| Handshake: | XON/XOFF |
Please follow the quick start guide delivered with the kit, or open it from the following link: Quick start guide
As soon as logging in on the Linux shell for the first time, the question about the login credential comes up.
By default the user root is used to log into the Linux shell, no password is set for user root.
tqmaxx-mbaxx login: root
To get familiar with the interfaces of the STKLS10xxA we recommend to work through the interface tutorials first.
The Board Support Packages provided by TQ may not contain all software packages to evaluate the STKLS10xxA, therefore TQ provides some guides how to build the BSP and customize it for your needs:
In addition to the BSP documentation, the Yocto SDK build and Eclipse IDE setup for the STKLS10xxA is also documented.
The STKLS10xxA can be setup to boot from different sources. Please see the DIP switch settings below to change the boot source.
S5
S6
S7
S8
S10
To select the desired boot medium set the DIP switches accordingly
S5
S5
S5
| DIP | ON | OFF |
|---|---|---|
| 1 | SerDes1 Lane A - SGMII | SerDes1 Lane A - QSGMII |
| 2 | SerDes1 Lane B - SGMII | SerDes1 Lane B - QSGMII |
| 3 | SerDes1 Lane D - SGMII | SerDes1 Lane D - XFI2 |
| 4 | SerDes2 Lane B - MPCIe | SerDes2 Lane B - SGMII |
| DIP | Function | ON | OFF |
|---|---|---|---|
| 1 | QSGMII1 CLK SEL | 156.25 MHz | 125 MHz |
| 2 | QSGMII PHY1 CONFIG | QSGMII to Copper | SGMII to Copper |
| 3 | QSGMII2 CLK SEL | 156.25 MHz | 125 MHz |
| 4 | QSGMII PHY2 CONFIG | QSGMII to Copper | SGMII to Copper |
| DIP | Function | ON | OFF |
|---|---|---|---|
| 1 | SerDes2 Lane D | PCIe | MPCIE/SATA |
| 2 | SerDes2 Lane D | SATA | MPCIE |
| 3 | Demuxing | turn off | turn on |
| 4 | SerDes1 REF CLK2 | 156.25 MHz | 125 MHz |
| DIP | ON | OFF |
|---|---|---|
| 1 | DVDD=3.3V | DVDD=1.8V |
| 2 | EVDD=3.3V | EVDD=1.8V |