目录

20250929给PRO-RK3566开发板在Buildroot系统下裁剪内核已关闭摄像头ov4689为例子

目录

20250929给PRO-RK3566开发板在Buildroot系统下裁剪内核【已关闭摄像头ov4689为例子】

20250929给PRO-RK3566开发板在Buildroot系统下裁剪内核【已关闭摄像头ov4689为例子】
2025/9/29 18:19

缘起:PM要裁剪内核。
测试:关闭摄像头 OV4689

可以在.config中确认ov4689已经关闭

Y:\A6_RK3566_LINUX\kernel\arch\arm64\configs\rockchip_linux_defconfig
Z:\source\kernel\arch\arm64\configs\rockchip_linux_defconfig

CONFIG_VIDEO_RK628_CSI=y
CONFIG_VIDEO_RK628_BT1120=y
CONFIG_VIDEO_TC35874X=y
CONFIG_VIDEO_RK_IRCUT=y
CONFIG_VIDEO_GC2093=y
CONFIG_VIDEO_GC8034=y
CONFIG_VIDEO_IMX334=y
CONFIG_VIDEO_IMX415=y
CONFIG_VIDEO_IMX464=y
CONFIG_VIDEO_OS04A10=y
CONFIG_VIDEO_OV4689=y
CONFIG_VIDEO_OV50C40=y
CONFIG_VIDEO_OV5695=y
CONFIG_VIDEO_OV7251=y
CONFIG_VIDEO_OV13850=y
CONFIG_VIDEO_OV13855=y
CONFIG_VIDEO_DW9763=y
CONFIG_VIDEO_VM149C=y
CONFIG_VIDEO_XS9922=y
CONFIG_VIDEO_GC2093_CLK_24M=y

修改为:

CONFIG_VIDEO_RK628_CSI=y
CONFIG_VIDEO_RK628_BT1120=y
CONFIG_VIDEO_TC35874X=y
CONFIG_VIDEO_RK_IRCUT=y
CONFIG_VIDEO_GC2093=y
CONFIG_VIDEO_GC8034=y
CONFIG_VIDEO_IMX334=y
CONFIG_VIDEO_IMX415=y
CONFIG_VIDEO_IMX464=y
CONFIG_VIDEO_OS04A10=y
#CONFIG_VIDEO_OV4689=y
CONFIG_VIDEO_OV50C40=y
CONFIG_VIDEO_OV5695=y
CONFIG_VIDEO_OV7251=y
CONFIG_VIDEO_OV13850=y
CONFIG_VIDEO_OV13855=y
CONFIG_VIDEO_DW9763=y
CONFIG_VIDEO_VM149C=y
CONFIG_VIDEO_XS9922=y
CONFIG_VIDEO_GC2093_CLK_24M=y

https://i-blog.csdnimg.cn/direct/b5e2080d2e5c4c0a98af6e15ff53ce0c.png

https://i-blog.csdnimg.cn/direct/731f75e7205746d7a3e7920e2baeda1f.png

https://i-blog.csdnimg.cn/direct/8040f3b1a8474b9382f06d69c0660aba.png

完整的LOG:

