20230102单独编译Toybrick的TB 您所在的位置:网站首页 使用clang编译内核 20230102单独编译Toybrick的TB

20230102单独编译Toybrick的TB

2023-03-29 22:17| 来源: 网络整理| 查看: 265

20230102单独编译Toybrick的TB-RK3588X开发板的Android12的内核【失败】

现阶段已经验证通过的编译指令: 直接使用build.sh编译了。 rootroot@rootroot-adol-ADOLBOOK-I421UAY-ADOL14UA:~/toybrick3588_discrete$ source build/envsetup.sh  rootroot@rootroot-adol-ADOLBOOK-I421UAY-ADOL14UA:~/toybrick3588_discrete$ lunch Lunch menu... pick a combo:      90. rk3588_s-userdebug Which would you like? [aosp_arm-eng] 90 rootroot@rootroot-adol-ADOLBOOK-I421UAY-ADOL14UA:~/toybrick3588_discrete$ ./build.sh -CKu -d rk3588-toybrick-x0-android

《RK3588_Android12_SDK_Developer_Guide_CN.pdf》 原厂的开发板rk3588-evb1-lp4-v10单独编译内核的方式: cd kernel-5.10 export PATH=../prebuilts/clang/host/linux-x86/clang-r416183b/bin:$PATH alias msk='make CROSS_COMPILE=aarch64-linux-gnu- LLVM=1 LLVM_IAS=1' msk ARCH=arm64 rockchip_defconfig android-11.config pcie_wifi.config msk ARCH=arm64 BOOT_IMG=../rockdev/Image-rk3588_s/boot.img rk3588-evb1-lp4-v10.img -j16

尝试同样的指令编译失败: cd kernel-5.10 export PATH=../prebuilts/clang/host/linux-x86/clang-r416183b/bin:$PATH alias msk='make CROSS_COMPILE=aarch64-linux-gnu- LLVM=1 LLVM_IAS=1' msk ARCH=arm64 rockchip_defconfig android-11.config pcie_wifi.config msk ARCH=arm64 BOOT_IMG=../rockdev/Image-rk3588_s/boot.img rk3588-evb1-lp4-v10.img -j16

选择大端失败:

