# DHCOM STM32MP15 (DH electronics DRC02) integration problems

**URL:** <https://hub.mender.io/t/dhcom-stm32mp15-dh-electronics-drc02-integration-problems/6149>\
**Category:** Yocto Project\
**Tags:** yocto, u-boot, kirkstone, stm32mp1\
**Created:** [August 25, 2023, 2:10pm UTC](https://hub.mender.io/t/dhcom-stm32mp15-dh-electronics-drc02-integration-problems/6149 "2023-08-25T14:10:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jernejn](https://avatars.discourse-cdn.com/v4/letter/j/48db29/32.png) [@jernejn](https://hub.mender.io/u/jernejn)\
**Post date:** [August 25, 2023, 2:10pm UTC](https://hub.mender.io/t/dhcom-stm32mp15-dh-electronics-drc02-integration-problems/6149/1 "2023-08-25T14:10:46Z")

</div>

Hi,  
I am trying to integrate Mender with [DH electronics DRC02](https://www.dh-electronics.com/en/embedded-products/dhcon/detail/iot-gateway-drc02), which is based on [DHCOM STM32MP15](https://www.dh-electronics.com/en/embedded-products/dhsom/detail/dhcom-stm32mp15) system on module:

Firstly, I tried with automatic integration, but that was not working. So I started working on custom integration. I created fork of meta-mender-community: [https://github.com/jernejnose/meta-mender-community/tree/kirkstone/meta-mender-dhsom-stm32](https://github.com/jernejnose/meta-mender-community/tree/kirkstone/meta-mender-dhsom-stm32). And started modifying auto generated patch, as suggested in manual, but I can’t get image to build. I am using KAS: [https://github.com/jernejnose/meta-mender-community/blob/kirkstone/kas/dh-stm32mp1-dhcom-drc02.yml](https://github.com/jernejnose/meta-mender-community/blob/kirkstone/kas/dh-stm32mp1-dhcom-drc02.yml)

I get following errors:

> | arm-oe-linux-gnueabi-ld.bfd: env/common.o: in function `env_set_ulong':< | /media/jernej/d/build/tmp-glibc/work/dh_stm32mp1_dhcom_drc02-oe-linux-gnueabi/u-boot-mainline/1_2023.07.02-r0/git/env/common.c:55: undefined reference to `simple\_itoa’  
> | make[2]: \*\*\* [/media/jernej/d/build/tmp-glibc/work/dh\_stm32mp1\_dhcom\_drc02-oe-linux-gnueabi/u-boot-mainline/1\_2023.07.02-r0/git/scripts/Makefile.spl:527: spl/u-boot-spl] Error 1  
> | make[1]: Leaving directory ‘/media/jernej/d/build/tmp-glibc/work/dh\_stm32mp1\_dhcom\_drc02-oe-linux-gnueabi/u-boot-mainline/1\_2023.07.02-r0/build’  
> | make[1]: \*\*\* [/media/jernej/d/build/tmp-glibc/work/dh\_stm32mp1\_dhcom\_drc02-oe-linux-gnueabi/u-boot-mainline/1\_2023.07.02-r0/git/Makefile:2049: spl/u-boot-spl] Error 2  
> | make: Leaving directory ‘/media/jernej/d/build/tmp-glibc/work/dh\_stm32mp1\_dhcom\_drc02-oe-linux-gnueabi/u-boot-mainline/1\_2023.07.02-r0/git’  
> | make: \*\*\* [Makefile:177: sub-make] Error 2  
> | ERROR: oe\_runmake failed  
> | WARNING: exit code 1 from a shell command.  
> ERROR: Task (/media/jernej/d/build/…/meta-mainline-common/recipes-bsp/u-boot/u-boot-mainline\_2023.07.02.bb:do\_compile) failed with exit code ‘1’

I am stuck at this point for quite some time now. Does anyone have any idea how to fix this or what should be my next steps?

Thanks a lot for the help!
