20231226在Firefly的AIO-3399J开发板上在Android11下调通后摄像头ov13850

20231226在Firefly的AIO-3399J开发板上在Android11下调通后摄像头ov13850
2023/12/26 8:22


开发板:Firefly的AIO-3399J【RK3399】
SDK:rk3399-android-11-r20211216.tar.xz【Android11】
Android11.0.tar.bz2.aa【ToyBrick】
Android11.0.tar.bz2.ab
Android11.0.tar.bz2.ac

https://wiki.t-firefly.com/AIO-3399J/prepare_compile_android.html
AIO-3399J产品规格书 立即购买
AIO-3399J 采用 RK3399 六核(A72x2+A53x4) 64 位处理器,主频高达1.8GHz,集成了四核 Mali-T860 GPU,性能优异。


前情提要:由于使用Firefly的AIO-3399J开发板的Android10的SDK,kernel编译使用Firefly的AIO-3399J的,lunch之后的Android使用Rockchip官方的编译模式,也能打开前后摄像头ov13850。
可能的原因,Firefly只针对kernel中的(config)DTS和ov13850的驱动程序动过手术。可能Android10还是比较原始的!
【或者没有修改Android系统中的camera部分!】


(一)、kernel部分的修改:
1、firefly_defconfig
Z:\AIO-3399J\rk3399_Android10.0\rk3399_Android10.0\kernel\arch\arm64\configs\firefly_defconfig
Z:\rk3399-android-11\kernel\arch\arm64\configs\firefly_defconfig


2、拷贝Firefly的AIO-3399J开发板的Android10的SDK中的Firefly的DTS文件:
Z:\AIO-3399J\rk3399_Android10.0\rk3399_Android10.0\kernel\arch\arm64\boot\dts\rockchip
Z:\rk3399_Android10.0\kernel\arch\arm64\boot\dts\rockchip\

Z:\rk3399_Android10.0\kernel\arch\arm64\boot\dts\rockchip\Makefile
Z:\rk3399_Android10.0\kernel\arch\arm64\boot\dts\rockchip\rk3399-android.dtsi
Z:\rk3399_Android10.0\kernel\arch\arm64\boot\dts\rockchip\rk3399-dram-default-timing.dtsi
Z:\rk3399_Android10.0\kernel\arch\arm64\boot\dts\rockchip\rk3399-firefly-aio.dts
Z:\rk3399_Android10.0\kernel\arch\arm64\boot\dts\rockchip\rk3399-firefly-aio.dtsi
Z:\rk3399_Android10.0\kernel\arch\arm64\boot\dts\rockchip\rk3399-firefly-core.dtsi
Z:\rk3399_Android10.0\kernel\arch\arm64\boot\dts\rockchip\rk3399-firefly-demo.dtsi
Z:\rk3399_Android10.0\kernel\arch\arm64\boot\dts\rockchip\rk3399-firefly-port.dtsi
Z:\rk3399_Android10.0\kernel\arch\arm64\boot\dts\rockchip\rk3399-opp.dtsi
Z:\rk3399_Android10.0\kernel\arch\arm64\boot\dts\rockchip\rk3399-sched-energy.dtsi
Z:\rk3399_Android10.0\kernel\arch\arm64\boot\dts\rockchip\rk3399-vop-clk-set.dtsi
Z:\rk3399_Android10.0\kernel\arch\arm64\boot\dts\rockchip\rk3399.dtsi


3、解决DTS编译不过的问题!
Z:\AIO-3399J\rk3399_Android10.0\rk3399_Android10.0\kernel\arch\arm64\boot\dts\rockchip-firefly\rk3399-firefly-core.dtsi
Z:\rk3399-android-11\kernel\arch\arm64\boot\dts\rockchip\rk3399-firefly-core.dtsi
&i2s1 {
    status = "okay";
    rockchip,i2s-broken-burst-len;
    rockchip,playback-channels = <2>;
    rockchip,capture-channels = <2>;
    #sound-dai-cells = <0>;
    assigned-clocks = <&cru SCLK_I2S1_DIV>, <&cru SCLK_I2S_8CH>; //SCLK_CIF_OUT_SRC
    assigned-clock-parents = <&cru PLL_GPLL>, <&cru SCLK_I2S1_8CH>;
};

修改为:
&i2s1 {
    status = "okay";
    rockchip,i2s-broken-burst-len;
    rockchip,playback-channels = <2>;
    rockchip,capture-channels = <2>;
    #sound-dai-cells = <0>;
    //assigned-clocks = <&cru SCLK_I2S1_DIV>, <&cru SCLK_I2S_8CH>; //SCLK_CIF_OUT_SRC
    assigned-clock-parents = <&cru PLL_GPLL>, <&cru SCLK_I2S1_8CH>;
};


4、摄像头OV13850的修改:Firefly的AIO-3399J开发板为了将2颗同样的OV13850挂载在同一条I2C1总线上,对Rockchip的BSP提供的官方驱动进行了修改!
Z:\rk3399-android-11\kernel\drivers\media\i2c\ov13850b.c
Z:\AIO-3399J\rk3399_Android10.0\rk3399_Android10.0\kernel\drivers\media\i2c\ov13850.c


(二)、kernel的编译:
make ARCH=arm64 firefly_defconfig rk3399.config
make ARCH=arm64 BOOT_IMG=../rockdev/Image-rk3399_Android11/boot.img rk3399-firefly-aio.img -j36


rootroot@rootroot-X99-Turbo:~/rk3399-android-11/kernel$ 
rootroot@rootroot-X99-Turbo:~/rk3399-android-11/kernel$ 
rootroot@rootroot-X99-Turbo:~/rk3399-android-11/kernel$ 
rootroot@rootroot-X99-Turbo:~/rk3399-android-11/kernel$ make ARCH=arm64 firefly_defconfig rk3399.config
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  YACC    scripts/kconfig/zconf.tab.c
  LEX     scripts/kconfig/zconf.lex.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
***
*** Can't find default configuration "arch/arm64/configs/firefly_defconfig"!
***
make[2]: *** [scripts/kconfig/Makefile:104: firefly_defconfig] Error 1
make[1]: *** [Makefile:584: firefly_defconfig] Error 2
make: *** [Makefile:286: __build_one_by_one] Error 2
rootroot@rootroot-X99-Turbo:~/rk3399-android-11/kernel$ 
rootroot@rootroot-X99-Turbo:~/rk3399-android-11/kernel$ 
rootroot@rootroot-X99-Turbo:~/rk3399-android-11/kernel$ 
rootroot@rootroot-X99-Turbo:~/rk3399-android-11/kernel$ make ARCH=arm64 firefly_defconfig rk3399.config
arch/arm64/configs/firefly_defconfig:860:warning: override: reassigning to symbol ROCKCHIP_VENDOR_STORAGE_UPDATE_LOADER
#
# configuration written to .config
#
Using .config as base
Merging ./kernel/configs/rk3399.config
Value of CONFIG_MALI_BIFROST is redefined by fragment ./kernel/configs/rk3399.config:
Previous value: CONFIG_MALI_BIFROST=y
New value: # CONFIG_MALI_BIFROST is not set

