Technologic Systems TS-7100 Series Manual Download Page 19

2/11/2020

TS-7100 - Technologic Systems Manuals

https://wiki.embeddedarm.com/w/index.php?title=TS-7100&printable=yes

19/44

Note:

This section is incomplete at this time.

7.2 Restoring Stock / Backup / Production Image

7.2.1 Booted from USB / NFS

These instructions assume the TS-7100 is booted to Linux from network via NFS or USB mass storage. They also
assume that the eMMC is unmodified, with a single partition. If the partition table has been modified, a utility such
as 'gparted' or 'fdisk' may be needed to remove the existing partition table and recreate it with a single partition.
Note that the partition table must be "MBR" or "msdos", the "GPT" partition table format is not supported by U-
Boot.

Once booted to any device that is not the eMMC:

# Verify nothing else has the first eMMC partition mounted

umount

 /dev/mmcblk0p1 

  
mkfs.ext3 /dev/mmcblk0p1 

mount

 /dev/mmcblk0p1 /mnt/emmc 

wget

 http://ftp.embeddedarm.com/ftp/ts-arm-sbc/ts-7100-linux/distributions/ts7100-linux4.9-latest.tar.xz 

tar

 

-xf

 ts7100-linux4.9-latest.tar.xz 

-C

 /mnt/emmc 

umount

 /mnt/emmc 

sync

Note:

The ext4 filesystem can be used instead of ext3, but it may require
additional options. U-Boot does not support the 64bit addressing added as
the default behavior in recent revisions of mkfs.ext4. If using e2fsprogs
1.43 or newer, the options "-O ^64bit,^metadata_csum" must be used
with ext4 for proper compatibility. Older versions of e2fsprogs do not
need these options passed nor are they needed for ext3.

Once written, the files on disk can be verified to ensure they are the same as the source files in the archive. To do
so, run the following commands:

mount

 /dev/mmcblk0p1 /mnt/emmc 

cd

 /mnt/emmc/ 

md5sum 

--quiet

 

-c

 md5sums.txt 

cd

 - 

umount

 /mnt/emmc 

sync

The 'md5sum' command will report any differences between files and their checksums. Any differences are an
indication of failure to write data or a damaged disk. Note that the "/md5sums.txt" file is present in our stock
tarballs and is created in custom images as a part of our scripts to do so. This file may not be present in custom
images created without our tools, or it may be present but not properly updated. This will result in reported errors.

8 Compile the Kernel

Summary of Contents for TS-7100 Series

Page 1: ...tex a7 core i MX6UL fpsp 1 tab Documentation_Tab TS 7100 From Technologic Systems Manuals Note This manual is incomplete at this time and is subject to change without warning while the TS 7100 is in E...

Page 2: ...1 4 FPGA IRQs 10 10 FRAM 10 11 I2C 10 12 Interrupts 10 13 LCD 10 13 1 Splash Screen 10 14 LEDs 10 15 Relays 10 16 Sleep 10 16 1 Suspend to RAM 10 17 SPI 10 18 TS SILO Supercapacitors 10 19 UARTs 10 1...

Page 3: ...As always if there are any questions or concerns please reach out to Technologic Systems support team https www embeddedarm com support 2 Overview The TS 7100 is a small embedded CPU module with an NX...

Page 4: ...e TS 7100 includes a USB Micro B device port this uses a 8051 based microcontroller to create a debug console serial interface on a host PC The serial console is provided through this port at 115200 b...

Page 5: ...needed modify the settings to match this and hit esc when done E Bps Par Bits 115200 8N1 F Hardware Flow Control No G Software Flow Control No Navigate to Save setup as d hit enter and then esc Consol...

Page 6: ...2 11 2020 TS 7100 Technologic Systems Manuals https wiki embeddedarm com w index php title TS 7100 printable yes 6 44...

