# Trying to integration mender with Toradex verdin-imx8mp

**URL:** https://hub.mender.io/t/trying-to-integration-mender-with-toradex-verdin-imx8mp/4692
**Category:** Yocto Project
**Created:** [February 27, 2022, 9:36pm UTC](https://hub.mender.io/t/trying-to-integration-mender-with-toradex-verdin-imx8mp/4692 "2022-02-27T21:36:51Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![whsplk](https://avatars.discourse-cdn.com/v4/letter/w/fbc32d/32.png) [@whsplk](https://hub.mender.io/u/whsplk)
#### Post date: [February 27, 2022, 9:36pm UTC](https://hub.mender.io/t/trying-to-integration-mender-with-toradex-verdin-imx8mp/4692/1 "2022-02-27T21:36:51Z")

</div>

Hi,

We are trying to integrate mender with Toradex’s Verdin imx8mp module. There isn’t a supported configuration in `meta-mender-community`, however I was adapting changes from apalis and verdin-imx8mm for the verdin-imx8mp on BSP 5.5.0. I got the build to pass which generated a `mender_tezi.tar` file.

However, when I try to flash this file onto the module with TEZI installer, it complains that it cannot find block device `/dev/mmcblk0`.

Not sure if anyone had tried/success with integrating with the Verdin-imx8mp. Any guidance would be appreciated!

Thanks

---

<div class="post-metadata">

### Author: ![whsplk](https://avatars.discourse-cdn.com/v4/letter/w/fbc32d/32.png) [@whsplk](https://hub.mender.io/u/whsplk)
#### Post date: [February 27, 2022, 10:31pm UTC](https://hub.mender.io/t/trying-to-integration-mender-with-toradex-verdin-imx8mp/4692/2 "2022-02-27T22:31:10Z")

</div>

It looks like the accompany `image.json` for TEZI is also specifying `/dev/mmcblk0`. Changing it to `/dev/mmcblk2` allows me to flash the device.

It looks like `image_type_mender_tezi.bbclass::def rootfs_mender_tezi_emmc` is hard-coding this to `/dev/mmcblk0` Not sure if there’s a nice way to dynamically set this

---

<div class="post-metadata">

### Author: ![toolmmy](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/toolmmy/32/1590_2.png) [@toolmmy](https://hub.mender.io/u/toolmmy)
#### Post date: [April 23, 2022, 2:08pm UTC](https://hub.mender.io/t/trying-to-integration-mender-with-toradex-verdin-imx8mp/4692/3 "2022-04-23T14:08:53Z")

</div>

Hi whsplk,

would it be possible to share the changes that you’ve made?

Regards.
