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

news2024/9/21 4:31:17

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
 

 

 

 

 

 

 

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

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

相关文章

windows下编译opencv_contrib

文章目录基本环境二. 准备1. 下载所需各软件的安装文件2. 安装所需软件三.编译opencv步骤基本环境 cmaker:3.22.0vs2019:16.11.10CUDA:11.4.1cudnn:8.2.4opencv_source:4.5.4opencv_contrib:4.5.4python&a…

给程序员友人,2022投资总结的6000字评论

程序员友人的2022投资总结 以下是我的评论、回复。 友情提示:不好意思,长篇大论了,先长篇铺垫,再到正题。 下午说道:以我的最新投资原则方法,对你的持股情况,略显忧虑。 “一直放心不下”&#…

Ubuntu 18.04使用CMake编译可执行文件、动态链接库

目录准备新建文件编辑源文件编译生成可执行文件编译生成动态链接库准备 新建文件 在开始之前,我们先准备一个项目所需要的基本结构。 新建一个项目的文件夹test_so在项目文件夹中新建一个src文件夹存放源代码(并新建一个test.cpp文件)&…

基于 Prometheus 的监控平台简介

1. Prometheus 体系架构简介 Prometheus 是 CNCF 基金会的一款开源产品,主要用做监控系统,通常用来和 Zabbix 等监控系统做比较,以其简单易用、架构灵活著称。整个 Prometheus 的架构如上,分为几个重要的部分: 指标收…

Kubernetes:Ingress

文章目录1、安装 Ingress 控制器2、Ingress 扇出3、基于名称的虚拟托管4、Ingress TLSIngress 是一组路由规则,公开从集群外部到集群内服务的 HTTP 和 HTTPS 路由。 Ingress 控制器是一组 pod,负责通过负载均衡器来解析 Ingress 路由规则,将请…

序列到序列学习(seq2seq,BLEU)

根据“编码器-解码器”架构的设计, 我们可以使用两个循环神经网络来设计一个序列到序列学习的模型。 在实现编码器和解码器时,我们可以使用多层循环神经网络。 我们可以使用遮蔽来过滤不相关的计算,例如在计算损失时。 在“编码器&#xf…

crackme01——Acid_burn

最近对逆向稍微有点兴趣,自学了一点。写这个文章主要用于记录学习的过程。 首先看一下这个程序,其实就是个简单的比对程序,主界面按左侧按钮进入Name Serial界面,点击【Check it Baby】,则弹出窗口【Sorry, The seria…

[Java]JDBC学习笔记(尚硅谷康师傅JDBC)

文章目录🥽 视频链接及资源下载🥽 JDBC简介🥽 JDBC程序访问数据库步骤🥽 获取数据库连接🌊 导入jar包🌊 Driver 接口🌊 JDBC URL🌊 方式1:🌊 方式2&#xff1…

educoder数据结构与算法 线性表 第2关:实现一个链接存储的线性表

本文已收录于专栏 🌲《educoder数据结构与算法_大耳朵宋宋的博客-CSDN博客》🌲 目录 本文已收录于专栏 🌲《educoder数据结构与算法_大耳朵宋宋的博客-CSDN博客》🌲 🍐任务描述🍐 🍐相关知识…

Java基础学习笔记(九)—— 常用API(2)

常用API1 Math类2 system类3 Object类3.1 概述3.2 常用方法3.3 常见面试题4 Objects类5 BigDecimal类5.1 构造方法5.2 常用方法6 时间日期类6.1 Date类6.2 SimpleDateFormat类6.3 JDK8新增日期类1 Math类 Math 包含执行基本数字运算的方法 Math中方法的调用方式:M…

Markdown 使用语法(详细)

想要学习Markdown,这篇文章就够了。 Markdow简介 Markdown 是一种轻量级标记语言,创始人为约翰格鲁伯(John Gruber)。 它允许人们使用易读易写的纯文本格式编写文档,然后转换成有效的 XHTML(或者HTML&…

IEEE期刊投稿流程

一、注册过程 1.1、确定期刊。 首先可以通过IEEE搜索需要投稿的期刊(以TMC为例),然后点击Submit Manuscript ,进入ScholarOne主页 1.2、账号注册。 进入到ScholarOne之后,若没有注册过需要先注册一个账号。 1.3、创建账户。 点击Create an Account&a…

【LeetCode每日一题】【2023/1/2】1801. 积压订单中的订单总数

文章目录1801. 积压订单中的订单总数方法1:模拟优先队列part1priority_queue的使用part2求余代码1801. 积压订单中的订单总数 LeetCode: 1801. 积压订单中的订单总数 中等\color{#FFB800}{中等}中等 给你一个二维整数数组 orders ,其中每个 orders[i] …

基于springboot+Vue学生宿舍管理系统(程序+数据库+文档+代码解读)

大家好✌!我是CZ淡陌。一名专注以理论为基础实战为主的技术博主,将再这里为大家分享优质的实战项目,本人在Java毕业设计领域有多年的经验,陆续会更新更多优质的Java实战项目,希望你能有所收获,少走一些弯路…

使用Cramer-Rao和Athley边界分析到达角阵列的质量(Matlab代码实现)

目录 💥1 概述 📚2 运行结果 🎉3 参考文献 👨‍💻4 Matlab代码 💥1 概述 此代码用于使用Cramer-Rao和Athley边界分析到达角阵列的质量。 📚2 运行结果 🎉3 参考文献 [1]王凯欣…

感谢、感恩与CSDN结缘的第1498天

导读:2023年1月1日,这是本人加入CSDN的1498天,还记得2018-11-26是注册加入CSDN的第一天,当时的初心就是单纯想作为一名普通的IT人,随着不断打拼职场岁月流逝,总想沉淀留下点东西,即使再平凡也总…

【数据集8】全球人口数据WorldPop详解

全球人口数据WorldPop WorldPop是由南安普顿大学在2013年10月发起的全球人口数据评估。与LandScan数据相比,这个数据涵盖的数据集的社会经济属性更多一些,比如包括了年龄性别结构、出生率、人口流动、航班联系等数据,可参见下图。 官网地址-…

网络信息安全-图像隐写与检测综述

任务目标: 本选题需要学习经典的图像信息隐藏算法,包括基于空域的隐写算法和数字水印算法。 接着你将使用某种编程语言实现这些算法,实现在图片中嵌入一些信息,例如字符串和一些 文件。除此之外,还需要尝试一些基础的…

MySQL8--通过角色管理权限

原文网址:MySQL8--通过角色管理权限_IT利刃出鞘的博客-CSDN博客 简介 本文介绍MySQL8如何通过角色管理权限。 角色是在MySQL8.0中引入的新功能。在MySQL中,角色是权限的集合,可以为角色添加或移除权限。用户可以被赋予角色,同时也…

洛普兰机械密封盛装亮相2023第11届济南生物发酵展

洛普兰机械密封与您相约2023第11届济南生物发酵展览会,3月30-4月1号山东国际会展中心,诚邀参会! 展位号:3号馆H32 2023生物发酵展将于3月30号山东国际会展中心(济南市槐荫区日照路1号)盛大召开&#xff0…