20250931在RK3399的Buildroot【linux-6.1】下关闭camera_engine_rkisp

20250931在RK3399的Buildroot【linux-6.1】下关闭camera_engine_rkisp

2025/9/30 16:57

缘起:在闲鱼/海鲜市场找到了RK3588的Buildroot【linux-6.1】。

但是没有人提RK3399的Buildroot【linux-6.1】。

在RK3566的Buildroot【linux-5.10】中找到了RK3399的内核配置文件,拿过来。

然后配置一下,正常编译。

但是找到库文件camera_engine_rkisp。

最简单的方法,直接关闭camera_engine_rkisp。

以下给出来关闭camera_engine_rkisp的步骤!

2025-09-30T16:19:15 >>> perl 5.38.2 Extracting

2025-09-30T16:19:17 >>> perl 5.38.2 Patching

2025-09-30T16:19:17 >>> perl 5.38.2 Updating config.sub and config.guess

2025-09-30T16:19:17 >>> perl 5.38.2 Configuring

2025-09-30T16:20:37 >>> perl 5.38.2 Building

2025-09-30T16:27:11 >>> perl 5.38.2 Installing to staging directory

2025-09-30T16:27:13 >>> perl 5.38.2 Fixing libtool files

2025-09-30T16:27:14 >>> perl 5.38.2 Installing to target

2025-09-30T16:27:24 >>> pm-utils 1.4.1 Extracting

2025-09-30T16:27:25 >>> pm-utils 1.4.1 Patching

2025-09-30T16:27:25 >>> pm-utils 1.4.1 Updating config.sub and config.guess

2025-09-30T16:27:25 >>> pm-utils 1.4.1 Patching libtool

2025-09-30T16:27:25 >>> pm-utils 1.4.1 Configuring

2025-09-30T16:27:27 >>> pm-utils 1.4.1 Building

2025-09-30T16:27:27 >>> pm-utils 1.4.1 Installing to target

2025-09-30T16:27:28 >>> procrank_linux 21c30ab4514a5b15ac6e813e21bee0d3d714cb08 Extracting

2025-09-30T16:27:28 >>> procrank_linux 21c30ab4514a5b15ac6e813e21bee0d3d714cb08 Patching

2025-09-30T16:27:28 >>> procrank_linux 21c30ab4514a5b15ac6e813e21bee0d3d714cb08 Configuring

2025-09-30T16:27:28 >>> procrank_linux 21c30ab4514a5b15ac6e813e21bee0d3d714cb08 Building

