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


 

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

如若内容造成侵权/违法违规/事实不符,请联系我们进行投诉反馈qq邮箱809451989@qq.com,一经查实,立即删除!

相关文章

一文搞懂类加载过程

废话不多说&#xff0c;先上一张图 1、“加载”过程做了什么&#xff1f;什么是双亲委派&#xff1f;为什么要使用双亲委派机制&#xff1f;有什么利弊&#xff1f; **加载&#xff1a;**就是将编译后的.class字节码文件【jvm只认.class文件&#xff0c;.class文件也并非只有…

C++ std::string使用效率优化

字符串操作是任何一个C开发程序无法绕过的点&#xff0c;很多时候针对字符串的操作需要进行优化&#xff0c;从而达到更优的使用效率和内存利用率。一般会采用标准的std::string替代C字符串&#xff0c;一方面是std::string为一个成熟的类对象&#xff0c;其成员操作基本能满足…

阿赵UE学习笔记——4、新建关卡

阿赵UE学习笔记目录 大家好&#xff0c;我是阿赵。   之前介绍了虚幻引擎的常用窗口功能&#xff0c;这次开始创建游戏内的世界了。首先先从创建关卡开始。 一、创建新关卡 在使用UE引擎制作游戏&#xff0c;首先要有一个场景作为基础&#xff0c;这个场景在UE里面成为关卡。…

若依(Spring boot)框架中如何在不同的控制器之间共享与使用数据

在若依框架或Spring boot框架中&#xff0c;控制器共享和使用数据是为了确保数据一致性、传递信息、提高效率和降低系统复杂性。这可以通过全局变量、依赖注入或数据库/缓存等方式实现。共享和使用数据对框架的正常运行非常关键&#xff0c;有助于促进控制器之间的协同工作&…

消息走漏提前做空腾讯爆赚30倍?逐帧分析还原真相

数量技术宅团队在CSDN学院推出了量化投资系列课程 欢迎有兴趣系统学习量化投资的同学&#xff0c;点击下方链接报名&#xff1a; 量化投资速成营&#xff08;入门课程&#xff09; Python股票量化投资 Python期货量化投资 Python数字货币量化投资 C语言CTP期货交易系统开…

C语言结构体内存对齐

文章目录 一、结构体内存对齐问题二、查看结构体成员起始位置三、设置内存对齐方式 一、结构体内存对齐问题 如下的info_s结构体类型&#xff0c;包含一个int型成员age, 一个char型成员gender, 一个int型成员id。 单从数据成员的大小进行分析&#xff0c;整个结构体的大小应为…

【JavaWeb学习笔记】18 - 文件上传下载

项目代码 https://github.com/yinhai1114/JavaWeb_LearningCode/tree/main/fileupdown 目录 文件上传 一、基本介绍 二、文件上传的基本原理 ​编辑 三、文件上传应用实例 四、文件上传的注意细节 1.解决中文乱码问题 2.分割文件夹 3.防止重名 4.百度WebUploader 5.空…

Windows无法安装edge 无法连接Internet

如果出现以上问题&#xff0c;或者Edge浏览器无法更新&#xff0c;提示防火墙错误之类的都可以解决问题。 下载以下证书文件并导入即可解决问题。 MicrosoftRootCertificateAuthority2011.cer

注意力机制(数学公式)

人类视觉注意力机制极大地提高了视觉信息处理的效率与准确性 计算机注意力机制是为了让卷积神经网络注意到他更加需要注意的地方 &#xff0c;而不是什么都关注 。 分为三种注意力机制&#xff0c;空间注意力机制&#xff0c;通道注意力机制&#xff0c;以及两者的结合。 …

关于MULTI#STORM活动利用远程访问木马瞄准印度和美国的动态情报

一、基本内容 于2023年6月22日&#xff0c;一款代号为MULTI#STORM的新网络钓鱼活动将目标瞄准了印度和美国&#xff0c;利用JavaScript文件在受感染的系统上传播远程访问木马。 二、相关发声情况 Securonix的研究人员Den luzvyk、Tim Peck和Oleg Kolesnikov发表声明称&#x…

【AI服饰】孔雀背景服装_AIGC服饰订制设计咨询产业