rootroot@rootroot-X99-Turbo:/source$ cd kernel/
rootroot@rootroot-X99-Turbo:
/source/kernel$ 
rootroot@rootroot-X99-Turbo:/source/kernel$ ll
total 2169248
drwxrwxr-x  26 rootroot rootroot       4096 9月  29 17:12  ./
drwxrwxrwx  30 rootroot rootroot       4096 8月  19 13:45  ../
drwxrwxr-x   2 rootroot rootroot       4096 3月  12  2025  android/
drwxrwxr-x  26 rootroot rootroot       4096 3月  12  2025  arch/
drwxrwxr-x   3 rootroot rootroot       4096 9月  29 16:20  block/
-rw-rw-r–   1 rootroot rootroot   43238912 9月  29 17:12  boot.img
-rw-rw-r–   1 rootroot rootroot       1410 3月  12  2025  boot.its
-rw-rw-r–   1 rootroot rootroot        296 3月  12  2025  build.config.aarch64
-rw-rw-r–   1 rootroot rootroot        429 3月  12  2025  build.config.allmodconfig
-rw-rw-r–   1 rootroot rootroot        152 3月  12  2025  build.config.allmodconfig.aarch64
-rw-rw-r–   1 rootroot rootroot        148 3月  12  2025  build.config.allmodconfig.arm
-rw-rw-r–   1 rootroot rootroot        151 3月  12  2025  build.config.allmodconfig.x86_64
-rw-rw-r–   1 rootroot rootroot       1214 3月  12  2025  build.config.amlogic
-rw-rw-r–   1 rootroot rootroot        198 3月  12  2025  build.config.arm
-rw-rw-r–   1 rootroot rootroot        378 3月  12  2025  build.config.common
-rw-rw-r–   1 rootroot rootroot        795 3月  12  2025  build.config.db845c
-rw-rw-r–   1 rootroot rootroot         63 3月  12  2025  build.config.gki
-rw-rw-r–   1 rootroot rootroot       1416 3月  12  2025  build.config.gki.aarch64
-rw-rw-r–   1 rootroot rootroot        638 3月  12  2025  build.config.gki.aarch64.fips140
-rw-rw-r–   1 rootroot rootroot        230 3月  12  2025  build.config.gki.aarch64.fips140_eval_testing
-rw-rw-r–   1 rootroot rootroot        106 3月  12  2025  build.config.gki-debug.aarch64
-rw-rw-r–   1 rootroot rootroot        105 3月  12  2025  build.config.gki-debug.x86_64
-rw-rw-r–   1 rootroot rootroot        664 3月  12  2025  build.config.gki_kasan
-rw-rw-r–   1 rootroot rootroot        148 3月  12  2025  build.config.gki_kasan.aarch64
-rw-rw-r–   1 rootroot rootroot        148 3月  12  2025  build.config.gki_kasan.x86_64
-rw-rw-r–   1 rootroot rootroot        629 3月  12  2025  build.config.gki_kprobes
-rw-rw-r–   1 rootroot rootroot        151 3月  12  2025  build.config.gki_kprobes.aarch64
-rw-rw-r–   1 rootroot rootroot        150 3月  12  2025  build.config.gki_kprobes.x86_64
-rw-rw-r–   1 rootroot rootroot        142 3月  12  2025  build.config.gki.x86_64
-rw-rw-r–   1 rootroot rootroot        740 3月  12  2025  build.config.hikey960
-rw-rw-r–   1 rootroot rootroot        544 3月  12  2025  build.config.khwasan
-rw-rw-r–   1 rootroot rootroot        478 3月  12  2025  build.config.rockchip
-rw-rw-r–   1 rootroot rootroot        274 3月  12  2025  build.config.x86_64
drwxrwxr-x   2 rootroot rootroot       4096 9月  29 16:19  certs/
-rw-rw-r–   1 rootroot rootroot      16673 3月  12  2025  .clang-format
-rw-rw-r–   1 rootroot rootroot         59 3月  12  2025  .cocciconfig
-rw-rw-r–   1 rootroot rootroot     205552 9月  29 16:50  .config
-rw-rw-r–   1 rootroot rootroot     205764 9月  29 16:42  .config.old
-rw-rw-r–   1 rootroot rootroot        496 3月  12  2025  COPYING
-rw-rw-r–   1 rootroot rootroot     100478 3月  12  2025  CREDITS
drwxrwxr-x   4 rootroot rootroot      16384 9月  29 16:20  crypto/
drwxrwxr-x  82 rootroot rootroot       4096 3月  12  2025  Documentation/
drwxrwxr-x 147 rootroot rootroot       4096 9月  29 17:12  drivers/
drwxrwxr-x  80 rootroot rootroot      12288 9月  29 16:24  fs/
-rw-rw-r–   1 rootroot rootroot         71 3月  12  2025  .get_maintainer.ignore
-rw-rw-r–   1 rootroot rootroot         62 3月  12  2025  .gitattributes
-rw-rw-r–   1 rootroot rootroot       1944 3月  12  2025  .gitignore
drwxrwxr-x  31 rootroot rootroot       4096 9月  29 16:19  include/
drwxrwxr-x   2 rootroot rootroot       4096 9月  29 17:12  init/
drwxrwxr-x   2 rootroot rootroot       4096 9月  29 16:20  io_uring/
drwxrwxr-x   2 rootroot rootroot       4096 9月  29 16:19  ipc/
-rw-rw-r–   1 rootroot rootroot       1327 3月  12  2025  Kbuild
-rw-rw-r–   1 rootroot rootroot        555 3月  12  2025  Kconfig
drwxrwxr-x  21 rootroot rootroot      12288 9月  29 17:12  kernel/
drwxrwxr-x  21 rootroot rootroot      24576 9月  29 16:21  lib/
drwxrwxr-x   6 rootroot rootroot       4096 3月  12  2025  LICENSES/
-rw-rw-r–   1 rootroot rootroot      12936 3月  12  2025  logo2.bmp
-rwx——   1 rootroot rootroot     178198 7月   8 09:27  logo.bmp*
-rw-rw-r–   1 rootroot rootroot      22364 3月  12  2025  logo_kernel2.bmp
-rwx——   1 rootroot rootroot     178198 7月   8 09:27  logo_kernel.bmp*
-rw-rw-r–   1 rootroot rootroot      18204 3月  12  2025  .mailmap
-rw-rw-r–   1 rootroot rootroot     577590 3月  12  2025  MAINTAINERS
-rwx——   1 rootroot rootroot      68469 4月  19 10:59  Makefile*
-rw-rw-r–   1 rootroot rootroot      68440 3月  12  2025  Makefile荣品
-rw-rw-r–   1 rootroot rootroot        577 9月  29 17:12  .missing-syscalls.d
drwxrwxr-x   5 rootroot rootroot      12288 9月  29 16:20  mm/
-rw-rw-r–   1 rootroot rootroot      28589 9月  29 17:12  modules.builtin
-rw-rw-r–   1 rootroot rootroot     186208 9月  29 17:12  modules.builtin.modinfo
-rw-rw-r–   1 rootroot rootroot      15726 9月  29 17:12  modules-only.symvers
-rw-rw-r–   1 rootroot rootroot        138 9月  29 17:12  .modules-only.symvers.cmd
-rw-rw-r–   1 rootroot rootroot       5790 9月  29 17:12  modules.order
-rw-rw-r–   1 rootroot rootroot        421 9月  29 17:12  .modules.order.cmd
-rw-rw-r–   1 rootroot rootroot     830844 9月  29 17:12  Module.symvers
-rw-rw-r–   1 rootroot rootroot         80 9月  29 17:12  .Module.symvers.cmd
drwxrwxr-x  72 rootroot rootroot       4096 9月  29 16:24  net/
-rw-rw-r–   1 rootroot rootroot        438 3月  12  2025  OWNERS
-rw-rw-r–   1 rootroot rootroot        727 3月  12  2025  README
-rw-rw-r–   1 rootroot rootroot       6402 3月  12  2025  README.md
-rw-rw-r–   1 rootroot rootroot     528896 9月  29 17:12  resource.img
drwxrwxr-x  33 rootroot rootroot       4096 3月  12  2025  samples/
-rw-rw-r–   1 rootroot rootroot          0 3月  12  2025  .scmversion
drwxrwxr-x  17 rootroot rootroot       4096 9月  29 16:20  scripts/
drwxrwxr-x  13 rootroot rootroot       4096 9月  29 16:19  security/
drwxrwxr-x  26 rootroot rootroot       4096 9月  29 16:21  sound/
-rw-rw-r–   1 rootroot rootroot    7921108 9月  29 17:12  System.map
-rw-rw-r–   1 rootroot rootroot    7921252 9月  29 17:12  .tmp_kallsyms
-rw-rw-r–   1 rootroot rootroot    7921108 9月  29 17:12  .tmp_System.map
-rwxrwxr-x   1 rootroot rootroot   50369504 9月  29 17:12  .tmp_vmlinux.kallsyms1*
-rw-rw-r–   1 rootroot rootroot    1310808 9月  29 17:12  .tmp_vmlinux.kallsyms1.o
-rw-rw-r–   1 rootroot rootroot    7717977 9月  29 17:12  .tmp_vmlinux.kallsyms1.S
-rwxrwxr-x   1 rootroot rootroot   51680592 9月  29 17:12  .tmp_vmlinux.kallsyms2*
-rw-rw-r–   1 rootroot rootroot    1310808 9月  29 17:12  .tmp_vmlinux.kallsyms2.o
-rw-rw-r–   1 rootroot rootroot    7717977 9月  29 17:12  .tmp_vmlinux.kallsyms2.S
drwxrwxr-x  37 rootroot rootroot       4096 3月  12  2025  tools/
drwxrwxr-x   3 rootroot rootroot       4096 9月  29 16:19  usr/
-rw-rw-r–   1 rootroot rootroot          2 9月  29 17:12  .version
drwxrwxr-x   4 rootroot rootroot       4096 9月  29 16:19  virt/
-rwxrwxr-x   1 rootroot rootroot  583762840 9月  29 17:12  vmlinux*
-rw-rw-r–   1 rootroot rootroot        404 9月  29 17:12  .vmlinux.cmd
-rw-rw-r–   1 rootroot rootroot 1426869472 9月  29 17:12  vmlinux.o
-rw-rw-r–   1 rootroot rootroot     815118 9月  29 17:12  vmlinux.symvers
-rw-rw-r–   1 rootroot rootroot   19152896 9月  29 17:12  zboot.img
-rwx——   1 rootroot rootroot     205742 9月  29 16:19 ’ - 副本.config’*
rootroot@rootroot-X99-Turbo:
/source/kernel$ make distclean
  CLEAN   certs
  CLEAN   drivers/firmware/efi/libstub
  CLEAN   drivers/misc/lkdtm
  CLEAN   drivers/scsi
  CLEAN   drivers/tty/vt
  CLEAN   fs/unicode
  CLEAN   kernel
  CLEAN   lib/raid6
  CLEAN   lib
  CLEAN   net/wireless
  CLEAN   security/apparmor
  CLEAN   security/selinux
  CLEAN   usr
  CLEAN   vmlinux.symvers modules-only.symvers modules.builtin modules.builtin.modinfo
  CLEAN   scripts/basic
  CLEAN   scripts/dtc
  CLEAN   scripts/kconfig
  CLEAN   scripts/mod
  CLEAN   scripts/selinux/genheaders
  CLEAN   scripts/selinux/mdp
  CLEAN   scripts
  CLEAN   include/config include/generated .config .config.old .version Module.symvers
