# Mender integration of STM32MP157C on dunfell

**URL:** <https://hub.mender.io/t/mender-integration-of-stm32mp157c-on-dunfell/2829>\
**Category:** General Discussions\
**Created:** [November 13, 2020, 8:40am UTC](https://hub.mender.io/t/mender-integration-of-stm32mp157c-on-dunfell/2829 "2020-11-13T08:40:31Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![mirzak](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/mirzak/32/2056_2.png) [@mirzak](https://hub.mender.io/u/mirzak)\
**Post date:** [November 13, 2020, 11:34am UTC](https://hub.mender.io/t/mender-integration-of-stm32mp157c-on-dunfell/2829/2 "2020-11-13T11:34:45Z")

</div>

> [@ASerr](#):
>
> Our ( probably bad ) idea is to replicate the mender-community layer for thud, creating the u-boot patches using devtool.

This is probably a good idea 🙂.

> “fw\_printenv cannot read environment using default  
> cannot read default environment from file”

It seems that you are missing the `/etc/fw_env.config` file. [This](https://github.com/mendersoftware/meta-mender/blob/master/meta-mender-core/recipes-bsp/u-boot/libubootenv_%25.bbappend) should install it, so would look in to why this is not happening.

---

_[View the full topic](https://hub.mender.io/t/mender-integration-of-stm32mp157c-on-dunfell/2829)._
