Skip to main content
Visitor II
May 28, 2025
Question

failed to build OpenSTDroid distribution

  • May 28, 2025
  • 2 replies
  • 385 views

I've been trying to build OpenSTDroid distribution for my STM32MP25F7-EV1, I have followed these steps:

  1. Download OpenSTDroid Distribution (following the wiki linked here).
  2. Build OpenSTDroid using the wiki linked here.

when I excuted make, there was an error report:

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. The following kernel requirements are checked
 
Am I use the wrong kernel version? Any insight would be helpful.
 

Target Hardware Platform: STM32MP25F7-EV1

Target Operating System: OpenSTDroid Distribution (st-android-13.0.0-2024-07-31) [Wiki link]

 
log details:
Fetch 'out/target/product/eval/system/etc/vintf/manifest.xml': OK Fetch 'out/target/product/eval/system/etc/vintf/compatibility_matrix.device.xml': OK Fetch 'out/target/product/eval/system/etc/vintf/compatibility_matrix.5.xml': OK Fetch 'out/target/product/eval/system/etc/vintf/compatibility_matrix.6.xml': OK Fetch 'out/target/product/eval/system/etc/vintf/compatibility_matrix.7.xml': OK Fetch 'out/target/product/eval/system/etc/vintf/compatibility_matrix.3.xml': OK Fetch 'out/target/product/eval/system/etc/vintf/compatibility_matrix.4.xml': OK List 'out/target/product/eval/system_ext/etc/vintf/': OK Fetch 'out/target/product/eval/system_ext/etc/vintf/manifest.xml': OK List 'out/target/product/eval/product/etc/vintf/': OK Fetch 'out/target/product/eval/product/etc/vintf/manifest.xml': OK All HALs in device manifest are declared in FCM <= level 7 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. The following kernel requirements are checked: Minimum LTS: 5.10.107, kernel FCM version: 7 Minimum LTS: 5.10.107, kernel FCM version: 7, with conditionals Minimum LTS: 5.10.107, kernel FCM version: 7, with conditionals Minimum LTS: 5.10.107, kernel FCM version: 7, with conditionals Minimum LTS: 5.10.107, kernel FCM version: 7, with conditionals Minimum LTS: 5.10.107, kernel FCM version: 7, with conditionals Minimum LTS: 5.10.107, kernel FCM version: 7, with conditionals Minimum LTS: 5.10.107, kernel FCM version: 7, with conditionals Minimum LTS: 5.10.107, kernel FCM version: 7, with conditionals Minimum LTS: 5.10.107, kernel FCM version: 7, with conditionals Minimum LTS: 5.10.107, kernel FCM version: 7, with conditionals Minimum LTS: 5.15.41, kernel FCM version: 7 Minimum LTS: 5.15.41, kernel FCM version: 7, with conditionals Minimum LTS: 5.15.41, kernel FCM version: 7, with conditionals Minimum LTS: 5.15.41, kernel FCM version: 7, with conditionals Minimum LTS: 5.15.41, kernel FCM version: 7, with conditionals Minimum LTS: 5.15.41, kernel FCM version: 7, with conditionals Minimum LTS: 5.15.41, kernel FCM version: 7, with conditionals Minimum LTS: 5.15.41, kernel FCM version: 7, with conditionals Minimum LTS: 5.15.41, kernel FCM version: 7, with conditionals Minimum LTS: 5.15.41, kernel FCM version: 7, with conditionals Minimum LTS: 5.15.41, kernel FCM version: 7, with conditionals: Success INCOMPATIBLE
 
 
 
 
 
 
 
 
 
 
    This topic has been closed for replies.

    2 replies

    ST Employee
    May 28, 2025

    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

    faye_LeeAuthor
    Visitor II
    June 3, 2025

    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?

    faye_Lee_0-1748933476794.png

     

    ST Employee
    June 9, 2025

    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