# Compulab IOT-GATE-iMX8 - Debian Buster arm64

**URL:** <https://hub.mender.io/t/compulab-iot-gate-imx8-debian-buster-arm64/2824>\
**Category:** Debian family\
**Tags:** debian, nxp, buster, arm64, imx8mm, edi, bullseye\
**Created:** [November 13, 2020, 8:42am UTC](https://hub.mender.io/t/compulab-iot-gate-imx8-debian-buster-arm64/2824 "2020-11-13T08:42:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lueschem](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/lueschem/32/214_2.png) [@lueschem](https://hub.mender.io/u/lueschem)\
**Post date:** [November 13, 2020, 8:42am UTC](https://hub.mender.io/t/compulab-iot-gate-imx8-debian-buster-arm64/2824/1 "2020-11-13T08:42:05Z")

</div>

# Summary

The [edi-cl project configuration](https://github.com/lueschem/edi-cl) allows you to build Mender enabled system and update images for the [Compulab IOT-GATE-iMX8](https://www.compulab.com/products/iot-gateways/iot-gate-imx8-industrial-arm-iot-gateway/).  
Furthermore the same configuration can be used to build a LXD container with a preinstalled cross compilation toolchain.

The table below gives an indication about the minimal storage requirements:

| OS setup | Size on storage | Update artifact size | Source image | Test result |
| --- | --- | --- | --- | --- |
| [Debian Buster 10.6 arm64](https://www.debian.org/releases/buster/index.en.html) | dynamic (recommended storage size \>= 4GB) | 134.2 MB | n/a (built from scratch based on Debian buster) | :test_works: |

 ![IOT-GATE-iMX8](https://canada1.discourse-cdn.com/flex036/uploads/mender/original/1X/f2d99a2bf2fab4c009dd4f1fe1837a69fc1887d5.jpeg)

# Setup

For the setup and further instructions please refer to the [edi-cl project configuration](https://github.com/lueschem/edi-cl).

# Get Started with Mender

In order to connect to your Mender tenant please adjust the Mender tenant token according to [this description](https://github.com/lueschem/edi-cl#connecting-to-mender).  
After your device is up and running with network, follow the instructions in the [Mender get started tutorial](https://docs.mender.io/get-started) to connect to a Mender server and start deploying updates.

# Further Information

- [blog post about the setup](https://www.get-edi.io/Beyond-the-Raspberry-Pi/)
- [official device documentation](https://www.compulab.com/products/iot-gateways/iot-gate-imx8-industrial-arm-iot-gateway/)
- [edi project page](https://www.get-edi.io)
- [edi documentation](https://docs.get-edi.io)

---

<div class="post-metadata">

**Author:** ![sdh](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/sdh/32/1346_2.png) [@sdh](https://hub.mender.io/u/sdh)\
**Post date:** [August 18, 2021, 5:25pm UTC](https://hub.mender.io/t/compulab-iot-gate-imx8-debian-buster-arm64/2824/2 "2021-08-18T17:25:41Z")

</div>

Awesome work. I really like the use of Ansible to build the based system – it’s so much more understandable than bitbake.

I was wondering, you mentioned secure boot in your blog but have you gotten it working with HAB? Compulab seems to have some tools for signing and sealing the registers ([meta-compulab-hab/README.md at imx8 · compulab-yokneam/meta-compulab-hab · GitHub](https://github.com/compulab-yokneam/meta-compulab-hab/blob/imx8/README.md)) but it still seems somewhat complicated.

Thanks again!

---

<div class="post-metadata">

**Author:** ![lueschem](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/lueschem/32/214_2.png) [@lueschem](https://hub.mender.io/u/lueschem)\
**Post date:** [August 20, 2021, 8:15am UTC](https://hub.mender.io/t/compulab-iot-gate-imx8-debian-buster-arm64/2824/3 "2021-08-20T08:15:03Z")

</div>

I am happy to hear that you like the Ansible based approach for image building as much as I do!

With regards to HAB: We have indeed successfully integrated secure boot into an edi configuration.

The tricky part was to bring HAB, disc encryption and Mender together.

However, as this happened during my work time and due to the complexity I am unfortunately not able to share that entire setup.
