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.mfbz.cn/a/267391.html

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

相关文章

『OPEN3D』1.1 点云处理

目录 1.open3d中的点云IO 2.点云的可视化 3 点云voxel下采样 4. 顶点法线估计 5.最小外界矩 6. 凸包计算 7. 点云距离计算 8. DBSCAN clustering聚类 9. RANSAC(Random Sample Consensus) 10. 点云平面分割 11. 隐藏点移除 12.outliers移除 13 最远点采样&#xf…

安全、高效的MySQL DDL解决方案

MySQL作为目前应用最广泛的开源关系型数据库&#xff0c;是许多网站、应用和商业产品的主要数据存储。在生产环境&#xff0c;线上数据库常常面临着持续的、不断变化的表结构修改&#xff08;DDL&#xff09;&#xff0c;如增加、更改、删除字段和索引等等。其中一些DDL操作在M…

Vue3中的混入(mixins)

本文主要介绍Vue3中的混入&#xff08;mixins&#xff09;。 目录 一、在普通写法中使用混入&#xff1a;二、在setup写法中使用混入&#xff1a; 混入是Vue中一种用于在组件中共享可复用功能的特性。在Vue 3中&#xff0c;混入的使用方式有所改变。 一、在普通写法中使用混入…

MongoDB安装部署

二、安装部署 2.1 下载 下载地址&#xff1a;MongoDB Enterprise Server Download | MongoDB 当前最新版本6.0.9&#xff0c;5.0.9对Mac m1需要centos 8.2版本。选择docker安装。 2.2 docker-ce安装 # 安装docker # 默认repo源没有docker-ce安装包&#xff0c;需要新的rep…

Station_Map1221Update

1221 Polish 1. Transfer the road coordinates from the UE coordinates system into the CAD coordinates system by using the functions in the file INDEX2UE.py Report Changes in the function initialMatrix # 初始化标签self.outdoor_label[self.wall_matrix 1] …

如何使用树莓派Bookworm系统中配置网络的新方法NetworkManager

树莓派在 10 月新出的 Bookworm 版本系统中&#xff0c;将使用多年的 dhcpcd 换成了 NetworkManager&#xff08;以前是在rasp-config中可选&#xff09;&#xff0c;这是因为 Raspberry Pi OS 使用的是 Debian 内核&#xff08;和 Ubuntu 一样&#xff09;&#xff0c;所以树莓…

前端常用的开发工具

前端常用的开发工具&#x1f516; 文章目录 前端常用的开发工具&#x1f516;1. Snipaste--截图工具2. ScreenToGif--gif图片录制3. Typora--Markdown编辑器4. notepad--文本代码编辑器5. uTools--多功能工具6. EV录屏--录屏软件7. Xmind--思维导图8. Apifox -- 接口调试9. Tor…

Keil中文报错提示为: [-Winvalid-source-encoding]问题解决

错误提示&#xff1a; ../User/main.c(67): warning: illegal character encoding in string literal [-Winvalid-source-encoding]67 | printf("全<B2><BF><B4><AB><CA><E4><CD><EA><B3><C9…

Redis高并发缓存设计问题与性能优化

Redis高并发缓存设计问题与性能优化 缓存设计典型问题缓存穿透缓存失效(击穿)缓存雪崩热点缓存key重建优化缓存与数据库双写不一致 开发规范与性能优化一、键值设计1. key名设计2. value设计big key的危害&#xff1a;1.导致redis阻塞2.网络拥塞3. 过期删除 big key的产生&…

大白鲨生成Windows木马(仅供参考不可实践)

一、学习方法 一个正确的学习方法往往比学习更为重要 方法一&#xff1a;学习技术的本质性作用 &#xff08;第一性定律&#xff09; — 帮助我们解决的问题是什么 — 产生的原因/价值 方法二&#xff1a;在工作中到底如何使用&#xff1f; 方法三&#xff1a;技术是由人…

PyQt6 QTimer计时器控件