2025-09-30T16:27:29 >>> procrank_linux 21c30ab4514a5b15ac6e813e21bee0d3d714cb08 Installing to target
2025-09-30T16:27:30 >>> camera-engine-rkisp 1.0 Syncing from source dir /home/rootroot/rk3399_buildroot6.1/buildroot/../external/camera_engine_rkisp
Done in 1h 17min 07s (error code: 2)
Failed to build rockchip_rk3399:
2025-09-30T16:27:27 Making all in sleep.d
2025-09-30T16:27:27 make[5]: Nothing to be done for 'all'.
2025-09-30T16:27:27 Making all in power.d
2025-09-30T16:27:27 make[5]: Nothing to be done for 'all'.
2025-09-30T16:27:27 Making all in module.d
2025-09-30T16:27:27 make[5]: Nothing to be done for 'all'.
2025-09-30T16:27:27 sed -e 's,[@]PM-UTILS-LIBDIR[@],/usr/lib/pm-utils,g' -e 's,[@]PM-UTILS-SYSCONFDIR[@],/etc/pm,g' functions.in >functions
2025-09-30T16:27:27 sed -e 's,[@]PM-UTILS-LIBDIR[@],/usr/lib/pm-utils,g' -e 's,[@]PM-UTILS-SYSCONFDIR[@],/etc/pm,g' pm-functions.in >pm-functions
2025-09-30T16:27:27 chmod +x functions
2025-09-30T16:27:27 chmod +x pm-functions
2025-09-30T16:27:27 Making all in man
2025-09-30T16:27:27 make[4]: Nothing to be done for 'all'.
2025-09-30T16:27:27 Making all in src
2025-09-30T16:27:27 /home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/host/bin/aarch64-buildroot-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=1 -c pm-pmu.c
2025-09-30T16:27:27 /home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/host/bin/aarch64-buildroot-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=1 -c pm-reset-swap.c
2025-09-30T16:27:27 sed -e 's,[@]PM-UTILS-LIBDIR[@],/usr/lib/pm-utils,g' -e 's,[@]PM-UTILS-SYSCONFDIR[@],/etc/pm,g' pm-is-supported.in >pm-is-supported
2025-09-30T16:27:27 sed -e 's,[@]PM-UTILS-LIBDIR[@],/usr/lib/pm-utils,g' -e 's,[@]PM-UTILS-SYSCONFDIR[@],/etc/pm,g' pm-action.in >pm-action
2025-09-30T16:27:27 sed -e 's,[@]PM-UTILS-LIBDIR[@],/usr/lib/pm-utils,g' -e 's,[@]PM-UTILS-SYSCONFDIR[@],/etc/pm,g' pm-powersave.in >pm-powersave
2025-09-30T16:27:27 chmod +x pm-is-supported
2025-09-30T16:27:27 chmod +x pm-action
2025-09-30T16:27:27 chmod +x pm-powersave
2025-09-30T16:27:27 /home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/host/bin/aarch64-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=1 -o pm-reset-swap pm-reset-swap.o
2025-09-30T16:27:27 /home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/host/bin/aarch64-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=1 -o pm-pmu pm-pmu.o
2025-09-30T16:27:27 >>> pm-utils 1.4.1 Installing to target
2025-09-30T16:27:27 GIT_DIR=. PATH="/home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/host/bin:/home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/host/sbin:/home/rootroot/.local/bin:/opt/FriendlyARM/toolchain/4.9.3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" /usr/bin/make -j25 DESTDIR=/home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/target install -C /home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/build/pm-utils-1.4.1/
2025-09-30T16:27:27 Making install in pm
2025-09-30T16:27:27 Making install in sleep.d
2025-09-30T16:27:27 mkdir -p /home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/target/etc/pm/sleep.d
2025-09-30T16:27:27 test -z "/usr/lib/pm-utils/sleep.d" || /usr/bin/mkdir -p "/home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/target/usr/lib/pm-utils/sleep.d"
2025-09-30T16:27:27 /usr/bin/install -c 00logging '/home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/target/usr/lib/pm-utils/sleep.d'
2025-09-30T16:27:27 Making install in power.d
2025-09-30T16:27:27 mkdir -p /home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/target/etc/pm/power.d
2025-09-30T16:27:27 test -z "/usr/lib/pm-utils/power.d" || /usr/bin/mkdir -p "/home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/target/usr/lib/pm-utils/power.d"
2025-09-30T16:27:27 /usr/bin/install -c sched-powersave harddrive laptop-mode xfs_buffer readahead intel-audio-powersave wireless journal-commit disable_wol pcie_aspm sata_alpm hal-cd-polling '/home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/target/usr/lib/pm-utils/power.d'
2025-09-30T16:27:27 Making install in module.d
2025-09-30T16:27:27 make[5]: Nothing to be done for 'install-exec-am'.
2025-09-30T16:27:27 test -z "/usr/lib/pm-utils/module.d" || /usr/bin/mkdir -p "/home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/target/usr/lib/pm-utils/module.d"
2025-09-30T16:27:27 /usr/bin/install -c kernel tuxonice uswsusp '/home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/target/usr/lib/pm-utils/module.d'
2025-09-30T16:27:27 mkdir /home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/target/etc/pm/config.d
2025-09-30T16:27:27 test -z "/usr/share/doc/pm-utils" || /usr/bin/mkdir -p "/home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/target/usr/share/doc/pm-utils"
2025-09-30T16:27:27 test -z "/usr/lib/pm-utils" || /usr/bin/mkdir -p "/home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/target/usr/lib/pm-utils"
2025-09-30T16:27:27 test -z "/usr/lib/pm-utils" || /usr/bin/mkdir -p "/home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/target/usr/lib/pm-utils"
2025-09-30T16:27:27 /usr/bin/install -c -m 644 HOWTO.hooks HOWTO.modules '/home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/target/usr/share/doc/pm-utils'
2025-09-30T16:27:27 /usr/bin/install -c -m 644 defaults '/home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/target/usr/lib/pm-utils'
2025-09-30T16:27:27 /usr/bin/install -c functions pm-functions '/home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/target/usr/lib/pm-utils'
2025-09-30T16:27:27 Making install in man
2025-09-30T16:27:27 make[4]: Nothing to be done for 'install-exec-am'.
2025-09-30T16:27:27 test -z "/usr/share/man/man1" || /usr/bin/mkdir -p "/home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/target/usr/share/man/man1"
2025-09-30T16:27:27 test -z "/usr/share/man/man8" || /usr/bin/mkdir -p "/home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/target/usr/share/man/man8"
2025-09-30T16:27:27 /usr/bin/make install-data-hook
2025-09-30T16:27:27 test -z "/usr/share/man/man1" || /usr/bin/mkdir -p "/home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/target/usr/share/man/man1"
2025-09-30T16:27:27 test -z "/usr/share/man/man8" || /usr/bin/mkdir -p "/home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/target/usr/share/man/man8"
2025-09-30T16:27:27 Making install in src
2025-09-30T16:27:27 test -z "/usr/bin" || /usr/bin/mkdir -p "/home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/target/usr/bin"
2025-09-30T16:27:27 test -z "/usr/bin" || /usr/bin/mkdir -p "/home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/target/usr/bin"
2025-09-30T16:27:27 test -z "/usr/sbin" || /usr/bin/mkdir -p "/home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/target/usr/sbin"
2025-09-30T16:27:27 test -z "/usr/lib/pm-utils/bin" || /usr/bin/mkdir -p "/home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/target/usr/lib/pm-utils/bin"
2025-09-30T16:27:27 test -z "/usr/lib/pm-utils/bin" || /usr/bin/mkdir -p "/home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/target/usr/lib/pm-utils/bin"
2025-09-30T16:27:27 /usr/bin/install -c pm-is-supported '/home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/target/usr/bin'
2025-09-30T16:27:27 /usr/bin/install -c pm-powersave '/home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/target/usr/sbin'
2025-09-30T16:27:27 /usr/bin/install -c on_ac_power '/home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/target/usr/bin'
2025-09-30T16:27:27 /usr/bin/install -c pm-pmu pm-reset-swap '/home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/target/usr/lib/pm-utils/bin'
2025-09-30T16:27:27 /usr/bin/install -c pm-action service '/home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/target/usr/lib/pm-utils/bin'
2025-09-30T16:27:27 /usr/bin/make install-data-hook
2025-09-30T16:27:27 mkdir -p /home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/target/usr/sbin
2025-09-30T16:27:27 ln -s /usr/lib/pm-utils/bin/pm-action /home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/target/usr/sbin/pm-suspend
2025-09-30T16:27:27 ln -s /usr/lib/pm-utils/bin/pm-action /home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/target/usr/sbin/pm-hibernate
2025-09-30T16:27:27 ln -s /usr/lib/pm-utils/bin/pm-action /home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/target/usr/sbin/pm-suspend-hybrid
2025-09-30T16:27:27 make[4]: Nothing to be done for 'install-exec-am'.
2025-09-30T16:27:27 test -z "/usr/share/doc/pm-utils" || /usr/bin/mkdir -p "/home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/target/usr/share/doc/pm-utils"
2025-09-30T16:27:27 test -z "/usr/lib/pkgconfig" || /usr/bin/mkdir -p "/home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/target/usr/lib/pkgconfig"
2025-09-30T16:27:27 /usr/bin/install -c -m 644 README README.debugging README.distributions '/home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/target/usr/share/doc/pm-utils'
2025-09-30T16:27:27 /usr/bin/install -c -m 644 pm-utils.pc '/home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/target/usr/lib/pkgconfig'
2025-09-30T16:27:28 procrank_linux-21c30ab4514a5b15ac6e813e21bee0d3d714cb08.tar.gz: OK (sha256: 1c3592b549b6793b29ab561568f493d0edbfe288ea2aed59afa689eaa26b5d9e)
2025-09-30T16:27:28 >>> procrank_linux 21c30ab4514a5b15ac6e813e21bee0d3d714cb08 Extracting
2025-09-30T16:27:28 gzip -d -c /home/rootroot/rk3399_buildroot6.1/buildroot/dl/procrank_linux/procrank_linux-21c30ab4514a5b15ac6e813e21bee0d3d714cb08.tar.gz | /home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/host/bin/tar --strip-components=1 -C /home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/build/procrank_linux-21c30ab4514a5b15ac6e813e21bee0d3d714cb08 -xf -
2025-09-30T16:27:28 >>> procrank_linux 21c30ab4514a5b15ac6e813e21bee0d3d714cb08 Patching
2025-09-30T16:27:28 >>> procrank_linux 21c30ab4514a5b15ac6e813e21bee0d3d714cb08 Configuring
2025-09-30T16:27:28 >>> procrank_linux 21c30ab4514a5b15ac6e813e21bee0d3d714cb08 Building
2025-09-30T16:27:28 GIT_DIR=. PATH="/home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/host/bin:/home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/host/sbin:/home/rootroot/.local/bin:/opt/FriendlyARM/toolchain/4.9.3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" /usr/bin/make -j25 -C /home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/build/procrank_linux-21c30ab4514a5b15ac6e813e21bee0d3d714cb08 CROSS_COMPILE="/home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/host/bin/aarch64-buildroot-linux-gnu-" LOCAL_CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=1"
2025-09-30T16:27:28 make -C libpagemap
2025-09-30T16:27:28 make[3]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
2025-09-30T16:27:28 /home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/host/bin/aarch64-buildroot-linux-gnu-gcc -Wall -I./include -c -D_LARGEFILE64_SOURCE -c -o pm_kernel.o pm_kernel.c
2025-09-30T16:27:29 /home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/host/bin/aarch64-buildroot-linux-gnu-gcc -Wall -I./include -c -D_LARGEFILE64_SOURCE -c -o pm_process.o pm_process.c
2025-09-30T16:27:29 pm_process.c: In function 'pm_process_workingset':
2025-09-30T16:27:29 pm_process.c:180:12: warning: unused variable 'j' [-Wunused-variable]
2025-09-30T16:27:29 180 | int i, j;
2025-09-30T16:27:29 | ^
2025-09-30T16:27:29 /home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/host/bin/aarch64-buildroot-linux-gnu-gcc -Wall -I./include -c -D_LARGEFILE64_SOURCE -c -o pm_map.o pm_map.c
2025-09-30T16:27:29 /home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/host/bin/aarch64-buildroot-linux-gnu-gcc -Wall -I./include -c -D_LARGEFILE64_SOURCE -c -o pm_memusage.o pm_memusage.c
2025-09-30T16:27:29 /home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/host/bin/aarch64-buildroot-linux-gnu-gcc -Wall -I./include -c -D_LARGEFILE64_SOURCE -c -o strlcpy.o strlcpy.c
2025-09-30T16:27:29 /home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/host/bin/aarch64-buildroot-linux-gnu-ar rc libpagemap.a pm_kernel.o pm_process.o pm_map.o pm_memusage.o strlcpy.o
2025-09-30T16:27:29 /home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/host/bin/aarch64-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=1 procrank.c -Ilibpagemap/include -Llibpagemap -lpagemap -o procrank
2025-09-30T16:27:29 >>> procrank_linux 21c30ab4514a5b15ac6e813e21bee0d3d714cb08 Installing to target
2025-09-30T16:27:29 /usr/bin/install -m 0755 -D /home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/build/procrank_linux-21c30ab4514a5b15ac6e813e21bee0d3d714cb08/procrank /home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/target/usr/bin/procrank
2025-09-30T16:27:30 >>> camera-engine-rkisp 1.0 Syncing from source dir /home/rootroot/rk3399_buildroot6.1/buildroot/../external/camera_engine_rkisp
2025-09-30T16:27:30 ERROR: /home/rootroot/rk3399_buildroot6.1/buildroot/../external/camera_engine_rkisp does not exist
2025-09-30T16:27:30 make[1]: *** [package/pkg-generic.mk:238: /home/rootroot/rk3399_buildroot6.1/buildroot/output/rockchip_rk3399/build/camera-engine-rkisp-1.0/.stamp_rsynced] Error 1
2025-09-30T16:27:30 make: *** [Makefile:112: _all] Error 2
2025-09-30T16:27:30 make: Leaving directory '/home/rootroot/rk3399_buildroot6.1/buildroot'
Please check details in /home/rootroot/rk3399_buildroot6.1/output/sessions/2025-09-30_15-05-04/br-rockchip_rk3399_2025-09-30_15-10-23.log
ERROR: Running /home/rootroot/rk3399_buildroot6.1/device/rockchip/common/scripts/mk-rootfs.sh - build_buildroot failed!
ERROR: exit code 1 from line 16:
"RK_SCRIPTS_DIR/mk-buildroot.sh" RK_BUILDROOT_CFG "IMAGE_DIR" ERROR: call stack: mk-rootfs.sh: build_buildroot(16) mk-rootfs.sh: build_hook(293) mk-rootfs.sh: main(322) ERROR: Running /home/rootroot/rk3399_buildroot6.1/device/rockchip/common/build-hooks/99-all.sh - build_all failed! ERROR: exit code 1 from line 21: "RK_SCRIPTS_DIR/mk-rootfs.sh"
ERROR: call stack:
99-all.sh: build_all(21)
99-all.sh: build_hook(128)
build-helper: try_func(63)
build-helper: try_hook(96)
build-helper: source(174)
99-all.sh: main(139)
ERROR: Running /home/rootroot/rk3399_buildroot6.1/device/rockchip/common/build-hooks/99-all.sh - try_func build_hook all failed!
ERROR: exit code 1 from line 67:
build_hook
ERROR: call stack:
build-helper: try_func(67)
build-helper: try_hook(96)
build-helper: source(174)
99-all.sh: main(139)

