Skip to main content
Associate
April 9, 2025
Question

STM32MP2 Android Dts problem

  • April 9, 2025
  • 1 reply
  • 476 views

Hi  St Teams ,

 

i followed this tutorial https://wiki.st.com/stm32mpu/wiki/How_to_build_kernel_for_Android

and i have a problem with line

build_kernel

 [1/5]: Generate dtb binaries
ERROR: Not possible to generate the kernel image

other lines command work : 

build_kernel defaultconfig
build_kernel vmlinux
build_kernel modules
build_kernel gpu

and i did that :

build_kernel --verbose=2 dtb
[1/3]: Generate dtb binaries
make : on entre dans le répertoire « /home/linux/android_clean/device/stm/stm32mp2-kernel/linux-stm32mp2 »
make[1] : on entre dans le répertoire « /home/linux/android_clean/out-bsp/stm32mp2/KERNEL_OBJ »
make[1]: *** Aucune règle pour fabriquer la cible « dtbs ». Arrêt.
make[1] : on quitte le répertoire « /home/linux/android_clean/out-bsp/stm32mp2/KERNEL_OBJ »
make: *** [Makefile:256 : __sub-make] Erreur 2
make : on quitte le répertoire « /home/linux/android_clean/device/stm/stm32mp2-kernel/linux-stm32mp2 »

 

thanks for response

 

 

 

 

1 reply

Associate
April 13, 2025

Hi st teams , 

Can you help me pls  ?

PPAGE.13
ST Employee
June 13, 2025

Hi,

 

please have a look at the "out-bsp/stm32mp2/KERNEL_OBJ/.config" file to check it has been correctly configured.

I will attached a reference.

 

BR,

Philippe.

 

 

 

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
PPAGE.13
ST Employee
June 13, 2025

..

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.