当前位置: 首页 > news >正文

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

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


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


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


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

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

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

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

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

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

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

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

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

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


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

You're building on Linux

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

Which would you like? [aosp_arm-eng] 42

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=11
TARGET_PRODUCT=rk3399_Android11
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a53
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a15
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.15.0-91-generic-x86_64-Ubuntu-20.04.6-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=RQ2A.210505.003
OUT_DIR=out
============================================
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ 
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ 
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ ll
total 4367424
drwxr-xr-x  35 rootroot rootroot       4096 12月 21 08:53 ./
drwxrwxrwx   9 rootroot rootroot       4096 12月 21 08:43 ../
lrwxrwxrwx   1 rootroot rootroot         19 7月  22  2021 Android.bp -> build/soong/root.bp
drwxr-xr-x  35 rootroot rootroot       4096 7月  22  2021 art/
drwxr-xr-x  15 rootroot rootroot       4096 7月  22  2021 bionic/
drwxr-xr-x   3 rootroot rootroot       4096 7月  22  2021 bootable/
lrwxrwxrwx   1 rootroot rootroot         26 7月  22  2021 bootstrap.bash -> build/soong/bootstrap.bash*
drwxr-xr-x   5 rootroot rootroot       4096 7月  22  2021 build/
drwxr-xr-x   3 rootroot rootroot       4096 7月  22  2021 compatibility/
drwxr-xr-x  14 rootroot rootroot       4096 7月  22  2021 cts/
drwxr-xr-x   8 rootroot rootroot       4096 7月  22  2021 dalvik/
drwxr-xr-x   5 rootroot rootroot       4096 7月  22  2021 developers/
drwxr-xr-x  21 rootroot rootroot       4096 7月  22  2021 development/
drwxr-xr-x   7 rootroot rootroot       4096 7月  22  2021 device/
drwxr-xr-x 321 rootroot rootroot      12288 7月  22  2021 external/
drwxr-xr-x  16 rootroot rootroot       4096 7月  22  2021 frameworks/
drwxr-xr-x  13 rootroot rootroot       4096 7月  22  2021 hardware/
drwxr-xr-x  30 rootroot rootroot       4096 12月 21 08:49 kernel/
-rw-rw-r--   1 rootroot rootroot  218337955 12月 21 08:39 kernel62.tgz
drwxr-xr-x  20 rootroot rootroot       4096 7月  22  2021 libcore/
drwxr-xr-x   8 rootroot rootroot       4096 7月  22  2021 libnativehelper/
-r--r--r--   1 rootroot rootroot         92 7月  22  2021 Makefile
drwxr-xr-x   9 rootroot rootroot       4096 7月  22  2021 mkcombinedroot/
drwxrwxr-x   6 rootroot rootroot       4096 12月 21 08:54 out/
drwxr-xr-x   9 rootroot rootroot       4096 7月  22  2021 packages/
drwxr-xr-x   6 rootroot rootroot       4096 7月  22  2021 pdk/
drwxr-xr-x  10 rootroot rootroot       4096 7月  22  2021 platform_testing/
drwxr-xr-x  33 rootroot rootroot       4096 7月  22  2021 prebuilts/
-r-xr-xr-x   1 rootroot rootroot        519 7月  22  2021 restore_patches.sh*
drwxr-xr-x   9 rootroot rootroot       4096 12月 21 08:44 rkbin/
-rw-rw-r--   1 rootroot rootroot   20865091 12月 21 08:39 rkbin65.tgz
drwxr-xr-x   4 rootroot rootroot       4096 7月  22  2021 RKDocs/
drwxr-xr-x   5 rootroot rootroot       4096 7月  22  2021 rkst/
drwxr-xr-x   5 rootroot rootroot       4096 7月  22  2021 RKTools/
drwxr-xr-x  24 rootroot rootroot       4096 7月  22  2021 sdk/
drwxr-xr-x  40 rootroot rootroot       4096 7月  22  2021 system/
drwxr-xr-x  10 rootroot rootroot       4096 7月  22  2021 test/
drwxr-xr-x   4 rootroot rootroot       4096 7月  22  2021 toolchain/
drwxr-xr-x  23 rootroot rootroot       4096 7月  22  2021 tools/
drwxr-xr-x  27 rootroot rootroot       4096 12月 21 08:44 u-boot/
-rw-rw-r--   1 rootroot rootroot   18308321 12月 21 08:37 u-boot61.tgz
drwxr-xr-x   6 rootroot rootroot       4096 7月  22  2021 vendor/
-rw-rw-r--   1 rootroot rootroot 4214557495 12月 21 08:40 vendor67.tgz
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ 
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ 
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ make -j36\
> ^C
rootroot@rootroot-X99-Turbo:~/3TB/61Android11.0$ make -j36