[BEGIN] 2023/1/2 21:19:20 rootroot@rootroot-adol-ADOLBOOK-I421UAY-ADOL14UA:~/toybrick3588_discrete$ \ > ^C rootroot@rootroot-adol-ADOLBOOK-I421UAY-ADOL14UA:~/toybrick3588_discrete$ ll total 266720 drwxr-xr-x  42 rootroot rootroot      4096  1月  2 21:19 ./ drwxr-x---  29 rootroot rootroot      4096  1月  2 21:18 ../ drwxr-xr-x  26 rootroot rootroot      4096  1月  2 16:47 81原厂RK3588开发板的模式编译内核成功kernel-5.10/ drwxr-xr-x  26 rootroot rootroot      4096  1月  2 16:57 82测试ToyBrick失败了kernel-5.10/ drwxr-xr-x  26 rootroot rootroot      4096  1月  2 17:18 83使用ToyBrick的DTS了kernel-5.10/ drwxr-xr-x  26 rootroot rootroot      4096  1月  2 21:10 84展开指令编译原厂的RK3588开发板kernel-5.10/ lrwxrwxrwx   1 rootroot rootroot        19  2月 22  2022 Android.bp -> build/soong/root.bp drwxr-xr-x  35 rootroot rootroot      4096  2月 22  2022 art/ drwxr-xr-x  14 rootroot rootroot      4096  2月 22  2022 bionic/ drwxr-xr-x   4 rootroot rootroot      4096  2月 22  2022 bootable/ drwxr-xr-x   2 rootroot rootroot      4096  2月 23  2022 .bootstrap/ lrwxrwxrwx   1 rootroot rootroot        26  2月 22  2022 bootstrap.bash -> build/soong/bootstrap.bash* drwxr-xr-x   7 rootroot rootroot      4096  2月 22  2022 build/ lrwxrwxrwx   1 rootroot rootroot        23  2月 22  2022 BUILD -> build/bazel/bazel.BUILD -r-xr-xr-x   1 rootroot rootroot      9024  3月 28  2022 build.sh* -rw-rw-r--   1 rootroot rootroot      9299  1月  2 17:29 build.sh.txt -r-xr-xr-x   1 rootroot rootroot     14109  2月 22  2022 .classpath* drwxr-xr-x   3 rootroot rootroot      4096  2月 22  2022 compatibility/ drwxr-xr-x  13 rootroot rootroot      4096  3月 28  2022 cts/ drwxr-xr-x   7 rootroot rootroot      4096  2月 22  2022 dalvik/ drwxr-xr-x   5 rootroot rootroot      4096  2月 22  2022 developers/ drwxr-xr-x  19 rootroot rootroot      4096  3月 28  2022 development/ drwxr-xr-x  11 rootroot rootroot      4096  2月 22  2022 device/ drwxr-xr-x 357 rootroot rootroot     16384  3月 28  2022 external/ drwxr-xr-x  16 rootroot rootroot      4096  2月 22  2022 frameworks/ drwxr-xr-x  17 rootroot rootroot      4096  2月 22  2022 hardware/ -r--r--r--   1 rootroot rootroot       162  2月 22  2022 javaenv.sh drwxr-xr-x   5 rootroot rootroot      4096  2月 22  2022 kernel/ drwxr-xr-x  26 rootroot rootroot      4096 12月 27 15:36 kernel-5.10/ -rw-rw-r--   1 rootroot rootroot 272853548 12月 29 09:08 kernel-5.10a2.tar.gz drwxr-xr-x  19 rootroot rootroot      4096  2月 22  2022 libcore/ drwxr-xr-x   9 rootroot rootroot      4096  2月 22  2022 libnativehelper/ lrwxrwxrwx   1 rootroot rootroot        19  3月  8  2022 libOpenCL.so -> egl/libGLES_mali.so -r--r--r--   1 rootroot rootroot        92  2月 22  2022 Makefile drwxr-xr-x  10 rootroot rootroot      4096  2月 22  2022 mkcombinedroot/ -r-xr-xr-x   1 rootroot rootroot     10151  2月 22  2022 mkimage_ab.sh* -r-xr-xr-x   1 rootroot rootroot      8544  2月 22  2022 mkimage.sh* drwxrwxr-x   6 rootroot rootroot      4096  1月  2 17:19 out/ drwxr-xr-x   9 rootroot rootroot      4096  2月 22  2022 packages/ drwxr-xr-x   5 rootroot rootroot      4096  2月 22  2022 pdk/ drwxr-xr-x   9 rootroot rootroot      4096  2月 22  2022 platform_testing/ drwxr-xr-x  34 rootroot rootroot      4096  3月 29  2022 prebuilts/ -r-xr-xr-x   1 rootroot rootroot       519  2月 22  2022 restore_patches.sh* drwxr-xr-x   8 rootroot rootroot      4096 12月 29 09:11 rkbin/ drwxr-xr-x   4 rootroot rootroot      4096  2月 22  2022 RKDocs/ drwxr-xr-x   4 rootroot rootroot      4096  2月 22  2022 rkst/ drwxr-xr-x   4 rootroot rootroot      4096  2月 22  2022 RKTools/ drwxrwxr-x   3 rootroot rootroot      4096  1月  2 17:19 rockdev/ drwxr-xr-x  21 rootroot rootroot      4096  2月 22  2022 sdk/ drwxr-xr-x  45 rootroot rootroot      4096  2月 22  2022 system/ drwxr-xr-x  11 rootroot rootroot      4096  2月 22  2022 test/ drwxr-xr-x   4 rootroot rootroot      4096  2月 22  2022 toolchain/ drwxr-xr-x  23 rootroot rootroot      4096  2月 22  2022 tools/ drwxr-xr-x  25 rootroot rootroot      4096  1月  2 17:18 u-boot/ drwxr-xr-x   6 rootroot rootroot      4096  2月 22  2022 vendor/ lrwxrwxrwx   1 rootroot rootroot        27  2月 22  2022 WORKSPACE -> build/bazel/bazel.WORKSPACE rootroot@rootroot-adol-ADOLBOOK-I421UAY-ADOL14UA:~/toybrick3588_discrete$  rootroot@rootroot-adol-ADOLBOOK-I421UAY-ADOL14UA:~/toybrick3588_discrete$  rootroot@rootroot-adol-ADOLBOOK-I421UAY-ADOL14UA:~/toybrick3588_discrete$ cd kernel-5.10/ rootroot@rootroot-adol-ADOLBOOK-I421UAY-ADOL14UA:~/toybrick3588_discrete/kernel-5.10$ ll total 1084 drwxr-xr-x  26 rootroot rootroot   4096 12月 27 15:36 ./ drwxr-xr-x  42 rootroot rootroot   4096  1月  2 21:19 ../ drwxr-xr-x   2 rootroot rootroot   4096  3月 28  2022 android/ drwxr-xr-x  26 rootroot rootroot   4096  3月 28  2022 arch/ drwxr-xr-x   3 rootroot rootroot   4096  3月 30  2022 block/ -rw-r--r--   1 rootroot rootroot   1410  3月 28  2022 boot.its -rw-r--r--   1 rootroot rootroot    296  3月 28  2022 build.config.aarch64 -rw-r--r--   1 rootroot rootroot    429  3月 28  2022 build.config.allmodconfig -rw-r--r--   1 rootroot rootroot    152  3月 28  2022 build.config.allmodconfig.aarch64 -rw-r--r--   1 rootroot rootroot    148  3月 28  2022 build.config.allmodconfig.arm -rw-r--r--   1 rootroot rootroot    151  3月 28  2022 build.config.allmodconfig.x86_64 -rw-r--r--   1 rootroot rootroot   1214  3月 28  2022 build.config.amlogic -rw-r--r--   1 rootroot rootroot    198  3月 28  2022 build.config.arm -rw-r--r--   1 rootroot rootroot    329  3月 28  2022 build.config.common -rw-r--r--   1 rootroot rootroot    795  3月 28  2022 build.config.db845c -rw-r--r--   1 rootroot rootroot     63  3月 28  2022 build.config.gki -rw-r--r--   1 rootroot rootroot   1130  3月 28  2022 build.config.gki.aarch64 -rw-r--r--   1 rootroot rootroot    638  3月 28  2022 build.config.gki.aarch64.fips140 -rw-r--r--   1 rootroot rootroot    230  3月 28  2022 build.config.gki.aarch64.fips140_eval_testing -rw-r--r--   1 rootroot rootroot    106  3月 28  2022 build.config.gki-debug.aarch64 -rw-r--r--   1 rootroot rootroot    105  3月 28  2022 build.config.gki-debug.x86_64 -rw-r--r--   1 rootroot rootroot    664  3月 28  2022 build.config.gki_kasan -rw-r--r--   1 rootroot rootroot    148  3月 28  2022 build.config.gki_kasan.aarch64 -rw-r--r--   1 rootroot rootroot    148  3月 28  2022 build.config.gki_kasan.x86_64 -rw-r--r--   1 rootroot rootroot    629  3月 28  2022 build.config.gki_kprobes -rw-r--r--   1 rootroot rootroot    151  3月 28  2022 build.config.gki_kprobes.aarch64 -rw-r--r--   1 rootroot rootroot    150  3月 28  2022 build.config.gki_kprobes.x86_64 -rw-r--r--   1 rootroot rootroot    142  3月 28  2022 build.config.gki.x86_64 -rw-r--r--   1 rootroot rootroot    740  3月 28  2022 build.config.hikey960 -rw-r--r--   1 rootroot rootroot    544  3月 28  2022 build.config.khwasan -rw-r--r--   1 rootroot rootroot    476  3月 28  2022 build.config.rockchip -rw-r--r--   1 rootroot rootroot    274  3月 28  2022 build.config.x86_64 drwxr-xr-x   2 rootroot rootroot   4096  3月 30  2022 certs/ -rw-r--r--   1 rootroot rootroot  16673  3月 28  2022 .clang-format -rw-r--r--   1 rootroot rootroot     59  3月 28  2022 .cocciconfig -rw-r--r--   1 rootroot rootroot    496  3月 28  2022 COPYING -rw-r--r--   1 rootroot rootroot 100478  3月 28  2022 CREDITS drwxr-xr-x   4 rootroot rootroot   4096  3月 30  2022 crypto/ drwxr-xr-x  82 rootroot rootroot   4096  3月 28  2022 Documentation/ drwxr-xr-x 145 rootroot rootroot   4096  3月 30  2022 drivers/ -r--r--r--   1 rootroot rootroot      0  3月 28  2022 .find-ignore drwxr-xr-x  81 rootroot rootroot   4096  3月 30  2022 fs/ -rw-r--r--   1 rootroot rootroot     71  3月 28  2022 .get_maintainer.ignore lrwxrwxrwx   1 rootroot rootroot     33  3月 28  2022 .git -> ../.repo/projects/kernel-5.10.git -rw-r--r--   1 rootroot rootroot     62  3月 28  2022 .gitattributes -rw-r--r--   1 rootroot rootroot   1944  3月 28  2022 .gitignore drwxr-xr-x  29 rootroot rootroot   4096  3月 30  2022 include/ drwxr-xr-x   2 rootroot rootroot   4096  3月 30  2022 init/ drwxr-xr-x   2 rootroot rootroot   4096  3月 30  2022 ipc/ -rw-r--r--   1 rootroot rootroot   1327  3月 28  2022 Kbuild -rw-r--r--   1 rootroot rootroot    555  3月 28  2022 Kconfig drwxr-xr-x  20 rootroot rootroot   4096  3月 30  2022 kernel/ drwxr-xr-x   2 rootroot rootroot   4096  3月 30  2022 kernel-5.10/ drwxr-xr-x  21 rootroot rootroot  12288  3月 30  2022 lib/ drwxr-xr-x   6 rootroot rootroot   4096  3月 28  2022 LICENSES/ -rw-r--r--   1 rootroot rootroot    376  3月 30  2022 local.diff -rw-r--r--   1 rootroot rootroot  12936  3月 28  2022 logo.bmp -rw-r--r--   1 rootroot rootroot  22364  3月 28  2022 logo_kernel.bmp -rw-r--r--   1 rootroot rootroot  18204  3月 28  2022 .mailmap -rw-r--r--   1 rootroot rootroot 577543  3月 28  2022 MAINTAINERS -rw-r--r--   1 rootroot rootroot  68514  3月 28  2022 Makefile drwxr-xr-x   4 rootroot rootroot   4096  3月 30  2022 mm/ drwxr-xr-x  72 rootroot rootroot   4096  3月 30  2022 net/ -rw-r--r--   1 rootroot rootroot    438  3月 28  2022 OWNERS -rw-r--r--   1 rootroot rootroot    727  3月 28  2022 README -rw-r--r--   1 rootroot rootroot   6402  3月 28  2022 README.md drwxr-xr-x  33 rootroot rootroot   4096  3月 28  2022 samples/ -rw-r--r--   1 rootroot rootroot      0  3月 28  2022 .scmversion drwxr-xr-x  17 rootroot rootroot   4096  3月 30  2022 scripts/ drwxr-xr-x  13 rootroot rootroot   4096  3月 30  2022 security/ drwxr-xr-x  26 rootroot rootroot   4096  3月 30  2022 sound/ drwxr-xr-x  37 rootroot rootroot   4096  3月 28  2022 tools/ drwxr-xr-x   3 rootroot rootroot   4096  3月 30  2022 usr/ drwxr-xr-x   4 rootroot rootroot   4096  3月 30  2022 virt/ rootroot@rootroot-adol-ADOLBOOK-I421UAY-ADOL14UA:~/toybrick3588_discrete/kernel-5.10$  rootroot@rootroot-adol-ADOLBOOK-I421UAY-ADOL14UA:~/toybrick3588_discrete/kernel-5.10$  rootroot@rootroot-adol-ADOLBOOK-I421UAY-ADOL14UA:~/toybrick3588_discrete/kernel-5.10$  rootroot@rootroot-adol-ADOLBOOK-I421UAY-ADOL14UA:~/toybrick3588_discrete/kernel-5.10$  rootroot@rootroot-adol-ADOLBOOK-I421UAY-ADOL14UA:~/toybrick3588_discrete/kernel-5.10$ export PATH=../prebuilts/clang/host/linux-x86/clang-r416183b/bin:$PATH rootroot@rootroot-adol-ADOLBOOK-I421UAY-ADOL14UA:~/toybrick3588_discrete/kernel-5.10$  rootroot@rootroot-adol-ADOLBOOK-I421UAY-ADOL14UA:~/toybrick3588_discrete/kernel-5.10$ alias msk='make CROSS_COMPILE=aarch64-linux-gnu- LLVM=1 LLVM_IAS=1' rootroot@rootroot-adol-ADOLBOOK-I421UAY-ADOL14UA:~/toybrick3588_discrete/kernel-5.10$  rootroot@rootroot-adol-ADOLBOOK-I421UAY-ADOL14UA:~/toybrick3588_discrete/kernel-5.10$ msk ARCH=arm64 rockchip_defconfig android-11.config pcie_wifi.config   HOSTCC  scripts/basic/fixdep   HOSTCC  scripts/kconfig/conf.o   HOSTCC  scripts/kconfig/confdata.o   HOSTCC  scripts/kconfig/expr.o   LEX     scripts/kconfig/lexer.lex.c   YACC    scripts/kconfig/parser.tab.[ch]   HOSTCC  scripts/kconfig/lexer.lex.o   HOSTCC  scripts/kconfig/parser.tab.o   HOSTCC  scripts/kconfig/preprocess.o   HOSTCC  scripts/kconfig/symbol.o   HOSTCC  scripts/kconfig/util.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_IKHEADERS is redefined by fragment ./kernel/configs/android-11.config: Previous value: CONFIG_IKHEADERS=m New value: CONFIG_IKHEADERS=y

