20231222给NanoPC-T4(RK3399)开发板的适配Android11的挖掘机方案并跑通AP6398SV

本文主要是介绍20231222给NanoPC-T4(RK3399)开发板的适配Android11的挖掘机方案并跑通AP6398SV,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

20231222给NanoPC-T4(RK3399)开发板的适配Android11的挖掘机方案并跑通AP6398SV
2023/12/22 7:54


简略步骤:
rootroot@rootroot-X99-Turbo:~/3TB$ cat Android11.0.tar.bz2.a* > Android11.0.tar.bz2
rootroot@rootroot-X99-Turbo:~/3TB$ tar jxvf Android11.0.tar.bz2 
rootroot@rootroot-X99-Turbo:~/3TB$ mv Android11.0 61Android11.0
rootroot@rootroot-X99-Turbo:~/3TB$ cd 61Android11.0
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ cd u-boot
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/u-boot$ ll
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/u-boot$ 
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/u-boot$ ./make.sh rk3399
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/u-boot$ 
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/u-boot$ cd ..
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ ll
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ cd kernel/
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/kernel$ ll
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/kernel$ 
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/kernel$ make ARCH=arm64 rockchip_defconfig android-11.config -j36
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/kernel$ ll
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/kernel$ 
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/kernel$ make ARCH=arm64 BOOT_IMG=../rockdev/Image-rk3399_Android11/boot.img rk3399-sapphire-excavator-edp-avb.img -j36
scripts/kconfig/conf  --syncconfig Kconfig
  WRAP    arch/arm64/include/generated/uapi/asm/errno.h
  WRAP    arch/arm64/include/generated/uapi/asm/ioctls.h
  WRAP    arch/arm64/include/generated/uapi/asm/ioctl.h
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/kernel$ ll
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/kernel$ cd ..
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ ll
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ 
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ source build/envsetup.sh 
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ 
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ lunch
     42. rk3399_Android11-userdebug
Which would you like? [aosp_arm-eng] 42
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ 
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ 
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ ll
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ make -j36
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ ./build.sh -u


分步骤编译:
rootroot@rootroot-X99-Turbo:~/3TB$ cat Android11.0.tar.bz2.a* > Android11.0.tar.bz2
rootroot@rootroot-X99-Turbo:~/3TB$ tar jxvf Android11.0.tar.bz2 
rootroot@rootroot-X99-Turbo:~/3TB$ mv Android11.0 61Android11.0
rootroot@rootroot-X99-Turbo:~/3TB$ cd 61Android11.0
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ cd u-boot
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/u-boot$ ll
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/u-boot$ 
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/u-boot$ ./make.sh rk3399
grep: .config: No such file or directory
## make rk3399_defconfig -j72
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/zconf.lex.c
  SHIPPED scripts/kconfig/zconf.hash.c


rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/u-boot$ 
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/u-boot$ ll *.img
-rw-rw-r-- 1 rootroot rootroot 4194304 12月 21 08:44 trust.img
-rw-rw-r-- 1 rootroot rootroot 4194304 12月 21 08:44 uboot.img
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/u-boot$ 
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/u-boot$ 
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/u-boot$ cd ..
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ ll
total 4367420
drwxr-xr-x  34 rootroot rootroot       4096 12月 21 08:42 ./
drwxrwxrwx   9 rootroot rootroot       4096 12月 21 08:43 ../
lrwxrwxrwx   1 rootroot rootroot         19 7月  22  2021 Android.bp -> build/soong/root.bp
drwxr-xr-x  35 rootroot rootroot       4096 7月  22  2021 art/
drwxr-xr-x  15 rootroot rootroot       4096 7月  22  2021 bionic/
drwxr-xr-x   3 rootroot rootroot       4096 7月  22  2021 bootable/
lrwxrwxrwx   1 rootroot rootroot         26 7月  22  2021 bootstrap.bash -> build/soong/bootstrap.bash*
drwxr-xr-x   5 rootroot rootroot       4096 7月  22  2021 build/
drwxr-xr-x   3 rootroot rootroot       4096 7月  22  2021 compatibility/
drwxr-xr-x  14 rootroot rootroot       4096 7月  22  2021 cts/
drwxr-xr-x   8 rootroot rootroot       4096 7月  22  2021 dalvik/
drwxr-xr-x   5 rootroot rootroot       4096 7月  22  2021 developers/
drwxr-xr-x  21 rootroot rootroot       4096 7月  22  2021 development/
drwxr-xr-x   7 rootroot rootroot       4096 7月  22  2021 device/
drwxr-xr-x 321 rootroot rootroot      12288 7月  22  2021 external/
drwxr-xr-x  16 rootroot rootroot       4096 7月  22  2021 frameworks/
drwxr-xr-x  13 rootroot rootroot       4096 7月  22  2021 hardware/
drwxr-xr-x  29 rootroot rootroot       4096 7月  22  2021 kernel/
-rw-rw-r--   1 rootroot rootroot  218337955 12月 21 08:39 kernel62.tgz
drwxr-xr-x  20 rootroot rootroot       4096 7月  22  2021 libcore/
drwxr-xr-x   8 rootroot rootroot       4096 7月  22  2021 libnativehelper/
-r--r--r--   1 rootroot rootroot         92 7月  22  2021 Makefile
drwxr-xr-x   9 rootroot rootroot       4096 7月  22  2021 mkcombinedroot/
drwxr-xr-x   9 rootroot rootroot       4096 7月  22  2021 packages/
drwxr-xr-x   6 rootroot rootroot       4096 7月  22  2021 pdk/
drwxr-xr-x  10 rootroot rootroot       4096 7月  22  2021 platform_testing/
drwxr-xr-x  33 rootroot rootroot       4096 7月  22  2021 prebuilts/
-r-xr-xr-x   1 rootroot rootroot        519 7月  22  2021 restore_patches.sh*
drwxr-xr-x   9 rootroot rootroot       4096 12月 21 08:44 rkbin/
-rw-rw-r--   1 rootroot rootroot   20865091 12月 21 08:39 rkbin65.tgz
drwxr-xr-x   4 rootroot rootroot       4096 7月  22  2021 RKDocs/
drwxr-xr-x   5 rootroot rootroot       4096 7月  22  2021 rkst/
drwxr-xr-x   5 rootroot rootroot       4096 7月  22  2021 RKTools/
drwxr-xr-x  24 rootroot rootroot       4096 7月  22  2021 sdk/
drwxr-xr-x  40 rootroot rootroot       4096 7月  22  2021 system/
drwxr-xr-x  10 rootroot rootroot       4096 7月  22  2021 test/
drwxr-xr-x   4 rootroot rootroot       4096 7月  22  2021 toolchain/
drwxr-xr-x  23 rootroot rootroot       4096 7月  22  2021 tools/
drwxr-xr-x  27 rootroot rootroot       4096 12月 21 08:44 u-boot/
-rw-rw-r--   1 rootroot rootroot   18308321 12月 21 08:37 u-boot61.tgz
drwxr-xr-x   6 rootroot rootroot       4096 7月  22  2021 vendor/
-rw-rw-r--   1 rootroot rootroot 4214557495 12月 21 08:40 vendor67.tgz
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ cd kernel/
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/kernel$ ll
total 952
drwxr-xr-x  29 rootroot rootroot   4096 7月  22  2021 ./
drwxr-xr-x  34 rootroot rootroot   4096 12月 21 08:42 ../
drwxr-xr-x   2 rootroot rootroot   4096 7月  22  2021 android/
drwxr-xr-x  26 rootroot rootroot   4096 7月  22  2021 arch/
drwxr-xr-x   3 rootroot rootroot   4096 7月  22  2021 block/
-rw-r--r--   1 rootroot rootroot    304 7月  22  2021 build.config.aarch64
-rw-r--r--   1 rootroot rootroot    424 7月  22  2021 build.config.allmodconfig
-rw-r--r--   1 rootroot rootroot    152 7月  22  2021 build.config.allmodconfig.aarch64
-rw-r--r--   1 rootroot rootroot    148 7月  22  2021 build.config.allmodconfig.arm
-rw-r--r--   1 rootroot rootroot    151 7月  22  2021 build.config.allmodconfig.x86_64
-rw-r--r--   1 rootroot rootroot    178 7月  22  2021 build.config.arm
-rw-r--r--   1 rootroot rootroot    281 7月  22  2021 build.config.common
-rw-r--r--   1 rootroot rootroot     63 7月  22  2021 build.config.gki
-rw-r--r--   1 rootroot rootroot    415 7月  22  2021 build.config.gki.aarch64
-rw-r--r--   1 rootroot rootroot    106 7月  22  2021 build.config.gki-debug.aarch64
-rw-r--r--   1 rootroot rootroot    105 7月  22  2021 build.config.gki-debug.x86_64
-rw-r--r--   1 rootroot rootroot    648 7月  22  2021 build.config.gki_kasan
-rw-r--r--   1 rootroot rootroot    148 7月  22  2021 build.config.gki_kasan.aarch64
-rw-r--r--   1 rootroot rootroot    148 7月  22  2021 build.config.gki_kasan.x86_64
-rw-r--r--   1 rootroot rootroot    591 7月  22  2021 build.config.gki_kprobes
-rw-r--r--   1 rootroot rootroot    151 7月  22  2021 build.config.gki_kprobes.aarch64
-rw-r--r--   1 rootroot rootroot    150 7月  22  2021 build.config.gki_kprobes.x86_64
-rw-r--r--   1 rootroot rootroot    142 7月  22  2021 build.config.gki.x86_64
-rw-r--r--   1 rootroot rootroot    170 7月  22  2021 build.config.x86_64
drwxr-xr-x   2 rootroot rootroot   4096 7月  22  2021 certs/
-rw-r--r--   1 rootroot rootroot  13061 7月  22  2021 .clang-format
-rw-r--r--   1 rootroot rootroot     59 7月  22  2021 .cocciconfig
drwxr-xr-x  11 rootroot rootroot   4096 7月  22  2021 configs/
-rw-r--r--   1 rootroot rootroot    423 7月  22  2021 COPYING
-rw-r--r--   1 rootroot rootroot  98741 7月  22  2021 CREDITS
drwxr-xr-x   4 rootroot rootroot   4096 7月  22  2021 crypto/
drwxr-xr-x 120 rootroot rootroot  12288 7月  22  2021 Documentation/
drwxr-xr-x 143 rootroot rootroot   4096 7月  22  2021 drivers/
drwxr-xr-x   2 rootroot rootroot   4096 7月  22  2021 firmware/
drwxr-xr-x  77 rootroot rootroot   4096 7月  22  2021 fs/
-rw-r--r--   1 rootroot rootroot     31 7月  22  2021 .get_maintainer.ignore
drwxr-xr-x   2 rootroot rootroot   4096 7月  22  2021 .git/
-rw-r--r--   1 rootroot rootroot     30 7月  22  2021 .gitattributes
-rw-r--r--   1 rootroot rootroot   1545 7月  22  2021 .gitignore
drwxr-xr-x  28 rootroot rootroot   4096 7月  22  2021 include/
drwxr-xr-x   2 rootroot rootroot   4096 7月  22  2021 init/
drwxr-xr-x   2 rootroot rootroot   4096 7月  22  2021 ipc/
-rw-r--r--   1 rootroot rootroot   2245 7月  22  2021 Kbuild
-rw-r--r--   1 rootroot rootroot    563 7月  22  2021 Kconfig
drwxr-xr-x  18 rootroot rootroot   4096 7月  22  2021 kernel/
drwxr-xr-x  15 rootroot rootroot  12288 7月  22  2021 lib/
drwxr-xr-x   5 rootroot rootroot   4096 7月  22  2021 LICENSES/
-rw-r--r--   1 rootroot rootroot  12936 7月  22  2021 logo.bmp
-rw-r--r--   1 rootroot rootroot  22364 7月  22  2021 logo_kernel.bmp
-rw-r--r--   1 rootroot rootroot   9924 7月  22  2021 .mailmap
-rw-r--r--   1 rootroot rootroot 472149 7月  22  2021 MAINTAINERS
-rwxr-xr-x   1 rootroot rootroot    437 7月  22  2021 make-android.sh*
-rw-r--r--   1 rootroot rootroot  64992 7月  22  2021 Makefile
-rwxr-xr-x   1 rootroot rootroot   8146 7月  22  2021 make-linux.sh*
drwxr-xr-x   3 rootroot rootroot   4096 7月  22  2021 mm/
drwxr-xr-x  70 rootroot rootroot   4096 7月  22  2021 net/
-rw-r--r--   1 rootroot rootroot    111 7月  22  2021 OWNERS
-rw-r--r--   1 rootroot rootroot    800 7月  22  2021 README
drwxr-xr-x  27 rootroot rootroot   4096 7月  22  2021 samples/
-rw-r--r--   1 rootroot rootroot      0 7月  22  2021 .scmversion
drwxr-xr-x  14 rootroot rootroot   4096 7月  22  2021 scripts/
drwxr-xr-x  11 rootroot rootroot   4096 7月  22  2021 security/
drwxr-xr-x  26 rootroot rootroot   4096 7月  22  2021 sound/
drwxr-xr-x   5 rootroot rootroot   4096 7月  22  2021 tests/
drwxr-xr-x  32 rootroot rootroot   4096 7月  22  2021 tools/
drwxr-xr-x   2 rootroot rootroot   4096 7月  22  2021 usr/
drwxr-xr-x   4 rootroot rootroot   4096 7月  22  2021 virt/
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/kernel$ 
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/kernel$ 
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/kernel$ 
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/kernel$ make ARCH=arm64 rockchip_defconfig android-11.config -j36
  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
