cancel
Showing results for 
Search instead for 
Did you mean: 

failed to build OpenSTDroid distribution

faye_Lee
Associate II

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
 
 
 
 
 
 
 
 
 
 
3 REPLIES 3
Nicolas L
ST Employee

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

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

 

Nicolas L
ST Employee

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