RK3568 Android11 编译报错,RK3568 Android 11编译报错解析与解决方案

马肤

温馨提示:这篇文章已超过429天没有更新,请注意相关的内容是否还可用!

摘要:在编译RK3568的Android 11系统时遇到报错。具体问题可能需要详细分析,这可能是由多种原因导致的,如源代码问题、环境配置错误或编译参数设置不当等。建议检查源代码,确认环境配置,并核对编译参数设置,以顺利解决编译报错问题。如需更详细的解决方案,需要进一步了解具体的报错信息和相关环境配置。

start build android

RK3568 Android11 编译报错,RK3568 Android 11编译报错解析与解决方案 第1张
(图片来源网络,侵删)

============================================

PLATFORM_VERSION_CODENAME=REL

RK3568 Android11 编译报错,RK3568 Android 11编译报错解析与解决方案 第2张
(图片来源网络,侵删)

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/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 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

0
收藏0
文章版权声明:除非注明,否则均为VPS857原创文章,转载或复制请以超链接形式并注明出处。

相关阅读

  • 【研发日记】Matlab/Simulink自动生成代码(二)——五种选择结构实现方法,Matlab/Simulink自动生成代码的五种选择结构实现方法(二),Matlab/Simulink自动生成代码的五种选择结构实现方法详解(二)
  • 超级好用的C++实用库之跨平台实用方法,跨平台实用方法的C++实用库超好用指南,C++跨平台实用库使用指南,超好用实用方法集合,C++跨平台实用库超好用指南,方法与技巧集合
  • 【动态规划】斐波那契数列模型(C++),斐波那契数列模型(C++实现与动态规划解析),斐波那契数列模型解析与C++实现(动态规划)
  • 【C++】,string类底层的模拟实现,C++中string类的模拟底层实现探究
  • uniapp 小程序实现微信授权登录(前端和后端),Uniapp小程序实现微信授权登录全流程(前端后端全攻略),Uniapp小程序微信授权登录全流程攻略,前端后端全指南
  • Vue脚手架的安装(保姆级教程),Vue脚手架保姆级安装教程,Vue脚手架保姆级安装指南,Vue脚手架保姆级安装指南,从零开始教你如何安装Vue脚手架
  • 如何在树莓派 Raspberry Pi中本地部署一个web站点并实现无公网IP远程访问,树莓派上本地部署Web站点及无公网IP远程访问指南,树莓派部署Web站点及无公网IP远程访问指南,本地部署与远程访问实践,树莓派部署Web站点及无公网IP远程访问实践指南,树莓派部署Web站点及无公网IP远程访问实践指南,本地部署与远程访问详解,树莓派部署Web站点及无公网IP远程访问实践详解,本地部署与远程访问指南,树莓派部署Web站点及无公网IP远程访问实践详解,本地部署与远程访问指南。
  • vue2技术栈实现AI问答机器人功能(流式与非流式两种接口方法),Vue2技术栈实现AI问答机器人功能,流式与非流式接口方法探究,Vue2技术栈实现AI问答机器人功能,流式与非流式接口方法详解
  • 发表评论

    快捷回复:表情:
    评论列表 (暂无评论,0人围观)

    还没有评论,来说两句吧...

    目录[+]

    取消
    微信二维码
    微信二维码
    支付宝二维码