#
# configuration written to .config
#
Using .config as base
Merging ./kernel/configs/android-11.config
Value of CONFIG_CIFS is redefined by fragment ./kernel/configs/android-11.config:
Previous value: CONFIG_CIFS=y
New value: # CONFIG_CIFS is not set

Value of CONFIG_CIFS_XATTR is redefined by fragment ./kernel/configs/android-11.config:
Previous value: CONFIG_CIFS_XATTR=y
New value: # CONFIG_CIFS_XATTR is not set

Value of CONFIG_CIFS_POSIX is redefined by fragment ./kernel/configs/android-11.config:
Previous value: CONFIG_CIFS_POSIX=y
New value: # CONFIG_CIFS_POSIX is not set

Value of CONFIG_CRYPTO_MD4 is redefined by fragment ./kernel/configs/android-11.config:
Previous value: CONFIG_CRYPTO_MD4=y
New value: # CONFIG_CRYPTO_MD4 is not set

Value of CONFIG_DEVMEM is redefined by fragment ./kernel/configs/android-11.config:
Previous value: CONFIG_DEVMEM=y
New value: # CONFIG_DEVMEM is not set

Value of CONFIG_SDCARD_FS is redefined by fragment ./kernel/configs/android-11.config:
Previous value: CONFIG_SDCARD_FS=y
New value: # CONFIG_SDCARD_FS is not set

Value of CONFIG_ANDROID_BINDERFS is redefined by fragment ./kernel/configs/android-11.config:
Previous value: # CONFIG_ANDROID_BINDERFS is not set
New value: CONFIG_ANDROID_BINDERFS=y

Value of CONFIG_IKHEADERS is redefined by fragment ./kernel/configs/android-11.config:
Previous value: CONFIG_IKHEADERS=m
New value: CONFIG_IKHEADERS=y

Value of CONFIG_UNICODE_NORMALIZATION_SELFTEST is redefined by fragment ./kernel/configs/android-11.config:
Previous value: # CONFIG_UNICODE_NORMALIZATION_SELFTEST is not set
New value: CONFIG_UNICODE_NORMALIZATION_SELFTEST=y

