Hi,
I am trying to integrate Mender with DH electronics DRC02, which is based on 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. 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
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!