核心config檔案開啟CONFIG_DEVMEM後出現編譯錯誤:
checkvintf I 04-18 23:30:02 409602 409602 check_vintf.cpp:84] List 'out/target/product/sc126/system/product/etc/vintf/': No such file or directory
checkvintf I 04-18 23:30:02 409602 409602 check_vintf.cpp:84] List 'out/target/product/sc126/system/etc/vintf/': SUCCESS
checkvintf I 04-18 23:30:02 409602 409602 check_vintf.cpp:74] Fetch 'out/target/product/sc126/system/etc/vintf/manifest.xml': SUCCESS
checkvintf I 04-18 23:30:02 409602 409602 check_vintf.cpp:74] Fetch 'out/target/product/sc126/system/etc/vintf/compatibility_matrix.legacy.xml': SUCCESS
checkvintf I 04-18 23:30:02 409602 409602 check_vintf.cpp:74] Fetch 'out/target/product/sc126/system/etc/vintf/compatibility_matrix.1.xml': SUCCESS
checkvintf I 04-18 23:30:02 409602 409602 check_vintf.cpp:74] Fetch 'out/target/product/sc126/system/etc/vintf/compatibility_matrix.5.xml': SUCCESS
checkvintf I 04-18 23:30:02 409602 409602 check_vintf.cpp:74] Fetch 'out/target/product/sc126/system/etc/vintf/compatibility_matrix.2.xml': SUCCESS
checkvintf I 04-18 23:30:02 409602 409602 check_vintf.cpp:74] Fetch 'out/target/product/sc126/system/etc/vintf/compatibility_matrix.device.xml': SUCCESS
checkvintf I 04-18 23:30:02 409602 409602 check_vintf.cpp:74] Fetch 'out/target/product/sc126/system/etc/vintf/compatibility_matrix.3.xml': SUCCESS
checkvintf I 04-18 23:30:02 409602 409602 check_vintf.cpp:74] Fetch 'out/target/product/sc126/system/etc/vintf/compatibility_matrix.4.xml': SUCCESS
checkvintf I 04-18 23:30:02 409602 409602 check_vintf.cpp:84] List 'out/target/product/sc126/system/system_ext/etc/vintf/': SUCCESS
checkvintf I 04-18 23:30:02 409602 409602 check_vintf.cpp:74] Fetch 'out/target/product/sc126/system/system_ext/etc/vintf/manifest.xml': SUCCESS
checkvintf I 04-18 23:30:02 409602 409602 check_vintf.cpp:84] List 'out/target/product/sc126/system/product/etc/vintf/': No such file or directory
checkvintf E 04-18 23:30:02 409602 409602 check_vintf.cpp:554] files are incompatible: Runtime info and framework compatibility matrix are incompatible: No compatible kernel requirement found (kernel FCM version = 5).
checkvintf E 04-18 23:30:02 409602 409602 check_vintf.cpp:554] For kernel requirements at matrix level 5, For config CONFIG_DEVMEM, value = y but required n
修改方法:LA.UM.9.15.2.R1/kernel/config/下的根據核心版本,config檔案也要修改
qcm2290_a13/LA.UM.9.15.2.R1/kernel/configs$ grep "CONFIG_DEVMEM" . -rn
./o-mr1/android-4.9/android-base.config:3:# CONFIG_DEVMEM is not set
./o-mr1/android-3.18/android-base.config:3:# CONFIG_DEVMEM is not set
./o-mr1/android-4.4/android-base.config:3:# CONFIG_DEVMEM is not set
./q/android-4.9/android-base.config:3:# CONFIG_DEVMEM is not set
./q/android-4.14/android-base.config:2:# CONFIG_DEVMEM is not set
./q/android-4.19/android-base.config:2:# CONFIG_DEVMEM is not set
./p/android-4.9/android-base.config:3:# CONFIG_DEVMEM is not set
./p/android-4.14/android-base.config:3:# CONFIG_DEVMEM is not set
./p/android-4.4/android-base.config:3:# CONFIG_DEVMEM is not set
./o/android-4.9/android-base.config:3:# CONFIG_DEVMEM is not set
./o/android-3.18/android-base.config:3:# CONFIG_DEVMEM is not set
./o/android-4.4/android-base.config:3:# CONFIG_DEVMEM is not set
./r/android-4.14/android-base.config:3:# CONFIG_DEVMEM is not set
./r/android-5.4/android-base.config:5:# CONFIG_DEVMEM is not set
./r/android-4.19/android-base.config:5:# CONFIG_DEVMEM is not set