rootroot@rootroot-X99-Turbo:/source/kernel$ 
rootroot@rootroot-X99-Turbo:
/source/kernel$ 
rootroot@rootroot-X99-Turbo:/source/kernel$ ll
total 63208
drwxrwxr-x  26 rootroot rootroot     4096 9月  29 18:25  ./
drwxrwxrwx  30 rootroot rootroot     4096 8月  19 13:45  ../
drwxrwxr-x   2 rootroot rootroot     4096 3月  12  2025  android/
drwxrwxr-x  26 rootroot rootroot     4096 3月  12  2025  arch/
drwxrwxr-x   3 rootroot rootroot     4096 9月  29 18:25  block/
-rw-rw-r–   1 rootroot rootroot 43238912 9月  29 17:12  boot.img
-rw-rw-r–   1 rootroot rootroot     1410 3月  12  2025  boot.its
-rw-rw-r–   1 rootroot rootroot      296 3月  12  2025  build.config.aarch64
-rw-rw-r–   1 rootroot rootroot      429 3月  12  2025  build.config.allmodconfig
-rw-rw-r–   1 rootroot rootroot      152 3月  12  2025  build.config.allmodconfig.aarch64
-rw-rw-r–   1 rootroot rootroot      148 3月  12  2025  build.config.allmodconfig.arm
-rw-rw-r–   1 rootroot rootroot      151 3月  12  2025  build.config.allmodconfig.x86_64
-rw-rw-r–   1 rootroot rootroot     1214 3月  12  2025  build.config.amlogic
-rw-rw-r–   1 rootroot rootroot      198 3月  12  2025  build.config.arm
-rw-rw-r–   1 rootroot rootroot      378 3月  12  2025  build.config.common
-rw-rw-r–   1 rootroot rootroot      795 3月  12  2025  build.config.db845c
-rw-rw-r–   1 rootroot rootroot       63 3月  12  2025  build.config.gki
-rw-rw-r–   1 rootroot rootroot     1416 3月  12  2025  build.config.gki.aarch64
-rw-rw-r–   1 rootroot rootroot      638 3月  12  2025  build.config.gki.aarch64.fips140
-rw-rw-r–   1 rootroot rootroot      230 3月  12  2025  build.config.gki.aarch64.fips140_eval_testing
-rw-rw-r–   1 rootroot rootroot      106 3月  12  2025  build.config.gki-debug.aarch64
-rw-rw-r–   1 rootroot rootroot      105 3月  12  2025  build.config.gki-debug.x86_64
-rw-rw-r–   1 rootroot rootroot      664 3月  12  2025  build.config.gki_kasan
-rw-rw-r–   1 rootroot rootroot      148 3月  12  2025  build.config.gki_kasan.aarch64
-rw-rw-r–   1 rootroot rootroot      148 3月  12  2025  build.config.gki_kasan.x86_64
-rw-rw-r–   1 rootroot rootroot      629 3月  12  2025  build.config.gki_kprobes
-rw-rw-r–   1 rootroot rootroot      151 3月  12  2025  build.config.gki_kprobes.aarch64
-rw-rw-r–   1 rootroot rootroot      150 3月  12  2025  build.config.gki_kprobes.x86_64
-rw-rw-r–   1 rootroot rootroot      142 3月  12  2025  build.config.gki.x86_64
-rw-rw-r–   1 rootroot rootroot      740 3月  12  2025  build.config.hikey960
-rw-rw-r–   1 rootroot rootroot      544 3月  12  2025  build.config.khwasan
-rw-rw-r–   1 rootroot rootroot      478 3月  12  2025  build.config.rockchip
-rw-rw-r–   1 rootroot rootroot      274 3月  12  2025  build.config.x86_64
drwxrwxr-x   2 rootroot rootroot     4096 9月  29 18:25  certs/
-rw-rw-r–   1 rootroot rootroot    16673 3月  12  2025  .clang-format
-rw-rw-r–   1 rootroot rootroot       59 3月  12  2025  .cocciconfig
-rw-rw-r–   1 rootroot rootroot      496 3月  12  2025  COPYING
-rw-rw-r–   1 rootroot rootroot   100478 3月  12  2025  CREDITS
drwxrwxr-x   4 rootroot rootroot    16384 9月  29 18:25  crypto/
drwxrwxr-x  82 rootroot rootroot     4096 3月  12  2025  Documentation/
drwxrwxr-x 147 rootroot rootroot     4096 9月  29 18:25  drivers/
drwxrwxr-x  80 rootroot rootroot    12288 9月  29 18:25  fs/
-rw-rw-r–   1 rootroot rootroot       71 3月  12  2025  .get_maintainer.ignore
-rw-rw-r–   1 rootroot rootroot       62 3月  12  2025  .gitattributes
-rw-rw-r–   1 rootroot rootroot     1944 3月  12  2025  .gitignore
drwxrwxr-x  29 rootroot rootroot     4096 9月  29 18:25  include/
drwxrwxr-x   2 rootroot rootroot     4096 9月  29 18:25  init/
drwxrwxr-x   2 rootroot rootroot     4096 9月  29 18:25  io_uring/
drwxrwxr-x   2 rootroot rootroot     4096 9月  29 18:25  ipc/
-rw-rw-r–   1 rootroot rootroot     1327 3月  12  2025  Kbuild
-rw-rw-r–   1 rootroot rootroot      555 3月  12  2025  Kconfig
drwxrwxr-x  21 rootroot rootroot    12288 9月  29 18:25  kernel/
drwxrwxr-x  21 rootroot rootroot    24576 9月  29 18:25  lib/
drwxrwxr-x   6 rootroot rootroot     4096 3月  12  2025  LICENSES/
-rw-rw-r–   1 rootroot rootroot    12936 3月  12  2025  logo2.bmp
-rwx——   1 rootroot rootroot   178198 7月   8 09:27  logo.bmp*
-rw-rw-r–   1 rootroot rootroot    22364 3月  12  2025  logo_kernel2.bmp
-rwx——   1 rootroot rootroot   178198 7月   8 09:27  logo_kernel.bmp*
-rw-rw-r–   1 rootroot rootroot    18204 3月  12  2025  .mailmap
-rw-rw-r–   1 rootroot rootroot   577590 3月  12  2025  MAINTAINERS
-rwx——   1 rootroot rootroot    68469 4月  19 10:59  Makefile*
-rw-rw-r–   1 rootroot rootroot    68440 3月  12  2025  Makefile荣品
drwxrwxr-x   5 rootroot rootroot    12288 9月  29 18:25  mm/
drwxrwxr-x  72 rootroot rootroot     4096 9月  29 18:25  net/
-rw-rw-r–   1 rootroot rootroot      438 3月  12  2025  OWNERS
-rw-rw-r–   1 rootroot rootroot      727 3月  12  2025  README
-rw-rw-r–   1 rootroot rootroot     6402 3月  12  2025  README.md
-rw-rw-r–   1 rootroot rootroot   528896 9月  29 17:12  resource.img
drwxrwxr-x  33 rootroot rootroot     4096 3月  12  2025  samples/
-rw-rw-r–   1 rootroot rootroot        0 3月  12  2025  .scmversion
drwxrwxr-x  17 rootroot rootroot     4096 9月  29 18:25  scripts/
drwxrwxr-x  13 rootroot rootroot     4096 9月  29 18:25  security/
drwxrwxr-x  26 rootroot rootroot     4096 9月  29 18:25  sound/
drwxrwxr-x  37 rootroot rootroot     4096 3月  12  2025  tools/
drwxrwxr-x   3 rootroot rootroot     4096 9月  29 18:25  usr/
drwxrwxr-x   4 rootroot rootroot     4096 9月  29 18:25  virt/
-rw-rw-r–   1 rootroot rootroot 19152896 9月  29 17:12  zboot.img
-rwx——   1 rootroot rootroot   205742 9月  29 16:19 ’ - 副本.config’*
rootroot@rootroot-X99-Turbo:
/source/kernel$ 
rootroot@rootroot-X99-Turbo:/source/kernel$ 
rootroot@rootroot-X99-Turbo:
/source/kernel$ rm .img
rootroot@rootroot-X99-Turbo:/source/kernel$ ll .img
ls: cannot access ‘
.img’: No such file or directory
rootroot@rootroot-X99-Turbo:
/source/kernel$ 
rootroot@rootroot-X99-Turbo:/source/kernel$ 
rootroot@rootroot-X99-Turbo:
/source/kernel$ cd //
rootroot@rootroot-X99-Turbo://$ 
rootroot@rootroot-X99-Turbo://$ 
rootroot@rootroot-X99-Turbo://$ .bu.
^Crootroot@rootroot-X99-Turbo://$ ./bu.^C
rootroot@rootroot-X99-Turbo://$ cd -
/home/rootroot/source/kernel
rootroot@rootroot-X99-Turbo:/source/kernel$ 
rootroot@rootroot-X99-Turbo:
/source/kernel$ 
rootroot@rootroot-X99-Turbo:/source/kernel$ cd ..
rootroot@rootroot-X99-Turbo:
/source$ ll
total 5667332
drwxrwxrwx 30 rootroot rootroot       4096 8月  19 13:45 ./
drwxr-xr-x 48 rootroot rootroot      12288 9月  29 17:34 ../
-rw-rw-r–  1 rootroot rootroot 1073741824 8月   6 10:01 1GBfile
-rw-rw-r–  1 rootroot rootroot 1073741824 8月   6 10:01 1GBfile2
drwxrwxr-x  8 rootroot rootroot       4096 3月  12  2025 app/
drwxrwxr-x 18 rootroot rootroot       4096 8月  19 12:11 buildroot/
lrwxrwxrwx  1 rootroot rootroot         39 3月  12  2025 build.sh -> device/rockchip/common/scripts/build.sh

