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
鼠标右键返回

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

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

相关文章

KEIL5 编译器导致的程序异常

STM32F407写程序过程中发现了一个KEIL5 ARM编译器导致的BUG&#xff0c;记录如下。 源代码比较简单&#xff0c;分别打印两个标志量的值&#xff0c;采用了volatile 声明&#xff0c;避免被优化。 代码功能不用多说&#xff0c;看一下输出结果&#xff1a; 两个标志量都被编译…

STM32F407控制AD7606 采用HAL库的TIM和SPI

前言 本文介绍基于STM32F407的AD7606 8通道同步采集控制方式&#xff0c;总体思路&#xff1a;PWM驱动AD7606完成模数转换&#xff0c;AD7606转换完成后其BUSY引脚给出下降沿&#xff0c;STM32捕获外部中断并在中断服务程序中调用SPI串口读取AD7606数据&#xff0c;工程采用cu…

(转)二分图最大匹配的König定理及其证明

出处:http://www.matrix67.com/blog/archives/116 二分图最大匹配的Knig定理及其证明 如果你看不清楚第二个字母&#xff0c;下面有一个大号字体版本&#xff1a;二分图最大匹配的Knig定理及其证明 本文将是这一系列里最短的一篇&#xff0c;因为我只打算把Knig定理证了&…

如何使用struts2对集合参数进行验证

上一节介绍了struts2可以支持批量表单参数提交&#xff0c;那么提交到后台时如何利用strust2的validation框架对这个集合做验证&#xff1f; struts2提供了一个vistor校验器&#xff0c;可以实现这个需求 还是采用上一节中批量添加书籍的例子 1.jsp文件 <% taglib prefix&qu…

[Axure教程]0001.新手入门基础

Axure RP是一个专业的快速原型设计工具。Axure&#xff08;发音&#xff1a;Ack-sure&#xff09;&#xff0c;代表美国Axure公司&#xff1b;RP则是Rapid Prototyping&#xff08;快速原型&#xff09;的缩写。Axure RP已被一些大公司采用。Axure RP的使用者主要包括商业分析师…

【评论】GNU/Linux下有多少是GNU的?

导读&#xff1a;一个葡萄牙的学生写了一篇文章 《How much GNU is there in GNU/Linux?》由酷壳网的陈皓整理编译为《GNU/Linux下有多少是GNU的》。这篇文章主要分布了今年4月份的Ubuntu Natty的Linux分发包。其主要是用代码行来做的分析&#xff0c;用两个饼图对比分析。内容…

Linux下scp命令的用法

scp 对拷文件夹 和 文件夹下的所有文件 对拷文件并重命名 对拷文件夹 (包括文件夹本身) scp -r /home/wwwroot/www/charts/util root192.168.1.65:/home/wwwroot/limesurvey_back/scp 对拷文件夹下所有文件 (不包括文件夹本身) scp /home/wwwroot/www/charts/util/* root19…

研究者展示黑客通过GPU绕过防毒软件查杀的方法

Slashdot网站近日刊登了一篇研究文章称黑客可以通过特殊手段利用电脑中的GPU来躲避杀毒软件的清查。在这份PDF文档中&#xff0c;研究者展示了黑 客如何 利用GPU来躲避杀毒软件查杀的方法&#xff0c;作者还表示类似的技巧还有可能会发展升级为更加复杂的攻击手段&#xff0c;如…

javascript笔记:javascript的前世,至于今生嘛地球人都知道了哈

&#xff08;引子&#xff1a;javascript其实是个私生子&#xff09;我在上一篇博文最后说道&#xff0c;想写一篇关于javascript基础语法的文章&#xff0c;原因是我在读很多优秀的javascript源码时候常常被javascript诡异的语法搞的精疲力尽&#xff0c;所以时不时的加固java…

STM32F4 使用STLink 和 EventRecoder 调试运行时间

最近使用STM32F407的DSP库&#xff0c;测试了一下浮点数1024个点的FFT计算时间&#xff0c;采用EventRecoder计时间&#xff0c;记录如下。 1、在Compiler中添加EventRecorder 组件&#xff0c;CMSIS的版本5.4。 2、main.C增加头文件&#xff1a;#include "EventRecorder…

Keil5 EventRecorder 的STDOUT输出丢包率较大现象

采用STLINK EventRecorder 对printf进行重定义&#xff0c;在连续发送数据时&#xff0c;存在较大的丢包情况。因此&#xff0c;调试小数据量时可以采用这种方法&#xff0c;大数据量的时候还是直接用UART 进行输出。

Etherchannel的配置 三层

三层以太网通道 interface FastEthernet0/19 no switchport no ip address channel-protocol lacp channel-group 30 mode active ! interface FastEthernet0/20 no switchport no ip address channel-protocol lacp channel-group 30 mode active interface Port-chan…

CubeMx 生成的FreeRTOS 代码在ARM compiler6 编译__forceinline 报错的解决方法

一、问题 如题&#xff0c;CubeMx 生成的FreeRTOS 代码在ARM compiler6 编译__forceinline 报错的解决方法。 二、解决方法 第一种方法&#xff0c;将编译器换回default compiler version 5。 第二种方法&#xff0c;更换freeRTOS移植源码文件。 将FreeRTOS源码xxx\FreeRTOS…

解决centos KDE命令提示符和文字不紧贴的问题

注意此时cd后面是没有空格的但此时却显示像有空格的一样&#xff0c;要解决这个问题就需要修改PS1 在自己的home的目录下更改.bashrc 例如root就在/root下 PS1"\e[1;32m\u\e[m\e[1;33m\e[m\e[1;35m\h\e[m:\w\$ "转载于:https://www.cnblogs.com/597845634ds/p/490557…

UPS电源远程关机

UPS电源的APC软件是个单机PowerChute Business Edition 的&#xff0c;一个UPS电源上也不是一台服务器&#xff0c;如何在停电的时候把其它服务器也关了&#xff0c;难不成再去买网络版。Windows从xp以上就可以远程关机了&#xff0c;shutdown命令。PowerChute是以系统服务在后…

安卓dalvik和art区别

Dalvik模式像是一台折叠自行车&#xff0c;每次骑之前都要组装后才能上路。而ART模式就是一个已经装好的自行车&#xff0c;直接就能上车走人。所以ART模式在效率上肯定是要好于Dalvik。 通过以上这种表格&#xff0c;我们可以直白的看出&#xff0c;全新的ART模式具备用RAM内存…