2025-07-08 12:00 PM
I created an STM project of the STM32MP157f-dk2 in eclipse.
I've tried to build the entire A7 core linux code. How do I replace what's on the dk2 now? The dk2 just has the starter package on it.
2025-07-08 12:45 PM
I noticed that when I build the linux kernel, the output goes to:
gcnano-driver-stm32mp-6.4.19-stm32mp1-r1-rc8-r0 -> STM32MPU-Ecosystem-v6.0.0/Developer-Package/stm32mp1-openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06/sources/arm-ostl-linux-gnueabi/gcnano-driver-stm32mp-6.4.19-stm32mp1-r1-rc8-r0 |
linux-6.6.48 -> STM32MPU-Ecosystem-v6.0.0/Developer-Package/stm32mp1-openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06/sources/arm-ostl-linux-gnueabi/linux-stm32mp-6.6.48-stm32mp-r1-r0/linux-6.6.48 |
Makefile.ide -> STM32MPU-Ecosystem-v6.0.0/Developer-Package/stm32mp1-openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06/sources/arm-ostl-linux-gnueabi/linux-stm32mp-6.6.48-stm32mp-r1-r0/linux-6.6.48/../Makefile.ide |
I try following the same steps as building and copying linux kernel.
When it comes to the following step:
find ${OUTPUT_BUILD_DIR}/arch/${ARCH}/boot/dts/ -name 'st*.dtb' -exec cp '{}' ${OUTPUT_BUILD_DIR}/install_artifact/boot/ \; |
there are not any `dtb` files.
2025-07-14 11:46 AM
most likely you built into source directory. have a look into linux-6.6.48/arch/arm64/boot/dts
2025-07-22 11:01 AM
You’ll need to use STM32CubeProgrammer to flash the image. Make sure the board is in USB boot mode Juwa, then connect and flash the generated .stimg or .bin via DFU or UART.