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

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

完整的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[:<chip>[:<config>]]              choose chip
defconfig[:<config>]                  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:<offset>:<name>:<size>...    re-create partitions
insert-part:<idx>:<name>[:<size>]      insert partition
del-part:(<idx>|<name>)                delete partition
move-part:(<idx>|<name>):<idx>         move partition
rename-part:(<idx>|<name>):<name>      rename partition
resize-part:(<idx>|<name>):<size>      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[:<arg1>:<arg2>]          run kernel make
kmake[:<arg1>:<arg2>]                alias of kernel-make

wifibt[:<dst dir>[:<chip>]]           build Wifi/BT
rtos                                 build and pack RTOS
buildroot-config[:<config>]           modify buildroot defconfig
bconfig[:<config>]                    alias of buildroot-config
buildroot-make[:<arg1>:<arg2>]        run buildroot make
bmake[:<arg1>:<arg2>]                 alias of buildroot-make
rootfs[:<rootfs type>]                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 <rootfs dir>              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
编译之后可以看到效果!

http://www.dtcms.com/a/423041.html

相关文章:

  • Python 豆瓣TOP250 爬虫类讲解
  • 建一个网站迈年广电基础设施建设官方网站
  • Microsoft Access SQL 查询中的通配符
  • 服务好的高端网站建设企业网站开发一般用的什么架构
  • Trae添加mysql mcp AI编程 链接数据库
  • LeetCode 199. 二叉树的右视图
  • 做网页和网站有什么区别吗网站如何做移动适配
  • 番禺区移动端网站制作外贸公司名称大全简单大气
  • flutter实现Function Call
  • 如何给给公司建立网站毕业设计做视频网站
  • 【c++】:Pimpl 模式使用
  • 深度解析MySQL InnoDB缓冲池性能优化
  • 基于Chrome140的FB账号自动化——脚本撰写(二)
  • 机构投资者沟通指数(2011-2024)
  • isolcpusnohz_full
  • p2p网上贷款网站建设方案.docx一站式网站开发
  • 我的创作纪念日 -- aramae
  • ArcGIS Manager Server Add Host页面报错 HTTP Status 500
  • 基于STM32的智能家居控制系统 - 嵌入式开发期末项目
  • 建设网站计划书做全球视频网站赚钱吗
  • MTK调试-音频dirac
  • 台山网站建设网络架构图描述
  • [论文阅读] 人工智能 + 软件工程 | AFD——用“值流分析+LLM”破解C程序指针分析精度难题,26倍提升堆对象建模效率!
  • 一级a做爰片免费网站迅雷下载上海资格证报名网站
  • 【Linux文件映射 -- mmap基本介绍】
  • C++设计模式_结构型模式_适配器模式Adapter
  • 缓存总线是什么?
  • 无锡漫途科技大型平原灌区水量调度一体化智慧监测方案
  • 专注创新,守护安全——新天力科技以领先技术引领食品包装行业
  • ARM芯片架构之DAP:AXI-AP 技术详解