#
# merged configuration written to .config (needs make)
#
scripts/kconfig/conf  --oldconfig Kconfig
#
# configuration written to .config
#
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/kernel$ ll
total 1272
drwxr-xr-x  29 rootroot rootroot   4096 12月 21 08:45 ./
drwxr-xr-x  34 rootroot rootroot   4096 12月 21 08:42 ../
drwxr-xr-x   2 rootroot rootroot   4096 7月  22  2021 android/
drwxr-xr-x  26 rootroot rootroot   4096 7月  22  2021 arch/
drwxr-xr-x   3 rootroot rootroot   4096 7月  22  2021 block/
-rw-r--r--   1 rootroot rootroot    304 7月  22  2021 build.config.aarch64
-rw-r--r--   1 rootroot rootroot    424 7月  22  2021 build.config.allmodconfig
-rw-r--r--   1 rootroot rootroot    152 7月  22  2021 build.config.allmodconfig.aarch64
-rw-r--r--   1 rootroot rootroot    148 7月  22  2021 build.config.allmodconfig.arm
-rw-r--r--   1 rootroot rootroot    151 7月  22  2021 build.config.allmodconfig.x86_64
-rw-r--r--   1 rootroot rootroot    178 7月  22  2021 build.config.arm
-rw-r--r--   1 rootroot rootroot    281 7月  22  2021 build.config.common
-rw-r--r--   1 rootroot rootroot     63 7月  22  2021 build.config.gki
-rw-r--r--   1 rootroot rootroot    415 7月  22  2021 build.config.gki.aarch64
-rw-r--r--   1 rootroot rootroot    106 7月  22  2021 build.config.gki-debug.aarch64
-rw-r--r--   1 rootroot rootroot    105 7月  22  2021 build.config.gki-debug.x86_64
-rw-r--r--   1 rootroot rootroot    648 7月  22  2021 build.config.gki_kasan
-rw-r--r--   1 rootroot rootroot    148 7月  22  2021 build.config.gki_kasan.aarch64
-rw-r--r--   1 rootroot rootroot    148 7月  22  2021 build.config.gki_kasan.x86_64
-rw-r--r--   1 rootroot rootroot    591 7月  22  2021 build.config.gki_kprobes
-rw-r--r--   1 rootroot rootroot    151 7月  22  2021 build.config.gki_kprobes.aarch64
-rw-r--r--   1 rootroot rootroot    150 7月  22  2021 build.config.gki_kprobes.x86_64
-rw-r--r--   1 rootroot rootroot    142 7月  22  2021 build.config.gki.x86_64
-rw-r--r--   1 rootroot rootroot    170 7月  22  2021 build.config.x86_64
drwxr-xr-x   2 rootroot rootroot   4096 7月  22  2021 certs/
-rw-r--r--   1 rootroot rootroot  13061 7月  22  2021 .clang-format
-rw-r--r--   1 rootroot rootroot     59 7月  22  2021 .cocciconfig
-rw-rw-r--   1 rootroot rootroot 162345 12月 21 08:45 .config
-rw-rw-r--   1 rootroot rootroot 162803 12月 21 08:45 .config.old
drwxr-xr-x  11 rootroot rootroot   4096 7月  22  2021 configs/
-rw-r--r--   1 rootroot rootroot    423 7月  22  2021 COPYING
-rw-r--r--   1 rootroot rootroot  98741 7月  22  2021 CREDITS
drwxr-xr-x   4 rootroot rootroot   4096 7月  22  2021 crypto/
drwxr-xr-x 120 rootroot rootroot  12288 7月  22  2021 Documentation/
drwxr-xr-x 143 rootroot rootroot   4096 7月  22  2021 drivers/
drwxr-xr-x   2 rootroot rootroot   4096 7月  22  2021 firmware/
drwxr-xr-x  77 rootroot rootroot   4096 7月  22  2021 fs/
-rw-r--r--   1 rootroot rootroot     31 7月  22  2021 .get_maintainer.ignore
drwxr-xr-x   2 rootroot rootroot   4096 7月  22  2021 .git/
-rw-r--r--   1 rootroot rootroot     30 7月  22  2021 .gitattributes
-rw-r--r--   1 rootroot rootroot   1545 7月  22  2021 .gitignore
drwxr-xr-x  30 rootroot rootroot   4096 12月 21 08:45 include/
drwxr-xr-x   2 rootroot rootroot   4096 7月  22  2021 init/
drwxr-xr-x   2 rootroot rootroot   4096 7月  22  2021 ipc/
-rw-r--r--   1 rootroot rootroot   2245 7月  22  2021 Kbuild
-rw-r--r--   1 rootroot rootroot    563 7月  22  2021 Kconfig
drwxr-xr-x  18 rootroot rootroot   4096 7月  22  2021 kernel/
drwxr-xr-x  15 rootroot rootroot  12288 7月  22  2021 lib/
drwxr-xr-x   5 rootroot rootroot   4096 7月  22  2021 LICENSES/
-rw-r--r--   1 rootroot rootroot  12936 7月  22  2021 logo.bmp
-rw-r--r--   1 rootroot rootroot  22364 7月  22  2021 logo_kernel.bmp
-rw-r--r--   1 rootroot rootroot   9924 7月  22  2021 .mailmap
-rw-r--r--   1 rootroot rootroot 472149 7月  22  2021 MAINTAINERS
-rwxr-xr-x   1 rootroot rootroot    437 7月  22  2021 make-android.sh*
-rw-r--r--   1 rootroot rootroot  64992 7月  22  2021 Makefile
-rwxr-xr-x   1 rootroot rootroot   8146 7月  22  2021 make-linux.sh*
drwxr-xr-x   3 rootroot rootroot   4096 7月  22  2021 mm/
drwxr-xr-x  70 rootroot rootroot   4096 7月  22  2021 net/
-rw-r--r--   1 rootroot rootroot    111 7月  22  2021 OWNERS
-rw-r--r--   1 rootroot rootroot    800 7月  22  2021 README
drwxr-xr-x  27 rootroot rootroot   4096 7月  22  2021 samples/
-rw-r--r--   1 rootroot rootroot      0 7月  22  2021 .scmversion
drwxr-xr-x  14 rootroot rootroot   4096 7月  22  2021 scripts/
drwxr-xr-x  11 rootroot rootroot   4096 7月  22  2021 security/
drwxr-xr-x  26 rootroot rootroot   4096 7月  22  2021 sound/
drwxr-xr-x   5 rootroot rootroot   4096 7月  22  2021 tests/
drwxr-xr-x  32 rootroot rootroot   4096 7月  22  2021 tools/
drwxr-xr-x   2 rootroot rootroot   4096 7月  22  2021 usr/
drwxr-xr-x   4 rootroot rootroot   4096 7月  22  2021 virt/
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/kernel$ 
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/kernel$ 
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/kernel$ 
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/kernel$ make ARCH=arm64 BOOT_IMG=../rockdev/Image-rk3399_Android11/boot.img rk3399-sapphire-excavator-edp-avb.img -j36
scripts/kconfig/conf  --syncconfig Kconfig
  WRAP    arch/arm64/include/generated/uapi/asm/errno.h
  WRAP    arch/arm64/include/generated/uapi/asm/ioctls.h
  WRAP    arch/arm64/include/generated/uapi/asm/ioctl.h
  WRAP    arch/arm64/include/generated/uapi/asm/ipcbuf.h
  WRAP    arch/arm64/include/generated/uapi/asm/kvm_para.h
  WRAP    arch/arm64/include/generated/uapi/asm/mman.h
  WRAP    arch/arm64/include/generated/uapi/asm/msgbuf.h
  WRAP    arch/arm64/include/generated/uapi/asm/poll.h
  WRAP    arch/arm64/include/generated/uapi/asm/resource.h


  CC [M]  drivers/net/wireless/rockchip_wlan/rtl8821cs/core/rtw_mp.o
  LD [M]  drivers/net/wireless/rockchip_wlan/rtl8723cs/8723cs.o
  LD [M]  drivers/net/wireless/rockchip_wlan/rtl8822bs/8822bs.o
  LD [M]  drivers/net/wireless/rockchip_wlan/rtl8821cs/8821cs.o
  Building modules, stage 2.
  MODPOST 5 modules
  CC      drivers/media/usb/gspca/gspca_main.mod.o
  CC      drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/bcmdhd.mod.o
  CC      drivers/net/wireless/rockchip_wlan/rtl8723cs/8723cs.mod.o
  CC      drivers/net/wireless/rockchip_wlan/rtl8821cs/8821cs.mod.o
  CC      drivers/net/wireless/rockchip_wlan/rtl8822bs/8822bs.mod.o
  LD [M]  drivers/net/wireless/rockchip_wlan/rtl8723cs/8723cs.ko
  LD [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/bcmdhd.ko
  LD [M]  drivers/media/usb/gspca/gspca_main.ko
  LD [M]  drivers/net/wireless/rockchip_wlan/rtl8822bs/8822bs.ko
  LD [M]  drivers/net/wireless/rockchip_wlan/rtl8821cs/8821cs.ko
is not rk356x
  Image:  resource.img (with rk3399-sapphire-excavator-edp-avb.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:~/3TB/61Android11.0/kernel$ ll
total 2003680
drwxr-xr-x  30 rootroot rootroot      4096 12月 21 08:49 ./
drwxr-xr-x  34 rootroot rootroot      4096 12月 21 08:42 ../
drwxr-xr-x   2 rootroot rootroot      4096 7月  22  2021 android/
drwxr-xr-x  26 rootroot rootroot      4096 7月  22  2021 arch/
drwxr-xr-x   3 rootroot rootroot     12288 12月 21 08:48 block/
-rw-rw-r--   1 rootroot rootroot  32139264 12月 21 08:49 boot.img
-rw-r--r--   1 rootroot rootroot       304 7月  22  2021 build.config.aarch64
-rw-r--r--   1 rootroot rootroot       424 7月  22  2021 build.config.allmodconfig
-rw-r--r--   1 rootroot rootroot       152 7月  22  2021 build.config.allmodconfig.aarch64
-rw-r--r--   1 rootroot rootroot       148 7月  22  2021 build.config.allmodconfig.arm
-rw-r--r--   1 rootroot rootroot       151 7月  22  2021 build.config.allmodconfig.x86_64
-rw-r--r--   1 rootroot rootroot       178 7月  22  2021 build.config.arm
-rw-r--r--   1 rootroot rootroot       281 7月  22  2021 build.config.common
-rw-r--r--   1 rootroot rootroot        63 7月  22  2021 build.config.gki
-rw-r--r--   1 rootroot rootroot       415 7月  22  2021 build.config.gki.aarch64
-rw-r--r--   1 rootroot rootroot       106 7月  22  2021 build.config.gki-debug.aarch64
-rw-r--r--   1 rootroot rootroot       105 7月  22  2021 build.config.gki-debug.x86_64
-rw-r--r--   1 rootroot rootroot       648 7月  22  2021 build.config.gki_kasan
-rw-r--r--   1 rootroot rootroot       148 7月  22  2021 build.config.gki_kasan.aarch64
-rw-r--r--   1 rootroot rootroot       148 7月  22  2021 build.config.gki_kasan.x86_64
-rw-r--r--   1 rootroot rootroot       591 7月  22  2021 build.config.gki_kprobes
-rw-r--r--   1 rootroot rootroot       151 7月  22  2021 build.config.gki_kprobes.aarch64
-rw-r--r--   1 rootroot rootroot       150 7月  22  2021 build.config.gki_kprobes.x86_64
-rw-r--r--   1 rootroot rootroot       142 7月  22  2021 build.config.gki.x86_64
-rw-r--r--   1 rootroot rootroot       170 7月  22  2021 build.config.x86_64
-rw-rw-r--   1 rootroot rootroot   1336236 12月 21 08:47 built-in.a
drwxr-xr-x   2 rootroot rootroot      4096 12月 21 08:48 certs/
-rw-r--r--   1 rootroot rootroot     13061 7月  22  2021 .clang-format
-rw-r--r--   1 rootroot rootroot        59 7月  22  2021 .cocciconfig
-rw-rw-r--   1 rootroot rootroot    162345 12月 21 08:45 .config
-rw-rw-r--   1 rootroot rootroot    162345 12月 21 08:45 .config.old
drwxr-xr-x  11 rootroot rootroot      4096 7月  22  2021 configs/
-rw-r--r--   1 rootroot rootroot       423 7月  22  2021 COPYING
-rw-r--r--   1 rootroot rootroot     98741 7月  22  2021 CREDITS
drwxr-xr-x   4 rootroot rootroot     12288 12月 21 08:48 crypto/
drwxr-xr-x 120 rootroot rootroot     12288 7月  22  2021 Documentation/
drwxr-xr-x 143 rootroot rootroot      4096 12月 21 08:49 drivers/
drwxr-xr-x   2 rootroot rootroot      4096 12月 21 08:48 firmware/
drwxr-xr-x  77 rootroot rootroot     12288 12月 21 08:48 fs/
-rw-r--r--   1 rootroot rootroot        31 7月  22  2021 .get_maintainer.ignore
drwxr-xr-x   2 rootroot rootroot      4096 7月  22  2021 .git/
-rw-r--r--   1 rootroot rootroot        30 7月  22  2021 .gitattributes
-rw-r--r--   1 rootroot rootroot      1545 7月  22  2021 .gitignore
drwxr-xr-x  30 rootroot rootroot      4096 12月 21 08:45 include/
drwxr-xr-x   2 rootroot rootroot      4096 12月 21 08:48 init/
drwxr-xr-x   2 rootroot rootroot      4096 12月 21 08:48 ipc/
-rw-r--r--   1 rootroot rootroot      2245 7月  22  2021 Kbuild
-rw-r--r--   1 rootroot rootroot       563 7月  22  2021 Kconfig
drwxr-xr-x  18 rootroot rootroot     12288 12月 21 08:48 kernel/
-rw-rw-r--   1 rootroot rootroot  31987732 12月 21 08:48 kernel.img
drwxr-xr-x  15 rootroot rootroot     20480 12月 21 08:48 lib/
drwxr-xr-x   5 rootroot rootroot      4096 7月  22  2021 LICENSES/
-rw-r--r--   1 rootroot rootroot     12936 7月  22  2021 logo.bmp
-rw-r--r--   1 rootroot rootroot     22364 7月  22  2021 logo_kernel.bmp
-rw-r--r--   1 rootroot rootroot      9924 7月  22  2021 .mailmap
-rw-r--r--   1 rootroot rootroot    472149 7月  22  2021 MAINTAINERS
-rwxr-xr-x   1 rootroot rootroot       437 7月  22  2021 make-android.sh*
-rw-r--r--   1 rootroot rootroot     64992 7月  22  2021 Makefile
-rwxr-xr-x   1 rootroot rootroot      8146 7月  22  2021 make-linux.sh*
-rw-rw-r--   1 rootroot rootroot       915 12月 21 08:48 .missing-syscalls.d
drwxr-xr-x   3 rootroot rootroot     12288 12月 21 08:48 mm/
-rw-rw-r--   1 rootroot rootroot     30502 12月 21 08:48 modules.builtin
-rw-rw-r--   1 rootroot rootroot       303 12月 21 08:49 modules.order
-rw-rw-r--   1 rootroot rootroot    640881 12月 21 08:49 Module.symvers
drwxr-xr-x  70 rootroot rootroot      4096 12月 21 08:48 net/
-rw-r--r--   1 rootroot rootroot       111 7月  22  2021 OWNERS
-rw-r--r--   1 rootroot rootroot       800 7月  22  2021 README
-rw-rw-r--   1 rootroot rootroot    146432 12月 21 08:49 resource.img
drwxr-xr-x  27 rootroot rootroot      4096 7月  22  2021 samples/
-rw-r--r--   1 rootroot rootroot         0 7月  22  2021 .scmversion
drwxr-xr-x  14 rootroot rootroot      4096 12月 21 08:48 scripts/
drwxr-xr-x  11 rootroot rootroot      4096 12月 21 08:48 security/
drwxr-xr-x  26 rootroot rootroot      4096 12月 21 08:48 sound/
-rw-rw-r--   1 rootroot rootroot   5098630 12月 21 08:48 System.map
drwxr-xr-x   5 rootroot rootroot      4096 7月  22  2021 tests/
-rw-rw-r--   1 rootroot rootroot   2107000 12月 21 08:48 .tmp_kallsyms1.o
-rw-rw-r--   1 rootroot rootroot  12426760 12月 21 08:48 .tmp_kallsyms1.S
-rw-rw-r--   1 rootroot rootroot   2107000 12月 21 08:48 .tmp_kallsyms2.o
-rw-rw-r--   1 rootroot rootroot  12426760 12月 21 08:48 .tmp_kallsyms2.S
-rw-rw-r--   1 rootroot rootroot   5098630 12月 21 08:48 .tmp_System.map
drwxrwxr-x   2 rootroot rootroot      4096 12月 21 08:49 .tmp_versions/
-rwxrwxr-x   1 rootroot rootroot 339588456 12月 21 08:48 .tmp_vmlinux1*
-rwxrwxr-x   1 rootroot rootroot 341751216 12月 21 08:48 .tmp_vmlinux2*
drwxr-xr-x  32 rootroot rootroot      4096 7月  22  2021 tools/
drwxr-xr-x   2 rootroot rootroot      4096 12月 21 08:48 usr/
-rw-rw-r--   1 rootroot rootroot         2 12月 21 08:47 .version
drwxr-xr-x   4 rootroot rootroot      4096 12月 21 08:48 virt/
-rwxrwxr-x   1 rootroot rootroot 341751216 12月 21 08:48 vmlinux*
-rw-rw-r--   1 rootroot rootroot       309 12月 21 08:48 .vmlinux.cmd
-rw-rw-r--   1 rootroot rootroot 905415304 12月 21 08:47 vmlinux.o
-rw-rw-r--   1 rootroot rootroot  16842752 12月 21 08:49 zboot.img
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/kernel$ ll .config
-rw-rw-r-- 1 rootroot rootroot 162345 12月 21 08:45 .config
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/kernel$ ll *.bin
ls: cannot access '*.bin': No such file or directory
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/kernel$ 
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/kernel$ 
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/kernel$ ll *.bin
ls: cannot access '*.bin': No such file or directory
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/kernel$ 
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/kernel$ 
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/kernel$ ll *.img
-rw-rw-r-- 1 rootroot rootroot 32139264 12月 21 08:49 boot.img
-rw-rw-r-- 1 rootroot rootroot 31987732 12月 21 08:48 kernel.img
-rw-rw-r-- 1 rootroot rootroot   146432 12月 21 08:49 resource.img
-rw-rw-r-- 1 rootroot rootroot 16842752 12月 21 08:49 zboot.img
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0/kernel$ cd ..
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ ll
total 4367420
drwxr-xr-x  34 rootroot rootroot       4096 12月 21 08:42 ./
drwxrwxrwx   9 rootroot rootroot       4096 12月 21 08:43 ../
lrwxrwxrwx   1 rootroot rootroot         19 7月  22  2021 Android.bp -> build/soong/root.bp
drwxr-xr-x  35 rootroot rootroot       4096 7月  22  2021 art/
drwxr-xr-x  15 rootroot rootroot       4096 7月  22  2021 bionic/
drwxr-xr-x   3 rootroot rootroot       4096 7月  22  2021 bootable/
lrwxrwxrwx   1 rootroot rootroot         26 7月  22  2021 bootstrap.bash -> build/soong/bootstrap.bash*
drwxr-xr-x   5 rootroot rootroot       4096 7月  22  2021 build/
drwxr-xr-x   3 rootroot rootroot       4096 7月  22  2021 compatibility/
drwxr-xr-x  14 rootroot rootroot       4096 7月  22  2021 cts/
drwxr-xr-x   8 rootroot rootroot       4096 7月  22  2021 dalvik/
drwxr-xr-x   5 rootroot rootroot       4096 7月  22  2021 developers/
drwxr-xr-x  21 rootroot rootroot       4096 7月  22  2021 development/
drwxr-xr-x   7 rootroot rootroot       4096 7月  22  2021 device/
drwxr-xr-x 321 rootroot rootroot      12288 7月  22  2021 external/
drwxr-xr-x  16 rootroot rootroot       4096 7月  22  2021 frameworks/
drwxr-xr-x  13 rootroot rootroot       4096 7月  22  2021 hardware/
drwxr-xr-x  30 rootroot rootroot       4096 12月 21 08:49 kernel/
-rw-rw-r--   1 rootroot rootroot  218337955 12月 21 08:39 kernel62.tgz
drwxr-xr-x  20 rootroot rootroot       4096 7月  22  2021 libcore/
drwxr-xr-x   8 rootroot rootroot       4096 7月  22  2021 libnativehelper/
-r--r--r--   1 rootroot rootroot         92 7月  22  2021 Makefile
drwxr-xr-x   9 rootroot rootroot       4096 7月  22  2021 mkcombinedroot/
drwxr-xr-x   9 rootroot rootroot       4096 7月  22  2021 packages/
drwxr-xr-x   6 rootroot rootroot       4096 7月  22  2021 pdk/
drwxr-xr-x  10 rootroot rootroot       4096 7月  22  2021 platform_testing/
drwxr-xr-x  33 rootroot rootroot       4096 7月  22  2021 prebuilts/
-r-xr-xr-x   1 rootroot rootroot        519 7月  22  2021 restore_patches.sh*
drwxr-xr-x   9 rootroot rootroot       4096 12月 21 08:44 rkbin/
-rw-rw-r--   1 rootroot rootroot   20865091 12月 21 08:39 rkbin65.tgz
drwxr-xr-x   4 rootroot rootroot       4096 7月  22  2021 RKDocs/
drwxr-xr-x   5 rootroot rootroot       4096 7月  22  2021 rkst/
drwxr-xr-x   5 rootroot rootroot       4096 7月  22  2021 RKTools/
drwxr-xr-x  24 rootroot rootroot       4096 7月  22  2021 sdk/
drwxr-xr-x  40 rootroot rootroot       4096 7月  22  2021 system/
drwxr-xr-x  10 rootroot rootroot       4096 7月  22  2021 test/
drwxr-xr-x   4 rootroot rootroot       4096 7月  22  2021 toolchain/
drwxr-xr-x  23 rootroot rootroot       4096 7月  22  2021 tools/
drwxr-xr-x  27 rootroot rootroot       4096 12月 21 08:44 u-boot/
-rw-rw-r--   1 rootroot rootroot   18308321 12月 21 08:37 u-boot61.tgz
drwxr-xr-x   6 rootroot rootroot       4096 7月  22  2021 vendor/
-rw-rw-r--   1 rootroot rootroot 4214557495 12月 21 08:40 vendor67.tgz
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ 
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ 
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ source build//envsetup.sh 
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ 
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ 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. qemu_trusty_arm64-userdebug
     13. rk3126c_rgo-user
     14. rk3126c_rgo-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. rk3368a_Android10-user
     34. rk3368a_Android10-userdebug
     35. rk3368a_Android11-user
     36. rk3368a_Android11-userdebug
     37. rk3368a_rgo-user
     38. rk3368a_rgo-userdebug
     39. rk3399_Android10-user
     40. rk3399_Android10-userdebug
     41. rk3399_Android11-user
     42. rk3399_Android11-userdebug
     43. rk3399_atv-user
     44. rk3399_atv-userdebug
     45. rk3399_mid-user
     46. rk3399_mid-userdebug
     47. rk3566_32bit-user
     48. rk3566_32bit-userdebug
     49. rk3566_eink-user
     50. rk3566_eink-userdebug
     51. rk3566_einkw6-user
     52. rk3566_einkw6-userdebug
     53. rk3566_r-user
     54. rk3566_r-userdebug
     55. rk3566_rgo-user
     56. rk3566_rgo-userdebug
     57. rk3568_r-user
     58. rk3568_r-userdebug
     59. rk356x_box-user
     60. rk356x_box-userdebug
     61. uml-userdebug

Which would you like? [aosp_arm-eng] 42

============================================
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:~/3TB/61Android11.0$ 
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ 
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ ll
total 4367424
drwxr-xr-x  35 rootroot rootroot       4096 12月 21 08:53 ./
drwxrwxrwx   9 rootroot rootroot       4096 12月 21 08:43 ../
lrwxrwxrwx   1 rootroot rootroot         19 7月  22  2021 Android.bp -> build/soong/root.bp
drwxr-xr-x  35 rootroot rootroot       4096 7月  22  2021 art/
drwxr-xr-x  15 rootroot rootroot       4096 7月  22  2021 bionic/
drwxr-xr-x   3 rootroot rootroot       4096 7月  22  2021 bootable/
lrwxrwxrwx   1 rootroot rootroot         26 7月  22  2021 bootstrap.bash -> build/soong/bootstrap.bash*
drwxr-xr-x   5 rootroot rootroot       4096 7月  22  2021 build/
drwxr-xr-x   3 rootroot rootroot       4096 7月  22  2021 compatibility/
drwxr-xr-x  14 rootroot rootroot       4096 7月  22  2021 cts/
drwxr-xr-x   8 rootroot rootroot       4096 7月  22  2021 dalvik/
drwxr-xr-x   5 rootroot rootroot       4096 7月  22  2021 developers/
drwxr-xr-x  21 rootroot rootroot       4096 7月  22  2021 development/
drwxr-xr-x   7 rootroot rootroot       4096 7月  22  2021 device/
drwxr-xr-x 321 rootroot rootroot      12288 7月  22  2021 external/
drwxr-xr-x  16 rootroot rootroot       4096 7月  22  2021 frameworks/
drwxr-xr-x  13 rootroot rootroot       4096 7月  22  2021 hardware/
drwxr-xr-x  30 rootroot rootroot       4096 12月 21 08:49 kernel/
-rw-rw-r--   1 rootroot rootroot  218337955 12月 21 08:39 kernel62.tgz
drwxr-xr-x  20 rootroot rootroot       4096 7月  22  2021 libcore/
drwxr-xr-x   8 rootroot rootroot       4096 7月  22  2021 libnativehelper/
-r--r--r--   1 rootroot rootroot         92 7月  22  2021 Makefile
drwxr-xr-x   9 rootroot rootroot       4096 7月  22  2021 mkcombinedroot/
drwxrwxr-x   6 rootroot rootroot       4096 12月 21 08:54 out/
drwxr-xr-x   9 rootroot rootroot       4096 7月  22  2021 packages/
drwxr-xr-x   6 rootroot rootroot       4096 7月  22  2021 pdk/
drwxr-xr-x  10 rootroot rootroot       4096 7月  22  2021 platform_testing/
drwxr-xr-x  33 rootroot rootroot       4096 7月  22  2021 prebuilts/
-r-xr-xr-x   1 rootroot rootroot        519 7月  22  2021 restore_patches.sh*
drwxr-xr-x   9 rootroot rootroot       4096 12月 21 08:44 rkbin/
-rw-rw-r--   1 rootroot rootroot   20865091 12月 21 08:39 rkbin65.tgz
drwxr-xr-x   4 rootroot rootroot       4096 7月  22  2021 RKDocs/
drwxr-xr-x   5 rootroot rootroot       4096 7月  22  2021 rkst/
drwxr-xr-x   5 rootroot rootroot       4096 7月  22  2021 RKTools/
drwxr-xr-x  24 rootroot rootroot       4096 7月  22  2021 sdk/
drwxr-xr-x  40 rootroot rootroot       4096 7月  22  2021 system/
drwxr-xr-x  10 rootroot rootroot       4096 7月  22  2021 test/
drwxr-xr-x   4 rootroot rootroot       4096 7月  22  2021 toolchain/
drwxr-xr-x  23 rootroot rootroot       4096 7月  22  2021 tools/
drwxr-xr-x  27 rootroot rootroot       4096 12月 21 08:44 u-boot/
-rw-rw-r--   1 rootroot rootroot   18308321 12月 21 08:37 u-boot61.tgz
drwxr-xr-x   6 rootroot rootroot       4096 7月  22  2021 vendor/
-rw-rw-r--   1 rootroot rootroot 4214557495 12月 21 08:40 vendor67.tgz
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ 
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ 
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ make -j36\
> ^C
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ make -j36


============================================
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
============================================
[100% 187/187] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
libRkTeeWeaver want to conditional Compile
libgralloc_priv want to conditional Compile
librga want to conditional Compile
librockit want to conditional Compile
Rockchip conditional compile
Optee Version: v1
[hardware/rockchip/libgralloc/midgard frameworks/native/include system/core/libsync system/core/libsync/include external/libdrm/include/drm] 30
[100% 188/188] initializing build system ...
device/rockchip/common/prebuild.mk:2: warning: Generating manifest snapshot at out/commit_id.xml...
device/rockchip/common/prebuild.mk:3: warning: You can disable this by removing this and setting BOARD_RECORD_COMMIT_ID := false in BoardConfig.mk
[ 36% 193/536] including build/make/target/board/Android.mk ...
build fstab file with device/rockchip/common/scripts/fstab_tools/fstab.in....
rebuilding dtbo image with device/rockchip/rk3399/rk3399_Android11/dt-overlay.in....
build parameter.txt with device/rockchip/common/scripts/parameter_tools/parameter.in....
[ 46% 251/536] including external/rk_tee_user/v1/Android.mk ...
'building rk_tee_user v1'
[ 47% 252/536] including external/rk_tee_user/v2/Android.mk ...
'building rk_tee_user v1'
[ 58% 316/536] including hardware/rockchip/hwcomposer/drmhwc/Android.mk ...
fatal: not a git repository (or any parent up to mount point /home/rootroot)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
[ 59% 320/536] including hardware/rockchip/libhwjpeg/Android.mk ...
fatal: not a git repository (or any parent up to mount point /home/rootroot)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

[ 60% 323/536] including hardware/rockchip/librga/Android.mk ...
fatal: not a git repository (or any parent up to mount point /home/rootroot)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
date: bad date @
fatal: not a git repository (or any parent up to mount point /home/rootroot)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
RGA is compiling with Android.mk Generated version.h
[ 60% 325/536] including hardware/rockchip/omx_il/Android.mk ...
fatal: not a git repository (or any parent up to mount point /home/rootroot)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
date: Unknown option 'R' (see "date --help")
cp: .git/hooks/pre-commit: No such file or directory
tools/hooks .git/hooks
[ 99% 535/536] finishing build rules ...
packages/apps/Camera2/Android.mk: warning: "Camera2 (app:platform) should not link against libjni_jpegutil (native:ndk:libc++:static)" 
[  0% 625/105259] target  C: libntfs-3g <= external/ntfs-3g/libntfs-3g/collate.c
external/ntfs-3g/libntfs-3g/collate.c:230:16: warning: taking address of packed member 'file_name' of class or structure 'FILE_NAME_ATTR' may result in an unaligned pointer value [-Waddress-of-packed-member]
                        (ntfschar*)&file_name_attr1->file_name,
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
external/ntfs-3g/libntfs-3g/collate.c:232:16: warning: taking address of packed member 'file_name' of class or structure 'FILE_NAME_ATTR' may result in an unaligned pointer value [-Waddress-of-packed-member]
                        (ntfschar*)&file_name_attr2->file_name,
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
[  0% 650/105259] target  C: libntfs-3g <= external/ntfs-3g/libntfs-3g/logging.c
external/ntfs-3g/libntfs-3g/logging.c:321:29: warning: unused parameter 'data' [-Wunused-parameter]
        int line, u32 level, void *data, const char *format, ...)
                                   ^
1 warning generated.
[  0% 654/105259] target  C: libntfs-3g <= external/ntfs-3g/libntfs-3g/ioctl.c
external/ntfs-3g/libntfs-3g/ioctl.c:369:7: warning: overflow converting case value to switch condition type (3222820985 to 18446744072637405305) [-Wswitch]
        case FITRIM:
             ^
bionic/libc/kernel/uapi/linux/fs.h:137:16: note: expanded from macro 'FITRIM'
#define FITRIM _IOWR('X', 121, struct fstrim_range)
               ^
bionic/libc/kernel/uapi/asm-generic/ioctl.h:51:29: note: expanded from macro '_IOWR'
#define _IOWR(type,nr,size) _IOC(_IOC_READ | _IOC_WRITE, (type), (nr), (_IOC_TYPECHECK(size)))
                            ^
bionic/libc/kernel/uapi/asm-generic/ioctl.h:46:32: note: expanded from macro '_IOC'
#define _IOC(dir,type,nr,size) (((dir) << _IOC_DIRSHIFT) | ((type) << _IOC_TYPESHIFT) | ((nr) << _IOC_NRSHIFT) | ((size) << _IOC_SIZESHIFT))
                               ^
1 warning generated.
[  0% 789/105259] target  C: libntfs-3g <= external/ntfs-3g/libntfs-3g/unistr.c
external/ntfs-3g/libntfs-3g/unistr.c:432:31: warning: taking address of packed member 'file_name' of class or structure 'FILE_NAME_ATTR' may result in an unaligned pointer value [-Waddress-of-packed-member]
        ntfs_name_upcase((ntfschar*)&file_name_attr->file_name,
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
[  0% 807/105259] target  C: libntfs-3g <= external/ntfs-3g/libntfs-3g/dir.c
external/ntfs-3g/libntfs-3g/dir.c:330:17: warning: taking address of packed member 'file_name' of class or structure 'FILE_NAME_ATTR' may result in an unaligned pointer value [-Waddress-of-packed-member]
                                (ntfschar*)&ie->key.file_name.file_name,
                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
external/ntfs-3g/libntfs-3g/dir.c:470:17: warning: taking address of packed member 'file_name' of class or structure 'FILE_NAME_ATTR' may result in an unaligned pointer value [-Waddress-of-packed-member]
                                (ntfschar*)&ie->key.file_name.file_name,
                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
[  1% 1274/105259] build out/target/common/obj/all-event-log-tags.txt
frameworks/base/services/core/java/com/android/server/wm/EventLogTags.logtags:39: warning: tag "wm_on_paused_called" (30021) duplicated in frameworks/base/core/java/android/app/EventLogTags.logtags:9
frameworks/base/services/core/java/com/android/server/wm/EventLogTags.logtags:41: warning: tag "wm_on_resume_called" (30022) duplicated in frameworks/base/core/java/android/app/EventLogTags.logtags:11
frameworks/base/services/core/java/com/android/server/wm/EventLogTags.logtags:50: warning: tag "wm_stop_activity" (30048) duplicated in frameworks/base/core/java/android/app/EventLogTags.logtags:14
frameworks/base/services/core/java/com/android/server/wm/EventLogTags.logtags:56: warning: tag "wm_add_to_stopping" (30066) duplicated in frameworks/base/core/java/android/app/EventLogTags.logtags:35
packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/EventLogTags.logtags:6: warning: tag "lock_screen_type" (90200) duplicated in packages/apps/Settings/src/com/android/settings/EventLogTags.logtags:6
packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/EventLogTags.logtags:9: warning: tag "exp_det_device_admin_activated_by_user" (90201) duplicated in packages/apps/Settings/src/com/android/settings/EventLogTags.logtags:9
packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/EventLogTags.logtags:12: warning: tag "exp_det_device_admin_declined_by_user" (90202) duplicated in packages/apps/Settings/src/com/android/settings/EventLogTags.logtags:12
packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/EventLogTags.logtags:15: warning: tag "exp_det_device_admin_uninstalled_by_user" (90203) duplicated in packages/apps/Settings/src/com/android/settings/EventLogTags.logtags:15
packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/EventLogTags.logtags:18: warning: tag "settings_latency" (90204) duplicated in packages/apps/Settings/src/com/android/settings/EventLogTags.logtags:18
[  2% 3074/105259] build out/target/product/rk3399_Android11/system/etc/event-log-tags
frameworks/base/services/core/java/com/android/server/wm/EventLogTags.logtags:39: warning: tag "wm_on_paused_called" (30021) duplicated in frameworks/base/core/java/android/app/EventLogTags.logtags:9
frameworks/base/services/core/java/com/android/server/wm/EventLogTags.logtags:41: warning: tag "wm_on_resume_called" (30022) duplicated in frameworks/base/core/java/android/app/EventLogTags.logtags:11
frameworks/base/services/core/java/com/android/server/wm/EventLogTags.logtags:50: warning: tag "wm_stop_activity" (30048) duplicated in frameworks/base/core/java/android/app/EventLogTags.logtags:14
frameworks/base/services/core/java/com/android/server/wm/EventLogTags.logtags:56: warning: tag "wm_add_to_stopping" (30066) duplicated in frameworks/base/core/java/android/app/EventLogTags.logtags:35
packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/EventLogTags.logtags:6: warning: tag "lock_screen_type" (90200) duplicated in packages/apps/Settings/src/com/android/settings/EventLogTags.logtags:6
packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/EventLogTags.logtags:9: warning: tag "exp_det_device_admin_activated_by_user" (90201) duplicated in packages/apps/Settings/src/com/android/settings/EventLogTags.logtags:9
packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/EventLogTags.logtags:12: warning: tag "exp_det_device_admin_declined_by_user" (90202) duplicated in packages/apps/Settings/src/com/android/settings/EventLogTags.logtags:12
packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/EventLogTags.logtags:15: warning: tag "exp_det_device_admin_uninstalled_by_user" (90203) duplicated in packages/apps/Settings/src/com/android/settings/EventLogTags.logtags:15
packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/EventLogTags.logtags:18: warning: tag "settings_latency" (90204) duplicated in packages/apps/Settings/src/com/android/settings/EventLogTags.logtags:18
[  3% 3540/105259] Install: out/target/product/rk3399_Android11/vendor/lib/egl/libGLES_mali.so
/home/rootroot/3TB/61Android11.0
/home/rootroot/3TB/61Android11.0
/home/rootroot/3TB/61Android11.0
/home/rootroot/3TB/61Android11.0
/home/rootroot/3TB/61Android11.0
[  3% 3659/105259] Install: out/target/product/rk3399_Android11/vendor/lib64/egl/libGLES_mali.so
/home/rootroot/3TB/61Android11.0
/home/rootroot/3TB/61Android11.0
/home/rootroot/3TB/61Android11.0


packages/apps/PermissionController/src/com/android/permissioncontroller/permission/utils/KotlinUtils.kt:282:5: warning: '@JvmOverloads' annotation has no effect for methods without default arguments
    @JvmOverloads
    ^
packages/apps/PermissionController/src/com/android/permissioncontroller/permission/utils/KotlinUtils.kt:850:13: warning: condition 'resolveInfos == null' is always 'false'
        if (resolveInfos == null || resolveInfos.size <= 0) {
            ^
packages/apps/PermissionController/src/com/android/permissioncontroller/permission/utils/KotlinUtils.kt:857:16: warning: condition 'resolveInfos != null' is always 'true'
        return resolveInfos != null && resolveInfos.size > 0
               ^
packages/apps/PermissionController/src/com/android/permissioncontroller/permission/utils/KotlinUtils.kt:869:15: warning: unchecked cast: T? to T
        value as T
              ^
[ 99% 54393/54873] //art/build/apex:art-check-debug-apex-gen generate art-check-debug-apex-gen.dummy
--bitness=auto, trying to autodetect. This may be incorrect!
  Detected multilib
        value as T
              ^
[ 99% 54393/54873] //art/build/apex:art-check-debug-apex-gen generate art-check-debug-apex-gen.dummy
--bitness=auto, trying to autodetect. This may be incorrect!
  Detected multilib
[ 99% 54847/54873] Copy: out/target/product/rk3399_Android11/system/framework/oat/arm/service-jobscheduler.odex
    0:50 //packages/apps/PermissionController:PermissionController r8 [common com.android.permission]
    0:24 Target vendor fs image: out/target/product/rk3399_Android11/vendor.img
    0:15 Target product fs image: out/target/product/rk3399_Android11/product.img
    0:09 //frameworks/base/services:services dexpreopt [common]
[100% 54873/54873] Target super fs image for debug: out/target/product/rk3399_Android11/super.img
2023-12-21 11:46:56 - build_super_image.py - INFO    : Building super image from info dict...
2023-12-21 11:46:56 - sparse_img.py - INFO    : Total of 239724 4096-byte output blocks in 18 input chunks.
2023-12-21 11:46:56 - sparse_img.py - INFO    : Total of 30058 4096-byte output blocks in 3 input chunks.
2023-12-21 11:46:56 - sparse_img.py - INFO    : Total of 50559 4096-byte output blocks in 7 input chunks.
2023-12-21 11:46:56 - sparse_img.py - INFO    : Total of 52171 4096-byte output blocks in 5 input chunks.
2023-12-21 11:46:56 - sparse_img.py - INFO    : Total of 152 4096-byte output blocks in 2 input chunks.
2023-12-21 11:46:56 - common.py - INFO    :   Running: "lpmake --metadata-size 65536 --super-name super --metadata-slots 2 --device super:3263168512 --group rockchip_dynamic_partitions:3258974208 --partition system:readonly:981909504:rockchip_dynamic_partitions --image system=out/target/product/rk3399_Android11/system.img --partition system_ext:readonly:123117568:rockchip_dynamic_partitions --image system_ext=out/target/product/rk3399_Android11/system_ext.img --partition vendor:readonly:207089664:rockchip_dynamic_partitions --image vendor=out/target/product/rk3399_Android11/vendor.img --partition product:readonly:213692416:rockchip_dynamic_partitions --image product=out/target/product/rk3399_Android11/product.img --partition odm:readonly:622592:rockchip_dynamic_partitions --image odm=out/target/product/rk3399_Android11/odm.img --sparse --output out/target/product/rk3399_Android11/super.img"
2023-12-21 11:47:01 - common.py - INFO    : lpmake I 12-21 11:46:56 128115 128115 builder.cpp:1031] [liblp]Partition system will resize from 0 bytes to 981909504 bytes
lpmake I 12-21 11:46:56 128115 128115 builder.cpp:1031] [liblp]Partition system_ext will resize from 0 bytes to 123117568 bytes
lpmake I 12-21 11:46:56 128115 128115 builder.cpp:1031] [liblp]Partition vendor will resize from 0 bytes to 207089664 bytes
lpmake I 12-21 11:46:56 128115 128115 builder.cpp:1031] [liblp]Partition product will resize from 0 bytes to 213692416 bytes
lpmake I 12-21 11:46:56 128115 128115 builder.cpp:1031] [liblp]Partition odm will resize from 0 bytes to 622592 bytes
2023-12-21 11:47:01 - build_super_image.py - INFO    : Done writing image out/target/product/rk3399_Android11/super.img