服饰系列 AIGC&#xff08;Artificial Intelligence Generated Content&#xff09;服饰图是指通过人工智能生成的服装设计图案。随着人工智能技术的不断进步&#xff0c;AIGC服饰图在未来有着广阔的发展空间。 首先&#xff0c;AIGC服饰图可以提供更多的设计可能性。传统的服…

PYTHON基础:K最邻近算法

K最邻近算法笔记 K最邻近算法既可以用在分类中&#xff0c;也可以用在回归中。在分类的方法&#xff0c;比如说在x-y的坐标轴上又两个成堆的数据集&#xff0c;也就是有两类&#xff0c;如果这个时候有个点在图上&#xff0c;它是属于谁&#xff1f; 原则就是哪一类离它比较近…

RK3568平台开发系列讲解(Linux系统篇)GPIO调试手段

🚀返回专栏总目录 文章目录 一、/sys/kernel/debug/gpio目录二、/sys/kernel/debug/pinctrl 目录沉淀、分享、成长,让自己和他人都能有所收获!😄 📢本篇将介绍 GPIO调试手段。 一、/sys/kernel/debug/gpio目录 debugfs 是 Linux 内核提供的一个调试文件系统,可以用于…

Navicat删除连接报错:service in use cannot be deleted的解决方法

我在删除连接时遇到了这个报错&#xff0c;内容如图。下面我介绍两种解决方法&#xff0c;非常简单。 第一种 右键点击想要删除的连接&#xff0c;先选择“关闭连接”。再选择“删除连接” 第二种 如果第一种方法无效&#xff0c;直接关闭Navicat软件&#xff0c;重新打开。然后…

javaweb--实验十 --期末复盘

实验十 JDBC连接MySQL 本次实验没有代码补全&#xff0c;以下都是完整过程&#xff0c;详细关注连接过程的问题 一、实验目的&#xff1a; 1、掌握JDBC连接数据库的一般操作。 2、理解JavaBean的基本作用。 3、理解分层设计的思想。 二、 实验内容&#xff1a; 实现学生信…

广州华锐互动VRAR:VR煤矿安全警示教育系统提供真实生动的场景体验

随着科技的不断发展&#xff0c;虚拟现实&#xff08;VR&#xff09;技术已经逐渐渗透到各个领域&#xff0c;为人们的生活带来了诸多便利。在煤矿行业&#xff0c;VR技术的应用也日益受到关注。广州华锐互动开发的VR煤矿安全警示教育系统&#xff0c;旨在通过虚拟现实技术&…

WordPress主题大前端DUX v8.3源码下载

DUX主题8.3版本更新内容&#xff1a; 新增&#xff1a;Cloudflare Turnstile 免费验证功能 新增&#xff1a;子菜单页面模版&#xff0c;支持多级页面 新增&#xff1a;手机端文章内表格自动出现横向滚动条&#xff0c;可集体或单独设置滚动宽度 新增&#xff1a;标签云页面模版…

drf知识-06

视图集 #1 ModelViewSet&#xff1a; 视图类&#xff1a;GenericAPIView 映射&#xff1a;list create retrieve update destroy #2 ViewSetMixin类&#xff1a; 只要继承它&#xff0c;路由写法变了 分析&#xff1a;ViewSetMixin 不是视图类&#xff0c;支…

FTP不同方式使用与搭建与端口号常识了解

目录 一、FTP介绍 二、winServer2012搭建ftp服务器 在虚拟机搭建具体步骤 2.1、新建组&#xff1a; 2.2、新建用户名 2.3、把用户名与组绑定 2.4、安装ftp 2.5、配置ftp服务器 2.6、给文件夹调整权限 2.7、测试 a、服务器本机测试 b、外部机器测试 C、借助工具Mobal…

低代码开发:数字化转型的引擎

引言 在当今数字化时代&#xff0c;组织面临着不断变化的市场需求和技术挑战。数字化转型已成为维持竞争力的关键&#xff0c;而低代码开发正在崭露头角&#xff0c;成为加速创新和数字化转型的有力工具。本文将深入探讨低代码开发的核心概念、优势和应用&#xff0c;以揭示它…