锋哥原创的PyQt6视频教程&#xff1a; 2024版 PyQt6 Python桌面开发 视频教程(无废话版) 玩命更新中~_哔哩哔哩_bilibili2024版 PyQt6 Python桌面开发 视频教程(无废话版) 玩命更新中~共计52条视频&#xff0c;包括&#xff1a;2024版 PyQt6 Python桌面开发 视频教程(无废话版…

AI日报:2024年人工智能对各行业初创企业的影响

欢迎订阅专栏 《AI日报》 获取人工智能邻域最新资讯 文章目录 2024年人工智能对初创企业的影响具体行业医疗金融服务运输与物流等 新趋势 2024年人工智能对初创企业的影响 2023年见证了人工智能在各个行业的快速采用和创新。随着我们步入2024年&#xff0c;人工智能初创公司正…

Linuxapache安装

Apache 介绍 Apache HTTP Server&#xff08;简称Apache&#xff09;是Apache软件基金会的一个开放源码的网页服务器&#xff0c;Apache是世界使用排名第一的Web服务器软件。它可以运行在几乎所有广泛使用的计算机平台上&#xff0c;由于其跨平台和安全性被广泛使用&#xff0…

【数据库系统概论】第3章-关系数据库标准语言SQL(2)

文章目录 3.4 数据查询3.4.1 单表查询3.4.2 连接查询3.4.3嵌套查询3.4.4 集合查询3.4.5 基于派生表的查询3.4.6 select 语句的目标列 3.4 数据查询 格式 SQL执行顺序 3.4.1 单表查询 基础查询 select * from student // 不重复 select distinct sname from student // 命名…

动态规划算法练习题

45. 跳跃游戏 II 中等 2K 相关企业 给定一个长度为 n 的 0 索引整数数组 nums。初始位置为 nums[0]。 每个元素 nums[i] 表示从索引 i 向前跳转的最大长度。换句话说&#xff0c;如果你在 nums[i] 处&#xff0c;你可以跳转到任意 nums[i j] 处: 0 < j < nums[i] i j &…

LTE之物理信道

信道是不同类型的信息&#xff0c;按照不同传输格式、用不同的物理资源承载的信息通道。根据信息类型的不同、处理过程的不同可将信道分为多种类型。 重点介绍LTE的逻辑信道、传输信道、物理信道等常见的信道类型&#xff0c;并和3G相应的信道类型作了比较&#xff0c;通过比较…

NNDL 作业12-优化算法2D可视化 [HBU]

老师作业原博客地址&#xff1a;【23-24 秋学期】NNDL 作业12 优化算法2D可视化-CSDN博客 目录 简要介绍图中的优化算法&#xff0c;编程实现并2D可视化 1. 被优化函数 ​编辑 深度学习中的优化算法总结 - ZingpLiu - 博客园 (cnblogs.com) SGD: Adagrad: RMSprop: Mom…

基于ERC20代币协议实现的去中心化应用平台

文章目录 内容简介设计逻辑ERC20TokenLoanPlatform 合约事件结构体状态变量函数 Remix 运行实现部署相关智能合约存款和取款贷款和还款 源码地址 内容简介 使用 solidity 实现的基于 ERC20 代币协议的借贷款去中心化应用平台(极简版)。实现存款、取款、贷款、还款以及利息计算的…

宜春万申智能装备携粉体自动化产线解决方案盛装亮相2024济南生物发酵展

宜春万申智能装备股份有限公司受邀盛装亮相2024第12届济南国际生物发酵展 展位号&#xff1a;1号馆A16-2展位 2024第12届国际生物发酵产品与技术装备展览会&#xff08;济南&#xff09;于3月5-7日在山东国际会展中心盛大召开&#xff0c;全方面展示&#xff1a;生物发酵、生…

分布式锁功效初探——以电商问题为例

文章目录 电商库存问题单机处理-Sychronized多机器处理-分布式锁入门级别&#xff0c;用redis实现&#xff0c;setnx问题1&#xff1a;逻辑可能异常&#xff0c;造成死锁问题2&#xff1a;机器宕机问题3&#xff1a;锁一直失效&#xff0c;乱套锁续命 redisson分布式丢锁问题主…
最新文章