Value of CONFIG_GKI_HIDDEN_GPU_CONFIGS is redefined by fragment ./kernel/configs/android-11.config: Previous value: # CONFIG_GKI_HIDDEN_GPU_CONFIGS is not set New value: CONFIG_GKI_HIDDEN_GPU_CONFIGS=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

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

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

# # merged configuration written to .config (needs make) # # # configuration written to .config # Using .config as base Merging ./kernel/configs/pcie_wifi.config # # merged configuration written to .config (needs make) # # # configuration written to .config # rootroot@rootroot-adol-ADOLBOOK-I421UAY-ADOL14UA:~/toybrick3588_discrete/kernel-5.10$  rootroot@rootroot-adol-ADOLBOOK-I421UAY-ADOL14UA:~/toybrick3588_discrete/kernel-5.10$  rootroot@rootroot-adol-ADOLBOOK-I421UAY-ADOL14UA:~/toybrick3588_discrete/kernel-5.10$  rootroot@rootroot-adol-ADOLBOOK-I421UAY-ADOL14UA:~/toybrick3588_discrete/kernel-5.10$ make ARCH=arm64 rk3588-toybrick-x0-android.img -j16 arch/arm64/Makefile:25: ld does not support --fix-cortex-a53-843419; kernel may be susceptible to erratum   SYNC    include/config/auto.conf.cmd   HOSTCC  scripts/basic/fixdep   HOSTCC  scripts/kconfig/conf.o   HOSTCC  scripts/kconfig/expr.o   HOSTCC  scripts/kconfig/confdata.o   HOSTCC  scripts/kconfig/lexer.lex.o   HOSTCC  scripts/kconfig/parser.tab.o   HOSTCC  scripts/kconfig/preprocess.o   HOSTCC  scripts/kconfig/symbol.o   HOSTCC  scripts/kconfig/util.o   HOSTLD  scripts/kconfig/conf * * Restart config... * * * Kernel Features * Page size > 1. 4KB (ARM64_4K_PAGES)   2. 16KB (ARM64_16K_PAGES)   3. 64KB (ARM64_64K_PAGES) choice[1-3?]: 1 Virtual address space size > 1. 39-bit (ARM64_VA_BITS_39)   2. 48-bit (ARM64_VA_BITS_48) choice[1-2?]: 1 Physical address space size > 1. 48-bit (ARM64_PA_BITS_48) choice[1]: 1 Endianness   1. Build big-endian kernel (CPU_BIG_ENDIAN) (NEW) > 2. Build little-endian kernel (CPU_LITTLE_ENDIAN) choice[1-2?]: 2 Multi-core scheduler support (SCHED_MC) [Y/n/?] y SMT scheduler support (SCHED_SMT) [N/y/?] n Maximum number of CPUs (2-4096) (NR_CPUS) [8] 8 Support for hot-pluggable CPUs (HOTPLUG_CPU) [Y/?] y NUMA Memory Allocation and Scheduler Support (NUMA) [N/y/?] n Timer frequency   1. 100 HZ (HZ_100)   2. 250 HZ (HZ_250) > 3. 300 HZ (HZ_300)   4. 1000 HZ (HZ_1000) choice[1-4?]: 3 Enable paravirtualization code (PARAVIRT) [N/y/?] n Paravirtual steal time accounting (PARAVIRT_TIME_ACCOUNTING) [N/y/?] n kexec system call (KEXEC) [N/y/?] n kexec file based system call (KEXEC_FILE) [N/y/?] n Build kdump crash kernel (CRASH_DUMP) [N/y/?] n Xen guest support on ARM64 (XEN) [N/y/?] n Unmap kernel when running in userspace (aka "KAISER") (UNMAP_KERNEL_AT_EL0) [Y/n/?] y Apply r/o permissions of VM areas also to their linear aliases (RODATA_FULL_DEFAULT_ENABLED) [Y/n/?] y Emulate Privileged Access Never using TTBR0_EL1 switching (ARM64_SW_TTBR0_PAN) [Y/n/?] y Enable the tagged user addresses syscall ABI (ARM64_TAGGED_ADDR_ABI) [Y/n/?] y ARM Scalable Vector Extension support (ARM64_SVE) [Y/n/?] y Use PLTs to allow module memory to spill over into vmalloc area (ARM64_MODULE_PLTS) [Y/?] y Support for NMI-like interrupts (ARM64_PSEUDO_NMI) [Y/n/?] y   Debug interrupt priority masking (ARM64_DEBUG_PRIORITY_MASKING) [N/y/?] n Build a relocatable kernel image (RELOCATABLE) [Y/?] y Randomize the address of the kernel image (RANDOMIZE_BASE) [Y/n/?] y   Randomize the module region over a 4 GB range (RANDOMIZE_MODULE_REGION_FULL) [Y/n/?] y arch/arm64/Makefile:25: ld does not support --fix-cortex-a53-843419; kernel may be susceptible to erratum arch/arm64/Makefile:33: LSE atomics not supported by binutils arch/arm64/Makefile:44: Detected assembler with broken .inst; disassembly will be unreliable arch/arm64/Makefile:25: ld does not support --fix-cortex-a53-843419; kernel may be susceptible to erratum arch/arm64/Makefile:33: LSE atomics not supported by binutils arch/arm64/Makefile:44: Detected assembler with broken .inst; disassembly will be unreliable   UPD     include/config/kernel.release   HOSTCC  scripts/dtc/dtc.o   HOSTCC  scripts/dtc/flattree.o   HOSTCC  scripts/dtc/fstree.o   HOSTCC  scripts/dtc/data.o   HOSTCC  scripts/dtc/livetree.o   HOSTCC  scripts/dtc/treesource.o   HOSTCC  scripts/dtc/srcpos.o   HOSTCC  scripts/dtc/checks.o   HOSTCC  scripts/dtc/util.o   LEX     scripts/dtc/dtc-lexer.lex.c   YACC    scripts/dtc/dtc-parser.tab.[ch]   UPD     include/generated/uapi/linux/version.h   UPD     include/generated/utsrelease.h   HOSTCC  scripts/dtc/dtc-lexer.lex.o   HOSTCC  scripts/dtc/dtc-parser.tab.o   HOSTLD  scripts/dtc/dtc   DTC     arch/arm64/boot/dts/rockchip/rk3588-toybrick-x0-android.dtb   HOSTCC  scripts/kallsyms   HOSTCC  scripts/resource_tool   HOSTCC  scripts/sorttable   HOSTCC  scripts/asn1_compiler   HOSTCC  scripts/genksyms/genksyms.o   YACC    scripts/genksyms/parse.tab.[ch]   LEX     scripts/genksyms/lex.lex.c   HOSTCC  scripts/selinux/genheaders/genheaders   HOSTCC  scripts/selinux/mdp/mdp   HOSTCC  scripts/extract-cert scripts/extract-cert.c: In function ‘display_openssl_errors’: scripts/extract-cert.c:46:9: warning: ‘ERR_get_error_line’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]    46 |         while ((e = ERR_get_error_line(&file, &line))) {       |         ^~~~~ In file included from scripts/extract-cert.c:23: /usr/include/openssl/err.h:411:15: note: declared here   411 | unsigned long ERR_get_error_line(const char **file, int *line);       |               ^~~~~~~~~~~~~~~~~~ scripts/extract-cert.c: In function ‘drain_openssl_errors’: scripts/extract-cert.c:60:9: warning: ‘ERR_get_error_line’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]    60 |         while (ERR_get_error_line(&file, &line)) {}       |         ^~~~~ In file included from scripts/extract-cert.c:23: /usr/include/openssl/err.h:411:15: note: declared here   411 | unsigned long ERR_get_error_line(const char **file, int *line);       |               ^~~~~~~~~~~~~~~~~~ scripts/extract-cert.c: In function ‘main’: scripts/extract-cert.c:130:17: warning: ‘ENGINE_load_builtin_engines’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]   130 |                 ENGINE_load_builtin_engines();       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from scripts/extract-cert.c:24: /usr/include/openssl/engine.h:358:28: note: declared here   358 | OSSL_DEPRECATEDIN_3_0 void ENGINE_load_builtin_engines(void);       |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~ scripts/extract-cert.c:132:17: warning: ‘ENGINE_by_id’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]   132 |                 e = ENGINE_by_id("pkcs11");       |                 ^ In file included from scripts/extract-cert.c:24: /usr/include/openssl/engine.h:336:31: note: declared here   336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id);       |                               ^~~~~~~~~~~~ scripts/extract-cert.c:134:17: warning: ‘ENGINE_init’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]   134 |                 if (ENGINE_init(e))       |                 ^~ In file included from scripts/extract-cert.c:24: /usr/include/openssl/engine.h:620:27: note: declared here   620 | OSSL_DEPRECATEDIN_3_0 int ENGINE_init(ENGINE *e);       |                           ^~~~~~~~~~~ scripts/extract-cert.c:139:25: warning: ‘ENGINE_ctrl_cmd_string’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]   139 |                         ERR(!ENGINE_ctrl_cmd_string(e, "PIN", key_pass, 0), "Set PKCS#11 PIN");       |                         ^~~ In file included from scripts/extract-cert.c:24: /usr/include/openssl/engine.h:479:5: note: declared here   479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg,       |     ^~~~~~~~~~~~~~~~~~~~~~ scripts/extract-cert.c:140:17: warning: ‘ENGINE_ctrl_cmd’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]   140 |                 ENGINE_ctrl_cmd(e, "LOAD_CERT_CTRL", 0, &parms, NULL, 1);       |                 ^~~~~~~~~~~~~~~ In file included from scripts/extract-cert.c:24: /usr/include/openssl/engine.h:450:27: note: declared here   450 | OSSL_DEPRECATEDIN_3_0 int ENGINE_ctrl_cmd(ENGINE *e, const char *cmd_name,       |                           ^~~~~~~~~~~~~~~   HOSTCC  scripts/genksyms/parse.tab.o   HOSTCC  scripts/genksyms/lex.lex.o   HOSTLD  scripts/genksyms/genksyms   CC      scripts/mod/empty.o   HOSTCC  scripts/mod/mk_elfconfig   CC      scripts/mod/devicetable-offsets.s gcc: error: unrecognized command-line option '-mlittle-endian' make[2]: *** [scripts/Makefile.build:273: scripts/mod/empty.o] Error 1 make[2]: *** Waiting for unfinished jobs.... gcc: error: unrecognized command-line option '-mlittle-endian' make[2]: *** [scripts/Makefile.build:117: scripts/mod/devicetable-offsets.s] Error 1 make[1]: *** [Makefile:1321: prepare0] Error 2 make: *** [arch/arm64/Makefile:214: rk3588-toybrick-x0-android.img] Error 2 rootroot@rootroot-adol-ADOLBOOK-I421UAY-ADOL14UA:~/toybrick3588_discrete/kernel-5.10$  rootroot@rootroot-adol-ADOLBOOK-I421UAY-ADOL14UA:~/toybrick3588_discrete/kernel-5.10$ 

