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

news/2025/10/3 20:24:56/文章来源:https://www.cnblogs.com/yxysuanfa/p/19124954

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.mzph.cn/news/926285.shtml

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

相关文章

核聚变:Commonwealth Fusion Systems

核聚变:Commonwealth Fusion Systems 核聚变,作为模仿太阳能量产生机制的终极清洁能源梦想,长久以来面临着“永远还有三十年”的困境。如今,一家从麻省理工学院(MIT)剥离出来的公司——Commonwealth Fusion Syst…

个人可以建论坛网站吗商会网站建设招标方案

文章目录 2.1_3 奈氏准则和香农定理&#xff08;一&#xff09;失真&#xff08;二&#xff09;失真的一种现象——码间串扰&#xff08;三&#xff09;奈氏准则&#xff08;奈奎斯特定理&#xff09;&#xff08;四&#xff09;香农定理&#xff08;五&#xff09;“Nice”和“…

详细介绍:深度学习赋能基层医疗:融合PyTorch与Django的智能医疗影像诊断平台研究

详细介绍:深度学习赋能基层医疗:融合PyTorch与Django的智能医疗影像诊断平台研究2025-10-03 20:14 tlnshuju 阅读(0) 评论(0) 收藏 举报pre { white-space: pre !important; word-wrap: normal !important; over…

AI元人文系列文章:价值决策芯片——为机器安上一颗“透明的心”

好的,这是一篇基于我们深度讨论的、面向未来的构想性文章。AI元人文系列文章:价值决策芯片——为机器安上一颗“透明的心” 当算法的决策牵动生命与未来,我们需要的不仅是算力,更是可审视、可共鸣的价值理性。 引言…

Day007 Java方法基础

Day007 Java方法基础$(".postTitle2").removeClass("postTitle2").addClass("singleposttitle");Java方法 方法的定义及调用 何为方法 System.out.println():System是一个类,out是输出…

30天JavaScript挑战 - 从零基础到精通的完整学习指南

30天JavaScript挑战是一个系统性的编程学习项目,通过30天的渐进式课程,涵盖从基础语法到高级概念的完整JavaScript知识体系,帮助学习者从零开始掌握现代JavaScript开发技能。30天JavaScript挑战 项目描述 30天JavaS…

题解:AT_agc057_c [AGC057C] Increment or Xor

题意:很简单了,不再赘述。 做法: 先观察一下打打表,发现首先必须满足 \(a_i\equiv a_{i+\frac{N}2}\pmod {\frac{N}2}\),这里 \(N=2^n\),因为结束状态满足,且这两种操作都不影响他们对 \(\frac{N}{2}\) 取模的关…

怎样切图做网站六盘水网站设计

ENSP默认路由配置 1&#xff0c;配置R1路由器 sys ##进入系统视图模式 [Huawei]sys R1 ##修改名字 [R1]int e0/0/0 ##进入接口 [R1-Ethernet0/0/0]ip add 192.168.1.254 24 ##配置ip地址 [R1-Ethernet0/0/0]undo shut ##开启物理接口 [R1-Ethernet0/0/1]int e0/0/1 [R1-Etherne…

网站建设方面的论文东莞市南城装饰工程东莞网站建设

hello&#xff0c;大家好&#xff0c;本讲我们一起聊一下常见的几个并发工具类的使用和坑&#xff01; 在日常工作中&#xff0c;我们经常会遇到多线程并发问题&#xff0c;比如ThreadLocal、锁、ConcurrentHashMap、CopyOnWriteArrayList等。那么如何正常的使用呢&#xff1f;…

Spring框架常见的注解 - 实践

Spring框架常见的注解 - 实践2025-10-03 20:03 tlnshuju 阅读(0) 评论(0) 收藏 举报pre { white-space: pre !important; word-wrap: normal !important; overflow-x: auto !important; display: block !important…

C# MVVM模式和Qt中MVC模式的比较 - 指南

pre { white-space: pre !important; word-wrap: normal !important; overflow-x: auto !important; display: block !important; font-family: "Consolas", "Monaco", "Courier New", …

图书馆网站建设公司秒拍wordpress插件

&#x1f49d;&#x1f49d;&#x1f49d;欢迎来到我的博客&#xff0c;很高兴能够在这里和您见面&#xff01;希望您在这里可以感受到一份轻松愉快的氛围&#xff0c;不仅可以获得有趣的内容和知识&#xff0c;也可以畅所欲言、分享您的想法和见解。 推荐:kuan 的首页,持续学…

网站建设关键字优化网页制作基础教程visual studio code

Python面向对象编程 1.面向对象概念介绍1) 面相过程 —— 怎么做&#xff1f;2&#xff09;面向对象 谁来做 2.类和对象2.1类2.2对象2.3类和对象的关系2.4类的设计2.5面向对象设计案例 士兵类设计2.6身份运算符 3.私有属性和私有方法3.1. 应用场景及定义方式 4.继承、多态重写父…

使用 Copilot AI + Blazor 编一个五子棋游戏

1. 创建 Blazor web工程,选Auto2. 打开 GitHub Copilot 窗口,输入提示词 使用 Blazor 编一个五子棋游戏3.复制代码测试 为了方便调试, 我们先把运行模式由 InteractiveAuto 改为 InteractiveServer 打开 App.razor 编辑…

关于VMware虚拟机如何下载-2025.10.3

关于VMware虚拟机如何下载-2025.10.3现在要想下载VMware有以下办法: 一:直接到这个链接:https://www.vmware.com/products/desktop-hypervisor/workstation-and-fusion 点击 DOWNLOAD FUSION OR WORKSTATION后在这个…

RAG核心特性:ETL - 指南

RAG核心特性:ETL - 指南pre { white-space: pre !important; word-wrap: normal !important; overflow-x: auto !important; display: block !important; font-family: "Consolas", "Monaco", &q…

国庆集训做题10.1 - 10.3

国庆集训做题 CSP-S模拟25 t1 : 爱丽丝的数位划分 题意简述 : 将序列A划分为k个不相交连续非空子序列,求最大的总优美度。 优美度指子序列中十进制表示数字不同的个数,一个方案的优美度是所有子序列优美度的和 首先…

免费申请网站空间网站转化率分析工具

Java线程6种状态和工作原理详解&#xff0c;Java创建线程的4种方式 目录 一、Java线程的六种状态 二、Java线程是如何工作的&#xff1f; 三、BLOCKED 和 WAITING 的区别 四、start() 和 run() 源码分析 五、Java创建线程的所有方式和代码详解 1. 继承Thread类 2. 实现…