rootroot@rootroot-X99-Turbo:~/rk3399_buildroot6.1$

rootroot@rootroot-X99-Turbo:~/rk3399_buildroot6.1 rootroot@rootroot-X99-Turbo:\~/rk3399_buildroot6.1 ./build.sh buildroot-config

############### Rockchip Linux SDK ###############

Manifest: rk3588_linux6.1_release_v1.1.0_20240620.xml

Log colors: message notice warning error fatal

Log saved at /home/rootroot/rk3399_buildroot6.1/output/sessions/2025-09-30_16-59-16

Using last kernel version(6.1)

==========================================

Final configs

==========================================

RK_BOOT_IMG=boot.img

RK_BUILDROOT=y

RK_BUILDROOT_CFG=rockchip_rk3399

RK_CHIP=rk3399

RK_CHIP_FAMILY=rk3399

RK_DEBIAN=y

RK_DEBIAN_ARCH=arm64

RK_DEBIAN_BOOKWORM=y

RK_DEBIAN_MIRROR=mirrors.ustc.edu.cn

RK_DEBIAN_VERSION=bookworm

RK_DEFCONFIG=rockchip_rk3399_sapphire_excavator_lp4_defconfig

RK_EXTRA_PARTITION_NUM=2

RK_EXTRA_PARTITION_STR=oem:oem:/oem:ext4:defaults:normal:auto:@userdata:userdata:/userdata:ext4:defaults:normal:auto:@@@