[END] 2023/1/2 21:23:36  

 

 

 

 

 

选择小端也是失败:

[BEGIN] 2023/1/2 21:26:19 rootroot@rootroot-adol-ADOLBOOK-I421UAY-ADOL14UA:~/toybrick3588_discrete$  rootroot@rootroot-adol-ADOLBOOK-I421UAY-ADOL14UA:~/toybrick3588_discrete$  rootroot@rootroot-adol-ADOLBOOK-I421UAY-ADOL14UA:~/toybrick3588_discrete$ ll total 266724 drwxr-xr-x  43 rootroot rootroot      4096  1月  2 21:26 ./ drwxr-x---  29 rootroot rootroot      4096  1月  2 21:26 ../ drwxr-xr-x  26 rootroot rootroot      4096  1月  2 21:22 50大端编译TB3588出错了kernel-5.10/ drwxr-xr-x  26 rootroot rootroot      4096  1月  2 16:47 81原厂RK3588开发板的模式编译内核成功kernel-5.10/ drwxr-xr-x  26 rootroot rootroot      4096  1月  2 16:57 82测试ToyBrick失败了kernel-5.10/ drwxr-xr-x  26 rootroot rootroot      4096  1月  2 17:18 83使用ToyBrick的DTS了kernel-5.10/ drwxr-xr-x  26 rootroot rootroot      4096  1月  2 21:10 84展开指令编译原厂的RK3588开发板kernel-5.10/ lrwxrwxrwx   1 rootroot rootroot        19  2月 22  2022 Android.bp -> build/soong/root.bp drwxr-xr-x  35 rootroot rootroot      4096  2月 22  2022 art/ drwxr-xr-x  14 rootroot rootroot      4096  2月 22  2022 bionic/ drwxr-xr-x   4 rootroot rootroot      4096  2月 22  2022 bootable/ drwxr-xr-x   2 rootroot rootroot      4096  2月 23  2022 .bootstrap/ lrwxrwxrwx   1 rootroot rootroot        26  2月 22  2022 bootstrap.bash -> build/soong/bootstrap.bash* drwxr-xr-x   7 rootroot rootroot      4096  2月 22  2022 build/ lrwxrwxrwx   1 rootroot rootroot        23  2月 22  2022 BUILD -> build/bazel/bazel.BUILD -r-xr-xr-x   1 rootroot rootroot      9024  3月 28  2022 build.sh* -rw-rw-r--   1 rootroot rootroot      9299  1月  2 17:29 build.sh.txt -r-xr-xr-x   1 rootroot rootroot     14109  2月 22  2022 .classpath* drwxr-xr-x   3 rootroot rootroot      4096  2月 22  2022 compatibility/ drwxr-xr-x  13 rootroot rootroot      4096  3月 28  2022 cts/ drwxr-xr-x   7 rootroot rootroot      4096  2月 22  2022 dalvik/ drwxr-xr-x   5 rootroot rootroot      4096  2月 22  2022 developers/ drwxr-xr-x  19 rootroot rootroot      4096  3月 28  2022 development/ drwxr-xr-x  11 rootroot rootroot      4096  2月 22  2022 device/ drwxr-xr-x 357 rootroot rootroot     16384  3月 28  2022 external/ drwxr-xr-x  16 rootroot rootroot      4096  2月 22  2022 frameworks/ drwxr-xr-x  17 rootroot rootroot      4096  2月 22  2022 hardware/ -r--r--r--   1 rootroot rootroot       162  2月 22  2022 javaenv.sh drwxr-xr-x   5 rootroot rootroot      4096  2月 22  2022 kernel/ drwxr-xr-x  26 rootroot rootroot      4096 12月 27 15:36 kernel-5.10/ -rw-rw-r--   1 rootroot rootroot 272853548 12月 29 09:08 kernel-5.10a2.tar.gz drwxr-xr-x  19 rootroot rootroot      4096  2月 22  2022 libcore/ drwxr-xr-x   9 rootroot rootroot      4096  2月 22  2022 libnativehelper/ lrwxrwxrwx   1 rootroot rootroot        19  3月  8  2022 libOpenCL.so -> egl/libGLES_mali.so -r--r--r--   1 rootroot rootroot        92  2月 22  2022 Makefile drwxr-xr-x  10 rootroot rootroot      4096  2月 22  2022 mkcombinedroot/ -r-xr-xr-x   1 rootroot rootroot     10151  2月 22  2022 mkimage_ab.sh* -r-xr-xr-x   1 rootroot rootroot      8544  2月 22  2022 mkimage.sh* drwxrwxr-x   6 rootroot rootroot      4096  1月  2 17:19 out/ drwxr-xr-x   9 rootroot rootroot      4096  2月 22  2022 packages/ drwxr-xr-x   5 rootroot rootroot      4096  2月 22  2022 pdk/ drwxr-xr-x   9 rootroot rootroot      4096  2月 22  2022 platform_testing/ drwxr-xr-x  34 rootroot rootroot      4096  3月 29  2022 prebuilts/ -r-xr-xr-x   1 rootroot rootroot       519  2月 22  2022 restore_patches.sh* drwxr-xr-x   8 rootroot rootroot      4096 12月 29 09:11 rkbin/ drwxr-xr-x   4 rootroot rootroot      4096  2月 22  2022 RKDocs/ drwxr-xr-x   4 rootroot rootroot      4096  2月 22  2022 rkst/ drwxr-xr-x   4 rootroot rootroot      4096  2月 22  2022 RKTools/ drwxrwxr-x   3 rootroot rootroot      4096  1月  2 17:19 rockdev/ drwxr-xr-x  21 rootroot rootroot      4096  2月 22  2022 sdk/ drwxr-xr-x  45 rootroot rootroot      4096  2月 22  2022 system/ drwxr-xr-x  11 rootroot rootroot      4096  2月 22  2022 test/ drwxr-xr-x   4 rootroot rootroot      4096  2月 22  2022 toolchain/ drwxr-xr-x  23 rootroot rootroot      4096  2月 22  2022 tools/ drwxr-xr-x  25 rootroot rootroot      4096  1月  2 17:18 u-boot/ drwxr-xr-x   6 rootroot rootroot      4096  2月 22  2022 vendor/ lrwxrwxrwx   1 rootroot rootroot        27  2月 22  2022 WORKSPACE -> build/bazel/bazel.WORKSPACE rootroot@rootroot-adol-ADOLBOOK-I421UAY-ADOL14UA:~/toybrick3588_discrete$  rootroot@rootroot-adol-ADOLBOOK-I421UAY-ADOL14UA:~/toybrick3588_discrete$  rootroot@rootroot-adol-ADOLBOOK-I421UAY-ADOL14UA:~/toybrick3588_discrete$ cd kernel-5.10/ rootroot@rootroot-adol-ADOLBOOK-I421UAY-ADOL14UA:~/toybrick3588_discrete/kernel-5.10$  rootroot@rootroot-adol-ADOLBOOK-I421UAY-ADOL14UA:~/toybrick3588_discrete/kernel-5.10$ ll total 1084 drwxr-xr-x  26 rootroot rootroot   4096 12月 27 15:36 ./ drwxr-xr-x  43 rootroot rootroot   4096  1月  2 21:26 ../ drwxr-xr-x   2 rootroot rootroot   4096  3月 28  2022 android/ drwxr-xr-x  26 rootroot rootroot   4096  3月 28  2022 arch/ drwxr-xr-x   3 rootroot rootroot   4096  3月 30  2022 block/ -rw-r--r--   1 rootroot rootroot   1410  3月 28  2022 boot.its -rw-r--r--   1 rootroot rootroot    296  3月 28  2022 build.config.aarch64 -rw-r--r--   1 rootroot rootroot    429  3月 28  2022 build.config.allmodconfig -rw-r--r--   1 rootroot rootroot    152  3月 28  2022 build.config.allmodconfig.aarch64 -rw-r--r--   1 rootroot rootroot    148  3月 28  2022 build.config.allmodconfig.arm -rw-r--r--   1 rootroot rootroot    151  3月 28  2022 build.config.allmodconfig.x86_64 -rw-r--r--   1 rootroot rootroot   1214  3月 28  2022 build.config.amlogic -rw-r--r--   1 rootroot rootroot    198  3月 28  2022 build.config.arm -rw-r--r--   1 rootroot rootroot    329  3月 28  2022 build.config.common -rw-r--r--   1 rootroot rootroot    795  3月 28  2022 build.config.db845c -rw-r--r--   1 rootroot rootroot     63  3月 28  2022 build.config.gki -rw-r--r--   1 rootroot rootroot   1130  3月 28  2022 build.config.gki.aarch64 -rw-r--r--   1 rootroot rootroot    638  3月 28  2022 build.config.gki.aarch64.fips140 -rw-r--r--   1 rootroot rootroot    230  3月 28  2022 build.config.gki.aarch64.fips140_eval_testing -rw-r--r--   1 rootroot rootroot    106  3月 28  2022 build.config.gki-debug.aarch64 -rw-r--r--   1 rootroot rootroot    105  3月 28  2022 build.config.gki-debug.x86_64 -rw-r--r--   1 rootroot rootroot    664  3月 28  2022 build.config.gki_kasan -rw-r--r--   1 rootroot rootroot    148  3月 28  2022 build.config.gki_kasan.aarch64 -rw-r--r--   1 rootroot rootroot    148  3月 28  2022 build.config.gki_kasan.x86_64 -rw-r--r--   1 rootroot rootroot    629  3月 28  2022 build.config.gki_kprobes -rw-r--r--   1 rootroot rootroot    151  3月 28  2022 build.config.gki_kprobes.aarch64 -rw-r--r--   1 rootroot rootroot    150  3月 28  2022 build.config.gki_kprobes.x86_64 -rw-r--r--   1 rootroot rootroot    142  3月 28  2022 build.config.gki.x86_64 -rw-r--r--   1 rootroot rootroot    740  3月 28  2022 build.config.hikey960 -rw-r--r--   1 rootroot rootroot    544  3月 28  2022 build.config.khwasan -rw-r--r--   1 rootroot rootroot    476  3月 28  2022 build.config.rockchip -rw-r--r--   1 rootroot rootroot    274  3月 28  2022 build.config.x86_64 drwxr-xr-x   2 rootroot rootroot   4096  3月 30  2022 certs/ -rw-r--r--   1 rootroot rootroot  16673  3月 28  2022 .clang-format -rw-r--r--   1 rootroot rootroot     59  3月 28  2022 .cocciconfig -rw-r--r--   1 rootroot rootroot    496  3月 28  2022 COPYING -rw-r--r--   1 rootroot rootroot 100478  3月 28  2022 CREDITS drwxr-xr-x   4 rootroot rootroot   4096  3月 30  2022 crypto/ drwxr-xr-x  82 rootroot rootroot   4096  3月 28  2022 Documentation/ drwxr-xr-x 145 rootroot rootroot   4096  3月 30  2022 drivers/ -r--r--r--   1 rootroot rootroot      0  3月 28  2022 .find-ignore drwxr-xr-x  81 rootroot rootroot   4096  3月 30  2022 fs/ -rw-r--r--   1 rootroot rootroot     71  3月 28  2022 .get_maintainer.ignore lrwxrwxrwx   1 rootroot rootroot     33  3月 28  2022 .git -> ../.repo/projects/kernel-5.10.git -rw-r--r--   1 rootroot rootroot     62  3月 28  2022 .gitattributes -rw-r--r--   1 rootroot rootroot   1944  3月 28  2022 .gitignore drwxr-xr-x  29 rootroot rootroot   4096  3月 30  2022 include/ drwxr-xr-x   2 rootroot rootroot   4096  3月 30  2022 init/ drwxr-xr-x   2 rootroot rootroot   4096  3月 30  2022 ipc/ -rw-r--r--   1 rootroot rootroot   1327  3月 28  2022 Kbuild -rw-r--r--   1 rootroot rootroot    555  3月 28  2022 Kconfig drwxr-xr-x  20 rootroot rootroot   4096  3月 30  2022 kernel/ drwxr-xr-x   2 rootroot rootroot   4096  3月 30  2022 kernel-5.10/ drwxr-xr-x  21 rootroot rootroot  12288  3月 30  2022 lib/ drwxr-xr-x   6 rootroot rootroot   4096  3月 28  2022 LICENSES/ -rw-r--r--   1 rootroot rootroot    376  3月 30  2022 local.diff -rw-r--r--   1 rootroot rootroot  12936  3月 28  2022 logo.bmp -rw-r--r--   1 rootroot rootroot  22364  3月 28  2022 logo_kernel.bmp -rw-r--r--   1 rootroot rootroot  18204  3月 28  2022 .mailmap -rw-r--r--   1 rootroot rootroot 577543  3月 28  2022 MAINTAINERS -rw-r--r--   1 rootroot rootroot  68514  3月 28  2022 Makefile drwxr-xr-x   4 rootroot rootroot   4096  3月 30  2022 mm/ drwxr-xr-x  72 rootroot rootroot   4096  3月 30  2022 net/ -rw-r--r--   1 rootroot rootroot    438  3月 28  2022 OWNERS -rw-r--r--   1 rootroot rootroot    727  3月 28  2022 README -rw-r--r--   1 rootroot rootroot   6402  3月 28  2022 README.md drwxr-xr-x  33 rootroot rootroot   4096  3月 28  2022 samples/ -rw-r--r--   1 rootroot rootroot      0  3月 28  2022 .scmversion drwxr-xr-x  17 rootroot rootroot   4096  3月 30  2022 scripts/ drwxr-xr-x  13 rootroot rootroot   4096  3月 30  2022 security/ drwxr-xr-x  26 rootroot rootroot   4096  3月 30  2022 sound/ drwxr-xr-x  37 rootroot rootroot   4096  3月 28  2022 tools/ drwxr-xr-x   3 rootroot rootroot   4096  3月 30  2022 usr/ drwxr-xr-x   4 rootroot rootroot   4096  3月 30  2022 virt/ rootroot@rootroot-adol-ADOLBOOK-I421UAY-ADOL14UA:~/toybrick3588_discrete/kernel-5.10$  rootroot@rootroot-adol-ADOLBOOK-I421UAY-ADOL14UA:~/toybrick3588_discrete/kernel-5.10$  rootroot@rootroot-adol-ADOLBOOK-I421UAY-ADOL14UA:~/toybrick3588_discrete/kernel-5.10$ export PATH=../prebuilts/clang/host/linux-x86/clang-r416183b/bin:$PATH rootroot@rootroot-adol-ADOLBOOK-I421UAY-ADOL14UA:~/toybrick3588_discrete/kernel-5.10$  rootroot@rootroot-adol-ADOLBOOK-I421UAY-ADOL14UA:~/toybrick3588_discrete/kernel-5.10$ alias msk='make CROSS_COMPILE=aarch64-linux-gnu- LLVM=1 LLVM_IAS=1' rootroot@rootroot-adol-ADOLBOOK-I421UAY-ADOL14UA:~/toybrick3588_discrete/kernel-5.10$  rootroot@rootroot-adol-ADOLBOOK-I421UAY-ADOL14UA:~/toybrick3588_discrete/kernel-5.10$ msk ARCH=arm64 rockchip_defconfig android-11.config pcie_wifi.config   HOSTCC  scripts/basic/fixdep   HOSTCC  scripts/kconfig/conf.o   HOSTCC  scripts/kconfig/confdata.o   HOSTCC  scripts/kconfig/expr.o   LEX     scripts/kconfig/lexer.lex.c   YACC    scripts/kconfig/parser.tab.[ch]   HOSTCC  scripts/kconfig/lexer.lex.o   HOSTCC  scripts/kconfig/parser.tab.o   HOSTCC  scripts/kconfig/preprocess.o   HOSTCC  scripts/kconfig/symbol.o   HOSTCC  scripts/kconfig/util.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_IKHEADERS is redefined by fragment ./kernel/configs/android-11.config: Previous value: CONFIG_IKHEADERS=m New value: CONFIG_IKHEADERS=y

