
5.3.2. Changing and Formatting Storage Partitions ......................................................................... 71
5.4. LED ........................................................................................................................................ 72
5.4.1. Activating and Deactivating LEDs ...................................................................................... 73
5.4.2. Using Triggers ................................................................................................................ 74
5.5. RTC ........................................................................................................................................ 74
5.5.1. Setting the Time on the RTC .............................................................................................. 74
5.6. User Switches ............................................................................................................................ 76
5.6.1. Confirming Events ........................................................................................................... 76
5.7. Temperature Sensor .................................................................................................................... 77
5.7.1. Obtaining the Temperature ................................................................................................ 77
5.8. AD Converter ............................................................................................................................ 77
5.8.1. Obtaining the Voltage ....................................................................................................... 77
5.8.2. Monitoring Power Supply Voltage ...................................................................................... 78
5.9. Armadillo-IoT RS232C Add-on Module RS00 ................................................................................. 79
5.10. Armadillo-IoT Isolated RS232C/422/485 Add-on Module RS01 ........................................................ 80
5.10.1. Changing RS422/RS485 Communication Settings ................................................................ 81
5.11. Armadillo-IoT Wi-SUN Add-on Module WS00 ............................................................................. 82
5.11.1. Obtaining Configuration Information ................................................................................. 82
5.12. Armadillo-IoT Isolated RS485 Add-on Module RS02 ...................................................................... 83
5.12.1. Changing RS422/RS485 Communication Settings ................................................................ 84
5.13. Armadillo-IoT Isolated Digital I/O / Analog Input Add-on Module DA00 ........................................... 85
5.13.1. Setting the Digital Output State ......................................................................................... 86
5.13.2. Getting the Digital Input State .......................................................................................... 86
5.13.3. Getting the Analogue Input Voltage ................................................................................... 86
6. Bootloader Specifications ....................................................................................................................... 88
6.1. Bootloader Boot Modes ............................................................................................................... 88
6.2. Bootloader Functions .................................................................................................................. 88
6.2.1. How to Specify the Linux Kernel Image and Device Tree Blob ................................................ 88
6.2.2. Specifying the Root File System ......................................................................................... 89
6.2.3. Saving Environment Variables ........................................................................................... 90
6.2.4. Linux Kernel Boot Options ................................................................................................ 90
7. Build Procedure .................................................................................................................................... 92
7.1. Building the Bootloader ............................................................................................................... 92
7.2. Building the Linux Kernel ............................................................................................................ 93
7.3. Building a Debian GNU/Linux Root File System ............................................................................. 94
7.3.1. Creating the Factory Default Root File System Archive ........................................................... 94
7.3.2. Creating a Customized Root File System Archive .................................................................. 94
8. Rewriting Image Files ............................................................................................................................ 96
8.1. Using the Installation Disc ........................................................................................................... 96
8.1.1. Creating an Installation Disk .............................................................................................. 96
8.1.2. Running the Installation .................................................................................................... 97
8.2. Rewriting Only Specific Image Files .............................................................................................. 98
8.2.1. Rewriting the BootLoader Image ........................................................................................ 98
8.2.2. Rewriting the Linux Kernel Image ...................................................................................... 99
8.2.3. Rewriting the DTB ........................................................................................................... 99
8.2.4. Rewriting the Root File System .......................................................................................... 99
9. Utilizing SD Booting ........................................................................................................................... 101
9.1. Boot Disk Creation ................................................................................................................... 101
9.2. Creating a Root File System ....................................................................................................... 104
9.2.1. Creating a Debian GNU/Linux Root File System ................................................................. 105
9.3. Storing the Linux Kernel Image and DTB ..................................................................................... 105
9.4. Performing an SD Boot ............................................................................................................. 106
10. Electrical Specifications ..................................................................................................................... 108
10.1. Absolute Maximum Ratings ..................................................................................................... 108
10.2. Recommended Operating Conditions .......................................................................................... 108
Armadillo-IoT Gateway G3Product Manual - INTL Product Manual - INTL
4