lrwxrwxrwx  1 rootroot rootroot         22 3月  12  2025 common -> device/rockchip/common/
drwxrwxr-x  9 rootroot rootroot       4096 3月  12  2025 debian/
drwxrwxr-x  3 rootroot rootroot       4096 3月  12  2025 device/
drwxrwxr-x  6 rootroot rootroot       4096 3月  12  2025 docs/
-rw-rw-r–  1 rootroot rootroot  959506039 7月  29 18:16 docs1吊舱-荣品PRO-RK3566.zip
drwxrwxr-x 29 rootroot rootroot       4096 3月  26  2025 external/
-rw-rw-r–  1 rootroot rootroot         69 3月  12  2025 .gitignore
drwxrwxr-x  2 rootroot rootroot       4096 7月  11 10:06 Image22拿掉启动LOGO/
drwxrwxr-x  2 rootroot rootroot       4096 7月  24 20:53 Image23析取最小的DTS了/
drwxrwxr-x  2 rootroot rootroot       4096 8月   6 10:10 Image24放了2个1GB的文件在rootfs/
drwxrwxr-x  2 rootroot rootroot       4096 8月   8 11:02 Image26扩大了/
drwxrwxr-x  2 rootroot rootroot       4096 8月   8 11:11 Image27只扩大uboot4/
drwxrwxr-x  2 rootroot rootroot       4096 8月   8 11:22 Image28大/
drwxrwxr-x  2 rootroot rootroot       4096 8月   8 12:02 Image29解决RK809不接的问题/
drwxrwxr-x  2 rootroot rootroot       4096 8月   8 12:06 Image30再次确认/
drwxrwxr-x  2 rootroot rootroot       4096 8月   8 14:30 Image31关闭bat在uboot中/
drwxrwxr-x  2 rootroot rootroot       4096 8月   8 14:44 Image32修改uboot/
drwxrwxr-x  2 rootroot rootroot       4096 8月   9 13:46 Image33在uboot中的TF卡改1线/
drwxrwxr-x  2 rootroot rootroot       4096 8月  19 11:49 Image34加强驱动能力5/
drwxrwxr-x  2 rootroot rootroot       4096 8月  19 13:45 Image35清理之后驱动能力5/
drwxrwxr-x  2 rootroot rootroot       4096 8月   6 14:52 Image版本25罗赞加料了/
drwxrwxr-x 26 rootroot rootroot       4096 9月  29 18:25 kernel/
lrwxrwxrwx  1 rootroot rootroot         31 3月  12  2025 Makefile -> device/rockchip/common/Makefile
drwxrwxr-x  9 rootroot rootroot       4096 9月  29 17:11 output/
drwxrwxr-x  3 rootroot rootroot       4096 3月  12  2025 prebuilts/
lrwxrwxrwx  1 rootroot rootroot         32 3月  12  2025 README.md -> device/rockchip/common/README.md
drwxrwxr-x  9 rootroot rootroot       4096 8月  19 11:56 rkbin/
lrwxrwxrwx  1 rootroot rootroot         41 3月  12  2025 rkflash.sh -> device/rockchip/common/scripts/rkflash.sh*
-rwxrwxrwx  1 rootroot rootroot         60 12月 23  2024 rk-linux5.10-20240828.tar.md5*
lrwxrwxrwx  1 rootroot rootroot         15 8月  19 12:12 rockdev -> output/firmware/
-rwx——  1 rootroot rootroot 1771659264 8月   6 10:42 rootfs.ext2*
-rw-r–r–  1 rootroot rootroot 1771659264 8月   6 10:08 rootfs.ext2原始
-rwxrwxrwx  1 rootroot rootroot      26651 12月 23  2024 sdk版本提交记录.txt*
drwxrwxr-x  5 rootroot rootroot       4096 3月  12  2025 tools/
drwxrwxr-x 27 rootroot rootroot       4096 8月  19 11:56 u-boot/
drwxrwxr-x  5 rootroot rootroot       4096 3月  12  2025 uefi/
drwxrwxr-x  9 rootroot rootroot       4096 3月  12  2025 yocto/
rootroot@rootroot-X99-Turbo:~/source$ ./build.sh –help
Log colors: message notice warning error fatal

