• RK3568 Android11 编译报错


    start build android
    ============================================
    PLATFORM_VERSION_CODENAME=REL
    PLATFORM_VERSION=11
    TARGET_PRODUCT=rk3568_r
    TARGET_BUILD_VARIANT=userdebug
    TARGET_BUILD_TYPE=release
    TARGET_ARCH=arm64
    TARGET_ARCH_VARIANT=armv8-a
    TARGET_CPU_VARIANT=cortex-a55
    TARGET_2ND_ARCH=arm
    TARGET_2ND_ARCH_VARIANT=armv8-2a
    TARGET_2ND_CPU_VARIANT=cortex-a55
    HOST_ARCH=x86_64
    HOST_2ND_ARCH=x86
    HOST_OS=linux
    HOST_OS_EXTRA=Linux-4.15.0-142-generic-x86_64-Ubuntu-16.04.6-LTS
    HOST_CROSS_OS=windows
    HOST_CROSS_ARCH=x86
    HOST_CROSS_2ND_ARCH=x86_64
    HOST_BUILD_TYPE=release
    BUILD_ID=RD2A.211001.002
    OUT_DIR=out
    ============================================
    20:01:54 Deleted images and staging directories.

    #### build completed successfully (2 seconds) ####

    ============================================
    PLATFORM_VERSION_CODENAME=REL
    PLATFORM_VERSION=11
    TARGET_PRODUCT=rk3568_r
    TARGET_BUILD_VARIANT=userdebug
    TARGET_BUILD_TYPE=release
    TARGET_ARCH=arm64
    TARGET_ARCH_VARIANT=armv8-a
    TARGET_CPU_VARIANT=cortex-a55
    TARGET_2ND_ARCH=arm
    TARGET_2ND_ARCH_VARIANT=armv8-2a
    TARGET_2ND_CPU_VARIANT=cortex-a55
    HOST_ARCH=x86_64
    HOST_2ND_ARCH=x86
    HOST_OS=linux
    HOST_OS_EXTRA=Linux-4.15.0-142-generic-x86_64-Ubuntu-16.04.6-LTS
    HOST_CROSS_OS=windows
    HOST_CROSS_ARCH=x86
    HOST_CROSS_2ND_ARCH=x86_64
    HOST_BUILD_TYPE=release
    BUILD_ID=RD2A.211001.002
    OUT_DIR=out
    ============================================
    [ 21% 3481/16574] Building dtbo img file out/target/product/rk3568_r/obj/FAKE/rockchip_dtbo_intermediates/rebuild-dtbo.img.
    out/target/product/rk3568_r/obj/FAKE/rockchip_dtbo_intermediates/device-dtbo.dtb: Warning (unit_address_vs_reg): Node /fragment@0 has a unit name, but no reg property
    out/target/product/rk3568_r/obj/FAKE/rockchip_dtbo_intermediates/device-dtbo.dtb: Warning (unit_address_vs_reg): Node /fragment@1 has a unit name, but no reg property
    create image file: out/target/product/rk3568_r/obj/FAKE/rockchip_dtbo_intermediates/rebuild-dtbo.img...
    Total 1 entries.
    [ 31% 5254/16574] build out/target/product/rk3568_r/system/etc/event-log-tags
    frameworks/base/services/core/java/com/android/server/wm/EventLogTags.logtags:39: warning: tag "wm_on_paused_called" (30021) duplicated in frameworks/base/core/java/android/app/EventLogTags.logtags:9
    frameworks/base/services/core/java/com/android/server/wm/EventLogTags.logtags:41: warning: tag "wm_on_resume_called" (30022) duplicated in frameworks/base/core/java/android/app/EventLogTags.logtags:11
    frameworks/base/services/core/java/com/android/server/wm/EventLogTags.logtags:50: warning: tag "wm_stop_activity" (30048) duplicated in frameworks/base/core/java/android/app/EventLogTags.logtags:14
    frameworks/base/services/core/java/com/android/server/wm/EventLogTags.logtags:56: warning: tag "wm_add_to_stopping" (30066) duplicated in frameworks/base/core/java/android/app/EventLogTags.logtags:35
    packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/EventLogTags.logtags:6: warning: tag "lock_screen_type" (90200) duplicated in packages/apps/Settings/src/com/android/settings/EventLogTags.logtags:6
    packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/EventLogTags.logtags:9: warning: tag "exp_det_device_admin_activated_by_user" (90201) duplicated in packages/apps/Settings/src/com/android/settings/EventLogTags.logtags:9
    packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/EventLogTags.logtags:12: warning: tag "exp_det_device_admin_declined_by_user" (90202) duplicated in packages/apps/Settings/src/com/android/settings/EventLogTags.logtags:12
    packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/EventLogTags.logtags:15: warning: tag "exp_det_device_admin_uninstalled_by_user" (90203) duplicated in packages/apps/Settings/src/com/android/settings/EventLogTags.logtags:15
    packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/EventLogTags.logtags:18: warning: tag "settings_latency" (90204) duplicated in packages/apps/Settings/src/com/android/settings/EventLogTags.logtags:18
    [ 35% 5946/16574] Install: out/target/product/rk3568_r/vendor/lib/egl/libGLES_mali.so
    /home/simon/at5v5_1108/AT5_V5_android11/rk3568_sdk_11
    /home/simon/at5v5_1108/AT5_V5_android11/rk3568_sdk_11
    [ 36% 6076/16574] Install: out/target/product/rk3568_r/vendor/lib64/egl/libGLES_mali.so
    /home/simon/at5v5_1108/AT5_V5_android11/rk3568_sdk_11
    /home/simon/at5v5_1108/AT5_V5_android11/rk3568_sdk_11
    [ 37% 6209/16574] depmod out/target/product/rk3568_r/obj/PACKAGING/depmod_VENDOR_intermediates
    depmod: WARNING: could not open modules.order at /home/simon/at5v5_1108/AT5_V5_android11/rk3568_sdk_11/out/target/product/rk3568_r/obj/PACKAGING/depmod_VENDOR_intermediates/lib/modules/0.0: No such file or directory
    depmod: WARNING: could not open modules.builtin at /home/simon/at5v5_1108/AT5_V5_android11/rk3568_sdk_11/out/target/product/rk3568_r/obj/PACKAGING/depmod_VENDOR_intermediates/lib/modules/0.0: No such file or directory
    [ 37% 6214/16574] build out/target/product/rk3568_r/obj/PACKAGING/check_vintf_all_intermediates/check_vintf_compatible_log
    FAILED: out/target/product/rk3568_r/obj/PACKAGING/check_vintf_all_intermediates/check_vintf_compatible_log
    /bin/bash -c "(echo -n -e 'Deps: \\n  ' > out/target/product/rk3568_r/obj/PACKAGING/check_vintf_all_intermediates/check_vintf_compatible_log ) && (sed 's/ /\\n  /g' <<< \"out/target/product/rk3568_r/system/etc/vintf/compatibility_matrix.1.xml out/target/product/rk3568_r/system/etc/vintf/compatibility_matrix.2.xml out/target/product/rk3568_r/system/etc/vintf/compatibility_matrix.3.xml out/target/product/rk3568_r/system/etc/vintf/compatibility_matrix.4.xml out/target/product/rk3568_r/system/etc/vintf/compatibility_matrix.5.xml out/target/product/rk3568_r/system/etc/vintf/compatibility_matrix.device.xml out/target/product/rk3568_r/system/etc/vintf/compatibility_matrix.legacy.xml out/target/product/rk3568_r/system/etc/vintf/manifest.xml out/target/product/rk3568_r/system/etc/vintf/manifest/android.frameworks.stats@1.0-service.xml out/target/product/rk3568_r/system/etc/vintf/manifest/android.hidl.allocator@1.0-service.xml out/target/product/rk3568_r/system/etc/vintf/manifest/android.system.suspend@1.0-service.xml out/target/product/rk3568_r/system/etc/vintf/manifest/manifest_android.frameworks.cameraservice.service@2.1.xml out/target/product/rk3568_r/system/etc/vintf/manifest/manifest_media_c2_software.xml out/target/product/rk3568_r/system_ext/etc/vintf/manifest.xml out/target/product/rk3568_r/vendor/etc/vintf/compatibility_matrix.xml out/target/product/rk3568_r/vendor/etc/vintf/manifest.xml out/target/product/rk3568_r/vendor/etc/vintf/manifest/android.hardware.cas@1.2-service.xml out/target/product/rk3568_r/vendor/etc/vintf/manifest/android.hardware.drm@1.3-service.widevine.xml out/target/product/rk3568_r/vendor/etc/vintf/manifest/android.hardware.gatekeeper@1.0-service.optee.xml out/target/product/rk3568_r/vendor/etc/vintf/manifest/android.hardware.health@2.1.xml out/target/product/rk3568_r/vendor/etc/vintf/manifest/android.hardware.keymaster@4.0-service.optee.xml out/target/product/rk3568_r/vendor/etc/vintf/manifest/android.hardware.weaver@1.0-service.xml out/target/product/rk3568_r/vendor/etc/vintf/manifest/android.hardware.wifi.hostapd.xml out/target/product/rk3568_r/vendor/etc/vintf/manifest/android.hardware.wifi@1.0-service.xml out/target/product/rk3568_r/vendor/etc/vintf/manifest/lights-rockchip.xml out/target/product/rk3568_r/vendor/etc/vintf/manifest/manifest.xml out/target/product/rk3568_r/vendor/etc/vintf/manifest/manifest_android.hardware.drm@1.3-service.clearkey.xml out/target/product/rk3568_r/vendor/etc/vintf/manifest/power-aidl-rockchip.xml out/target/product/rk3568_r/vendor/etc/vintf/manifest/rockchip.hardware.neuralnetworks@1.0-service.xml out/target/product/rk3568_r/vendor/etc/vintf/manifest/rockchip.hardware.outputmanager@1.0-service.xml out/target/product/rk3568_r/vendor/etc/vintf/manifest/rockchip.hardware.rockit.hw@1.0-service.xml out/target/product/rk3568_r/obj/PACKAGING/check_vintf_all_intermediates/kernel_configs.txt out/target/product/rk3568_r/obj/PACKAGING/check_vintf_all_intermediates/kernel_version.txt\" >> out/target/product/rk3568_r/obj/PACKAGING/check_vintf_all_intermediates/check_vintf_compatible_log ) && (echo -n -e 'Args: \\n  ' >> out/target/product/rk3568_r/obj/PACKAGING/check_vintf_all_intermediates/check_vintf_compatible_log ) && (cat <<< \" --kernel \$(cat out/target/product/rk3568_r/obj/PACKAGING/check_vintf_all_intermediates/kernel_version.txt):out/target/product/rk3568_r/obj/PACKAGING/check_vintf_all_intermediates/kernel_configs.txt --dirmap /system:out/target/product/rk3568_r/system --dirmap /vendor:out/target/product/rk3568_r/vendor --dirmap /odm:out/target/product/rk3568_r/odm --dirmap /product:out/target/product/rk3568_r/product --dirmap /system_ext:out/target/product/rk3568_r/system_ext  --property ro.product.first_api_level=30\" >> out/target/product/rk3568_r/obj/PACKAGING/check_vintf_all_intermediates/check_vintf_compatible_log ) && (echo \"For ODM SKU = EMPTY_ODM_SKU_PLACEHOLDER, vendor SKU = EMPTY_VENDOR_SKU_PLACEHOLDER\" >> out/target/product/rk3568_r/obj/PACKAGING/check_vintf_all_intermediates/check_vintf_compatible_log; ( out/host/linux-x86/bin/checkvintf --check-compat  --kernel \$(cat out/target/product/rk3568_r/obj/PACKAGING/check_vintf_all_intermediates/kernel_version.txt):out/target/product/rk3568_r/obj/PACKAGING/check_vintf_all_intermediates/kernel_configs.txt --dirmap /system:out/target/product/rk3568_r/system --dirmap /vendor:out/target/product/rk3568_r/vendor --dirmap /odm:out/target/product/rk3568_r/odm --dirmap /product:out/target/product/rk3568_r/product --dirmap /system_ext:out/target/product/rk3568_r/system_ext  --property ro.product.first_api_level=30 --property ro.boot.product.hardware.sku= --property ro.boot.product.vendor.sku= >> out/target/product/rk3568_r/obj/PACKAGING/check_vintf_all_intermediates/check_vintf_compatible_log 2>&1 ) || (cat out/target/product/rk3568_r/obj/PACKAGING/check_vintf_all_intermediates/check_vintf_compatible_log && exit 1) )"
    Deps:
      out/target/product/rk3568_r/system/etc/vintf/compatibility_matrix.1.xml
      out/target/product/rk3568_r/system/etc/vintf/compatibility_matrix.2.xml
      out/target/product/rk3568_r/system/etc/vintf/compatibility_matrix.3.xml
      out/target/product/rk3568_r/system/etc/vintf/compatibility_matrix.4.xml
      out/target/product/rk3568_r/system/etc/vintf/compatibility_matrix.5.xml
      out/target/product/rk3568_r/system/etc/vintf/compatibility_matrix.device.xml
      out/target/product/rk3568_r/system/etc/vintf/compatibility_matrix.legacy.xml
      out/target/product/rk3568_r/system/etc/vintf/manifest.xml
      out/target/product/rk3568_r/system/etc/vintf/manifest/android.frameworks.stats@1.0-service.xml
      out/target/product/rk3568_r/system/etc/vintf/manifest/android.hidl.allocator@1.0-service.xml
      out/target/product/rk3568_r/system/etc/vintf/manifest/android.system.suspend@1.0-service.xml
      out/target/product/rk3568_r/system/etc/vintf/manifest/manifest_android.frameworks.cameraservice.service@2.1.xml
      out/target/product/rk3568_r/system/etc/vintf/manifest/manifest_media_c2_software.xml
      out/target/product/rk3568_r/system_ext/etc/vintf/manifest.xml
      out/target/product/rk3568_r/vendor/etc/vintf/compatibility_matrix.xml
      out/target/product/rk3568_r/vendor/etc/vintf/manifest.xml
      out/target/product/rk3568_r/vendor/etc/vintf/manifest/android.hardware.cas@1.2-service.xml
      out/target/product/rk3568_r/vendor/etc/vintf/manifest/android.hardware.drm@1.3-service.widevine.xml
      out/target/product/rk3568_r/vendor/etc/vintf/manifest/android.hardware.gatekeeper@1.0-service.optee.xml
      out/target/product/rk3568_r/vendor/etc/vintf/manifest/android.hardware.health@2.1.xml
      out/target/product/rk3568_r/vendor/etc/vintf/manifest/android.hardware.keymaster@4.0-service.optee.xml
      out/target/product/rk3568_r/vendor/etc/vintf/manifest/android.hardware.weaver@1.0-service.xml
      out/target/product/rk3568_r/vendor/etc/vintf/manifest/android.hardware.wifi.hostapd.xml
      out/target/product/rk3568_r/vendor/etc/vintf/manifest/android.hardware.wifi@1.0-service.xml
      out/target/product/rk3568_r/vendor/etc/vintf/manifest/lights-rockchip.xml
      out/target/product/rk3568_r/vendor/etc/vintf/manifest/manifest.xml
      out/target/product/rk3568_r/vendor/etc/vintf/manifest/manifest_android.hardware.drm@1.3-service.clearkey.xml
      out/target/product/rk3568_r/vendor/etc/vintf/manifest/power-aidl-rockchip.xml
      out/target/product/rk3568_r/vendor/etc/vintf/manifest/rockchip.hardware.neuralnetworks@1.0-service.xml
      out/target/product/rk3568_r/vendor/etc/vintf/manifest/rockchip.hardware.outputmanager@1.0-service.xml
      out/target/product/rk3568_r/vendor/etc/vintf/manifest/rockchip.hardware.rockit.hw@1.0-service.xml
      out/target/product/rk3568_r/obj/PACKAGING/check_vintf_all_intermediates/kernel_configs.txt
      out/target/product/rk3568_r/obj/PACKAGING/check_vintf_all_intermediates/kernel_version.txt
    Args:
       --kernel 4.19.232:out/target/product/rk3568_r/obj/PACKAGING/check_vintf_all_intermediates/kernel_configs.txt --dirmap /system:out/target/product/rk3568_r/system --dirmap /vendor:out/target/product/rk3568_r/vendor --dirmap /odm:out/target/product/rk3568_r/odm --dirmap /product:out/target/product/rk3568_r/product --dirmap /system_ext:out/target/product/rk3568_r/system_ext  --property ro.product.first_api_level=30
    For ODM SKU = EMPTY_ODM_SKU_PLACEHOLDER, vendor SKU = EMPTY_VENDOR_SKU_PLACEHOLDER
    checkvintf I 11-16 20:02:07 18816 18816 VintfObject.cpp:55] getFrameworkHalManifest: Reading VINTF information.
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/system/etc/vintf/manifest.xml': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:84] List 'out/target/product/rk3568_r/system/etc/vintf/manifest/': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/system/etc/vintf/manifest/android.frameworks.stats@1.0-service.xml': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/system/etc/vintf/manifest/manifest_android.frameworks.cameraservice.service@2.1.xml': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/system/etc/vintf/manifest/android.system.suspend@1.0-service.xml': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/system/etc/vintf/manifest/android.hidl.allocator@1.0-service.xml': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/system/etc/vintf/manifest/manifest_media_c2_software.xml': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/product/etc/vintf/manifest.xml': No such file or directory
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:84] List 'out/target/product/rk3568_r/product/etc/vintf/manifest/': No such file or directory
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/system_ext/etc/vintf/manifest.xml': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:84] List 'out/target/product/rk3568_r/system_ext/etc/vintf/manifest/': No such file or directory
    checkvintf I 11-16 20:02:07 18816 18816 VintfObject.cpp:61] getFrameworkHalManifest: Successfully processed VINTF information
    checkvintf I 11-16 20:02:07 18816 18816 VintfObject.cpp:55] getDeviceHalManifest: Reading VINTF information.
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:122] Sysprop ro.boot.product.vendor.sku=
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/vendor/etc/vintf/manifest.xml': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:84] List 'out/target/product/rk3568_r/vendor/etc/vintf/manifest/': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/vendor/etc/vintf/manifest/manifest.xml': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/vendor/etc/vintf/manifest/rockchip.hardware.rockit.hw@1.0-service.xml': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/vendor/etc/vintf/manifest/power-aidl-rockchip.xml': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/vendor/etc/vintf/manifest/android.hardware.wifi@1.0-service.xml': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/vendor/etc/vintf/manifest/manifest_android.hardware.drm@1.3-service.clearkey.xml': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/vendor/etc/vintf/manifest/android.hardware.weaver@1.0-service.xml': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/vendor/etc/vintf/manifest/android.hardware.drm@1.3-service.widevine.xml': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/vendor/etc/vintf/manifest/android.hardware.gatekeeper@1.0-service.optee.xml': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/vendor/etc/vintf/manifest/android.hardware.keymaster@4.0-service.optee.xml': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/vendor/etc/vintf/manifest/lights-rockchip.xml': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/vendor/etc/vintf/manifest/android.hardware.cas@1.2-service.xml': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/vendor/etc/vintf/manifest/android.hardware.wifi.hostapd.xml': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/vendor/etc/vintf/manifest/rockchip.hardware.neuralnetworks@1.0-service.xml': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/vendor/etc/vintf/manifest/android.hardware.health@2.1.xml': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/vendor/etc/vintf/manifest/rockchip.hardware.outputmanager@1.0-service.xml': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:122] Sysprop ro.boot.product.hardware.sku=
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/odm/etc/vintf/manifest.xml': No such file or directory
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/odm/etc/manifest.xml': No such file or directory
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:84] List 'out/target/product/rk3568_r/odm/etc/vintf/manifest/': No such file or directory
    checkvintf I 11-16 20:02:07 18816 18816 VintfObject.cpp:61] getDeviceHalManifest: Successfully processed VINTF information
    checkvintf I 11-16 20:02:07 18816 18816 VintfObject.cpp:55] getFrameworkCompatibilityMatrix: Reading VINTF information.
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:84] List 'out/target/product/rk3568_r/system/etc/vintf/': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/system/etc/vintf/manifest.xml': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/system/etc/vintf/compatibility_matrix.1.xml': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/system/etc/vintf/compatibility_matrix.2.xml': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/system/etc/vintf/compatibility_matrix.3.xml': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/system/etc/vintf/compatibility_matrix.legacy.xml': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/system/etc/vintf/compatibility_matrix.5.xml': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/system/etc/vintf/compatibility_matrix.4.xml': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/system/etc/vintf/compatibility_matrix.device.xml': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:84] List 'out/target/product/rk3568_r/system_ext/etc/vintf/': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/system_ext/etc/vintf/manifest.xml': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:84] List 'out/target/product/rk3568_r/product/etc/vintf/': No such file or directory
    checkvintf I 11-16 20:02:07 18816 18816 VintfObject.cpp:61] getFrameworkCompatibilityMatrix: Successfully processed VINTF information
    checkvintf I 11-16 20:02:07 18816 18816 VintfObject.cpp:55] getDeviceCompatibilityMatrix: Reading VINTF information.
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/vendor/etc/vintf/compatibility_matrix.xml': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 VintfObject.cpp:61] getDeviceCompatibilityMatrix: Successfully processed VINTF information
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:154] fetched kernel version 4.19.232
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:168] read kernel configs from out/target/product/rk3568_r/obj/PACKAGING/check_vintf_all_intermediates/kernel_configs.txt
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:84] List 'out/target/product/rk3568_r/system/etc/vintf/': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/system/etc/vintf/manifest.xml': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/system/etc/vintf/compatibility_matrix.1.xml': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/system/etc/vintf/compatibility_matrix.2.xml': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/system/etc/vintf/compatibility_matrix.3.xml': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/system/etc/vintf/compatibility_matrix.legacy.xml': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/system/etc/vintf/compatibility_matrix.5.xml': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/system/etc/vintf/compatibility_matrix.4.xml': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/system/etc/vintf/compatibility_matrix.device.xml': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:84] List 'out/target/product/rk3568_r/system_ext/etc/vintf/': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/system_ext/etc/vintf/manifest.xml': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:84] List 'out/target/product/rk3568_r/product/etc/vintf/': No such file or directory
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:84] List 'out/target/product/rk3568_r/system/etc/vintf/': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/system/etc/vintf/manifest.xml': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/system/etc/vintf/compatibility_matrix.1.xml': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/system/etc/vintf/compatibility_matrix.2.xml': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/system/etc/vintf/compatibility_matrix.3.xml': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/system/etc/vintf/compatibility_matrix.legacy.xml': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/system/etc/vintf/compatibility_matrix.5.xml': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/system/etc/vintf/compatibility_matrix.4.xml': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/system/etc/vintf/compatibility_matrix.device.xml': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:84] List 'out/target/product/rk3568_r/system_ext/etc/vintf/': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/system_ext/etc/vintf/manifest.xml': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:84] List 'out/target/product/rk3568_r/product/etc/vintf/': No such file or directory
    checkvintf E 11-16 20:02:07 18816 18816 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 11-16 20:02:07 18816 18816 check_vintf.cpp:554] For kernel requirements at matrix level 5, For config CONFIG_DEVMEM, value = y but required n
    checkvintf E 11-16 20:02:07 18816 18816 check_vintf.cpp:554] : Success
    INCOMPATIBLE
    20:02:14 ninja failed with: exit status 1

    关键报错:

    [ 37% 6209/16574] depmod out/target/product/rk3568_r/obj/PACKAGING/depmod_VENDOR_intermediates
    depmod: WARNING: could not open modules.order at /home/simon/at5v5_1108/AT5_V5_android11/rk3568_sdk_11/out/target/product/rk3568_r/obj/PACKAGING/depmod_VENDOR_intermediates/lib/modules/0.0: No such file or directory
    depmod: WARNING: could not open modules.builtin at /home/simon/at5v5_1108/AT5_V5_android11/rk3568_sdk_11/out/target/product/rk3568_r/obj/PACKAGING/depmod_VENDOR_intermediates/lib/modules/0.0: No such file or directory
    [ 37% 6214/16574] build out/target/product/rk3568_r/obj/PACKAGING/check_vintf_all_intermediates/check_vintf_compatible_log
    FAILED: out/target/product/rk3568_r/obj/PACKAGING/check_vintf_all_intermediates/check_vintf_compatible_log
     

    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:84] List 'out/target/product/rk3568_r/system_ext/etc/vintf/': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:74] Fetch 'out/target/product/rk3568_r/system_ext/etc/vintf/manifest.xml': SUCCESS
    checkvintf I 11-16 20:02:07 18816 18816 check_vintf.cpp:84] List 'out/target/product/rk3568_r/product/etc/vintf/': No such file or directory
    checkvintf E 11-16 20:02:07 18816 18816 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 11-16 20:02:07 18816 18816 check_vintf.cpp:554] For kernel requirements at matrix level 5, For config CONFIG_DEVMEM, value = y but required n
    checkvintf E 11-16 20:02:07 18816 18816 check_vintf.cpp:554] : Success
    INCOMPATIBLE
    20:02:14 ninja failed with: exit status 1

    #### failed to build some targets (20 seconds) ####

    Build android failed!
     

    原因是因为kernel需要支持IO命令操作,在kernel/configs/android-11.config中增加了如下内容导致的:

    --- a/kernel/configs/rockchip/android-11.config
    +++ b/kernel/configs/rockchip/android-11.config
    @@ -5,7 +5,9 @@
     # CONFIG_CIFS_XATTR is not set
     # CONFIG_CIFS_POSIX is not set
     # CONFIG_CRYPTO_MD4 is not set
    -# CONFIG_DEVMEM is not set
    +CONFIG_DEVMEM=y
    +CONFIG_STRICT_DEVMEM=y
    +CONFIG_ARCH_HAS_DEVMEM_IS_ALLOWED=y
     # CONFIG_FHANDLE is not set
     # CONFIG_FW_CACHE is not set
     # CONFIG_IP6_NF_NAT is not set

    解决方法:

    diff --git a/kernel/configs/r/android-4.19/android-base-conditional.xml b/kernel/configs/r/android-4.19/android-base-conditional.xml
    old mode 100644
    new mode 100755
    index 5d5a477..7f666b8
    --- a/kernel/configs/r/android-4.19/android-base-conditional.xml
    +++ b/kernel/configs/r/android-4.19/android-base-conditional.xml
    @@ -17,10 +17,10 @@
                    CONFIG_CPU_SW_DOMAIN_PAN
                    y
            
    -       
    +
            
                    CONFIG_OABI_COMPAT
                    n
    @@ -77,10 +77,10 @@
                            y
                    
            
    -       
    +
            
                    CONFIG_PAGE_TABLE_ISOLATION
                    y
    diff --git a/kernel/configs/r/android-4.19/android-base.config b/kernel/configs/r/android-4.19/android-base.config
    old mode 100644
    new mode 100755
    index f942b8e..4d136c6
    --- a/kernel/configs/r/android-4.19/android-base.config
    +++ b/kernel/configs/r/android-4.19/android-base.config
    @@ -2,7 +2,6 @@
     # CONFIG_ANDROID_LOW_MEMORY_KILLER is not set
     # CONFIG_BPFILTER is not set
     # CONFIG_CRYPTO_MD4 is not set
    -# CONFIG_DEVMEM is not set
     # CONFIG_FHANDLE is not set
     # CONFIG_FW_CACHE is not set
     # CONFIG_IP6_NF_NAT is not se

  • 相关阅读:
    验收材料-软件质量保证措施
    基于nodejs的预约上门维修服务系统设计与实现-计算机毕业设计源码+LW文档
    大力说企微第一课:企业微信的注册验证和认证
    冒泡排序和选择排序
    使用VMware安装centos虚拟机
    解决gateway跨域问题
    设计模式之解释器模式
    Windows环境下的ELK——搭建环境(1)
    软件流程和管理(五):Stakeholder Management &Communication
    SpringBoot数据层测试事务回滚
  • 原文地址:https://blog.csdn.net/layuetian2011/article/details/134449829