Value of CONFIG_MALI_BIFROST_DEVFREQ is redefined by fragment ./kernel/configs/rk3399.config:
Previous value: CONFIG_MALI_BIFROST_DEVFREQ=y
New value: # CONFIG_MALI_BIFROST_DEVFREQ is not set

Value of CONFIG_MALI_PLATFORM_NAME is redefined by fragment ./kernel/configs/rk3399.config:
Previous value: CONFIG_MALI_PLATFORM_NAME="rk"
New value: # CONFIG_MALI_PLATFORM_NAME is not set

Value of CONFIG_MALI_BIFROST_EXPERT is redefined by fragment ./kernel/configs/rk3399.config:
Previous value: CONFIG_MALI_BIFROST_EXPERT=y
New value: # CONFIG_MALI_BIFROST_EXPERT is not set

Value of CONFIG_MALI_BIFROST_DEBUG is redefined by fragment ./kernel/configs/rk3399.config:
Previous value: CONFIG_MALI_BIFROST_DEBUG=y
New value: # CONFIG_MALI_BIFROST_DEBUG is not set

#
# merged configuration written to .config (needs make)
#
scripts/kconfig/conf  --oldconfig Kconfig
#
# configuration written to .config
#
rootroot@rootroot-X99-Turbo:~/rk3399-android-11/kernel$ \
> \

rootroot@rootroot-X99-Turbo:~/rk3399-android-11/kernel$ 
rootroot@rootroot-X99-Turbo:~/rk3399-android-11/kernel$ make ARCH=arm64 BOOT_IMG=../rockdev/Image-rk3399_Android11/boot.img rk3399-firefly-aio.img -j36
scripts/kconfig/conf  --syncconfig Kconfig


  Building modules, stage 2.
  MODPOST 8 modules
  CC      drivers/media/usb/gspca/gspca_main.mod.o
  CC      drivers/mtd/devices/m25p80.mod.o
  CC      drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/bcmdhd.mod.o
  CC      drivers/net/wireless/rockchip_wlan/rtl8723cs/8723cs.mod.o
  CC      drivers/net/wireless/rockchip_wlan/rtl8723ds/8723ds.mod.o
  CC      drivers/net/wireless/rockchip_wlan/rtl8821cs/8821cs.mod.o
  CC      drivers/net/wireless/rockchip_wlan/rtl8822bs/8822bs.mod.o
  CC      kernel/kheaders.mod.o
  LD [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/bcmdhd.ko
  LD [M]  drivers/mtd/devices/m25p80.ko
  LD [M]  drivers/net/wireless/rockchip_wlan/rtl8821cs/8821cs.ko
  LD [M]  drivers/net/wireless/rockchip_wlan/rtl8723ds/8723ds.ko
  LD [M]  kernel/kheaders.ko
  LD [M]  drivers/media/usb/gspca/gspca_main.ko
  LD [M]  drivers/net/wireless/rockchip_wlan/rtl8723cs/8723cs.ko
  LD [M]  drivers/net/wireless/rockchip_wlan/rtl8822bs/8822bs.ko
  Image:  resource.img (with rk3399-firefly-aio.dtb logo.bmp logo_kernel.bmp) is ready
  Image:  boot.img (with Image  resource.img) is ready
  Image:  zboot.img (with Image.lz4  resource.img) is ready
rootroot@rootroot-X99-Turbo:~/rk3399-android-11/kernel$ 
rootroot@rootroot-X99-Turbo:~/rk3399-android-11/kernel$ 
rootroot@rootroot-X99-Turbo:~/rk3399-android-11/kernel$ cd ..
rootroot@rootroot-X99-Turbo:~/rk3399-android-11$ ll
total 228344
drwxr-xr-x  35 rootroot rootroot      4096 12月 26 08:39 ./
drwxr-xr-x  23 rootroot rootroot      4096 12月 26 08:38 ../
drwxr-xr-x  24 rootroot rootroot      4096 3月  25  2022 51u-boot/
lrwxrwxrwx   1 rootroot rootroot        19 3月   7  2022 Android.bp -> build/soong/root.bp
drwxr-xr-x  34 rootroot rootroot      4096 3月  13  2022 art/
drwxr-xr-x  14 rootroot rootroot      4096 3月  13  2022 bionic/
drwxr-xr-x   3 rootroot rootroot      4096 3月   7  2022 bootable/
lrwxrwxrwx   1 rootroot rootroot        26 3月   7  2022 bootstrap.bash -> build/soong/bootstrap.bash*
drwxr-xr-x   5 rootroot rootroot      4096 3月  14  2022 build/
lrwxrwxrwx   1 rootroot rootroot        34 3月  13  2022 build-nanopc_t4.sh -> vendor/friendlyelec/build/build.sh*
-r-xr-xr-x   1 rootroot rootroot     14109 3月   7  2022 .classpath*
drwxr-xr-x   3 rootroot rootroot      4096 3月   7  2022 compatibility/
drwxr-xr-x  13 rootroot rootroot      4096 3月  13  2022 cts/
drwxr-xr-x   7 rootroot rootroot      4096 3月  13  2022 dalvik/
drwxr-xr-x   5 rootroot rootroot      4096 3月   7  2022 developers/
drwxr-xr-x  20 rootroot rootroot      4096 3月  13  2022 development/
drwxr-xr-x   7 rootroot rootroot      4096 3月  25  2022 device/
drwxr-xr-x 323 rootroot rootroot     12288 3月  13  2022 external/
drwxr-xr-x  16 rootroot rootroot      4096 3月   7  2022 frameworks/
-rw-rw-r--   1 rootroot rootroot       343 3月  13  2022 .gitignore
drwxr-xr-x  13 rootroot rootroot      4096 3月   7  2022 hardware/
-r--r--r--   1 rootroot rootroot       162 3月   7  2022 javaenv.sh
drwxr-xr-x  29 rootroot rootroot      4096 12月 26 08:51 kernel/
-rwx------   1 rootroot rootroot 215821808 12月 19 08:25 kernel92.tgz*
drwxr-xr-x  19 rootroot rootroot      4096 3月  13  2022 libcore/
drwxr-xr-x   7 rootroot rootroot      4096 3月  13  2022 libnativehelper/
-r--r--r--   1 rootroot rootroot        92 3月   7  2022 Makefile
drwxr-xr-x  10 rootroot rootroot      4096 3月  25  2022 mkcombinedroot/
lrwxrwxrwx   1 rootroot rootroot        36 3月  13  2022 mkimage.sh -> vendor/friendlyelec/build/mkimage.sh*
drwxr-xr-x   9 rootroot rootroot      4096 3月   7  2022 packages/
drwxr-xr-x   5 rootroot rootroot      4096 3月  13  2022 pdk/
drwxr-xr-x   9 rootroot rootroot      4096 3月  13  2022 platform_testing/
drwxr-xr-x  33 rootroot rootroot      4096 3月   7  2022 prebuilts/
drwxr-xr-x   8 rootroot rootroot      4096 12月 26 08:28 rkbin/
drwxr-xr-x   4 rootroot rootroot      4096 3月   7  2022 RKDocs/
drwxr-xr-x   4 rootroot rootroot      4096 3月  13  2022 rkst/
drwxr-xr-x   4 rootroot rootroot      4096 3月  13  2022 RKTools/
drwxr-xr-x  23 rootroot rootroot      4096 3月  13  2022 sdk/
drwxr-xr-x  40 rootroot rootroot      4096 3月   7  2022 system/
drwxr-xr-x  10 rootroot rootroot      4096 3月   7  2022 test/
drwxr-xr-x   4 rootroot rootroot      4096 3月   7  2022 toolchain/
drwxr-xr-x  23 rootroot rootroot      4096 3月   7  2022 tools/
drwxrwxr-x  26 rootroot rootroot      4096 12月 26 08:28 u-boot/
-rwx------   1 rootroot rootroot  17818883 12月 14 19:21 u-boot81在firefly.tgz*
drwxr-xr-x   7 rootroot rootroot      4096 3月  13  2022 vendor/
rootroot@rootroot-X99-Turbo:~/rk3399-android-11$ 
rootroot@rootroot-X99-Turbo:~/rk3399-android-11$ 
rootroot@rootroot-X99-Turbo:~/rk3399-android-11$ source build/envsetup.sh 
rootroot@rootroot-X99-Turbo:~/rk3399-android-11$ 
rootroot@rootroot-X99-Turbo:~/rk3399-android-11$ lunch

You're building on Linux

Lunch menu... pick a combo:
     1. PX30_Android11-user
     2. PX30_Android11-userdebug
     3. aosp_arm-eng
     4. aosp_arm64-eng
     5. aosp_car_arm-userdebug
     6. aosp_car_arm64-userdebug
     7. aosp_car_x86-userdebug
     8. aosp_car_x86_64-userdebug
     9. aosp_x86-eng
     10. aosp_x86_64-eng
     11. car_x86_64-userdebug
     12. nanopc_t4-user
     13. nanopc_t4-userdebug
     14. qemu_trusty_arm64-userdebug
     15. rk3288_Android10-user
     16. rk3288_Android10-userdebug
     17. rk3288_Android11-user
     18. rk3288_Android11-userdebug
     19. rk3326_pie-user
     20. rk3326_pie-userdebug
     21. rk3326_q-user
     22. rk3326_q-userdebug
     23. rk3326_r-user
     24. rk3326_r-userdebug
     25. rk3326_rgo-user
     26. rk3326_rgo-userdebug
     27. rk3328_atv-user
     28. rk3328_atv-userdebug
     29. rk3328_box-user
     30. rk3328_box-userdebug
     31. rk3328_box_32-user
     32. rk3328_box_32-userdebug
     33. rk3399_Android10-user
     34. rk3399_Android10-userdebug
     35. rk3399_Android11-user
     36. rk3399_Android11-userdebug
     37. rk3399_atv-user
     38. rk3399_atv-userdebug
     39. rk3399_mid-user
     40. rk3399_mid-userdebug
     41. rk3566_32bit-user
     42. rk3566_32bit-userdebug
     43. rk3566_eink-user
     44. rk3566_eink-userdebug
     45. rk3566_einkw6-user
     46. rk3566_einkw6-userdebug
     47. rk3566_r-user
     48. rk3566_r-userdebug
     49. rk3566_rgo-user
     50. rk3566_rgo-userdebug
     51. rk3568_r-user
     52. rk3568_r-userdebug
     53. rk356x_box-user
     54. rk356x_box-userdebug
     55. rk356x_box_32-user
     56. rk356x_box_32-userdebug
     57. uml-userdebug

Which would you like? [aosp_arm-eng] 36

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=11
TARGET_PRODUCT=rk3399_Android11
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a53
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a15
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.15.0-91-generic-x86_64-Ubuntu-20.04.6-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=RQ2A.210505.003
OUT_DIR=out
============================================
rootroot@rootroot-X99-Turbo:~/rk3399-android-11$ 
rootroot@rootroot-X99-Turbo:~/rk3399-android-11$ 
rootroot@rootroot-X99-Turbo:~/rk3399-android-11$ make -j36


(三)、解决编译Android11出错的问题:
checkvintf I 12-26 09:54:16 644393 644393 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/system/etc/vintf/compatibility_matrix.1.xml': SUCCESS
checkvintf I 12-26 09:54:16 644393 644393 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/system/etc/vintf/compatibility_matrix.legacy.xml': SUCCESS
checkvintf I 12-26 09:54:16 644393 644393 check_vintf.cpp:84] List 'out/target/product/rk3399_Android11/system_ext/etc/vintf/': SUCCESS
checkvintf I 12-26 09:54:16 644393 644393 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/system_ext/etc/vintf/manifest.xml': SUCCESS
checkvintf I 12-26 09:54:16 644393 644393 check_vintf.cpp:84] List 'out/target/product/rk3399_Android11/product/etc/vintf/': No such file or directory
checkvintf E 12-26 09:54:16 644393 644393 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 12-26 09:54:16 644393 644393 check_vintf.cpp:554] For kernel requirements at matrix level 5, Missing config CONFIG_ANDROID_BINDERFS
checkvintf E 12-26 09:54:16 644393 644393 check_vintf.cpp:554] : Success
INCOMPATIBLE
[ 88% 93558/105308] //external/v8:v8_torque_file_cc generate
~/rk3399-android-11 ~/rk3399-android-11
~/rk3399-android-11
[ 88% 93559/105308] //external/v8:v8_torque_file_32 generate
~/rk3399-android-11 ~/rk3399-android-11
~/rk3399-android-11
[ 88% 93560/105308] //external/v8:v8_torque_file generate
~/rk3399-android-11 ~/rk3399-android-11
~/rk3399-android-11
[ 88% 93561/105308] //external/v8:v8_torque_file_cc_32 generate
~/rk3399-android-11 ~/rk3399-android-11
~/rk3399-android-11
09:55:31 ninja failed with: exit status 1