#### build completed successfully (20:01 (mm:ss)) ####

rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ 
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ 
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ 
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ ll
total 4401756
drwxr-xr-x  38 rootroot rootroot       4096 12月 21 11:03 ./
drwxrwxrwx   9 rootroot rootroot       4096 12月 21 08:43 ../
drwxr-xr-x  27 rootroot rootroot       4096 12月 21 10:44 61u-boot/
drwxrwxr-x  26 rootroot rootroot       4096 12月 21 10:58 62u-boot/
lrwxrwxrwx   1 rootroot rootroot         19 7月  22  2021 Android.bp -> build/soong/root.bp
drwxr-xr-x  35 rootroot rootroot       4096 7月  22  2021 art/
drwxr-xr-x  15 rootroot rootroot       4096 7月  22  2021 bionic/
drwxr-xr-x   3 rootroot rootroot       4096 7月  22  2021 bootable/
lrwxrwxrwx   1 rootroot rootroot         26 7月  22  2021 bootstrap.bash -> build/soong/bootstrap.bash*
drwxr-xr-x   5 rootroot rootroot       4096 7月  22  2021 build/
-rwxr-xr-x   1 rootroot rootroot       8030 12月 21 10:43 build.sh*
drwxr-xr-x   3 rootroot rootroot       4096 7月  22  2021 compatibility/
drwxr-xr-x  14 rootroot rootroot       4096 7月  22  2021 cts/
drwxr-xr-x   8 rootroot rootroot       4096 7月  22  2021 dalvik/
drwxr-xr-x   5 rootroot rootroot       4096 7月  22  2021 developers/
drwxr-xr-x  21 rootroot rootroot       4096 7月  22  2021 development/
drwxr-xr-x   7 rootroot rootroot       4096 7月  22  2021 device/
drwxr-xr-x 321 rootroot rootroot      12288 7月  22  2021 external/
drwxr-xr-x  16 rootroot rootroot       4096 7月  22  2021 frameworks/
drwxr-xr-x  13 rootroot rootroot       4096 7月  22  2021 hardware/
drwxr-xr-x  30 rootroot rootroot       4096 12月 21 08:49 kernel/
-rw-rw-r--   1 rootroot rootroot  218337955 12月 21 08:39 kernel62.tgz
drwxr-xr-x  20 rootroot rootroot       4096 7月  22  2021 libcore/
drwxr-xr-x   8 rootroot rootroot       4096 7月  22  2021 libnativehelper/
-r--r--r--   1 rootroot rootroot         92 7月  22  2021 Makefile
drwxr-xr-x   9 rootroot rootroot       4096 7月  22  2021 mkcombinedroot/
-rwxr-xr-x   1 rootroot rootroot       9037 12月 21 10:43 mkimage.sh*
drwxrwxr-x  11 rootroot rootroot       4096 12月 21 11:47 out/
drwxr-xr-x   9 rootroot rootroot       4096 7月  22  2021 packages/
drwxr-xr-x   6 rootroot rootroot       4096 7月  22  2021 pdk/
drwxr-xr-x  10 rootroot rootroot       4096 7月  22  2021 platform_testing/
drwxr-xr-x  33 rootroot rootroot       4096 7月  22  2021 prebuilts/
-r-xr-xr-x   1 rootroot rootroot        519 7月  22  2021 restore_patches.sh*
drwxr-xr-x   9 rootroot rootroot       4096 12月 21 11:03 rkbin/
-rw-rw-r--   1 rootroot rootroot   20865091 12月 21 08:39 rkbin65.tgz
drwxr-xr-x   4 rootroot rootroot       4096 7月  22  2021 RKDocs/
drwxr-xr-x   5 rootroot rootroot       4096 7月  22  2021 rkst/
drwxr-xr-x   5 rootroot rootroot       4096 7月  22  2021 RKTools/
drwxrwxr-x   5 rootroot rootroot       4096 12月 21 11:06 rockdev/
drwxr-xr-x  24 rootroot rootroot       4096 7月  22  2021 sdk/
drwxr-xr-x  40 rootroot rootroot       4096 7月  22  2021 system/
drwxr-xr-x  10 rootroot rootroot       4096 7月  22  2021 test/
drwxr-xr-x   4 rootroot rootroot       4096 7月  22  2021 toolchain/
drwxr-xr-x  23 rootroot rootroot       4096 7月  22  2021 tools/
drwxrwxr-x  26 rootroot rootroot       4096 12月 21 11:04 u-boot/
-rwx------   1 rootroot rootroot   17818883 12月 14 19:21 u-boot1在firefly.tgz*
-rw-rw-r--   1 rootroot rootroot   18308321 12月 21 08:37 u-boot61.tgz
-rwx------   1 rootroot rootroot   17299142 12月 18 19:24 u-boot81.tgz*
drwxr-xr-x   6 rootroot rootroot       4096 7月  22  2021 vendor/
-rw-rw-r--   1 rootroot rootroot 4214557495 12月 21 08:40 vendor67.tgz
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ 
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ 
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ ./build.sh -u
will build update.img
-------------------KERNEL_DTS:rk3399-evb-ind-lpddr4-android-avb