============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=11
TARGET_PRODUCT=rk3399_Android11
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a53
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a15
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.15.0-91-generic-x86_64-Ubuntu-20.04.6-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=RQ2A.210505.003
OUT_DIR=out
============================================
[100% 187/187] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
libRkTeeWeaver want to conditional Compile
libgralloc_priv want to conditional Compile
librga want to conditional Compile
librockit want to conditional Compile
Rockchip conditional compile
Optee Version: v1
[hardware/rockchip/libgralloc/midgard frameworks/native/include system/core/libsync system/core/libsync/include external/libdrm/include/drm] 30
[100% 188/188] initializing build system ...
device/rockchip/common/prebuild.mk:2: warning: Generating manifest snapshot at out/commit_id.xml...
device/rockchip/common/prebuild.mk:3: warning: You can disable this by removing this and setting BOARD_RECORD_COMMIT_ID := false in BoardConfig.mk
[ 36% 193/536] including build/make/target/board/Android.mk ...
build fstab file with device/rockchip/common/scripts/fstab_tools/fstab.in....
rebuilding dtbo image with device/rockchip/rk3399/rk3399_Android11/dt-overlay.in....
build parameter.txt with device/rockchip/common/scripts/parameter_tools/parameter.in....
[ 46% 251/536] including external/rk_tee_user/v1/Android.mk ...
'building rk_tee_user v1'
[ 47% 252/536] including external/rk_tee_user/v2/Android.mk ...
'building rk_tee_user v1'
[ 58% 316/536] including hardware/rockchip/hwcomposer/drmhwc/Android.mk ...
fatal: not a git repository (or any parent up to mount point /home/rootroot)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
[ 59% 320/536] including hardware/rockchip/libhwjpeg/Android.mk ...
fatal: not a git repository (or any parent up to mount point /home/rootroot)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

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


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

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

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

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=11
TARGET_PRODUCT=rk3399_Android11
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a53
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a15
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.15.0-91-generic-x86_64-Ubuntu-20.04.6-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=RQ2A.210505.003
OUT_DIR=out
============================================
package resoure.img with charger images

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

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

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

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

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

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

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

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


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

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

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

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

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


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


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


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

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


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


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


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

相关文章:

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

20231222给NanoPC-T4(RK3399)开发板的适配Android11的挖掘机方案并跑通AP6398SV 2023/12/22 7:54 简略步骤&#xff1a;rootrootrootroot-X99-Turbo:~/3TB$ cat Android11.0.tar.bz2.a* > Android11.0.tar.bz2 rootrootrootroot-X99-Turbo:~/3TB$ tar jxvf Android11.0.tar.…...

iClient for JavaScript如何以mvt矢量瓦片的形式加载数据服务

刘大 这里写目录标题 前言1.iServer中的预览页面2.iClient for JavaScript加载2.1 构建Style2.2 iCient加载2.2.1Leaflet & MapboxGL2.2.2 OpenLayers 前言 在提到查看iServer REST数据服务的概况的时候&#xff0c;大家总会想到说&#xff0c;通过发布对应的地图服务或者…...

全方位掌握卷积神经网络:理解原理 优化实践应用

计算机视觉CV的发展 检测任务 分类与检索 超分辨率重构 医学任务 无人驾驶 整体网络架构 卷积层和激活函数&#xff08;ReLU&#xff09;的组合是网络的核心组成部分 激活函数(ReLU&#xff09; 引入非线性&#xff0c;增强网络的表达能力。 卷积层 负责特征提取 池化层…...

视频批量处理:随机分割方法,创新剪辑方式

随着数字媒体技术的飞速发展&#xff0c;视频处理已是日常生活和工作中不可或缺的一部分。在处理大量视频时&#xff0c;要一种高效、自动化的方法来满足需求。现在一起来看云炫AI智剪如何批量随机分割视频的批量处理方法&#xff0c;给视频剪辑工作带来创新。 视频随机分割4段…...

Gaussian-Splatting 训练并导入Unity中

这个周末玩点啥~&#x1f41e; &#x1f365;环境安装&#x1f4a1;安装C编译工具&#x1f4a1;安装Python&#x1f4a1;安装CUDA&#x1f4a1;添加ffmpeg到环境变量Path添加COLMAP-3.8-windows-cuda文件路径到环境变量Path&#x1f4a1;pytorch安装&#x1f4a1;tqdm 安装&…...

账号和权限管理

目录 一、用户账号和的概述 &#xff08;一&#xff09;用户类别 &#xff08;二&#xff09;组账号 ​编辑&#xff08;三&#xff09;UID号 ​编辑&#xff08;四&#xff09;GID号 &#xff08;五&#xff09;配置文件 二、用户账号管理 &#xff08;一&#xff09;…...

前端---表单标签