#### failed to build some targets (01:02:45 (hh:mm:ss)) ####

rootroot@rootroot-X99-Turbo:~/rk3399-android-11$ 
rootroot@rootroot-X99-Turbo:~/rk3399-android-11$ 
rootroot@rootroot-X99-Turbo:~/rk3399-android-11$ find 。 -name compatibility_matrix.5.xml
find: ‘。’: No such file or directory
rootroot@rootroot-X99-Turbo:~/rk3399-android-11$ 
rootroot@rootroot-X99-Turbo:~/rk3399-android-11$ find . -name compatibility_matrix.5.xml
./out/target/product/rk3399_Android11/obj/ETC/framework_compatibility_matrix.5.xml_intermediates/compatibility_matrix.5.xml
./out/target/product/rk3399_Android11/system/etc/vintf/compatibility_matrix.5.xml
./out/soong/.intermediates/hardware/interfaces/compatibility_matrices/framework_compatibility_matrix.5.xml/android_common/gen/compatibility_matrix.5.xml
./hardware/interfaces/compatibility_matrices/compatibility_matrix.5.xml
rootroot@rootroot-X99-Turbo:~/rk3399-android-11$ 
rootroot@rootroot-X99-Turbo:~/rk3399-android-11$ 


1、直接使用RK3399的Android11的Rockchip的原始defconfig:rockchip_defconfig生成.config文件!
make distclean
rm *.img
make ARCH=arm64 rockchip_defconfig android-11.config -j36
make ARCH=arm64 BOOT_IMG=../rockdev/Image-rk3399_Android11/boot.img rk3399-firefly-aio.img -j36
make installclean

