cancel
Showing results for 
Search instead for 
Did you mean: 

STM32MP2 Android Dts problem

dam_ourbot
Associate II

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

 

 

 

 

3 REPLIES 3
dam_ourbot
Associate II

Hi st teams , 

Can you help me pls  ?

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.
 
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.