============================================
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
============================================
package resoure.img with charger images

Pack ./tools/images/ & ../kernel/resource.img to resource.img ...
Unpacking old image(../kernel/resource.img):
rk-kernel.dtb battery_1.bmp battery_2.bmp battery_3.bmp battery_4.bmp battery_5.bmp battery_fail.bmp logo.bmp logo_kernel.bmp battery_0.bmp 10
Pack to resource.img successed!

Packed resources:
rk-kernel.dtb battery_1.bmp battery_2.bmp battery_3.bmp battery_4.bmp battery_5.bmp battery_fail.bmp logo.bmp logo_kernel.bmp battery_0.bmp 10

./resource.img with battery images is ready
/home/rootroot/3TB/61Android11.0
make and copy android images
TARGET_PRODUCT=rk3399_Android11
TARGET_BASE_PARAMETER_IMAGE==device/rockchip/common/baseparameter/baseparameter.img
HIGH_RELIABLE_RECOVERY_OTA=
BOARD_AVB_ENABLE=false
system filesysystem is ext4
create dtbo.img...
done.
create resource.img...
done.
create boot.img...
done.
create boot-debug.img...
done.
skip copy images: vendor_boot.img
skip copy images: vendor_boot-debug.img
create recovery.img...
done.
create super.img...
done.
create vbmeta.img...
BOARD_AVB_ENABLE is false, use default vbmeta.img
create misc.img.... done.
create uboot.img...
create trust.img...
create loader...
create config.cfg...
create baseparameter...done.
Make image ok!
Make update.img
start to make update.img...
Android Firmware Package Tool v1.67
------ PACKAGE ------
Add file: ./package-file
package-file,Add file: ./package-file done,offset=0x800,size=0x2af,userspace=0x1
Add file: ./Image/MiniLoaderAll.bin
bootloader,Add file: ./Image/MiniLoaderAll.bin done,offset=0x1000,size=0x6694e,userspace=0xce
Add file: ./Image/parameter.txt
parameter,Add file: ./Image/parameter.txt done,offset=0x68000,size=0x292,userspace=0x1
Add file: ./Image/trust.img
trust,Add file: ./Image/trust.img done,offset=0x68800,size=0x400000,userspace=0x800
Add file: ./Image/uboot.img
uboot,Add file: ./Image/uboot.img done,offset=0x468800,size=0x400000,userspace=0x800
Add file: ./Image/misc.img
misc,Add file: ./Image/misc.img done,offset=0x868800,size=0xc000,userspace=0x18
Add file: ./Image/boot.img
boot,Add file: ./Image/boot.img done,offset=0x874800,size=0x1f9a800,userspace=0x3f35
Add file: ./Image/dtbo.img
dtbo,Add file: ./Image/dtbo.img done,offset=0x280f000,size=0x25f,userspace=0x1
Add file: ./Image/vbmeta.img
vbmeta,Add file: ./Image/vbmeta.img done,offset=0x280f800,size=0x1000,userspace=0x2
Add file: ./Image/recovery.img
recovery,Add file: ./Image/recovery.img done,offset=0x2810800,size=0x45d5000,userspace=0x8baa
Add file: ./Image/baseparameter.img
baseparameter,Add file: ./Image/baseparameter.img done,offset=0x6de5800,size=0x100000,userspace=0x200
Add file: ./Image/super.img
super,Add file: ./Image/super.img done,offset=0x6ee5800,size=0x5a1bfea8,userspace=0xb4380
Add CRC...
Make firmware OK!
------ OK ------
********RKImageMaker ver 1.66********
Generating new image, please wait...
Writing head info...
Writing boot file...
Writing firmware...
Generating MD5 data...
MD5 data generated successfully!
New image generated successfully!
Making update.img OK.
Make update image ok!
/home/rootroot/3TB/61Android11.0
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ 
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ 
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ 

