Armadillo-IoT Gateway G3Product Manual - INTL Precautions Chapter 1. Precautions 1.1. Safety Precautions In order to use this product safely, please take special note of the following precautions. • Be sure to read all product manuals and related documentation before using this product.
Armadillo-IoT Gateway G3Product Manual - INTL Precautions • Please do not use products with Wireless LAN functionality in places near medical devices such as heart pacemakers and hearing aids, automatic control equipment such as fire alarms and automatic doors, microwave ovens, ad- vanced electronic equipment or televisions and radios, or near "Premises Ra- dio Stations"...
Armadillo-IoT Gateway G3Product Manual - INTL Precautions This wireless device (AEH-AR9462) uses the 2.4GHz band. All of the band is used, and the band used by mobile identification devices can be avoided. The modulation systems used are DS-SS and OFDM, and the estimated interference distance is 40 meters or less.
As laid out in the Product Warranty Policy which is provided with this product or available on our web site, the main board of this product is covered by a one year replacement warranty from time of purchase. Please note that the other included goods and software are not covered by the warranty. Product warranty policy http://www.atmark-techno.com/support/warranty-policy...
1.8. Trademarks • Armadillo is a registered trademark of Atmark Techno, Inc. All other company names, product names and related trademarks are the property of their respective owners. ™ and ® marks are omitted.
• Development Environment "Atmark Techno Development Environment" (ATDE) is provided free of charge as the development environment for Armadillo. ATDE is a virtual machine image for VMware. The image is based on a Linux desktop environment and has GNU cross development tools and other necessary tools preinstalled.
OP-AGA-WS00-00 Armadillo-IoT Isolated Digital I/O / Analog Input Add-on Module DA00 OP-AGA-DA00-00 Scheduled to be released 2.3. Specifications The main specifications of Armadillo-IoT Gateway G3 are as follows. Table 2.2. Specifications Product Number AGX3150 NXP Semiconductors i.MX 7 Dual ARM Cortex-A7 x 2...
Page 17
Armadillo-IoT Gateway G3Product Manual - INTL Product Overview Product Number AGX3150 3G module: Gemalto PDS6 ellular Module MicroSIM slot x 1 Serial (UART) 3.3V CMOS x 1 SD/MMC SD slot x 1 USB 2.0 Host x 1 (High Speed) Real-time Clock Calendar Clock Power Supply Connector For External Backup Add-on Module...
Armadillo-IoT Gateway G3Product Manual - INTL Product Overview 2.4. Armadillo-IoT Gateway Exterior Figure 2.1. Armadillo-IoT Gateway Exterior Table 2.3. Part Names and Functions Number Name Description LAN Connector Used to connect a LAN cable. USB Connector Used to connect devices USB memory. Power Connector 1 Used to connect the included AD adapter.
Armadillo-IoT Gateway G3Product Manual - INTL Product Overview 2.5. Block Diagram The block diagram of the Armadillo-IoT gateway is as follows. Figure 2.2. Armadillo-IoT Gateway Block Diagram 2.6. Software Make-up The following explains about the makeup of the software that runs on Armadillo-IoT. The software available for Armadillo-IoT is shown in Table 2.4, “Software Available for Armadillo-IoT”.
Armadillo-IoT Gateway G3Product Manual - INTL Product Overview Software Description A Linux distribution created by the Debian Project. With its package management system, it is easy to add a wealth of software Debian GNU/ packages provided by the Debian Project. In the factory default state, the Debian GNU/Linux root file system is located in Linux eMMC, but it can also be placed in a storage device supported by Linux kernel such as an SD card.
3.2. Setup of Environment for Development and Operational Checks A VMware virtual machine data image is provided to allow easier software development and operational checks of Atmark Techno products. The VMware virtual machine data image is referred to as ATDE (Atmark Techno Development Envi- ronment).
The documentation can be obtained from the VMware web site (http:// www.vmware.com/). 3.2.1.2. Obtaining the ATDE6 Archive The ATDE6 archive can be obtained from the Armadillo site (http://armadillo.atmark-techno.com) or the development set DVD. The version of ATDE6 supporting this product is v20160321 or later.
Page 23
Armadillo-IoT Gateway G3Product Manual - INTL Before Turning on Armadillo Procedure 3.1. Extracting the ATDE6 Archive on Windows Installing 7-Zip Install 7-Zip. 7-Zip can be obtained from the 7-Zip website (http://sevenzip.sourceforge.jp) or the DVD included in the development set. Starting 7-Zip Start 7-Zip.
Page 24
Armadillo-IoT Gateway G3Product Manual - INTL Before Turning on Armadillo Extracting the xz Compressed File The extraction begins. Selecting the tar Archive File Once the extraction of the xz compressed file has completed, a file in the tar format is created. Output the ATDE6 data image from the tar archive file with the same procedure as used for the tar archive file.
ATDE6 can be started by opening the virtual machine configuration (.vmx) file in the directory where you extracted the ATDE6 archive. Users which can be used to log on to ATDE6 are shown in Table 3.1, “Usernames and Passwords” Table 3.1. Usernames and Passwords Username Password Permissions atmark atmark General user root root Privileged user ATDE can be used more effectively by increasing the memory size and number of processors assigned to it.
Armadillo-IoT Gateway G3Product Manual - INTL Before Turning on Armadillo 3.2.2. Using Removable Devices VMware supports the use of removable devices (such as USB devices and DVDs) with the guest operating system (ATDE). Depending on the device, these devices cannot be used simultaneously by the host operating system (the operating system running VMware) and the guest operating system.
Armadillo-IoT Gateway G3Product Manual - INTL Before Turning on Armadillo Figure 3.2. GNOME Terminal Window 3.2.4. Using Serial Communication Software (minicom) Set the serial communication settings of the serial communication software (minicom) as shown in Table 3.3, “Serial Communication Configuration”. Also, please set the width of the terminal used to start minicom to 80 or more characters. The display may become disordered when entering commands if the width is less than 80 characters.
Armadillo-IoT Gateway G3Product Manual - INTL Before Turning on Armadillo To quit minicom, first enter Ctrl+a followed by the q key. After that, when the following is displayed, move the cursor to "Yes" and press Enter to quit minicom. +-----------------------+ | Leave without reset? +-----------------------+ Figure 3.5.
Armadillo-IoT Gateway G3Product Manual - INTL Before Turning on Armadillo Part Number Interface Name Form Notes Plug: Inner diameter 2.1mm, CON14 Power Input Interface 1 DC jack outer diameter 5.5mm CON15 Power Input Interface 2 Pin header 2 pin (2mm pitch) CON16 Power Output Interface Pin header 2 pin (2mm pitch)
Armadillo-IoT Gateway G3Product Manual - INTL Before Turning on Armadillo Armadillo-IoT Gateway AC adapter (12V) Work PC USB serial converter USB2.0 cable (A-miniB type) LAN hub LAN cable USB Memory SD Card MicroSIM card Figure 3.7. Armadillo-IoT Gateway Connection Example When using the AC adapter, connect the DC plug of the AC adapter to the Arma- dillo-IoT first and then plug the AC plug into the outlet.
Armadillo-IoT Gateway G3Product Manual - INTL Before Turning on Armadillo When power cycling while using either the standard AC adapter (OP-AC12V2-00) or the wide temperature range AC adapter (OP-AC12V3-00) , wait at least 3 sec- onds before turning the power back on. 3.5.
Armadillo-IoT Gateway G3Product Manual - INTL Before Turning on Armadillo 3.6.2. Character Input To enter characters, it is necessary to switch from command mode to input mode. To make this switch, enter the command shown in Table 3.5, “Commands to Enter Input Mode”. After entering input mode, characters are input as-is when their key is pressed.
Armadillo-IoT Gateway G3Product Manual - INTL Before Turning on Armadillo Command Operation Move one character down Move one character up Move one character to the right 3.6.4. Deleting Characters To delete a character, enter the command shown in Table 3.7, “Commands to Delete Characters” in command mode. Table 3.7.
Armadillo-IoT Gateway G3Product Manual - INTL Startup and Shutdown Chapter 4. Startup and Shutdown 4.1. Startup When connecting power to Armadillo-IoT G3, the start mode changes depending on the slide switch on the USB serial converter. For details, refer to Section 3.5, “Slide Switch Configuration”. This section shows an example when maintenance mode is selected.
Page 35
4.6.3-14atmark1) ) #383 SMP PREEMPT Sun Jun 12 14:33:00 JST 2016 CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c53c7d CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache Machine model: Atmark-Techno Armadillo-IoT Gateway G3 Board cma: CMA: reserved 320 MiB at 8c000000 Memory policy: Data cache writealloc PERCPU: Embedded 8 pages/cpu @8bb35000 s8256 r8192 d16320 u32768 Built 1 zonelists in Zone order, mobility grouping on.
Page 36
Armadillo-IoT Gateway G3Product Manual - INTL Startup and Shutdown CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 Brought up 2 CPUs SMP: Total of 2 processors activated (12.00 BogoMIPS). CPU: All CPU(s) started in SVC mode. devtmpfs: initialized VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 pinctrl core: initialized pinctrl subsystem regulator-dummy: no parameters NET: Registered protocol family 16...
Page 38
Armadillo-IoT Gateway G3Product Manual - INTL Startup and Shutdown V33: 2850 <--> 3300 mV at 3300 mV VLDO3: 1800 <--> 3300 mV at 3300 mV VLDO4: 1800 <--> 3300 mV at 3300 mV 30a70000.serial: ttymxc4 at MMIO 0x30a70000 (irq = 62, base_baud = 1500000) is a IMX console [ttymxc4] enabled serial: Freescale lpuart driver imx sema4 driver is registered.
Page 39
Armadillo-IoT Gateway G3Product Manual - INTL Startup and Shutdown 30b10200.usbmisc supply vbus-wakeup not found, using dummy regulator 30b20200.usbmisc supply vbus-wakeup not found, using dummy regulator 30b30200.usbmisc supply vbus-wakeup not found, using dummy regulator ci_hdrc ci_hdrc.0: EHCI Host Controller ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1 ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00 hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected...
Page 41
Armadillo-IoT Gateway G3Product Manual - INTL Startup and Shutdown Key type dns_resolver registered cpu cpu0: dev_pm_opp_get_opp_count: device OPP not found (-19) imx6q-pcie 33800000.pcie: PCI host bridge to bus 0000:00 pci_bus 0000:00: root bus resource [io 0x1000-0x10000] pci_bus 0000:00: root bus resource [mem 0x40000000-0x4fefffff] pci_bus 0000:00: root bus resource [bus 00-ff] PCI: bus0: Fast back to back transfers disabled PCI: bus1: Fast back to back transfers disabled...
Page 43
Armadillo-IoT Gateway G3Product Manual - INTL Startup and Shutdown systemd[1]: Started Create list of required static device nodes for the current kernel. systemd[1]: Mounting Debug File System... Mounting Debug File System... systemd[1]: Starting udev Coldplug all Devices... Starting udev Coldplug all Devices... systemd[1]: Starting Create Static Device Nodes in /dev...
Page 44
Armadillo-IoT Gateway G3Product Manual - INTL Startup and Shutdown Starting Journal Service... ] Started Journal Service. systemd[1]: Started Journal Service. Starting Trigger Flushing of Journal to Persistent Storage... ] Mounted Configuration File System. ] Mounted FUSE Control File System. ] Started udev Kernel Device Manager. ] Started Various fixups to make systemd work better on Debian.
Armadillo-IoT Gateway G3Product Manual - INTL Startup and Shutdown Starting Permit User Sessions... ] Started Restore /etc/resolv.conf if the system crash...was shut down.. ] Started Permit User Sessions. ] Started System Logging Service. ] Started Login Service. Starting Hostname Service... Starting Authenticate and Authorize Users to Run Privileged Tasks...
Change the default password. [armadillo ~]# passwd Enter new UNIX password: # Enter new password here Retype new UNIX password: # Re-enter Login as atmark Change the default password. [armadillo ~]$ passwd Enter new UNIX password: # Enter new password here...
Armadillo-IoT Gateway G3Product Manual - INTL Startup and Shutdown passwd: password updated successfully Changing the user information for guest Enter the new value, or press ENTER for the default Full Name []: # press ENTER Room Number []: # press ENTER Work Phone []: # press ENTER Home Phone []: # press ENTER Other []: # press ENTER...
Page 48
Armadillo-IoT Gateway G3Product Manual - INTL Startup and Shutdown target Bluetooth. ] Stopped target Sound Card. Stopping User Manager for UID 0... Stopping WPA supplicant... Stopping Authenticate and Authorize Users to Run Privileged Tasks... Stopping Bluetooth service... ] Stopped target Graphical Interface. ] Stopped target Multi-User System.
Page 49
Armadillo-IoT Gateway G3Product Manual - INTL Startup and Shutdown Stopping Load/Save RF Kill Switch Status of rfkill0... Stopping Update UTMP about System Boot/Shutdown... ] Stopped target Encrypted Volumes. Stopping Apply Kernel Variables... ] Stopped Apply Kernel Variables. Stopping Load Kernel Modules... ] Stopped Load Kernel Modules.
Page 50
Armadillo-IoT Gateway G3Product Manual - INTL Startup and Shutdown Disconnecting the power supply while data is being written to storage may result in the file system or the data being damaged. Be sure to unmount storage first before disconnecting the power supply.
Gemalto PDS6 5.2.2. Network Configuration On Armadillo-IoT Gateway G3, NetworkManager is used to configure network interfaces just like as with other standard Linux systems. By default NetworkManager automatically ups eth0 (Ethernet) and obtains network configuration with DHCP. NetworkManager manages all network settings as connections. Connections describe "How to connect to the network"...
Armadillo-IoT Gateway G3Product Manual - INTL Operational Checks In addition to nmcli, the user-friendly nmtui is also installed on Armadillo-IoT, but it is not covered in this document. 5.2.3. Basic Usage of nmcli This section explains the basic usage of the nmcli. 5.2.3.1.
Armadillo-IoT Gateway G3Product Manual - INTL Operational Checks A connection file is created with the name [ID] under /etc/NetworkManag- er/system-connections/. It is also possible to edit this with vi to modify the connection. 5.2.3.4. Deleting a Connection To delete a connection, run the following command. [armadillo ~]# nmcli connection delete [ID] Figure 5.6.
Armadillo-IoT Gateway G3Product Manual - INTL Operational Checks 5.2.3.7. List of Devices To check the device list (device name, type, status, valid connection), run the following command. [armadillo ~]# nmcli device DEVICE TYPE STATE CONNECTION eth0 ethernet connected Wired connection 1 ttyACM3 disconnected wlan0...
Armadillo-IoT Gateway G3Product Manual - INTL Operational Checks [armadillo ~]# nmcli connection add type ethernet ifname eth0 Connection 'ethernet-eth0' (ac491d33-9647-4096-8b91-5c7abcf5850d) successfully added. Figure 5.14. Creating a Wired LAN Interface (eth0) Connection 5.2.4.2. Changing the Network Settings of Wired LAN For configuring the network, see Section 5.2.3.5, “Modifying a Connection”. After modifying the connection, make sure to apply the modifications by referring to Section 5.2.3.6, “Applying Connection Modifications”.
Armadillo-IoT Gateway G3Product Manual - INTL Operational Checks Make sure that the Armadillo-IoT is powered off before installing the MicroSIM (UIM card). This product has a MicroSIM slot. Using a NanoSIM card with a SIM adapter or using a standard size SIM card cut to MicroSIM size may cause damaged to the MicroSIM slot.
Confirm that it is possible to communicate properly over 3G. Perform a PING with Atmark Techno's web server. If an internet connection is not available because of the use of a VPN connection and so on, please use a network device on the local network instead.
Page 61
Armadillo-IoT Gateway G3Product Manual - INTL Operational Checks Even if a connection is created following Figure 5.21, “Creating a 3G Connec- tion”, there are times when it may not be possible to enable the connection. If the connection can not be enabled even if the configured APN information is correct, it may be possible to activate the connection after first resetting PDS6 as shown below.
5.2.6.5. 3G Reconnection Service The 3G reconnection service periodically monitors the status of the 3G data connection and reconnects it when discon- nection is detected. It is supported in atmark-x1-base v1.5.0-1 or later (root file system: debian-jessie- armhf_aiotg3l_20170419.tar.gz or later).
Armadillo-IoT Gateway G3Product Manual - INTL Operational Checks [armadillo ~]# systemctl stop connection-recover.service Figure 5.27. Stopping the 3G Reconnection Service To start the 3G reconnection script, run the following command. [armadillo ~]# systemctl start connection-recover.service Figure 5.28. Starting the 3G Reconnection Service 5.2.6.6.
Armadillo-IoT Gateway G3Product Manual - INTL Operational Checks Procedure 5.2. Network Configuration Procedure Make sure that the state of eth0, ttyACM3 and wlan0 is disconnected. [armadillo ~]#nmcli device DEVICE TYPE STATE CONNECTION eth0 ethernet disconnected ttyACM3 disconnected wlan0 wifi disconnected gre0 unmanaged gretap0...
Armadillo-IoT Gateway G3Product Manual - INTL Operational Checks Figure 5.35. Armadillo Top Page 5.3. Storage The following devices are available for use as storage on Armadillo-IoT. Table 5.6. Storage Devices Device Type Disk Device First Partition Interfaces /dev/mmcblk* /dev/mmcblk*p1 SD Interface (CON4) SD/SDHC/SDXC Cards /dev/sd* /dev/sd*1...
Armadillo-IoT Gateway G3Product Manual - INTL Operational Checks The typical format of the mount command is as follows. mount [-t fstype] device dir Figure 5.36. mount Command Format The file system type is specified for fstype following the -t option .
Armadillo-IoT Gateway G3Product Manual - INTL Operational Checks Command (m for help): d Selected partition 1 Command (m for help): n Command action extended primary partition (1-4) Partition number (1-4): 1 First cylinder (1-62528, default 1): Using default value 1 Last cylinder or +size or +sizeM or +sizeK (1-62528, default 62528): +100M Command (m for help): n Command action...
Armadillo-IoT Gateway G3Product Manual - INTL Operational Checks LED Class Directory Interfaces Default Trigger /sys/class/leds/led4/ User LED4 none The locations of the user LEDs seen from the exterior of Armadillo-IoT are shown below. Figure 5.41. User LEDs Location In the following explanation, the LED class directory representing an arbitrary LED is written as /sys/class/leds/ [LED].
Armadillo-IoT Gateway G3Product Manual - INTL Operational Checks [armadillo ~]# cat /sys/class/leds/[LED]/brightness Figure 5.44. Displaying the State of an LED 5.4.2. Using Triggers A trigger to turn an LED on and off can be set by writing a value to the trigger file under the LED class directory. Valid values to write to the trigger file are shown below.
Armadillo-IoT Gateway G3Product Manual - INTL Operational Checks Table 5.9. Time Format Fields Field Meaning Months Days (in month) Hours Minutes First two digits of the year (optional) Last two digits of the year (optional) Seconds (optional) An example of setting it to 12:34:56 on June 2, 2015 is shown below. [armadillo ~]#date Sat Jan 1 09:00:00 JST 2000...
Armadillo-IoT Gateway G3Product Manual - INTL Operational Checks Set the hardware clock in Coordinated Universal Time (UTC). Confirm that the hardware clock has been set correctly in UTC. Figure 5.48. Setting the Hardware Clock 5.6. User Switches The device driver of the Armadillo-IoT user switches is implemented as an input device. Push and release events of the user switches can be obtained from the device file of the input device.
Armadillo-IoT Gateway G3Product Manual - INTL Operational Checks 5.7. Temperature Sensor The Armadillo-IoT temperature sensor uses the i.MX 7Dual's TEMPMON (Temperature Monitor). 5.7.1. Obtaining the Temperature By reading the value from the /sys/class/thermal/thermal_zone1/temp file, it is possible to obtain the measured temperature of the i.MX 7 Dual.
Armadillo-IoT Gateway G3Product Manual - INTL Operational Checks Table 5.11. Files Needed for Calculating Input Voltage File Description in_voltage0_raw AD conversion value of single end input CH0 (power supply voltage) in_voltage1_raw AD conversion value of single end input CH1 (external battery voltage) in_voltage_scale Minimum input voltage variation of single end input As an example, the following describes how to obtain the power supply voltage.
Armadillo-IoT Gateway G3Product Manual - INTL Operational Checks The vintrigger command help is as follows. [armadillo ~]# vintrigger Usage: vintrigger -o|-u VOLTAGE [-i INTERVAL] [COMMAND ARGS] Options: -o, --over=VOLTAGE Execute the program COMMAND when the detected voltage is equal to or over the VOLTAGE[mV]. -u, --under=VOLTAGE Execute the program COMMAND when the detected voltage is equal to or under the VOLTAGE[mV].
The add-on interface to which the RS232C add-on module is connected can be seen in the Linux kernel boot log. When connected to CON1, the output is as follows. Atmark Techno RS232C board detected at CON1(Rev 2, SerialNumber=xxxx). When using the Linux kernel 3.14.38-at2 or earlier (kernel image uImage-x1-v 2.00 or earlier), the maximum baud rate that can be used is 1500000 [Baud] due to soft- ware restrictions.
Armadillo-IoT Gateway G3Product Manual - INTL Operational Checks Atmark Techno RS485/RS422/RS232C board detected at CON1(Rev 2, SerialNumber=xxxx). When using the Linux kernel 3.14.38-at2 or earlier (kernel image uImage-x1-v 2.00 or earlier), the maximum baud rate that can be used is 1500000 [Baud] due to soft- ware restrictions.
The add-on interface to which the Wi-SUN add-on module is connected can be seen in the Linux kernel boot log. When connected to CON1, the output is as follows. Atmark Techno Wi-SUN board detected at CON1(Rev 2, SerialNumber=xxxx). 5.11.1. Obtaining Configuration Information As an example of controlling the Wi-SUN add-on module, obtain the configuration information of BP35A1.
To quit cu, enter "~." (a tilde "~" followed by a dot "."). Disconnected. [armadillo ~]$ To obtain the configuration information with cu, atmark-x1-base v1.1.0 or later must be used. It can be used in either of the following ways. • Run the following command to update atmark-x1-base to the latest version...
The add-on interface to which the isolated RS485 add-on module is connected can be seen in the Linux kernel boot log. When connected to CON1,the output is as follows. Atmark Techno RS485 board detected at CON1(Rev 1, SerialNumber=xxxx). When using the Linux kernel 3.14.38-at2 or earlier (kernel image uImage-x1-v 2.00 or earlier), the maximum baud rate that can be used is 1500000 [Baud] due to soft- ware restrictions.
Armadillo-IoT Gateway G3Product Manual - INTL Operational Checks The RS485 settings can be changed with an application program or Linux kernel startup options. For details on how to create an application program, refer to the document (Documentation/serial/serial- rs485.txt) included in the Linux kernel source code. For the Linux kernel startup options, RS485 is set with the following option specifiers.
Armadillo-IoT Gateway G3Product Manual - INTL Operational Checks Atmark Techno DI/DO/AD board detected at CON2 (Rev 1, SerialNumber=xxxx). 5.13.1. Setting the Digital Output State The output state can be set by writing a value to the value file under the GPIO class directory. "0" indicates open circuit, "1"...
Armadillo-IoT Gateway G3Product Manual - INTL Operational Checks [Input Voltage (mV) to AD Converter] = [AD Conversion Value] × [Minimum Input Voltage Variation] Figure 5.58. Calculation Formula of Input Voltage to the AD Converter The files under the /sys/bus/iio/devices/iio:device1/ directory required for calculating the input voltage are shown below.
Armadillo-IoT Gateway G3Product Manual - INTL Bootloader Specifications Chapter 6. Bootloader Specifications This chapter explains about the boot modes and available functions of the bootloader. 6.1. Bootloader Boot Modes When the bootloader starts up, it switches to one of two modes depending on the state of the slide switch of the USB serial converter.
Armadillo-IoT Gateway G3Product Manual - INTL Bootloader Specifications To specify the device storing the file use the environment variable "mmcdev", and to specify the partition number use the environment variable "mmcpart". The Linux kernel image is saved with the filename "uImage". The device tree blob is saved with the filename "armadil- lo_iotg_g3.dtb".
Armadillo-IoT Gateway G3Product Manual - INTL Bootloader Specifications 6.2.3. Saving Environment Variables Environment variables can be saved with the "saveenv" command. If the power of Armadillo-IoT is turned off without performing the save, the environment variables set with setenv will be lost. When using the QSPI bootloader environment variables are saved on the QSPI Flash.
Armadillo-IoT Gateway G3Product Manual - INTL Bootloader Specifications setenv mmcargs setenv bootargs console=${console},${baudrate} root=${mmcroot} $ {optargs} By default, the console is set to the environment variable "console", the baudrate of the console is set to the environment variable "baudrate", and the root file system is set to the environment variable "mmcroot". When wanting to add Linux kernel boot options, it is convenient to use the "optargs"...
Applying Default Configuration Enter the U-Boot directory and apply the default configuration for Armadillo-IoT Gateway G3. In this ex- ample, an image for Flash memory boots is created. Specify x1_config as the default config. To create an SD boot image, specify x1_sd_config.
Armadillo-IoT Gateway G3Product Manual - INTL Build Procedure [PC ~/uboot_2014.04-at[version]]$ make CROSS_COMPILE=arm-linux-gnueabihf- Confirming the creation of the Image File When the build finishes an image file is created in the U-Boot directory. [PC ~/uboot_2014.04-at[version]]$ ls u-boot-x1.bin u-boot-x1.bin 7.2. Building the Linux Kernel This section explains the procedure for creating an image file from the Linux kernel source code and initramfs archive.
Armadillo-IoT Gateway G3Product Manual - INTL Build Procedure [PC ~/linux-3.14-x1-at[version]]$ make ARCH=arm CROSS_COMPILE=arm-linux- gnueabihf- [PC ~/linux-3.14-x1-at[version]]$ make ARCH=arm CROSS_COMPILE=arm-linux- gnueabihf- LOADADDR=0x80008000 uImage Confirming the creation of the Image File When the build finishes, image files (the Linux kernel and DTB) are created under the arch/arm/boot/direc- tory and arch/arm/boot/dts/ directory.
Armadillo-IoT Gateway G3Product Manual - INTL Build Procedure 7.3.2.2. Changing Packages The packages to be installed on the root file system can be customized by altering aiotg3_resources/resources/packages. One package name is written per line. Please use package names in the form that can be correctly used as the argument to "apt-get install"...
Please prepare an SD card with a 512MB or larger capacity. Connect the SD card to ATDE. For details, refer toSection 3.2.2, “Using Removable Devices”. Unmount the SD card if it is currently mounted. [PC ~]$mount (abbreviated) /dev/sdb1 on /media/atmark/B18A-3218 type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0077,codepag e=437,iocharset=utf8,shortname=mixed,showexec,utf8,flush,errors=remount- ro,uhelper=udisks2) [PC ~]$sudo umount /dev/sdb1...
Armadillo-IoT Gateway G3Product Manual - INTL Rewriting Image Files [armadillo ~]#dd if=u-boot-x1-[version].bin of=/dev/mtdblock0 282+1 records in 282+1 records out 288816 bytes (289 kB) copied, 5.4582 s, 52.9 kB/s [armadillo ~]$sync Write the bootloader image at the beginning of the MTD block device. 8.2.2.
Page 100
Armadillo-IoT Gateway G3Product Manual - INTL Rewriting Image Files Recreate the root file system within the second partition of the eMMC. [armadillo ~]# mkfs.ext4 /dev/mmcblk2p2 mke2fs 1.42.12 (29-Aug-2014) /dev/mmcblk2p2 contains a ext4 file system -last mounted on /root on Thu Jan 1 09:00:07 1970 Proceed anyway? (y,n) y ...(abbreviated)...
DVD have been released or not and then using the latest version. Armadillo Site - Armadillo-IoT G3 Documents / Downloads http://armadillo.atmark-techno.com/armadillo-iot-g3/downloads 9.1. Boot Disk Creation The boot disk is created with ATDE. The file used to create the boot disk is shown below.
Armadillo-IoT Gateway G3Product Manual - INTL Utilizing SD Booting The procedure to create the boot disk in Table 9.2, “Boot Disk Configuration Example” is shown in Procedure 9.1, “Boot Disk Creation Example”. Table 9.2. Boot Disk Configuration Example Partition Number Partition Size File System Description...
Page 103
Armadillo-IoT Gateway G3Product Manual - INTL Utilizing SD Booting primary (1 primary, 0 extended, 3 free) extended (container for logical partitions) Select (default p): Using default response p. Partition number (2-4, default 2): First sector (264192-7761919, default 264192): Last sector, +sectors or +size{K,M,G,T,P} (264192-7761919, default 7761919): Created a new partition 2 of type 'Linux' and of size 3.6 GiB.
Armadillo-IoT Gateway G3Product Manual - INTL Utilizing SD Booting Table 9.3. File Used for Creating Root File System Linux Distribution File Name File Explanation debian-jessie-armhf_aiotg- Root file system archive of Debian GNU/Linux 8 (codename jessie) for the Debian GNU/Linux g3_[version].tar.gz ARM (armhf) architecture 9.2.1.
Armadillo-IoT Gateway G3Product Manual - INTL Utilizing SD Booting When placing the Linux kernel image and DTB on the SD card, the following conditions must be met. If these conditions are not met, the bootloader may not be able to detect the Linux kernel image or DTB. Table 9.5.
Armadillo-IoT Gateway G3Product Manual - INTL Utilizing SD Booting Connect the boot disk to the SD slot (CON4). Set JP1 to short. After preparation is complete, SD booting can be done by turning on the power. If the SD boot is successful, executing the saveenv command will display the message shown in Figure 9.2, “saveenv Messages for SD Boot”.
Armadillo-IoT Gateway G3Product Manual - INTL Interface Specifications Chapter 11. Interface Specifications The following explains the interface specifications of Armadillo-IoT. 11.1. Interface Layout Figure 11.1. Armadillo-IoT Interface Layout (Side A) Table 11.1. Armadillo-IoT Interface List (Side A) Part Number Interface Name Product Number Maker CON1...
The is no guarantee that the parts installed have the part numbers shown in Ta- ble 11.1, “Armadillo-IoT Interface List (Side A)”. Please check the parts specifi- cations and change history table which can be downloaded from the Atmark Techno Users' site for the parts on your product.
The is no guarantee that the parts installed have the part numbers shown in Ta- ble 11.2, “Armadillo-IoT Interface List (Side B)”. Please check the parts specifi- cations and change history table which can be downloaded from the Atmark Techno Users' site for the parts on your product.
Page 114
Armadillo-IoT Gateway G3Product Manual - INTL Interface Specifications Pin Num- Pin Name Description Expansion I/O, connected to SAI2_TXD pin of i.MX7 Dual GPIO6_IO22 In/Out Shared connection with pin 49 of CON2 Expansion I/O, connected to SAI2_RXD pin of i.MX7 Dual GPIO6_IO21 In/Out Shared connection with pin 48 of CON2...
Armadillo-IoT Gateway G3Product Manual - INTL Interface Specifications There are a number of add-on modules available which can be connected. There are many signals which connect to both CON1 and CON2. Please be careful of possible signal conflicts when designing an expansion board. 11.3.
Page 116
Armadillo-IoT Gateway G3Product Manual - INTL Interface Specifications Pin Num- Pin Name Description Expansion I/O, connected to I2C2_SCL pin of i.MX7 Dual GPIO4_IO10 In/Out Shared connection with pin 13 of CON1 Expansion I/O, connected to I2C2_SDA pin of i.MX7 Dual GPIO4_IO11 In/Out Shared connection with pin 14 of CON1...
Armadillo-IoT Gateway G3Product Manual - INTL Interface Specifications Pin Num- Pin Name Description CON2_USB plus side signal, connected to i.MX7 Dual USB HSIC controller via USB CON2_USB_HS_DP In/Out HUB controller (port 1) CON2_USB minus side signal, connected to i.MX7 Dual USB HSIC controller via USB CON2_USB_HS_DM In/Out HUB controller (port 1)
Armadillo-IoT Gateway G3Product Manual - INTL Interface Specifications Please do not apply excessive external force to the connector as it may cause it to break or be damaged. 11.5. CON6 LAN Interface CON6 is a LAN interface compatible with 10BASE-T / 100BASE-TX / 1000BASE-T. Ethernet cables of category 5e or higher can be connected.
Armadillo-IoT Gateway G3Product Manual - INTL Interface Specifications The power (CON7_USB_VBUS) supplied to the USB device can be controlled with the I2C4_SDA (GPIO4_IO15) pin of the i.MX7 Dual. Power is supplied with a high level output and power is turned off with a low level output. Data Transmission Mode ・High Speed (480Mbps) ・Full Speed (12Mbps)
Armadillo-IoT Gateway G3Product Manual - INTL Interface Specifications Matching Connector DF12(3.0)-30DS-0.5V(86)/HIROSE ELECTRIC Example Allowable Current 0.3A (per one terminal) Table 11.12. CON10 Signals Pin Number Pin Name Description Power Power (GND) Power Power (GND) Power Power (GND) Power Power (GND) Power Power (GND) Power...
Armadillo-IoT Gateway G3Product Manual - INTL Interface Specifications CON11 does not support hot swapping. Please remove the SIM card after having turned off the power of this product. 11.10. CON13 RTC Backup Interface 1 CON13 is a backup interface for real-time clock functionality. Please use it when you want to retain time data while power is off for an extended period.
Armadillo-IoT Gateway G3Product Manual - INTL Interface Specifications Table 11.16. CON14 Signals Pin Number Pin Name Description Power Power input (VIN) Power Power (GND) Power Power (GND) Figure 11.3. AC Adapter Polarity Mark When using CON14 do not supply power from CON15 at the same time. It may cause damage.
Armadillo-IoT Gateway G3Product Manual - INTL Interface Specifications When using CON15 do not supply power from CON14 at the same time. It may cause damage. When using this connector to turn on the power supply, please start it with a mo- notonically increasing supply.
Armadillo-IoT Gateway G3Product Manual - INTL Interface Specifications Pin Number Pin Name Description Not Connected Reserved Not Connected Power Power (GND) Not Connected WLAN_VDD Power Power (WLAN_VDD) 11.16. CON22 RTC Backup Interface 2 CON22 is an external backup interface for real-time clock functionality. Please use it when you want to retain time data while power is off for an extended period.
Armadillo-IoT Gateway G3Product Manual - INTL Interface Specifications stall_disk_sd_20161026_iotg3.img or later). For details on how to use the installa- tion disc, please refer to Section 8.1, “Using the Installation Disc”. 11.17. JP1 Boot Device Setting Jumper JP1 is the boot device setting jumper. Mounted Connector A2-2PA-2.54DSA(71)/HIROSE ELECTRIC Table 11.22.
Armadillo-IoT Gateway G3Product Manual - INTL Interface Specifications Table 11.26. WWAN LED Connections Part Number Description LED1 Connected to STATUS pin of 3G module or pin 9 of CON10 (Low: Off、High: On) 11.21. LED2 to LED5 User LEDs LED2, LED3, LED4 and LED5 are surface mounted green LEDs that can be used freely by the user. Table 11.27.
Page 128
Armadillo-IoT Gateway G3Product Manual - INTL Product Manual - INTL Revision History Version Date Description 1.0.0 2017/10/10 • Initial Release...
Need help?
Do you have a question about the Armadillo-IoT Gateway G3 and is the answer not in the manual?
Questions and answers