Page 5
Usage The information in this manual is valid for all standard variants of the phyGATE Tauri-S industrial gateway from PHYTEC Messtechnik GmbH. An overview of all devices and variants to which the descriptions apply can be found in Product Information.
Page 6
For data communication, the devices provide various typical industrial interfaces for connection to surrounding devices. This PHYTEC standard gateway is supplied exclusively as an OEM device by PHYTEC Messtechnik GmbH and requires an adaptation of the operating software for the intended application by the distributor of the device.
Page 21
If you are using your own SD Card, you'll have to download the prebuilt image file and burn it to the SD card first: Choose the right pre-built image from Phytec-ftp-Server. There is currently only one prebuild image available. The following links will take you to the download pages: •...
Page 25
L-1012e.A3 phyGATE-Tauri-S i.MX 6UL/ULL Kit Hardware and BSP Manual Yogurt Vendor (Phytec Vendor Distribution) 2.6.2 phyGATE-Tauri-imx6ul-2 ttymxc2 phyGATE-Tauri-imx6ul-2 login: 5.6 Set up Device Interfaces 5.6.1 Connecting to RS232 The phyGATE-Tauri-S provides up to two RS232 interfaces (RS232_0, RS232_1). From the command line prompt of Linux userspace, you can easily send and receive data over the RS232 interface.
Page 28
Configuration. 6.3 Finding the Correct Software Platform To find the correct software and the corresponding machine name for your PHYTEC board, go to i.MX 6UL/ULL BSP Releases and click on the corresponding BSP release, or refer to the files in the source folder of the BSP: meta-pbacd20/conf/machine/*.conf...
Page 30
The easiest way to get started with your freshly created images is by writing them to an SD card and setting the boot configuration accordingly. For information on how to set the correct boot configuration, refer to the corresponding hardware manual for your PHYTEC board. 7.1 Booting from NAND Flash NAND is the default boot source.
Page 33
Then copy your BSP image files to this directory. You also need to configure a static IP address for the appropriate interface. The default IP address of the PHYTEC evaluation boards is 192.168.3.11. So setting 192.168.3.10 with netmask 255.255.255.0 as a host address is a good choice.
Page 39
This results in the creation of a .raucb bundle file in the deploy/images/<machine-name>/phytec-qt5demo-bundle- <machine-name>.raucb file which can be used for an update described in the next chapter. There is no need to create a manifest.raucm manually as it is created automatically during the build of the bundle. But as a reference,...
Page 40
2102512a05e37ba78e8dba06553be2f1c686e85acafbe5efd44e48c554b3f6db Size: 34242 Hooks: Files Certificate Chain: Subject: /O=PHYTEC Messtechnik GmbH/CN=PHYTEC Messtechnik GmbH Development-1 Issuer: /O=PHYTEC Messtechnik GmbH/CN=PHYTEC Messtechnik GmbH PHYTEC BSP CA Development SPKI sha256: E2:47:5F:32:05:37:04:D4:8C:48:8D:A6:74:A8:21:2E:97:41:EE:88:74:B5:F4:6 5:75:97:76:1D:FF:1D:7B:EE Not Before: Jan 1 00:00:00 1970 Not After: 31 23:59:59 9999...
Page 41
To update the currently inactive system with the downloaded bundle, run: target$ rauc install phytec-headless-bundle-phygate-tauri-imx6u1-6.raucb and reboot afterward: target$ reboot When you update from a USB stick, make sure to remove the stick after a successful update before rebooting.
Page 44
8.5 How to setup RAUC for your Machine First, you need to add the state framework configuration to the barebox device tree. Check out the BSP Customization chapter in the Yocto reference manual. You have to include the imx6ul-phytec-state.dtsi file to your barebox device tree by adding #include imx6ul-phytec-state.dtsi to the includes. Afterward, rebuild the image ...
Page 51
The following sections provide an overview of the supported hardware components and their corresponding operating system drivers. Further changes can be ported upon customer request. To find out which boards and modules are supported by the release of PHYTEC’s i.MX 6UL/6ULL BSP described herein, visit our web page at https://www.phytec.de/produkt/system-on-modules/phycore-imx-6ul-download/...
Page 52
10.2 Serial TTYs The i.MX 6UL/6ULL SOCs provide up to 8 UART units. PHYTEC boards support different numbers of these UART units. The debug UART is configured as 115200 8N1 (115200 baud, 8 data bits, no parity bit, 1 stop bit). The other UARTs will have default settings, which normally will be 9600 baud.
Page 58
To generate random CAN traffic for testing purpose, use cangen. target$ cangen See cansend --help and candump --help help messages for further information on options and usage. Here is a device tree excerpt for the can interface of the phyBOARD-Segin (arch/arm/boot/dts/imx6ul-phytec-segin.dtsi): reg_can1_en: regulator-can1-en { compatible = "regulator-fixed";...
Page 60
If it does not contain one, the whole device can be used as a file system (”floppy” like handling). In this case, /dev/mmcblk0 must be used for formatting and mounting. --------------------------------------- The cards are always mounted as being writable. Device tree configuration for the MMC interface in arch/arm/boot/dts/imx6qdl-phytec-segin.dtsi: &iomuxc { pinctrl_usdhc1: usdhc1grp { fsl,pins = <...
Page 62
BKOPS feature. It frees the host to trigger the background operations regularly because the device starts BKOPS itself when it is idle (see the description of bit AUTO_EN in register BKOPS_EN (Reg: 163)). eMMC chips deployed by PHYTEC currently do not support the new standard v5.1. The Linux kernel and userspace tool mmc do not support this feature.
Page 66
10.7 NAND Flash PHYTEC i.MX 6UL/6ULL modules are equipped with raw NAND memory, which is used as media for storing Linux, DTB, and root filesystem including applications and their data files. The NAND Flash is connected to the General Purpose Media Interface (GPMI) of the i.MX 6Ul/6ULL. The NAND Flash type and size is automatically detected via the Open NAND Flash Interface (ONFI) during boot.
Page 67
10.8 GPIOs PHYTEC boards often have a set of pins especially dedicated to user I/Os. These pins are connected directly to i.MX 6UL/6ULL pins. The processor has organized its GPIOs into five chips (gpiochip0 – gpiochip4) of 32 GPIO lines each. By contrast, the Linux kernel uses a single integer to enumerate all available GPIOs in the system.
Page 68
In this case, the new group will override the existing one. Fir example, to add pin 42 of the expansion connector of the phyBOARD-Segin as user GPIO, modify the arch/arm/ boot/dts/imx6ul-phytec-segin.dtsi file as shown below: &iomuxc { pinctrl-names = "default";...
Page 70
The i.MX 6UL contains four Multimaster fast-mode I²C modules called I2C1, I2C2, I2C3, and I2C4. This chapter will describe the basic device usage of some of the I²C devices integrated on our phyBOARD-Segin. General i²C bus master device tree node (arch/arm/boot/dts/imx6ul-phytec-phycore-som.dtsi): &i2c1 { pinctrl-names = "default";...
Page 71
10.9.2 RTC RTCs can be accessed via /dev/rtc*. Because PHYTEC boards often have more than one RTC, there might be more than one RTC device file. To find out the name of the RTC device, you can read its sysfs entry with:...
Page 72
-w -u to store the new date into the RTC. For more information about this tool, refer to the manpage of hwclock. Device tree representation of I²C RTC (arch/arm/boot/dts/imx6ul-phytec-segin.dtsi): &i2c1 { i2c_rtc: rtc@68 { pinctrl-names = "default";...
Page 73
10.11 USB OTG Most PHYTEC boards provide a USB OTG interface. USB OTG ports automatically act as a USB device or USB host. The mode depends on the USB hardware attached to the USB OTG port. If, for example, a USB mass storage device is attached to the USB OTG port, the device will show up as /dev/sda.
Page 77
10.14 Watchdog The PHYTEC i.MX 6UL/6ULL SOCs include a hardware watchdog that is able to reset the board when the system hangs. This chapter will explain how to handle the watchdog in the barebox to monitor a kernel boot and also how to handle the watchdog in Linux using systemd to check for system hangs and during reboot.
Need help?
Do you have a question about the phyGATE Tauri-S L-1012e.A3 and is the answer not in the manual?
Questions and answers