Usage: build.sh [OPTIONS]
Available options:
chip[:[:]]              choose chip
defconfig[:]                  choose defconfig
 *_defconfig                          switch to specified defconfig
    available defconfigs:
    dr4-rk3566-buildroot_defconfig
    dr4-rk3566-debian_defconfig
    dr4-rk3566-openkylin_defconfig
    dr4-rk3566-ubuntu_defconfig
    dr4-rk3568-buildroot_defconfig
    dr4-rk3568-debian_defconfig
    dr4-rk3568-openkylin_defconfig
    dr4-rk3568-ubuntu_defconfig
    lga-rk3566-buildroot_defconfig
    lga-rk3566-debian_defconfig
    lga-rk3566-openkylin_defconfig
    lga-rk3566-ubuntu_defconfig
    lga-rk3568-buildroot_defconfig
    lga-rk3568-debian_defconfig
    lga-rk3568-openkylin_defconfig
    lga-rk3568-ubuntu_defconfig
    mini-pc-rk3566-buildroot_defconfig
    mini-pc-rk3566-debian_defconfig
    mini-pc-rk3566-openkylin_defconfig
    mini-pc-rk3566-ubuntu_defconfig
    nano-box-rk3566-buildroot_defconfig
    nano-box-rk3566-debian_defconfig
    nano-box-rk3566-openkylin_defconfig
    nano-box-rk3566-ubuntu_defconfig
    nano-box-rk3568-buildroot_defconfig
    nano-box-rk3568-debian_defconfig
    nano-box-rk3568-openkylin_defconfig
    nano-box-rk3568-ubuntu_defconfig
    nano-rk3566-buildroot_defconfig
    nano-rk3566-debian_defconfig
    nano-rk3566-openkylin_defconfig
    nano-rk3566-ubuntu_defconfig
    nano-rk3568-buildroot_defconfig
    nano-rk3568-debian_defconfig
    nano-rk3568-openkylin_defconfig
    nano-rk3568-ubuntu_defconfig
    pro-rk3566-buildroot_defconfig
    pro-rk3566-debian_defconfig
    pro-rk3566-openkylin_defconfig
    pro-rk3566-ubuntu_defconfig
    pro-rk3568-ahd-buildroot_defconfig
    pro-rk3568-ahd-debian_defconfig
    pro-rk3568-ahd-openkylin_defconfig
    pro-rk3568-ahd-ubuntu_defconfig
    pro-rk3568-buildroot_defconfig
    pro-rk3568-debian_defconfig
    pro-rk3568-h-buildroot_defconfig
    pro-rk3568-h-debian_defconfig
    pro-rk3568-h-openkylin_defconfig
    pro-rk3568-h-ubuntu_defconfig
    pro-rk3568-openkylin_defconfig
    pro-rk3568-ubuntu_defconfig
    rp-box-rk3566-buildroot_defconfig
    rp-box-rk3566-debian_defconfig
    rp-box-rk3566-openkylin_defconfig
    rp-box-rk3566-ubuntu_defconfig
    rp-box-rk3568-buildroot_defconfig
    rp-box-rk3568-debian_defconfig
    rp-box-rk3568-openkylin_defconfig
    rp-box-rk3568-ubuntu_defconfig
    rp-rk3566-buildroot_defconfig
    rp-rk3566-debian_defconfig
    rp-rk3566-openkylin_defconfig
    rp-rk3566-ubuntu_defconfig
    rp-rk3568-buildroot_defconfig
    rp-rk3568-debian_defconfig
    rp-rk3568-openkylin_defconfig
    rp-rk3568-ubuntu_defconfig
 olddefconfig                         resolve any unresolved symbols in .config
 savedefconfig                        save current config to defconfig
 menuconfig                           interactive curses-based configurator