ToyBrick的SDK编译之后的IMG刷机之后,发现【u-boot】不能引导NanoPC-T4(RK3399)开发板,LOG:

U-Boot 2017.09 (Dec 21 2023 - 08:44:13 +0800)

Model: Rockchip RK3399 Evaluation Board
PreSerial: 2, raw, 0xff1a0000
DRAM:  3.8 GiB
Sysmem: init
Relocation Offset: f5b7a000, fdt: f3d6e2d8 
Using default environment

dwmmc@fe320000: 1, sdhci@fe330000: 0
Bootdev(atags): mmc 0
MMC0: HS400, 150Mhz
PartType: EFI
boot mode: recovery (misc)
Android 11.0, Build 2021.6, v2
Found DTB in recovery part
DTB: rk-kernel.dtb
HASH(c): OK
ANDROID: fdt overlay OK
I2c0 speed: 400000Hz
PMIC:  RK808 
vdd_center 900000 uV
vdd_cpu_l 900000 uV
vdd_log 1100000 uV
Model: Rockchip RK3399 Excavator Board edp avb (Android)
Load sn form vendor failed
optee api revision: 2.0
TEEC: Reset area[0] info...
TEEC: Reset area[1] info...
Load SnMacAc from rpmb failed
No SnMacAc found in vendor and rpmb, goto loader ...
RKUSB: LUN 0, dev 0, hwpart 0, sector 0x0, count 0x1d1f000