RK_KERNEL=y

RK_KERNEL_ARCH=arm64

RK_KERNEL_CFG=rockchip_linux_defconfig

RK_KERNEL_DTS=kernel/arch/arm64/boot/dts/rockchip/rk3399-sapphire-excavator-lp4-linux.dts

RK_KERNEL_IMG=kernel/arch/arm64/boot/Image

RK_KERNEL_VERSION=6.1

RK_KERNEL_VERSION_RAW=6.1

RK_LOADER=y

RK_MISC=y

RK_MISC_BLANK=y

RK_OVERLAY=y

RK_OWNER=rootroot

RK_OWNER_UID=1000

RK_PARAMETER=parameter.txt

RK_RECOVERY=y

RK_RECOVERY_CFG=rockchip_rk3399_recovery

RK_RECOVERY_CPIO_GZ=y

RK_RECOVERY_INITRD_TYPE=cpio.gz

RK_ROOTFS=y

RK_ROOTFS_ASYNC_COMMIT=y

RK_ROOTFS_DEBUG_INFO=y

RK_ROOTFS_EXT4=y

RK_ROOTFS_FSTRIM=y

RK_ROOTFS_FSTRIM_INTERVAL=3600

RK_ROOTFS_GENERATE_LOGS=y

RK_ROOTFS_INPUT_EVENT_DAEMON=y