1. 表单的介绍 表单用于搜集不同类型的用户输入(用户输入的数据)&#xff0c;然后可以把用户数据提交到web服务器 。 2. 表单相关标签的使用 <form>标签 表示表单标签&#xff0c;定义整体的表单区域 <label>标签 表示表单元素的文字标注标签&#xff0c;定义文字…...

Matplotlib 绘制基本的图表

# 导入包 import pandas as pd import numpy as np import matplotlib.pyplot as plt plt.rcParams[font.sans-serif][SimHei] # 用来显示中文 plt.rcParams[axes.unicode_minus] False # 显示负坐标轴# 读取源数据&#xff0c;后续大部分数据基于词文件的数据&#xff0c;需…...

【JavaScript】异步解决方案的发展历程

✨ 专栏介绍 在现代Web开发中&#xff0c;JavaScript已经成为了不可或缺的一部分。它不仅可以为网页增加交互性和动态性&#xff0c;还可以在后端开发中使用Node.js构建高效的服务器端应用程序。作为一种灵活且易学的脚本语言&#xff0c;JavaScript具有广泛的应用场景&#x…...

前端性能优化三十四:花裤衩模板引入打包分析工具

测量各个插件和loader所花费的时间 (1). install: yarn add speed-measure-webpack-plugin -D(2). Vue-cli 3.x设置: const SpeedMeasurePlugin require(speed-measure-webpack-plugin) const smp new SpeedMeasurePlugin({outputFormat: human }) // 包裹configureWebpac…...

求职小程序列表基础配置-移动端通用列表模块配置教程(1)

求职小程序列表基础配置-移动端通用列表模块配置教程(1) 移动端通用列表页开发指南 准备工作 注册多八多AIIDE账号: 访问多八多AIIDE官网并注册新账号。完成邮箱和手机号的验证。 创建移动应用: 登录后&#xff0c;在工作台新建一个移动应用。填写应用名称&#xff0c;选择“…...

牛客设计模式

提示&#xff1a;文章写完后&#xff0c;目录可以自动生成&#xff0c;如何生成可参考右边的帮助文档 文章目录 前言一、pandas是什么&#xff1f;二、使用步骤 1.引入库2.读入数据总结 前言 提示&#xff1a;这里可以添加本文要记录的大概内容&#xff1a; 例如&#xff1a;…...

从零构建tomcat环境

一、官网构建 1.1 下载 一般来说对于开源软件都有自己的官方网站&#xff0c;并且会附上使用文档以及一些特性和二次构建的方法&#xff0c;那么我们首先的话需要从官网或者tomcat上下载到我们需要的源码包。下载地址&#xff1a;官网、Github。 这里需要声明一下&#xff…...

MySQL递归公用表表达式

&#x1f607;作者介绍&#xff1a;一个有梦想、有理想、有目标的&#xff0c;且渴望能够学有所成的追梦人。 &#x1f386;学习格言&#xff1a;不读书的人,思想就会停止。——狄德罗 ⛪️个人主页&#xff1a;进入博主主页 &#x1f5fc;专栏系列&#xff1a;MySQL知识 &…...

深入 K8s 网络原理(一)- Flannel VXLAN 模式分析

1. 概述 这周集中聊下 K8s 的集群网络原理&#xff0c;我初步考虑分成3个方向&#xff1a; Pod-to-Pod 通信&#xff08;同节点 or 跨节点&#xff09;&#xff0c;以 Flannel VXLAN 模式为例&#xff1b; Pod/External-to-Service 通信&#xff0c;以 iptables 实现为例&…...

fpga 8段4位数码管verilator模拟

8段4位数码管verilator模拟 seg.v module seg(input wire clk,input wire rst_n,output wire[7:0] SEG,output wire[3:0] SEL );reg[7:0] digit[0:15] {8h3f, 8h06, 8h5b, 8h4f, 8h66, 8h6d, 8h7d,8h07,8h7f,8h6f, 8h77, 8h7c, 8h39, 8h5e, 8h79, 8h71};reg[31:0] cnt 32…...

HttpURLConnection发送各种内容格式

通过java.net.HttpURLConnection类实现http post发送Content-Type为multipart/form-data的请求。 json处理使用com.fasterxml.jackson 图片压缩使用net.coobird.thumbnailator log使用org.slf4j 一些静态变量 private static final Charset charset StandardCharsets.UTF_8;…...

摇杆控制人物移动

