2025-09-16 1:24 AM
Hi,
We’re working with an STM32MP157DAC SoM for driver development and testing. Right now, every time we make a change, we have to rebuild the full image, which takes around 1 to 1.5 hours. I’d like to speed this up by building only the kernel separately and then copying just the updated driver file to the board for testing. Could you share any documentation or links that describe this process, or outline the steps needed for a standalone kernel build?
Regards,
Adnan
2025-09-16 11:58 PM
Hello @adnan_pasha
You can configure the kernel using the Developer or the Distribution package and push your modification without rebuilding the image using bitbake.
Have a look to the following wiki pages:
https://wiki.stmicroelectronics.cn/stm32mpu/wiki/How_to_cross-compile_with_the_Developer_Package
https://wiki.st.com/stm32mpu/wiki/How_to_cross-compile_with_the_Distribution_Package
I hope this will help you.
Regards,