rootroot@rootroot-X99-Turbo:~/rk3399-android-11$ cd kernel/
rootroot@rootroot-X99-Turbo:~/rk3399-android-11/kernel$ ll
rootroot@rootroot-X99-Turbo:~/rk3399-android-11/kernel$ make distclean
rootroot@rootroot-X99-Turbo:~/rk3399-android-11/kernel$ ll
rootroot@rootroot-X99-Turbo:~/rk3399-android-11/kernel$ rm *.img
rootroot@rootroot-X99-Turbo:~/rk3399-android-11/kernel$ ll
rootroot@rootroot-X99-Turbo:~/rk3399-android-11/kernel$ 
rootroot@rootroot-X99-Turbo:~/rk3399-android-11/kernel$ make ARCH=arm64 rockchip_defconfig android-11.config -j36
rootroot@rootroot-X99-Turbo:~/rk3399-android-11/kernel$ ll
rootroot@rootroot-X99-Turbo:~/rk3399-android-11/kernel$ make ARCH=arm64 BOOT_IMG=../rockdev/Image-rk3399_Android11/boot.img rk3399-firefly-aio.img -j36
-rw-rw-r--   1 rootroot rootroot  19109888 12月 26 18:44 zboot.img
rootroot@rootroot-X99-Turbo:~/rk3399-android-11/kernel$ 
rootroot@rootroot-X99-Turbo:~/rk3399-android-11/kernel$ ll .config
-rw-rw-r-- 1 rootroot rootroot 162642 12月 26 18:41 .config
rootroot@rootroot-X99-Turbo:~/rk3399-android-11/kernel$ ll *.img
-rw-rw-r-- 1 rootroot rootroot 34205696 12月 26 18:44 boot.img
-rw-rw-r-- 1 rootroot rootroot 31778836 12月 26 18:43 kernel.img
-rw-rw-r-- 1 rootroot rootroot  2421248 12月 26 18:44 resource.img
-rw-rw-r-- 1 rootroot rootroot 19109888 12月 26 18:44 zboot.img
rootroot@rootroot-X99-Turbo:~/rk3399-android-11/kernel$ cd ..
rootroot@rootroot-X99-Turbo:~/rk3399-android-11$ ll
rootroot@rootroot-X99-Turbo:~/rk3399-android-11$ make installclean
rootroot@rootroot-X99-Turbo:~/rk3399-android-11$ ll
rootroot@rootroot-X99-Turbo:~/rk3399-android-11$ 
rootroot@rootroot-X99-Turbo:~/rk3399-android-11$ make -j36
rootroot@rootroot-X99-Turbo:~/rk3399-android-11$ ./build.sh -u


(四)、你可以在文件firefly_defconfig中增加项目:CONFIG_ANDROID_BINDERFS,但是肯定会碰到新的问题!
【接着需要关闭CONFIG_CRYPTO_MD4,但是搞了半天没有搞定!就不折腾了!】
Z:\rk3399-android-11\kernel\arch\arm64\configs\firefly_defconfig

