Skip to main content
Senior
September 16, 2025
Question

Standalone kernel build steps for stm32mp157DAC

  • September 16, 2025
  • 1 reply
  • 316 views

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

1 reply

Pwxn
ST Employee
September 17, 2025

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,