RK_ROOTFS_IRQBALANCE=y

RK_ROOTFS_LD_CACHE=y

RK_ROOTFS_LOG_GUARDIAN=y

RK_ROOTFS_LOG_GUARDIAN_INTERVAL=10m

RK_ROOTFS_LOG_GUARDIAN_LOG_DIRS=/var/log/,/tmp/

RK_ROOTFS_LOG_GUARDIAN_MIN_SIZE=100M

RK_ROOTFS_OVERLAY=y

RK_ROOTFS_STRIP_MODULES=y

RK_ROOTFS_SYSTEM=buildroot

RK_ROOTFS_TYPE=ext4

RK_ROOTFS_UDEV_RULES=y

RK_SAVE_TRACKED=y

RK_SESSION=2025-09-30_16-59-16

RK_UBOOT_ARCH=arm64

RK_UBOOT_CFG=rk3399

RK_UPDATE=y

RK_USB_ADBD=y

RK_USB_ADBD_SHELL=/bin/bash

RK_USB_ADBD_TCP_PORT=5555

RK_USB_FW_VER=0x0310

RK_USB_GADGET=y

RK_USB_MANUFACTURER=Rockchip

RK_USB_PRODUCT=rk3xxx

RK_USB_VID=0x2207

RK_WIFIBT=y