/home/rootroot/Toybrick_Android11.0
[ 80% 50412/62279] depmod out/target/product/rk3399_Android11/obj/PACKAGING/depmod_VENDOR_intermediates
depmod: WARNING: could not open modules.order at /home/rootroot/Toybrick_Android11.0/out/target/product/rk3399_Android11/obj/PACKAGING/depmod_VENDOR_intermediates/lib/modules/0.0: No such file or directory
depmod: WARNING: could not open modules.builtin at /home/rootroot/Toybrick_Android11.0/out/target/product/rk3399_Android11/obj/PACKAGING/depmod_VENDOR_intermediates/lib/modules/0.0: No such file or directory
[ 80% 50424/62279] build out/target/product/rk3399_Android11/obj/PACKAGING/check_vintf_all_intermediates/check_vintf_compatible_log
FAILED: out/target/product/rk3399_Android11/obj/PACKAGING/check_vintf_all_intermediates/check_vintf_compatible_log
/bin/bash -c "(echo -n -e 'Deps: \\n  ' > out/target/product/rk3399_Android11/obj/PACKAGING/check_vintf_all_intermediates/check_vintf_compatible_log ) && (sed 's/ /\\n  /g' <<< \"out/target/product/rk3399_Android11/system/etc/vintf/compatibility_matrix.1.xml out/target/product/rk3399_Android11/system/etc/vintf/compatibility_matrix.2.xml out/target/product/rk3399_Android11/system/etc/vintf/compatibility_matrix.3.xml out/target/product/rk3399_Android11/system/etc/vintf/compatibility_matrix.4.xml out/target/product/rk3399_Android11/system/etc/vintf/compatibility_matrix.5.xml out/target/product/rk3399_Android11/system/etc/vintf/compatibility_matrix.device.xml out/target/product/rk3399_Android11/system/etc/vintf/compatibility_matrix.legacy.xml out/target/product/rk3399_Android11/system/etc/vintf/manifest.xml out/target/product/rk3399_Android11/system/etc/vintf/manifest/android.frameworks.stats@1.0-service.xml out/target/product/rk3399_Android11/system/etc/vintf/manifest/android.hidl.allocator@1.0-service.xml out/target/product/rk3399_Android11/system/etc/vintf/manifest/android.system.suspend@1.0-service.xml out/target/product/rk3399_Android11/system/etc/vintf/manifest/manifest_android.frameworks.cameraservice.service@2.1.xml out/target/product/rk3399_Android11/system/etc/vintf/manifest/manifest_media_c2_software.xml out/target/product/rk3399_Android11/system_ext/etc/vintf/manifest.xml out/target/product/rk3399_Android11/vendor/etc/vintf/compatibility_matrix.xml out/target/product/rk3399_Android11/vendor/etc/vintf/manifest.xml out/target/product/rk3399_Android11/vendor/etc/vintf/manifest/android.hardware.cas@1.2-service.xml out/target/product/rk3399_Android11/vendor/etc/vintf/manifest/android.hardware.drm@1.3-service.widevine.xml out/target/product/rk3399_Android11/vendor/etc/vintf/manifest/android.hardware.gatekeeper@1.0-service.optee.xml out/target/product/rk3399_Android11/vendor/etc/vintf/manifest/android.hardware.health@2.1.xml out/target/product/rk3399_Android11/vendor/etc/vintf/manifest/android.hardware.keymaster@4.0-service.optee.xml out/target/product/rk3399_Android11/vendor/etc/vintf/manifest/android.hardware.weaver@1.0-service.xml out/target/product/rk3399_Android11/vendor/etc/vintf/manifest/android.hardware.wifi.hostapd.xml out/target/product/rk3399_Android11/vendor/etc/vintf/manifest/android.hardware.wifi@1.0-service.xml out/target/product/rk3399_Android11/vendor/etc/vintf/manifest/lights-rockchip.xml out/target/product/rk3399_Android11/vendor/etc/vintf/manifest/manifest.xml out/target/product/rk3399_Android11/vendor/etc/vintf/manifest/manifest_android.hardware.drm@1.3-service.clearkey.xml out/target/product/rk3399_Android11/vendor/etc/vintf/manifest/power-aidl-rockchip.xml out/target/product/rk3399_Android11/vendor/etc/vintf/manifest/rockchip.hardware.outputmanager@1.0-service.xml out/target/product/rk3399_Android11/vendor/etc/vintf/manifest/rockchip.hardware.rockit.hw@1.0-service.xml out/target/product/rk3399_Android11/obj/PACKAGING/check_vintf_all_intermediates/kernel_configs.txt out/target/product/rk3399_Android11/obj/PACKAGING/check_vintf_all_intermediates/kernel_version.txt\" >> out/target/product/rk3399_Android11/obj/PACKAGING/check_vintf_all_intermediates/check_vintf_compatible_log ) && (echo -n -e 'Args: \\n  ' >> out/target/product/rk3399_Android11/obj/PACKAGING/check_vintf_all_intermediates/check_vintf_compatible_log ) && (cat <<< \" --kernel \$(cat out/target/product/rk3399_Android11/obj/PACKAGING/check_vintf_all_intermediates/kernel_version.txt):out/target/product/rk3399_Android11/obj/PACKAGING/check_vintf_all_intermediates/kernel_configs.txt --dirmap /system:out/target/product/rk3399_Android11/system --dirmap /vendor:out/target/product/rk3399_Android11/vendor --dirmap /odm:out/target/product/rk3399_Android11/odm --dirmap /product:out/target/product/rk3399_Android11/product --dirmap /system_ext:out/target/product/rk3399_Android11/system_ext  --property ro.product.first_api_level=30\" >> out/target/product/rk3399_Android11/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/rk3399_Android11/obj/PACKAGING/check_vintf_all_intermediates/check_vintf_compatible_log; ( out/host/linux-x86/bin/checkvintf --check-compat  --kernel \$(cat out/target/product/rk3399_Android11/obj/PACKAGING/check_vintf_all_intermediates/kernel_version.txt):out/target/product/rk3399_Android11/obj/PACKAGING/check_vintf_all_intermediates/kernel_configs.txt --dirmap /system:out/target/product/rk3399_Android11/system --dirmap /vendor:out/target/product/rk3399_Android11/vendor --dirmap /odm:out/target/product/rk3399_Android11/odm --dirmap /product:out/target/product/rk3399_Android11/product --dirmap /system_ext:out/target/product/rk3399_Android11/system_ext  --property ro.product.first_api_level=30 --property ro.boot.product.hardware.sku= --property ro.boot.product.vendor.sku= >> out/target/product/rk3399_Android11/obj/PACKAGING/check_vintf_all_intermediates/check_vintf_compatible_log 2>&1 ) || (cat out/target/product/rk3399_Android11/obj/PACKAGING/check_vintf_all_intermediates/check_vintf_compatible_log && exit 1) )"
Deps: 
  out/target/product/rk3399_Android11/system/etc/vintf/compatibility_matrix.1.xml
  out/target/product/rk3399_Android11/system/etc/vintf/compatibility_matrix.2.xml
  out/target/product/rk3399_Android11/system/etc/vintf/compatibility_matrix.3.xml
  out/target/product/rk3399_Android11/system/etc/vintf/compatibility_matrix.4.xml
  out/target/product/rk3399_Android11/system/etc/vintf/compatibility_matrix.5.xml
  out/target/product/rk3399_Android11/system/etc/vintf/compatibility_matrix.device.xml
  out/target/product/rk3399_Android11/system/etc/vintf/compatibility_matrix.legacy.xml
  out/target/product/rk3399_Android11/system/etc/vintf/manifest.xml
  out/target/product/rk3399_Android11/system/etc/vintf/manifest/android.frameworks.stats@1.0-service.xml
  out/target/product/rk3399_Android11/system/etc/vintf/manifest/android.hidl.allocator@1.0-service.xml
  out/target/product/rk3399_Android11/system/etc/vintf/manifest/android.system.suspend@1.0-service.xml
  out/target/product/rk3399_Android11/system/etc/vintf/manifest/manifest_android.frameworks.cameraservice.service@2.1.xml
  out/target/product/rk3399_Android11/system/etc/vintf/manifest/manifest_media_c2_software.xml
  out/target/product/rk3399_Android11/system_ext/etc/vintf/manifest.xml
  out/target/product/rk3399_Android11/vendor/etc/vintf/compatibility_matrix.xml
  out/target/product/rk3399_Android11/vendor/etc/vintf/manifest.xml
  out/target/product/rk3399_Android11/vendor/etc/vintf/manifest/android.hardware.cas@1.2-service.xml
  out/target/product/rk3399_Android11/vendor/etc/vintf/manifest/android.hardware.drm@1.3-service.widevine.xml
  out/target/product/rk3399_Android11/vendor/etc/vintf/manifest/android.hardware.gatekeeper@1.0-service.optee.xml
  out/target/product/rk3399_Android11/vendor/etc/vintf/manifest/android.hardware.health@2.1.xml
  out/target/product/rk3399_Android11/vendor/etc/vintf/manifest/android.hardware.keymaster@4.0-service.optee.xml
  out/target/product/rk3399_Android11/vendor/etc/vintf/manifest/android.hardware.weaver@1.0-service.xml
  out/target/product/rk3399_Android11/vendor/etc/vintf/manifest/android.hardware.wifi.hostapd.xml
  out/target/product/rk3399_Android11/vendor/etc/vintf/manifest/android.hardware.wifi@1.0-service.xml
  out/target/product/rk3399_Android11/vendor/etc/vintf/manifest/lights-rockchip.xml
  out/target/product/rk3399_Android11/vendor/etc/vintf/manifest/manifest.xml
  out/target/product/rk3399_Android11/vendor/etc/vintf/manifest/manifest_android.hardware.drm@1.3-service.clearkey.xml
  out/target/product/rk3399_Android11/vendor/etc/vintf/manifest/power-aidl-rockchip.xml
  out/target/product/rk3399_Android11/vendor/etc/vintf/manifest/rockchip.hardware.outputmanager@1.0-service.xml
  out/target/product/rk3399_Android11/vendor/etc/vintf/manifest/rockchip.hardware.rockit.hw@1.0-service.xml
  out/target/product/rk3399_Android11/obj/PACKAGING/check_vintf_all_intermediates/kernel_configs.txt
  out/target/product/rk3399_Android11/obj/PACKAGING/check_vintf_all_intermediates/kernel_version.txt
Args: 
   --kernel 4.19.193:out/target/product/rk3399_Android11/obj/PACKAGING/check_vintf_all_intermediates/kernel_configs.txt --dirmap /system:out/target/product/rk3399_Android11/system --dirmap /vendor:out/target/product/rk3399_Android11/vendor --dirmap /odm:out/target/product/rk3399_Android11/odm --dirmap /product:out/target/product/rk3399_Android11/product --dirmap /system_ext:out/target/product/rk3399_Android11/system_ext  --property ro.product.first_api_level=30
