SmartEdge Industrial IoT Gateway
User Guide
http://www.element14.com/gateway Page 28
OTHER SOFTWARE
For a list of preinstall packages, run "dpkg –l" for current Debian installed packages
For Python 2.7/3.x installed packages run 'pip list" and "pip3 list".
Custom utilities are provided for system control and are found in /opt/avnet-iot/ or /usr/bin/
NodeRed base line installation, not started. Review online NodeRed documentation for Raspberry Pi.
Minicom and Tio are included as terminal programs.
REAL-TIME CLOCK (RTC)
The onboard real-time clock can restore the system clock on boot-up if a network connection is not available. When a
network connection is available, the system clock and real-time clock are periodically synchronized to a NTP time
server.
RESET BUTTON
The gateway includes a small hole next to the HDMI connector for reset:
Short press and release performs reboot
Hold reset for ~10 seconds then release to re-enter Configuration mode. This enables WiFi AP mode and the REST
API to allow configuration with the mobile App. The top LED will blink green-off-red-off to indicate this mode.
Hold reset for ~45 seconds then release to perform a Factory Reset. This will place the unit back into the out-of-
box configuration state.
4.4. DIFFERENCES FROM STANDARD RASPBERRY PI
It is important to understand these differences if trying to build your own kernel for the Gateway.
CUSTOM BOARD TYPE
The addition of eMMC required creation of a new Pi board type called "custom". The Avnet SmartEdge IIoT Gateway
uses this type. In response, the Raspberry Pi boot firmware searches for "/boot/bcm2710-rpi-custom.dtb" and
"/boot/dt-blob.bin" files, and if not present or correct, the system may not boot. Source for these two files are
located here: https://github.com/Avnet/smartedge-iiot-gateway/tree/master/arch/arm/boot/dts
You should check for other possible changes to our device tree source files based on your target kernel. Our kernel is
based on Linux 4.14.79. Review the history of bcm2710-rpi-3-b.dts file to see if changes may be required to the
bcm2710-rpi-custom.dts file. Then your kernel needs rebuilt (make sure the bcm2710-rpi-custom.dts and dt-blob.dts
files are added to the build process).
WARNING: Because of the above differences, performing any standard Raspberry Pi update that modifies the kernel or
boot files will likely prevent the system from booting. This includes writing a standard Raspbian image to the Gateway
or performing "apt-get upgrade". If this happens, you will have to follow the image update instructions located
elsewhere in this guide (Section 3.5) to fix the /boot files or re-image the system. To prevent Raspbian updates from
automatically updating your kernel and firmware files (and bricking your Gateway), execute the following commands:
sudo apt-mark hold raspberrypi-bootloader
sudo apt-mark hold raspberrypi-kernel
sudo apt-mark hold raspberrypi-sys-mods
eMMC UPDATE PROCEDURE
Since the Avnet SmartEdge IIoT Gateway contains an eMMC, a special procedure is required to rewrite it. See section
3.5 for details on updating the onboard eMMC.