摇杆控制人物移动 一、UI搭建二、3d模型搭建三、脚本JoyStickBar.csPlayerController.cs 工程在我资源里名字叫Joystickbar.unitypackage [连接](https://download.csdn.net/download/qq_42194657/12043019?spm1001.2014.3001.5503) 一、UI搭建 JoyStickBar是图片背景 JoySt…...

Jenkins自动化部署之后端

准备工作参考本人另外几篇Jenkins相关的文章 新建任务 添加参数配置 字符串参数&#xff1a;分支名称 多选框&#xff1a;项目名称&#xff08;Extended Choice Parameter插件必备&#xff0c;插件安装参考我另外的文章&#xff09; 这个分割规则自定义。只要根据Jenkins…...

Could not resolve com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.28.

1、首先进入阿里云maven仓库&#xff0c;在搜索栏输入无法下载的依赖名称&#xff0c;查询现有版本号&#xff0c;可以看到这里有2.9.34。 2、在build.gradle(Project)的buildscript闭包下替换为阿里云maven仓库&#xff1a; maven { url https://www.jitpack.io } maven { u…...

VB.net复制Ntag213卡写入UID

本示例使用的发卡器&#xff1a;https://item.taobao.com/item.htm?ftt&id615391857885 一、读取旧Ntag卡的UID和数据 Private Sub Button15_Click(sender As Object, e As EventArgs) Handles Button15.Click轻松读卡技术支持:网站:Dim i, j As IntegerDim cardidhex, …...

macOS多出来了:Google云端硬盘、YouTube、表格、幻灯片、Gmail、Google文档等应用

文章目录 问题现象问题原因解决办法 问题现象 macOS启动台&#xff08;Launchpad&#xff09;多出来了&#xff1a;Google云端硬盘、YouTube、表格、幻灯片、Gmail、Google文档等应用。 问题原因 很明显&#xff0c;都是Google家的办公全家桶。这些应用并不是通过独立安装的…...

【项目实战】通过多模态+LangGraph实现PPT生成助手

PPT自动生成系统 基于LangGraph的PPT自动生成系统&#xff0c;可以将Markdown文档自动转换为PPT演示文稿。 功能特点 Markdown解析&#xff1a;自动解析Markdown文档结构PPT模板分析&#xff1a;分析PPT模板的布局和风格智能布局决策&#xff1a;匹配内容与合适的PPT布局自动…...

Module Federation 和 Native Federation 的比较

前言 Module Federation 是 Webpack 5 引入的微前端架构方案&#xff0c;允许不同独立构建的应用在运行时动态共享模块。 Native Federation 是 Angular 官方基于 Module Federation 理念实现的专为 Angular 优化的微前端方案。 概念解析 Module Federation (模块联邦) Modul…...

MySQL账号权限管理指南:安全创建账户与精细授权技巧

在MySQL数据库管理中&#xff0c;合理创建用户账号并分配精确权限是保障数据安全的核心环节。直接使用root账号进行所有操作不仅危险且难以审计操作行为。今天我们来全面解析MySQL账号创建与权限分配的专业方法。 一、为何需要创建独立账号&#xff1f; 最小权限原则&#xf…...

Go 语言并发编程基础:无缓冲与有缓冲通道

在上一章节中&#xff0c;我们了解了 Channel 的基本用法。本章将重点分析 Go 中通道的两种类型 —— 无缓冲通道与有缓冲通道&#xff0c;它们在并发编程中各具特点和应用场景。 一、通道的基本分类 类型定义形式特点无缓冲通道make(chan T)发送和接收都必须准备好&#xff0…...

FFmpeg:Windows系统小白安装及其使用

一、安装 1.访问官网 Download FFmpeg 2.点击版本目录 3.选择版本点击安装 注意这里选择的是【release buids】&#xff0c;注意左上角标题 例如我安装在目录 F:\FFmpeg 4.解压 5.添加环境变量 把你解压后的bin目录&#xff08;即exe所在文件夹&#xff09;加入系统变量…...

R 语言科研绘图第 55 期 --- 网络图-聚类

在发表科研论文的过程中&#xff0c;科研绘图是必不可少的&#xff0c;一张好看的图形会是文章很大的加分项。 为了便于使用&#xff0c;本系列文章介绍的所有绘图都已收录到了 sciRplot 项目中&#xff0c;获取方式&#xff1a; R 语言科研绘图模板 --- sciRplothttps://mp.…...

关于uniapp展示PDF的解决方案

在 UniApp 的 H5 环境中使用 pdf-vue3 组件可以实现完整的 PDF 预览功能。以下是详细实现步骤和注意事项&#xff1a; 一、安装依赖 安装 pdf-vue3 和 PDF.js 核心库&#xff1a; npm install pdf-vue3 pdfjs-dist二、基本使用示例 <template><view class"con…...

Python竞赛环境搭建全攻略

Python环境搭建竞赛技术文章大纲 竞赛背景与意义 竞赛的目的与价值Python在竞赛中的应用场景环境搭建对竞赛效率的影响 竞赛环境需求分析 常见竞赛类型&#xff08;算法、数据分析、机器学习等&#xff09;不同竞赛对Python版本及库的要求硬件与操作系统的兼容性问题 Pyth…...