@kacf, Thanks for your answers. @SergeyMich, Actually STMCubeProgrammer does not understand .gptimg, so as suggested by @kacf, I renamed .gptimg to .img extention.
Regarding image size, I seen that it’s created of size what we have given in “MENDER_STORAGE_TOTAL_SIZE_MB”.
Hey Pratik Manvar,
I had an issue with my build. And I wondering if you can help.
My board : stm32mp153a - custom
I am building Yocto project to custom board with mender on Kirkstone openstlinux 4.0 distro.
I made some changes to dunfell meta-mender-community so it will run on kirkstone and so far it’s looks ok. the project builds successfully. but when I flash the board the u-boot doesn’t starts at all and there no any outputs on the serial console.
It seems like you are trying to flash your images with mender support first time on your custom board and till now you are using images without mender support.
If so, you can use your old fsbl (tf-a) and ssbl (u-boot) images (without mender changes) for flashing your gptimg into eMMC.
But, I doubt you will get same issue while booting from eMMC.
Thanks,
I changed the USB boot files and its writing the image but now I think I have issues with the stm32mp-gptimg.bbclass that I need to adapt it to the Kirkstone distro that has metadata and different fglashlayout