For ODM SKU = EMPTY_ODM_SKU_PLACEHOLDER, vendor SKU = EMPTY_VENDOR_SKU_PLACEHOLDER
checkvintf I 12-26 13:12:32 24145 24145 VintfObject.cpp:55] getFrameworkHalManifest: Reading VINTF information.
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/system/etc/vintf/manifest.xml': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:84] List 'out/target/product/rk3399_Android11/system/etc/vintf/manifest/': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/system/etc/vintf/manifest/android.hidl.allocator@1.0-service.xml': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/system/etc/vintf/manifest/android.frameworks.stats@1.0-service.xml': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/system/etc/vintf/manifest/manifest_media_c2_software.xml': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/system/etc/vintf/manifest/manifest_android.frameworks.cameraservice.service@2.1.xml': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/system/etc/vintf/manifest/android.system.suspend@1.0-service.xml': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/product/etc/vintf/manifest.xml': No such file or directory
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:84] List 'out/target/product/rk3399_Android11/product/etc/vintf/manifest/': No such file or directory
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/system_ext/etc/vintf/manifest.xml': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:84] List 'out/target/product/rk3399_Android11/system_ext/etc/vintf/manifest/': No such file or directory
checkvintf I 12-26 13:12:32 24145 24145 VintfObject.cpp:61] getFrameworkHalManifest: Successfully processed VINTF information
checkvintf I 12-26 13:12:32 24145 24145 VintfObject.cpp:55] getDeviceHalManifest: Reading VINTF information.
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:122] Sysprop ro.boot.product.vendor.sku=
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/vendor/etc/vintf/manifest.xml': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:84] List 'out/target/product/rk3399_Android11/vendor/etc/vintf/manifest/': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/vendor/etc/vintf/manifest/android.hardware.cas@1.2-service.xml': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/vendor/etc/vintf/manifest/rockchip.hardware.rockit.hw@1.0-service.xml': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/vendor/etc/vintf/manifest/power-aidl-rockchip.xml': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/vendor/etc/vintf/manifest/manifest_android.hardware.drm@1.3-service.clearkey.xml': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/vendor/etc/vintf/manifest/manifest.xml': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/vendor/etc/vintf/manifest/android.hardware.wifi@1.0-service.xml': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/vendor/etc/vintf/manifest/lights-rockchip.xml': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/vendor/etc/vintf/manifest/android.hardware.health@2.1.xml': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/vendor/etc/vintf/manifest/android.hardware.wifi.hostapd.xml': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/vendor/etc/vintf/manifest/rockchip.hardware.outputmanager@1.0-service.xml': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/vendor/etc/vintf/manifest/android.hardware.weaver@1.0-service.xml': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/vendor/etc/vintf/manifest/android.hardware.gatekeeper@1.0-service.optee.xml': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/vendor/etc/vintf/manifest/android.hardware.drm@1.3-service.widevine.xml': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/vendor/etc/vintf/manifest/android.hardware.keymaster@4.0-service.optee.xml': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:122] Sysprop ro.boot.product.hardware.sku=
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/odm/etc/vintf/manifest.xml': No such file or directory
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/odm/etc/manifest.xml': No such file or directory
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:84] List 'out/target/product/rk3399_Android11/odm/etc/vintf/manifest/': No such file or directory
checkvintf I 12-26 13:12:32 24145 24145 VintfObject.cpp:61] getDeviceHalManifest: Successfully processed VINTF information
checkvintf I 12-26 13:12:32 24145 24145 VintfObject.cpp:55] getFrameworkCompatibilityMatrix: Reading VINTF information.
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:84] List 'out/target/product/rk3399_Android11/system/etc/vintf/': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/system/etc/vintf/compatibility_matrix.4.xml': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/system/etc/vintf/compatibility_matrix.2.xml': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/system/etc/vintf/manifest.xml': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/system/etc/vintf/compatibility_matrix.3.xml': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/system/etc/vintf/compatibility_matrix.device.xml': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/system/etc/vintf/compatibility_matrix.5.xml': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/system/etc/vintf/compatibility_matrix.1.xml': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/system/etc/vintf/compatibility_matrix.legacy.xml': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:84] List 'out/target/product/rk3399_Android11/system_ext/etc/vintf/': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/system_ext/etc/vintf/manifest.xml': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:84] List 'out/target/product/rk3399_Android11/product/etc/vintf/': No such file or directory
checkvintf I 12-26 13:12:32 24145 24145 VintfObject.cpp:61] getFrameworkCompatibilityMatrix: Successfully processed VINTF information
checkvintf I 12-26 13:12:32 24145 24145 VintfObject.cpp:55] getDeviceCompatibilityMatrix: Reading VINTF information.
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/vendor/etc/vintf/compatibility_matrix.xml': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 VintfObject.cpp:61] getDeviceCompatibilityMatrix: Successfully processed VINTF information
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:154] fetched kernel version 4.19.193
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:168] read kernel configs from out/target/product/rk3399_Android11/obj/PACKAGING/check_vintf_all_intermediates/kernel_configs.txt
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:84] List 'out/target/product/rk3399_Android11/system/etc/vintf/': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/system/etc/vintf/compatibility_matrix.4.xml': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/system/etc/vintf/compatibility_matrix.2.xml': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/system/etc/vintf/manifest.xml': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/system/etc/vintf/compatibility_matrix.3.xml': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/system/etc/vintf/compatibility_matrix.device.xml': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/system/etc/vintf/compatibility_matrix.5.xml': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/system/etc/vintf/compatibility_matrix.1.xml': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/system/etc/vintf/compatibility_matrix.legacy.xml': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:84] List 'out/target/product/rk3399_Android11/system_ext/etc/vintf/': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/system_ext/etc/vintf/manifest.xml': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:84] List 'out/target/product/rk3399_Android11/product/etc/vintf/': No such file or directory
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:84] List 'out/target/product/rk3399_Android11/system/etc/vintf/': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/system/etc/vintf/compatibility_matrix.4.xml': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/system/etc/vintf/compatibility_matrix.2.xml': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/system/etc/vintf/manifest.xml': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/system/etc/vintf/compatibility_matrix.3.xml': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/system/etc/vintf/compatibility_matrix.device.xml': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/system/etc/vintf/compatibility_matrix.5.xml': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/system/etc/vintf/compatibility_matrix.1.xml': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/system/etc/vintf/compatibility_matrix.legacy.xml': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:84] List 'out/target/product/rk3399_Android11/system_ext/etc/vintf/': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:74] Fetch 'out/target/product/rk3399_Android11/system_ext/etc/vintf/manifest.xml': SUCCESS
checkvintf I 12-26 13:12:32 24145 24145 check_vintf.cpp:84] List 'out/target/product/rk3399_Android11/product/etc/vintf/': No such file or directory
checkvintf E 12-26 13:12:32 24145 24145 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 12-26 13:12:32 24145 24145 check_vintf.cpp:554] For kernel requirements at matrix level 5, For config CONFIG_CRYPTO_MD4, value = y but required n
checkvintf E 12-26 13:12:32 24145 24145 check_vintf.cpp:554] : Success
INCOMPATIBLE

13:12:52 ninja failed with: exit status 1

#### failed to build some targets (01:10 (mm:ss)) ####

rootroot@rootroot-X99-Turbo:~/Toybrick_Android11.0$ cd kernel/


(五)、在LOG中很容易发现打开前置摄像头OV13850的时候,调用GPIO出错,结果就只有单摄像头了!
【也许/可能是因为最开始编译kernel的时候,defconfig选择错误firefly导致的!】