config                                modify SDK defconfig
print-parts                            print partitions
list-parts                             alias of print-parts
mod-parts                              interactive partition table modify
edit-parts                             edit raw partitions
new-parts:::…    re-create partitions
insert-part::[:]      insert partition
del-part:(|)                delete partition
move-part:(|):         move partition
rename-part:(|):      rename partition
resize-part:(|):      resize partition
misc                                  pack misc image
kernel[:cmds]                        build kernel
recovery-kernel[:cmds]               build kernel for recovery
modules[:cmds]                       build kernel modules
linux-headers[:cmds]                 build linux-headers
kernel-config[:cmds]                 modify kernel defconfig
kconfig[:cmds]                       alias of kernel-config
kernel-make[::]          run kernel make
kmake[::]                alias of kernel-make
wifibt[:[:]]           build Wifi/BT
rtos                                 build and pack RTOS
buildroot-config[:]           modify buildroot defconfig
bconfig[:]                    alias of buildroot-config
buildroot-make[::]        run buildroot make
bmake[::]                 alias of buildroot-make
rootfs[:]                build default rootfs
buildroot                             build buildroot rootfs
yocto                                 build yocto rootfs
debian                                build debian rootfs
recovery                              build recovery
pcba                                  build PCBA
security-createkeys                   create keys for security
security-misc                         build misc with system encryption key
security-ramboot                      build security ramboot
security-system                       build security system
loader[:cmds]                        build loader (uboot)
uboot[:cmds]                         build u-boot
uefi[:cmds]                          build uefi
extra-part                            pack extra partition images
firmware                              pack and check firmwares
edit-package-file                     edit package-file
edit-ota-package-file                 edit package-file for OTA
updateimg                             build update image
ota-updateimg                         build update image for OTA
all                                   build images
release                               release images and build info
all-release                           build and release images
shell                                 setup a shell for developing
cleanall                              cleanup
clean[:module[:module]]…            cleanup modules
    available modules:
    all
    config
    extra-part
    firmware
    kernel
    loader
    misc
    pcba
    recovery
    rootfs
    rtos
    security
    updateimg
post-rootfs              trigger post-rootfs hook scripts
help                                  usage

Default option is ‘all’.
rootroot@rootroot-X99-Turbo:/source$ 
rootroot@rootroot-X99-Turbo:
/source$ ./build.sh kernel

Z:\source\kernel.config
编译之后可以看到效果!

https://i-blog.csdnimg.cn/direct/be9cb8fbd0ea41b78133b8e742767223.png