Page 7: ...utoboot in 1 second s starting USB USB0 Port not available USB1 USB EHCI 1 00 scanning bus 1 for devices 1 USB Device s found scanning usb for storage devices 0 Storage Device s found No storage devic...

Page 8: ...TS 7100 ships with a Debian image installed and ready to boot It is not necessary to download and install the latest image below for operating the device However please check the image changelog to ve...

Page 9: ...ight be eth1 but some devices may use enp1s0 for PCIe or enx00D069C0FFEE the MAC address appended for USB ethernet interfaces Run ifcon g a or ip a to get a complete list of interfaces including the o...

Page 10: ...t devices as they connect The hostapd utility is used to manage the access point of the device This is usually installed by default but can be installed with apt get update apt get install hostapd y N...

Page 11: ...network Set up hostapd First create the le etc systemd system hostapd_user service with the following contents Unit Description Hostapd IEEE 802 11 AP Wants network target Before network target Before...

Page 12: ...lopment 5 3 1 Debian Stretch Cross Compiling Debian Stretch provides cross compilers from its distribution An install on a workstation can build for the same release on other architectures A Linux des...

Page 13: ...network protocols like NFS SCP FTP etc If any created binaries do not rely on hardware support like GPIO or CAN they can be run using qemu using the hello world example from before hello world Returns...

Page 14: ...org stretch With the package name apt get install can be used to install the prebuilt packages apt get install openjdk 8 jre More than one package can be installed at a time apt get install openjdk 8...

Page 15: ...d have added on top of it everything that is required for operation with one of our products In order to provide consistency the Buildroot image we provide and the default con guration are fairly larg...

Page 16: ...build of Buildroot after a clean However it will take up additional hard drive space and if any changes are made to the cross compiler con guration the ccache directory must be removed rst See the Bui...

Page 17: ...great resource here http wiki debian org Network that can be readily applied to Buildroot in most cases 6 4 Installing New Software By default Buildroot does not include a package manager This means i...

Page 18: ...that will toggle the red led on during startup and off during shutdown In this case the le is named customstartup but you can replace this with any application name as well Edit the le etc init d S99c...

Page 19: ...ar xf ts7100 linux4 9 latest tar xz C mnt emmc umount mnt emmc sync Note The ext4 lesystem can be used instead of ext3 but it may require additional options U Boot does not support the 64bit addressin...

Page 20: ...m d git describe abbrev 8 dirty always tar gz C TEMPDIR rm rf TEMPDIR This will output a tarball with the kernel version and short git hash as well as the date the tarball was created For example lin...

Page 21: ...e host device Upon completion of the script the green or red LEDs will blink to visually indicate a pass or fail of the script This script can be used without modi cation to write images from USB with...

Page 22: ...oth The Wi Fi option for the unit also includes a bluetooth 4 0 LE module Both Wi Fi and Bluetooth can be active at the same time However in order for bluetooth to function the Wi Fi device must rst b...

Page 23: ...can0 up type can bitrate 1000000 The CAN transceiver is automatically controlled by the kernel If the interface is brought up in Linux then the transceiver will be enabled By default when the kernel...

Page 24: ...ruct timeval CMSG_SPACE sizeof __u32 char ifname can0 if s socket PF_CAN SOCK_RAW CAN_RAW 0 perror Error while opening socket return 1 strcpy ifr ifr_name ifname ioctl s SIOCGIFINDEX ifr addr can_fami...

Page 25: ...rectories for interacting with GPIO which can be used from any language that interact with special les in linux using ioctl or similar For our platforms we pre install the libgpiod library and binarie...

Page 26: ...2 11 2020 TS 7100 Technologic Systems Manuals https wiki embeddedarm com w index php title TS 7100 printable yes 26 44 The gpiomon tool can be used to monitor pins for changes...