[    7.915286] [dhd] dhd_module_init: Exit err=0
[    7.947262] rockchip-pinctrl pinctrl: pin gpio2-11 already requested by 1-0010; cannot claim for 1-0010-1
[    7.947339] rockchip-pinctrl pinctrl: pin-75 (1-0010-1) status -22
[    7.947355] rockchip-pinctrl pinctrl: could not request pin 75 (gpio2-11) from group cif-clkout  on device rockchip-pinctrl
[    7.947370] ov13850 1-0010-1: Error applying setting, reverse things back
[    7.947383] ov13850 1-0010-1: could not set pins
[    7.949236] rockchip-pinctrl pinctrl: pin gpio2-11 already requested by 1-0010; cannot claim for 1-0010-1
[    7.949258] rockchip-pinctrl pinctrl: pin-75 (1-0010-1) status -22
[    7.949269] rockchip-pinctrl pinctrl: could not request pin 75 (gpio2-11) from group cif-clkout  on device rockchip-pinctrl
[    7.949276] ov13850 1-0010-1: Error applying setting, reverse things back
[    7.949281] ov13850 1-0010-1: could not set pins
[    8.008634] rockchip-pinctrl pinctrl: pin gpio2-11 already requested by 1-0010; cannot claim for 1-0010-1
[    8.008662] rockchip-pinctrl pinctrl: pin-75 (1-0010-1) status -22
[    8.008669] rockchip-pinctrl pinctrl: could not request pin 75 (gpio2-11) from group cif-clkout  on device rockchip-pinctrl
[    8.008676] ov13850 1-0010-1: Error applying setting, reverse things back
[    8.008682] ov13850 1-0010-1: could not set pins
[    8.011182] rockchip-pinctrl pinctrl: pin gpio2-11 already requested by 1-0010; cannot claim for 1-0010-1
[    8.011202] rockchip-pinctrl pinctrl: pin-75 (1-0010-1) status -22
[    8.011210] rockchip-pinctrl pinctrl: could not request pin 75 (gpio2-11) from group cif-clkout  on device rockchip-pinctrl
[    8.011217] ov13850 1-0010-1: Error applying setting, reverse things back
[    8.011222] ov13850 1-0010-1: could not set pins
[    8.042197] android_work: did not send uevent (0 0           (null))
[    8.100956] rockchip-pinctrl pinctrl: pin gpio2-11 already requested by 1-0010; cannot claim for 1-0010-1
[    8.100989] rockchip-pinctrl pinctrl: pin-75 (1-0010-1) status -22
[    8.100998] rockchip-pinctrl pinctrl: could not request pin 75 (gpio2-11) from group cif-clkout  on device rockchip-pinctrl
[    8.101006] ov13850 1-0010-1: Error applying setting, reverse things back
[    8.101013] ov13850 1-0010-1: could not set pins
[    8.102237] rockchip-pinctrl pinctrl: pin gpio2-11 already requested by 1-0010; cannot claim for 1-0010-1
[    8.102258] rockchip-pinctrl pinctrl: pin-75 (1-0010-1) status -22
[    8.102271] rockchip-pinctrl pinctrl: could not request pin 75 (gpio2-11) from group cif-clkout  on device rockchip-pinctrl
[    8.102283] ov13850 1-0010-1: Error applying setting, reverse things back
[    8.102293] ov13850 1-0010-1: could not set pins
[    8.145907] rockchip-pinctrl pinctrl: pin gpio2-11 already requested by 1-0010; cannot claim for 1-0010-1
[    8.145948] rockchip-pinctrl pinctrl: pin-75 (1-0010-1) status -22
[    8.145957] rockchip-pinctrl pinctrl: could not request pin 75 (gpio2-11) from group cif-clkout  on device rockchip-pinctrl
[    8.145966] ov13850 1-0010-1: Error applying setting, reverse things back
[    8.145973] ov13850 1-0010-1: could not set pins
[    8.147847] rockchip-pinctrl pinctrl: pin gpio2-11 already requested by 1-0010; cannot claim for 1-0010-1
[    8.147869] rockchip-pinctrl pinctrl: pin-75 (1-0010-1) status -22
[    8.147876] rockchip-pinctrl pinctrl: could not request pin 75 (gpio2-11) from group cif-clkout  on device rockchip-pinctrl
[    8.147884] ov13850 1-0010-1: Error applying setting, reverse things back
[    8.147889] ov13850 1-0010-1: could not set pins
[    8.960000] rockchip-vop ff900000.vop: [drm:vop_crtc_atomic_enable] Update mode to 1920x1080p60, type: 11

参考资料:
http://www.friendlyelec.com.cn/agent.asp
http://www.friendlyelec.com.cn/
https://download.friendlyelec.com/NanoPC-T4
https://wiki.friendlyelec.com/wiki/index.php/NanoPC-T4/zh#.E4.B8.8B.E8.BD.BDAndroid10.E6.BA.90.E4.BB.A3.E7.A0.81


https://item.taobao.com/item.htm?spm=a1z09.2.0.0.37562e8dcotDm6&id=570312633249&_u=7ju3ku004a
友善NanoPC-T4瑞芯微RK3399开发板ROS双摄4K播放开源AI智能安卓10

WiKi维基教程(固件介绍,使用说明,操作步骤等)
http://wiki.friendlyelec.com/wiki/index.php/NanoPC-T4
系统固件下载
https://dl.friendlyelec.com/nanopct4
原理图(pdf格式)
http://wiki.friendlyelec.com/wiki/images/e/e0/NanoPC-T4-1902-Schematic.pdf
尺寸图(dxf格式)
http://wiki.friendlyelec.com/wiki/images/b/bc/NanoPC-T4_1802_Drawing%28dxf%29.zip


http://www.friendlyelec.com.cn/nanopi-m4.asp
NanoPi M4 | NanoPi M4V2

https://wiki.friendlyelec.com/wiki/index.php/NanoPi_M4/zh
15.3 编译Android10源代码
15.3.1 下载Android10源代码
有以下两种途径获取 Android10 的源代码,都需要联网:

使用网盘里的git repo压缩包
网盘下载地址: 点击进入

https://download.friendlyelec.com/NanoPiM4
https://pan.baidu.com/share/init?surl=oBLn9H31hILJKEPQXgrUog
提取码:yn6r


 

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/579841.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

如何配置TLSv1.2版本的ssl

1、tomcat配置TLSv1.2版本的ssl 如下图所示&#xff0c;打开tomcat\conf\server.xml文件&#xff0c;进行如下配置&#xff1a; 注意&#xff1a;需要将申请的tomcat版本的ssl认证文件&#xff0c;如server.jks存放到tomcat\conf\ssl_file\目录下。 <Connector port"1…

Linux介绍、安装、常见命令

Linux介绍 Linux是一种开源的操作系统&#xff0c;其内核由林纳斯托瓦兹&#xff08;Linus Torvalds&#xff09;在1991年开始开发。与其他常见的操作系统如Windows和Mac OS不同&#xff0c;Linux是一个开放、自由的系统&#xff0c;可以免费使用、修改和分发。 Linux的核心特…

企业级实战项目:基于 pycaret 自动化预测公司是否破产

本文系数据挖掘实战系列文章&#xff0c;我跟大家分享一个数据挖掘实战&#xff0c;与以往的数据实战不同的是&#xff0c;用自动机器学习方法完成模型构建与调优部分工作&#xff0c;深入理解由此带来的便利与效果。 1. Introduction 本文是一篇数据挖掘实战案例&#xff0c;…