[END] 2023/12/22 8:12:07
 


更换为友善之臂的Android10的u-boot也不能引导,Android11的u-boot没有测试过!LOG:

U-Boot 2017.09 (Dec 21 2023 - 10:54:31 +0800)

Model: Rockchip RK3399 Evaluation Board
PreSerial: 2
DRAM:  3.8 GiB
Sysmem: init
Relocation Offset: f5bc9000, fdt: f3dbd358
Using default environment

dwmmc@fe320000: 1, sdhci@fe330000: 0
Bootdev(atags): mmc 0
MMC0: HS400, 150Mhz
PartType: EFI
Android 11.0, Build 2021.6
boot mode: recovery (misc)
Found DTB in recovery part
DTB: rk-kernel.dtb (108169)
HASH(c): OK
ANDROID: fdt overlay OK
I2c0 speed: 400000Hz
PMIC:  RK808 
vdd_center 900000 uV
vdd_cpu_l 900000 uV
vdd_log 1100000 uV
Model: Rockchip RK3399 Excavator Board edp avb (Android)
Rockchip UBOOT DRM driver version: v1.0.1
xfer: num: 2, addr: 0x50
[dw_hdmi_i2c_read] i2c read reg[0x01] no interrupt
xfer: num: 2, addr: 0x50
[dw_hdmi_i2c_read] read reg[0x01] data error:0x01
xfer: num: 2, addr: 0x50
[dw_hdmi_i2c_read] i2c read reg[0x01] no interrupt
xfer: num: 2, addr: 0x50
[dw_hdmi_i2c_read] i2c read reg[0x01] no interrupt
xfer: num: 2, addr: 0x50
[dw_hdmi_i2c_read] read reg[0x01] data error:0x01
can't get edid block: 0
failed to get edid
mode: 1920x1080
CEA mode used vic=16
final pixclk = 148500000 tmdsclk = 148500000
PHY powered down in 0 iterations
PHY PLL locked 1 iterations
PHY powered down in 0 iterations
PHY PLL locked 1 iterations
sink has audio support
hdmi_set_clk_regenerator: fs=48000Hz ftdms=148.500MHz N=6144 cts=148500
Using display timing dts
Detailed mode clock 200000 kHz, flags[a]
    H: 1536 1548 1564 1612
    V: 2048 2056 2060 2068