RK_WIFIBT_MODULES=ALL_AP

RK_WIFIBT_RTK_AP=y

RK_YOCTO=y

RK_YOCTO_CHROMIUM=y

RK_YOCTO_DISPLAY_PLATFORM=wayland

RK_YOCTO_MACHINE=rockchip-rk3399-sapphire-excavator

RK_YOCTO_USBMOUNT=y

make: Entering directory '/home/rootroot/rk3399_buildroot6.1/buildroot'

mkdir -p /tmp/tmp.Vya9tqbZ9h/build/buildroot-config/lxdialog

PKG_CONFIG_PATH="" make CC="/usr/bin/gcc" HOSTCC="/usr/bin/gcc" \

obj=/tmp/tmp.Vya9tqbZ9h/build/buildroot-config -C support/kconfig -f Makefile.br conf

/usr/bin/gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -I/tmp/tmp.Vya9tqbZ9h/build/buildroot-config -DCONFIG_=\"\" -MM *.c > /tmp/tmp.Vya9tqbZ9h/build/buildroot-config/.depend 2>/dev/null || :

/usr/bin/gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -I/tmp/tmp.Vya9tqbZ9h/build/buildroot-config -DCONFIG_=\"\" -c conf.c -o /tmp/tmp.Vya9tqbZ9h/build/buildroot-config/conf.o

/usr/bin/gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -I/tmp/tmp.Vya9tqbZ9h/build/buildroot-config -DCONFIG_=\"\" -I. -c /tmp/tmp.Vya9tqbZ9h/build/buildroot-config/zconf.tab.c -o /tmp/tmp.Vya9tqbZ9h/build/buildroot-config/zconf.tab.o

/usr/bin/gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -I/tmp/tmp.Vya9tqbZ9h/build/buildroot-config -DCONFIG_=\"\" /tmp/tmp.Vya9tqbZ9h/build/buildroot-config/conf.o /tmp/tmp.Vya9tqbZ9h/build/buildroot-config/zconf.tab.o -o /tmp/tmp.Vya9tqbZ9h/build/buildroot-config/conf

rm /tmp/tmp.Vya9tqbZ9h/build/buildroot-config/zconf.tab.c

GEN /tmp/tmp.Vya9tqbZ9h/Makefile

Parsing defconfig: /home/rootroot/rk3399_buildroot6.1/buildroot/configs/rockchip_rk3399_defconfig

Using configs/rockchip/base/kernel.config as base

Merging configs/rockchip/fs/e2fs.config

Merging configs/rockchip/base/common.config

Merging configs/rockchip/base/base.config

Merging configs/rockchip/bus/pci.config

Merging configs/rockchip/chips/rk3399.config

Merging configs/rockchip/chips/rk3399_aarch64.config

Value of BR2_ROOTFS_OVERLAY is redefined by configs/rockchip/chips/rk3399_aarch64.config:

Previous value: BR2_ROOTFS_OVERLAY="board/rockchip/common/base"

Modify value: BR2_ROOTFS_OVERLAY+="board/rockchip/rk3399/fs-overlay/"

New value: BR2_ROOTFS_OVERLAY="board/rockchip/common/base board/rockchip/rk3399/fs-overlay/"

Merging configs/rockchip/font/font.config

Merging configs/rockchip/font/chinese.config

Merging configs/rockchip/fs/exfat.config

Merging configs/rockchip/fs/ntfs.config

Merging configs/rockchip/fs/vfat.config

Merging configs/rockchip/gpu/gpu.config

Merging configs/rockchip/multimedia/audio.config

Merging configs/rockchip/multimedia/camera.config

Merging configs/rockchip/multimedia/gst/audio.config

Merging configs/rockchip/multimedia/gst/camera.config

Merging configs/rockchip/multimedia/gst/rtsp.config

Merging configs/rockchip/multimedia/gst/video.config

Merging configs/rockchip/multimedia/mpp.config

Merging configs/rockchip/wifibt/bt.config

Merging configs/rockchip/network/network.config

Merging configs/rockchip/wifibt/wireless.config

Merging configs/rockchip/tools/benchmark.config

Merging configs/rockchip/tools/common.config