Value of CONFIG_GKI_HIDDEN_GPU_CONFIGS is redefined by fragment ./kernel/configs/android-11.config: Previous value: # CONFIG_GKI_HIDDEN_GPU_CONFIGS is not set New value: CONFIG_GKI_HIDDEN_GPU_CONFIGS=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

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

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

# # merged configuration written to .config (needs make) # # # configuration written to .config # Using .config as base Merging ./kernel/configs/pcie_wifi.config # # merged configuration written to .config (needs make) # # # configuration written to .config # rootroot@rootroot-adol-ADOLBOOK-I421UAY-ADOL14UA:~/toybrick3588_discrete/kernel-5.10$  rootroot@rootroot-adol-ADOLBOOK-I421UAY-ADOL14UA:~/toybrick3588_discrete/kernel-5.10$  rootroot@rootroot-adol-ADOLBOOK-I421UAY-ADOL14UA:~/toybrick3588_discrete/kernel-5.10$ make ARCH=arm64 rk3588-toybrick-x0-android.img -j16 arch/arm64/Makefile:25: ld does not support --fix-cortex-a53-843419; kernel may be susceptible to erratum   SYNC    include/config/auto.conf.cmd   HOSTCC  scripts/basic/fixdep   HOSTCC  scripts/kconfig/conf.o   HOSTCC  scripts/kconfig/confdata.o   HOSTCC  scripts/kconfig/expr.o   HOSTCC  scripts/kconfig/lexer.lex.o   HOSTCC  scripts/kconfig/parser.tab.o   HOSTCC  scripts/kconfig/preprocess.o   HOSTCC  scripts/kconfig/symbol.o   HOSTCC  scripts/kconfig/util.o   HOSTLD  scripts/kconfig/conf * * Restart config... * * * Kernel Features * Page size > 1. 4KB (ARM64_4K_PAGES)   2. 16KB (ARM64_16K_PAGES)   3. 64KB (ARM64_64K_PAGES) choice[1-3?]: 1 Virtual address space size > 1. 39-bit (ARM64_VA_BITS_39)   2. 48-bit (ARM64_VA_BITS_48) choice[1-2?]: 1 Physical address space size > 1. 48-bit (ARM64_PA_BITS_48) choice[1]: 1 Endianness   1. Build big-endian kernel (CPU_BIG_ENDIAN) (NEW) > 2. Build little-endian kernel (CPU_LITTLE_ENDIAN) choice[1-2?]: 2 Multi-core scheduler support (SCHED_MC) [Y/n/?] y SMT scheduler support (SCHED_SMT) [N/y/?] n Maximum number of CPUs (2-4096) (NR_CPUS) [8] 8 Support for hot-pluggable CPUs (HOTPLUG_CPU) [Y/?] y NUMA Memory Allocation and Scheduler Support (NUMA) [N/y/?] n Timer frequency   1. 100 HZ (HZ_100)   2. 250 HZ (HZ_250) > 3. 300 HZ (HZ_300)   4. 1000 HZ (HZ_1000) choice[1-4?]: 3 Enable paravirtualization code (PARAVIRT) [N/y/?] n Paravirtual steal time accounting (PARAVIRT_TIME_ACCOUNTING) [N/y/?] n kexec system call (KEXEC) [N/y/?] n kexec file based system call (KEXEC_FILE) [N/y/?] n Build kdump crash kernel (CRASH_DUMP) [N/y/?] n Xen guest support on ARM64 (XEN) [N/y/?] n Unmap kernel when running in userspace (aka "KAISER") (UNMAP_KERNEL_AT_EL0) [Y/n/?] y Apply r/o permissions of VM areas also to their linear aliases (RODATA_FULL_DEFAULT_ENABLED) [Y/n/?] y Emulate Privileged Access Never using TTBR0_EL1 switching (ARM64_SW_TTBR0_PAN) [Y/n/?] y Enable the tagged user addresses syscall ABI (ARM64_TAGGED_ADDR_ABI) [Y/n/?] y ARM Scalable Vector Extension support (ARM64_SVE) [Y/n/?] y Use PLTs to allow module memory to spill over into vmalloc area (ARM64_MODULE_PLTS) [Y/?] y Support for NMI-like interrupts (ARM64_PSEUDO_NMI) [Y/n/?] y   Debug interrupt priority masking (ARM64_DEBUG_PRIORITY_MASKING) [N/y/?] n Build a relocatable kernel image (RELOCATABLE) [Y/?] y Randomize the address of the kernel image (RANDOMIZE_BASE) [Y/n/?] y   Randomize the module region over a 4 GB range (RANDOMIZE_MODULE_REGION_FULL) [Y/n/?] y arch/arm64/Makefile:25: ld does not support --fix-cortex-a53-843419; kernel may be susceptible to erratum arch/arm64/Makefile:33: LSE atomics not supported by binutils arch/arm64/Makefile:44: Detected assembler with broken .inst; disassembly will be unreliable arch/arm64/Makefile:25: ld does not support --fix-cortex-a53-843419; kernel may be susceptible to erratum arch/arm64/Makefile:33: LSE atomics not supported by binutils arch/arm64/Makefile:44: Detected assembler with broken .inst; disassembly will be unreliable   UPD     include/config/kernel.release   HOSTCC  scripts/dtc/dtc.o   HOSTCC  scripts/dtc/flattree.o   HOSTCC  scripts/dtc/fstree.o   HOSTCC  scripts/dtc/data.o   UPD     include/generated/uapi/linux/version.h   HOSTCC  scripts/dtc/livetree.o   HOSTCC  scripts/dtc/treesource.o   HOSTCC  scripts/dtc/srcpos.o   HOSTCC  scripts/dtc/checks.o   HOSTCC  scripts/dtc/util.o   LEX     scripts/dtc/dtc-lexer.lex.c   YACC    scripts/dtc/dtc-parser.tab.[ch]   UPD     include/generated/utsrelease.h   HOSTCC  scripts/dtc/dtc-lexer.lex.o   HOSTCC  scripts/dtc/dtc-parser.tab.o   HOSTLD  scripts/dtc/dtc   DTC     arch/arm64/boot/dts/rockchip/rk3588-toybrick-x0-android.dtb   HOSTCC  scripts/kallsyms   HOSTCC  scripts/resource_tool   HOSTCC  scripts/sorttable   HOSTCC  scripts/asn1_compiler   HOSTCC  scripts/genksyms/genksyms.o   YACC    scripts/genksyms/parse.tab.[ch]   LEX     scripts/genksyms/lex.lex.c   HOSTCC  scripts/selinux/genheaders/genheaders   HOSTCC  scripts/selinux/mdp/mdp   HOSTCC  scripts/extract-cert scripts/extract-cert.c: In function ‘display_openssl_errors’: scripts/extract-cert.c:46:9: warning: ‘ERR_get_error_line’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]    46 |         while ((e = ERR_get_error_line(&file, &line))) {       |         ^~~~~ In file included from scripts/extract-cert.c:23: /usr/include/openssl/err.h:411:15: note: declared here   411 | unsigned long ERR_get_error_line(const char **file, int *line);       |               ^~~~~~~~~~~~~~~~~~ scripts/extract-cert.c: In function ‘drain_openssl_errors’: scripts/extract-cert.c:60:9: warning: ‘ERR_get_error_line’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]    60 |         while (ERR_get_error_line(&file, &line)) {}       |         ^~~~~ In file included from scripts/extract-cert.c:23: /usr/include/openssl/err.h:411:15: note: declared here   411 | unsigned long ERR_get_error_line(const char **file, int *line);       |               ^~~~~~~~~~~~~~~~~~ scripts/extract-cert.c: In function ‘main’: scripts/extract-cert.c:130:17: warning: ‘ENGINE_load_builtin_engines’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]   130 |                 ENGINE_load_builtin_engines();       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from scripts/extract-cert.c:24: /usr/include/openssl/engine.h:358:28: note: declared here   358 | OSSL_DEPRECATEDIN_3_0 void ENGINE_load_builtin_engines(void);       |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~ scripts/extract-cert.c:132:17: warning: ‘ENGINE_by_id’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]   132 |                 e = ENGINE_by_id("pkcs11");       |                 ^ In file included from scripts/extract-cert.c:24: /usr/include/openssl/engine.h:336:31: note: declared here   336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id);       |                               ^~~~~~~~~~~~ scripts/extract-cert.c:134:17: warning: ‘ENGINE_init’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]   134 |                 if (ENGINE_init(e))       |                 ^~ In file included from scripts/extract-cert.c:24: /usr/include/openssl/engine.h:620:27: note: declared here   620 | OSSL_DEPRECATEDIN_3_0 int ENGINE_init(ENGINE *e);       |                           ^~~~~~~~~~~ scripts/extract-cert.c:139:25: warning: ‘ENGINE_ctrl_cmd_string’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]   139 |                         ERR(!ENGINE_ctrl_cmd_string(e, "PIN", key_pass, 0), "Set PKCS#11 PIN");       |                         ^~~ In file included from scripts/extract-cert.c:24: /usr/include/openssl/engine.h:479:5: note: declared here   479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg,       |     ^~~~~~~~~~~~~~~~~~~~~~ scripts/extract-cert.c:140:17: warning: ‘ENGINE_ctrl_cmd’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]   140 |                 ENGINE_ctrl_cmd(e, "LOAD_CERT_CTRL", 0, &parms, NULL, 1);       |                 ^~~~~~~~~~~~~~~ In file included from scripts/extract-cert.c:24: /usr/include/openssl/engine.h:450:27: note: declared here   450 | OSSL_DEPRECATEDIN_3_0 int ENGINE_ctrl_cmd(ENGINE *e, const char *cmd_name,       |                           ^~~~~~~~~~~~~~~   HOSTCC  scripts/genksyms/parse.tab.o   HOSTCC  scripts/genksyms/lex.lex.o   HOSTLD  scripts/genksyms/genksyms   CC      scripts/mod/empty.o   HOSTCC  scripts/mod/mk_elfconfig   CC      scripts/mod/devicetable-offsets.s gcc: error: unrecognized command-line option '-mlittle-endian' make[2]: *** [scripts/Makefile.build:117: scripts/mod/devicetable-offsets.s] Error 1 make[2]: *** Waiting for unfinished jobs.... gcc: error: unrecognized command-line option '-mlittle-endian' make[2]: *** [scripts/Makefile.build:273: scripts/mod/empty.o] Error 1 make[1]: *** [Makefile:1321: prepare0] Error 2 make: *** [arch/arm64/Makefile:214: rk3588-toybrick-x0-android.img] Error 2 rootroot@rootroot-adol-ADOLBOOK-I421UAY-ADOL14UA:~/toybrick3588_discrete/kernel-5.10$  rootroot@rootroot-adol-ADOLBOOK-I421UAY-ADOL14UA:~/toybrick3588_discrete/kernel-5.10$ 

[END] 2023/1/2 21:30:58  

 

 

 

 

 

 



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有