bus_format: 100e
AUX CH command reply failed!
AUX CH command reply failed!
AUX CH error happens: 2
AUX CH command reply failed!
AUX CH command reply failed!
AUX CH error happens: 2
failed to get Rx Max Link Rate
failed to init training
unable to do link train
CLK: (uboot. arml: enter 816000 KHz, init 816000 KHz, kernel 0N/A)
CLK: (uboot. armb: enter 816000 KHz, init 816000 KHz, kernel 0N/A)
  aplll 816000 KHz
  apllb 816000 KHz
  dpll 800000 KHz
  cpll 200000 KHz
  gpll 800000 KHz
  npll 600000 KHz
  vpll 148000 KHz
  aclk_perihp 133333 KHz
  hclk_perihp 66666 KHz
  pclk_perihp 33333 KHz
  aclk_perilp0 266666 KHz
  hclk_perilp0 88888 KHz
  pclk_perilp0 44444 KHz
  hclk_perilp1 100000 KHz
  pclk_perilp1 50000 KHz
Net:   eth0: ethernet@fe300000
Hit key to stop autoboot('CTRL+C'):  0 
Device 'dwmmc@fe310000': seq 0 is in use by 'sdhci@fe330000'
Card did not respond to voltage select!
mmc_init: -95, time 50
Could not get mmc 0

## Booting Rockchip Format Image
Could not find kernel partition, ret=-1
Card did not respond to voltage select!
mmc_init: -95, time 9
Card did not respond to voltage select!
mmc_init: -95, time 51
starting USB...
Bus usb@fe380000: USB EHCI 1.00
Bus usb@fe3a0000: USB OHCI 1.0
Bus usb@fe3c0000: USB EHCI 1.00
Bus usb@fe3e0000: USB OHCI 1.0
Bus dwc3@fe900000: usb maximum-speed not found
Rockchip Type-C PHY is initialized
Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
scanning bus usb@fe380000 for devices... 1 USB Device(s) found
scanning bus usb@fe3a0000 for devices... 1 USB Device(s) found
scanning bus usb@fe3c0000 for devices... 1 USB Device(s) fo


最后切换为Firefly的AIO-3399J的u-boot可以引导成功了,这时一个神奇的故事呀!


vendor部分。由于BT不配置都可以传送文件,不用特别关注了!
wifi部分:为了简单/稳妥起见,直接【使用Android10上调通的固件】替换全部的!
固件部分:


【可选】Andorid部分修改的路径:

Z:\3TB\61Android11.0\build\make\target\product\languages_default.mk
默认中文


Z:\3TB\61Android11.0\external\mksh\mkshrc
ll


Z:\3TB\61Android11.0\frameworks\base\packages\SettingsProvider\res\values\defaults.xml
不关闭屏幕休眠
禁止锁屏


Z:\3TB\61Android11.0\frameworks\native\services\inputflinger\reader\mapper\accumulator\CursorButtonAccumulator.cpp
鼠标右键返回

这篇关于20231222给NanoPC-T4(RK3399)开发板的适配Android11的挖掘机方案并跑通AP6398SV的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!


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

相关文章

Java实现本地缓存的常用方案介绍

《Java实现本地缓存的常用方案介绍》本地缓存的代表技术主要有HashMap,GuavaCache,Caffeine和Encahche,这篇文章主要来和大家聊聊java利用这些技术分别实现本地缓存的方... 目录本地缓存实现方式HashMapConcurrentHashMapGuava CacheCaffe

无法启动此程序因为计算机丢失api-ms-win-core-path-l1-1-0.dll修复方案

《无法启动此程序因为计算机丢失api-ms-win-core-path-l1-1-0.dll修复方案》:本文主要介绍了无法启动此程序,详细内容请阅读本文,希望能对你有所帮助... 在计算机使用过程中,我们经常会遇到一些错误提示,其中之一就是"api-ms-win-core-path-l1-1-0.dll丢失

利用Python实现可回滚方案的示例代码

《利用Python实现可回滚方案的示例代码》很多项目翻车不是因为不会做,而是走错了方向却没法回头,技术选型失败的风险我们都清楚,但真正能提前规划“回滚方案”的人不多,本文从实际项目出发,教你如何用Py... 目录描述题解答案(核心思路)题解代码分析第一步:抽象缓存接口第二步:实现两个版本第三步:根据 Fea

SpringBoot实现接口数据加解密的三种实战方案

《SpringBoot实现接口数据加解密的三种实战方案》在金融支付、用户隐私信息传输等场景中,接口数据若以明文传输,极易被中间人攻击窃取,SpringBoot提供了多种优雅的加解密实现方案,本文将从原... 目录一、为什么需要接口数据加解密?二、核心加解密算法选择1. 对称加密(AES)2. 非对称加密(R

MySQL精准控制Binlog日志数量的三种方案

《MySQL精准控制Binlog日志数量的三种方案》作为数据库管理员,你是否经常为服务器磁盘爆满而抓狂?Binlog就像数据库的“黑匣子”,默默记录着每一次数据变动,但若放任不管,几天内这些日志文件就... 目录 一招修改配置文件:永久生效的控制术1.定位my.cnf文件2.添加核心参数不重启热更新:高手应

MySQL中like模糊查询的优化方案

《MySQL中like模糊查询的优化方案》在MySQL中,like模糊查询是一种常用的查询方式,但在某些情况下可能会导致性能问题,本文将介绍八种优化MySQL中like模糊查询的方法,需要的朋友可以参... 目录1. 避免以通配符开头的查询2. 使用全文索引(Full-text Index)3. 使用前缀索

Python解决雅努斯问题实例方案详解

《Python解决雅努斯问题实例方案详解》:本文主要介绍Python解决雅努斯问题实例方案,雅努斯问题是指AI生成的3D对象在不同视角下出现不一致性的问题,即从不同角度看物体时,物体的形状会出现不... 目录一、雅努斯简介二、雅努斯问题三、示例代码四、解决方案五、完整解决方案一、雅努斯简介雅努斯(Janu

电脑找不到mfc90u.dll文件怎么办? 系统报错mfc90u.dll丢失修复的5种方案

《电脑找不到mfc90u.dll文件怎么办?系统报错mfc90u.dll丢失修复的5种方案》在我们日常使用电脑的过程中,可能会遇到一些软件或系统错误,其中之一就是mfc90u.dll丢失,那么,mf... 在大部分情况下出现我们运行或安装软件,游戏出现提示丢失某些DLL文件或OCX文件的原因可能是原始安装包

电脑显示mfc100u.dll丢失怎么办?系统报错mfc90u.dll丢失5种修复方案

《电脑显示mfc100u.dll丢失怎么办?系统报错mfc90u.dll丢失5种修复方案》最近有不少兄弟反映,电脑突然弹出“mfc100u.dll已加载,但找不到入口点”的错误提示,导致一些程序无法正... 在计算机使用过程中,我们经常会遇到一些错误提示,其中最常见的就是“找不到指定的模块”或“缺少某个DL

Java Response返回值的最佳处理方案

《JavaResponse返回值的最佳处理方案》在开发Web应用程序时,我们经常需要通过HTTP请求从服务器获取响应数据,这些数据可以是JSON、XML、甚至是文件,本篇文章将详细解析Java中处理... 目录摘要概述核心问题:关键技术点:源码解析示例 1:使用HttpURLConnection获取Resp