Merging configs/rockchip/tools/test.config

Merging configs/rockchip/network/chromium.config

Merging configs/rockchip/powermanager.config

Merging configs/rockchip/weston.config

Merging /home/rootroot/rk3399_buildroot6.1/buildroot/configs/rockchip_rk3399_defconfig

merged configuration written to /tmp/tmp.Vya9tqbZ9h/.config.in (needs make)

configuration written to /tmp/tmp.Vya9tqbZ9h/.config

mkdir -p /tmp/tmp.Vya9tqbZ9h/build/buildroot-config/lxdialog

PKG_CONFIG_PATH="" make CC="/usr/bin/gcc" HOSTCC="/usr/bin/gcc" \

obj=/tmp/tmp.Vya9tqbZ9h/build/buildroot-config -C support/kconfig -f Makefile.br mconf

/usr/bin/gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -I/tmp/tmp.Vya9tqbZ9h/build/buildroot-config -DCONFIG_=\"\" -c lxdialog/checklist.c -o /tmp/tmp.Vya9tqbZ9h/build/buildroot-config/lxdialog/checklist.o

/usr/bin/gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -I/tmp/tmp.Vya9tqbZ9h/build/buildroot-config -DCONFIG_=\"\" -c lxdialog/inputbox.c -o /tmp/tmp.Vya9tqbZ9h/build/buildroot-config/lxdialog/inputbox.o

/usr/bin/gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -I/tmp/tmp.Vya9tqbZ9h/build/buildroot-config -DCONFIG_=\"\" -c lxdialog/menubox.c -o /tmp/tmp.Vya9tqbZ9h/build/buildroot-config/lxdialog/menubox.o

/usr/bin/gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -I/tmp/tmp.Vya9tqbZ9h/build/buildroot-config -DCONFIG_=\"\" -c lxdialog/textbox.c -o /tmp/tmp.Vya9tqbZ9h/build/buildroot-config/lxdialog/textbox.o

/usr/bin/gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -I/tmp/tmp.Vya9tqbZ9h/build/buildroot-config -DCONFIG_=\"\" -c lxdialog/util.c -o /tmp/tmp.Vya9tqbZ9h/build/buildroot-config/lxdialog/util.o

/usr/bin/gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -I/tmp/tmp.Vya9tqbZ9h/build/buildroot-config -DCONFIG_=\"\" -c lxdialog/yesno.c -o /tmp/tmp.Vya9tqbZ9h/build/buildroot-config/lxdialog/yesno.o

/usr/bin/gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -I/tmp/tmp.Vya9tqbZ9h/build/buildroot-config -DCONFIG_=\"\" -c mconf.c -o /tmp/tmp.Vya9tqbZ9h/build/buildroot-config/mconf.o

/usr/bin/gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -I/tmp/tmp.Vya9tqbZ9h/build/buildroot-config -DCONFIG_=\"\" /tmp/tmp.Vya9tqbZ9h/build/buildroot-config/mconf.o /tmp/tmp.Vya9tqbZ9h/build/buildroot-config/zconf.tab.o /tmp/tmp.Vya9tqbZ9h/build/buildroot-config/lxdialog/checklist.o /tmp/tmp.Vya9tqbZ9h/build/buildroot-config/lxdialog/util.o /tmp/tmp.Vya9tqbZ9h/build/buildroot-config/lxdialog/inputbox.o /tmp/tmp.Vya9tqbZ9h/build/buildroot-config/lxdialog/textbox.o /tmp/tmp.Vya9tqbZ9h/build/buildroot-config/lxdialog/yesno.o /tmp/tmp.Vya9tqbZ9h/build/buildroot-config/lxdialog/menubox.o -Wl,-Bsymbolic-functions -lncursesw -ltinfo -o /tmp/tmp.Vya9tqbZ9h/build/buildroot-config/mconf

*** End of the configuration.

*** Execute 'make' to start the build or try 'make help'.

make: Leaving directory '/home/rootroot/rk3399_buildroot6.1/buildroot'

Updating defconfig: configs/rockchip_rk3399_defconfig

Original defconfig saved to /tmp/tmp.Vya9tqbZ9h/.defconfig

Base defconfig saved to /tmp/tmp.Vya9tqbZ9h/.base_defconfig

Value of BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1 applied to fragment:

Base value:

Final value: BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y

Done updating configs/rockchip_rk3399_defconfig.

Running 30-rootfs.sh - buildroot-config succeeded.