Page 27: ...5 0 DIO 1 Out or PWM on CN32 Terminal 5 1 DIO 2 Out or PWM on CN32 Terminal 5 2 DIO 1 In on CN32 Terminal 5 3 DIO 2 In on CN32 Terminal 5 4 DIO 3 In on CN32 Terminal 5 5 FPGA DIO 06 5 6 Digital In 1 o...

Page 28: ...l clear this bit 2 2 0 2 1 To disable power on this pin set the GPIO as an input with gpioset or otherwise 3 Default enabled on P2 PCB 4 This will relocate the USB channel connected to the top USB hos...

Page 29: ...current low side switches The table below lists each digital output the bank and pin number for accessing it the maximum voltage rating the maximum current output as well as the location of the pin D...

Page 30: ...on dev mmcblk0boot1 eMMC boot partition dev mmcblk0p1 Full Debian Linux partition This platform includes an eMMC device a soldered down MMC ash device Our off the shelf builds are 4 GB but up to 64 GB...

Page 31: ...them once they are made Because of this setting these eMMC modes will invalidate Technologic Systems return replacement warranty on the unit See the warranty section for more information on this The...

Page 32: ...000 For example to read the FPGA information at the rst register of the syscon root ts imx6ul memtool md l 0x50004000 4 50004000 00000006 Offset Description 0x0000 UART 16550 0 0x0100 Opencore SPI con...

Page 33: ...Data 0x14 WR 15 0 DIO bank 0 Data Clear 0x16 RD 15 0 DIO bank 0 Output Enable 0x16 WR 15 0 DIO bank 0 Output Enable Clear 0x20 WR 31 0 Fractional clock generator 1 0x24 RD 31 0 IRQ Status 0x24 WR 31...

Page 34: ...fast to write and is speci ed with 1 trillion read write cycles per each byte and a 200 year data retention The device is connected to Linux and presents itself as a at le that can be read and writte...

Page 35: ...sion would look like the following splash convert Logo png Background color can also be passed splash convert background blue NewLogo jpg Any arguments to convert can be arbitrarily passed splash conv...

Page 36: ...lays on the CN32 Terminal Block header These are Emet EE2 5NU L general purpose relays that will switch up to 2A at 220VDC or 250VAC These can be controlled with GPIO Connect Relay 1 NO to Common gpio...

Page 37: ...WDT in hardware At power on the WDT in the microcontroller is live and running This means that any failures in the boot process will cause a reboot and another attempt From there feeds must be manuall...

Page 38: ...g Advanced Equalization and Channel Estimation Advanced Carrier and Timing Synchronization Wi Fi Direct and Soft AP support Supports IEEE 802 11 WEP WPA and WPA2 Security Supports China WAPI security...

Page 39: ...2 11 2020 TS 7100 Technologic Systems Manuals https wiki embeddedarm com w index php title TS 7100 printable yes 39 44...

Page 40: ...PIO Bank 5 IO 6 10 Relay 2 Normally Closed 11 DIG_IN_2_STC GPIO Bank 5 IO 7 12 Relay 2 Common 13 DIG_IN_3_STC GPIO Bank 5 IO 8 14 Output Bank 5 IO 0 or Input Bank 5 IO 2 15 CAN_L can0 16 Output Bank 5...

Page 41: ...uses USB If not verify the expected serial baud rate and settings Some modems need 3 3V power and some modems expect a typical of 4V For modules wanting 4V gpioset 7 6 1 For modules wanting 3 3V gpio...

Page 42: ...uded with the board The 2 pin terminal block supports 8 48VDC input A typical power supply will provide 1A at 12V More details can be found in the Power Consumption section Pin Description 1 Left 8 48...

Page 43: ...manufacturer s instructions may cause interference to radio and television reception It has been type tested and found to comply with the limits for a Class A digital device in accordance with the spe...

Page 44: ...al or consequential damages loss of business or anticipatory pro ts arising from the use or inability to use this product Repairs made after the expiration of the warranty period are subject to a repa...

Reviews: