Tamper response

The tamper interface allows you to program a predefined tamper action —system power off—that automatically occurs after a preconfigured timeout from the tamper event. However, typical response actions include one or several of the following generic responses:

The Digi Embedded Yocto Board Support Package provides the necessary firmware to easily detect tamper events and perform the corresponding response actions. These hooks are the same for both digital and analog tamper detection interfaces.

U-Boot

The bootloader performs the following actions during system initialization:

If the predefined flow does not meet the requirements for a specific device, you can customize it using the bootloader code (board/digi/common/tamper.c).

Linux

Linux handles tamper events and acknowledgment via an IIO driver. For each tamper interface available, the driver will create the following entries:

Note The sample application "tamper_sample" is included in the dey-examples package of the meta-digi layer as a reference on how to detect tamper events, providing the hooks to implement the required response actions and acknowledge the event.

For the tamper driver to load, the following conditions must be true when Linux boots:

Device tree bindings

The tamper detection interface must be enabled in the device tree. To do so, uncomment the following lines:

    /* Uncomment to Enable Tamper detection. There are 2 digital (0 and 1) and 2

    * analog (2 and 3) tamper interfaces.
    */
    &mca_tamper {
    digi,tamper-if-list = <0 1 2 3>;
    };

 

© 2018 Digi International Inc. All rights reserved.
Tamper response updated on 22 January 2018 02:43:37 PM