rootroot@rootroot-X99-Turbo:~/rk3399_buildroot6.1$

rootroot@rootroot-X99-Turbo:~/rk3399_buildroot6.1$

rootroot@rootroot-X99-Turbo:~/rk3399_buildroot6.1$

Target packages --->
Hardware Platforms --->

\*\] Rockchip Platform ---\> \[\*\] Rockchip Camera Engine For ISP ![](https://i-blog.csdnimg.cn/direct/9bc60c7c0b1f427f90c678ef511d8765.png) Target options ---\> Toolchain ---\> Build options ---\> System configuration ---\> Kernel ---\> Target packages ---\> Filesystem images ---\> Bootloaders ---\> Host utilities ---\> Legacy config options ---\> ![](https://i-blog.csdnimg.cn/direct/298d04cca2024db5a4eacfc1b1a8819c.png) ![](https://i-blog.csdnimg.cn/direct/808fd907a6854429ab055f0b16f860db.png) ![](https://i-blog.csdnimg.cn/direct/a474c9096e144adbbe0f857ed938225e.png) ![](https://i-blog.csdnimg.cn/direct/d782529895f94a3ba7023c826dfdffb6.png) ![](https://i-blog.csdnimg.cn/direct/fc9df8d861f74a909e50361242fe6efe.png) Hardware Platforms ---\> -\*- BusyBox \[ \] Enable static (package/busybox/busybox.config) BusyBox configuration file to use? (board/rockchip/common/base/busybox.fragment) Additional BusyBox configuration fragment files \[\*\] Enable unicode support \[\*\] Bypass unicode when printing \[\*\] Show packages that are also provided by busybox \[ \] Individual binaries \[ \] Install the watchdog daemon startup script Audio and video applications ---\> Compressors and decompressors ---\> Debugging, profiling and benchmark ---\> Development tools ---\> Filesystem and flash utilities ---\> Fonts, cursors, icons, sounds and themes ---\> Games ---\> Graphic libraries and applications (graphic/text) ---\> Hardware handling ---\> Interpreter languages and scripting ---\> Libraries ---\> Mail ---\> Miscellaneous ---\> Networking applications ---\> Package managers ---\> Real-Time ---\> Security ---\> Shell and utilities ---\> System tools ---\> Text editors and viewers ---\> ![](https://i-blog.csdnimg.cn/direct/55393adc4cb149b6a9e0e5463e3755a2.png) \[\*\] Rockchip Platform ---\> ![](https://i-blog.csdnimg.cn/direct/fbc86a42d6994977bb325f72d92f356d.png) --- Rockchip Platform Rockchip SoC (rk3399) ---\> \[\*\] Rockchip Camera Engine For ISP Rockchip BSP packages ---\> Rockchip IPC ---\> ![](https://i-blog.csdnimg.cn/direct/646d3dc3e4664741a597d95c9f34ba5b.png) --- Rockchip Platform Rockchip SoC (rk3399) ---\> \[ \] Rockchip Camera Engine For ISP Rockchip BSP packages ---\> Rockchip IPC ---\> 参考资料: DeepSeek:RK3588 buildroot 配置不编译 camera_engine_rkisp 百度:rockchip buildroot 关闭某些包 https://blog.csdn.net/xxxx123041/article/details/133617543 buildroot添加package包 viewpro@viewpro-ThinkBook-16-G5-IRH:\~/rk3566_buildroot_v120$ ./build.sh rk3399:rockchip_defconfig https://blog.csdn.net/wb4916/article/details/143416652?spm=1011.2415.3001.5331 20241031使用Rockchip原厂RK3566的Buildroot编译RK3399方案

相关推荐
christine-rr2 小时前
【25软考网工】第五章(11)【补充】网络互联设备
开发语言·网络·计算机网络·php·网络工程师·软考
MetetorShower2 小时前
深入解析MCP:从Function Calling到工具调用的标准化革命
后端
Emrys_3 小时前
装饰者模式详解与计费功能实现
后端
猎豹奕叔3 小时前
注解规则编排组件
后端
程序员小假3 小时前
线程池执行过程中遇到异常该怎么办?
java·后端
karry_k3 小时前
常用的同步辅助类
后端
Mr.Entropy3 小时前
Hibernate批量查询方法全面解析
java·后端·hibernate
绝顶少年3 小时前
Spring 框架中 RestTemplate 的使用方法
java·后端·spring
信安成长日记3 小时前
golang 写路由的时候要注意
开发语言·后端·golang