2025-05-27 8:56 PM
I've been trying to build OpenSTDroid distribution for my STM32MP25F7-EV1, I have followed these steps:
when I excuted make, there was an error report:
Target Hardware Platform: STM32MP25F7-EV1
Target Operating System: OpenSTDroid Distribution (st-android-13.0.0-2024-07-31) [Wiki link]
2025-05-28 2:35 AM
Hi
It seems that the kernel configuration has not been installed correctly.
Did-you execute the setup (https://wiki.st.com/stm32mpu/wiki/How_to_build_OpenSTDroid_distribution:(
1- source ./build/envsetup.sh
2- lunch aosp_eval-userdebug
3- stm32mp2setup
This last setup script shall adapt the kernel compatibility which seems missing in your build.
Regards
Nicolas
2025-06-02 11:51 PM
Hi Nicolas
I have tried the last setup script(stm32mp2setup), but it still reported the same error "ERROR: files are incompatible: Runtime info and framework compatibility matrix are incompatible: No kernel entry found for kernel version 6.1 at kernel FCM version 7", do you any suggestions?
2025-06-09 4:50 AM
Hi
Sorry for the late answer.
Can you cross-check that in the ./kernel/configs directory, you have the commit "Add kernel 6.1 support for Android 13" ? The directory android-6.1 and t/android-6.1 must be present. If not the case, it seems that you have a problem of setup.
If not the case, you can try to clear your setup (patches). Execute then the following commands :
$ stm32mp2clear -p
$ applypatch
Regards
Nicolas