uniapp APP应用程序iOS没有上架到苹果应用商店如何整包更新?

随着移动互联网的快速发展&#xff0c;uni-app 作为一种跨平台开发框架&#xff0c;受到了广泛欢迎。然而&#xff0c;有时候开发者可能会遇到一个问题&#xff1a;如何为已经发布到苹果应用商店的 uni-app APP 进行整包更新&#xff1f;尤其是当应用还没有上架到苹果应用商店时…

nodejs进阶

文章目录 写在前面一、dependencies、devDependencies和peerDependencies区别&#xff1a;二、需要牢记的npm命令2.1 npm init2.2 npm config list2.3 npm配置镜像源 三、npm install 的原理四、package-lock.json的作用五、npm run 的原理六、npx6.1 npx是什么6.2 npx的优势6.…

深信服技术认证“SCSA-S”划重点:文件上传与解析漏洞

为帮助大家更加系统化地学习网络安全知识&#xff0c;以及更高效地通过深信服安全服务认证工程师考核&#xff0c;深信服特别推出“SCSA-S认证备考秘笈”共十期内容&#xff0c;“考试重点”内容框架&#xff0c;帮助大家快速get重点知识~ 划重点来啦 *点击图片放大展示 深信服…

从AMI镜像恢复AWS Amazon Linux 2实例碰到的VNC服务以及Chrome浏览器无法启动的问题

文章目录 小结问题及解决VNC服务无法启动Chrome浏览器无法启动 参考 小结 将Amazon Linux 2保存为AMI (Amazon Machine Images)后&#xff0c;恢复成EC2 Instance (实例)后&#xff0c;VNC服务以及Chrome浏览器无法启动&#xff0c;进行了解决。 问题及解决 如果要将一个EC2…

treeview数据的保存和读取(以表格方式保存)

一个简单的treeivew&#xff0c;以表格方式保存比较简单&#xff0c;遍历所有节点&#xff0c;记录parentNode、node、data即可 parentiddataid002xx2001005xx5000003xx3001006xx6002007xx7001000xx0001001xx1-1004xx4007 如何将表格转为tree数据&#xff0c;代码如下&#xf…

数据结构-十大排序算法

数据结构十大排序算法 十大排序算法分别是直接插入排序、折半插入排序、希尔排序、冒泡排序、快速排序、简单选择排序、堆排序、归并排序、基数排序、外部排序。 其中插入排序包括直接插入排序、折半插入排序、希尔排序&#xff1b;交换排序包括冒泡排序、快速排序&#xff1…

LSTM中文新闻分类源码详解

LSTM中文新闻分类 一、导包二、读取数据三、数据预处理1.分词、去掉停用词和数字、字母转换成小写等2.新闻文本标签数值化 三、创建词汇表/词典1.data.Field()2.空格切分等3.构建词汇表/词典使用训练集构建单词表&#xff0c;vectorsNone:没有使用预训练好的词向量,而是使用的是…

阿里云自建官方Docker仓库镜像提交拉取方法

文章目录 发布镜像到DockerHub发布镜像到自建Docker仓库(Harbor)修改配置文件在Linux服务器中登录Docker打TAGPUSH提交镜像PULL拉取镜像 发布镜像到阿里云容器服务在Linux服务器中登录DockerPUSH提交镜像PULL拉取镜像 发布镜像到DockerHub 本地我们镜像命名可能会不规范&#…

详解Keras3.0 Layer API: LSTM layer

LSTM layer 用于实现长短时记忆网络&#xff0c;它的主要作用是对序列数据进行建模和预测。 遗忘门&#xff08;Forget Gate&#xff09;&#xff1a;根据当前输入和上一个时间步的隐藏状态&#xff0c;计算遗忘门的值。遗忘门的作用是控制哪些信息应该被遗忘&#xff0c;哪些…

C++面试宝典第10题:绘制各种图形

题目 我们需要编写一个图形相关的应用程序,并处理大量图形(Shape)信息,图形有矩形(Rectangle)、正方形(Square)、圆形(Circle)等种类。应用程序需要计算这些图形的面积,并且可能需要在某个设备上进行显示(使用在标准输出上打印信息的方式作为示意)。 (1)请使用面…

华为——使用ACL限制内网主机访问外网网站示例

组网图形 图1 使用ACL限制内网主机访问外网网站示例 ACL简介配置注意事项组网需求配置思路操作步骤配置文件 ACL简介 访问控制列表ACL&#xff08;Access Control List&#xff09;是由一条或多条规则组成的集合。所谓规则&#xff0c;是指描述报文匹配条件的判断语句&#…

大数据开发之Sqoop详细介绍

测试环境 CDH 6.3.1 Sqoop 1.4.7 一.Sqoop概述 Apache Sqoop&#xff08;SQL-to-Hadoop&#xff09;项目旨在协助RDBMS与Hadoop之间进行高效的大数据交流。用户可以在 Sqoop 的帮助下&#xff0c;轻松地把关系型数据库的数据导入到 Hadoop 与其相关的系统 (如HBase和Hive)中&…

IRIS、Cache系统类汉化

文章目录 系统类汉化简介标签说明汉化系统包说明效果展示类分类%Library包下的类重点类非重点类弃用类数据类型类工具类 使用说明 系统类汉化 简介 帮助小伙伴更加容易理解后台系统程序方法使用&#xff0c;降低代码的难度。符合本土化中文环境的开发和维护&#xff0c;有助于…

年底大厂今年发多少年终奖,怎么发(上)?

马上就2023年年底了&#xff0c;互联网大厂腾讯员工首先&#xff0c;发年终奖了&#xff0c;111354 元&#xff01; 腾讯的同学可以查一查了&#xff0c;应该发多少已经定下来了&#xff01;&#x1f44b; 除此之外&#xff0c;千寻找了很多的大厂的年终奖发放时间&#xff0c;…

Android Studio 如何隐藏默认标题栏

目录 前言 一、修改清单文件 二、修改代码 三、更多资源 前言 在 Android 应用中&#xff0c;通常会有一个默认的标题栏&#xff0c;用于显示应用的名称和一些操作按钮。但是&#xff0c;在某些情况下&#xff0c;我们可能需要隐藏默认的标题栏&#xff0c;例如自定义标题栏…

时序预测 | Matlab实现SSA-CNN-LSTM麻雀算法优化卷积长短期记忆神经网络时间序列预测

时序预测 | Matlab实现SSA-CNN-LSTM麻雀算法优化卷积长短期记忆神经网络时间序列预测 目录 时序预测 | Matlab实现SSA-CNN-LSTM麻雀算法优化卷积长短期记忆神经网络时间序列预测预测效果基本介绍程序设计参考资料 预测效果 基本介绍 MATLAB实现SSA-CNN-LSTM麻雀算法优化卷积长短…

【HarmonyOS开发】探究Hap与App包的结构与区别

1、Hap与App包的区别 OpenHarmony 可以进行两种形式&#xff08;Hap和App&#xff09;的打包&#xff0c;HAP是用于本地调试的&#xff0c;APP包是用于上架发布的。 根据不同的设备类型&#xff0c;一个APP包可以包含多个HAP包。 下面从两个角度进行分析 1.1 编译构建角度 编…