20250619在Ubuntu20.04.6下编译Rockchip瑞芯微原厂的RK3576的Buildroot系统
2、和飞凌的OK3576-C比对,很容易/根据经验/艰难得知:
Z:\orig3576-buildroot20250618k7\device\rockchip\.chips\rk3576\parameter.txt
Z:\OK3576_linux_source6.1.75\device\rockchip\.chips\rk3576\parameter.txt
直接替换整个device\rockchip\.chips\rk3576目录即可!
3、编译步骤/过程:
rootroot@rootroot-X99-Turbo:~$ cd orig3576-buildroot20250618k7/
rootroot@rootroot-X99-Turbo:~/orig3576-buildroot20250618k7$ ll
rootroot@rootroot-X99-Turbo:~/orig3576-buildroot20250618k7$ ll *.sh
rootroot@rootroot-X99-Turbo:~/orig3576-buildroot20250618k7$ ./build.sh lunch
1. rockchip_rk3576_evb1_v10_defconfig
Which would you like? [1]: 1
rootroot@rootroot-X99-Turbo:~/orig3576-buildroot20250618k7$ ./build.sh
rootroot@rootroot-X99-Turbo:~/orig3576-buildroot20250618k7$ du -sh
52G .
rootroot@rootroot-X99-Turbo:~/orig3576-buildroot20250618k7$
20250619在Ubuntu20.04.6下编译Rockchip瑞芯微原厂的RK3576的Buildroot系统
2025/6/19 16:35
缘起:想/希望 在Ubuntu20.04.6下编译Rockchip瑞芯微原厂的RK3576的Buildroot系统。
1、找到KickPi的K7的SDK。
编译Buildroot的时候没有原厂的选项!
rootroot@rootroot-X99-Turbo:~/14TB/versions/rk3576-linux20250618k7$
rootroot@rootroot-X99-Turbo:~/14TB/versions/rk3576-linux20250618k7$ ./build.sh lunch
Log colors: message notice warning error fatal
Parsing supported commands...
Log saved at /home/rootroot/14TB/versions/rk3576-linux20250618k7/output/sessions/2025-06-19_09-20-28
Pick a defconfig:
1. rockchip_defconfig
2. rockchip_rk3576_kickpi_k7_buildroot_defconfig
3. rockchip_rk3576_kickpi_k7_debian_defconfig
4. rockchip_rk3576_kickpi_k7_ubuntu_defconfig
Which would you like? [1]: 2
Switching to defconfig: /home/rootroot/14TB/versions/rk3576-linux20250618k7/device/rockchip/.chip/rockchip_rk3576_kickpi_k7_buildroot_defconfig
mkdir -p /home/rootroot/14TB/versions/rk3576-linux20250618k7/output/kconf/lxdialog
make CC="gcc" HOSTCC="gcc" \
obj=/home/rootroot/14TB/versions/rk3576-linux20250618k7/output/kconf -C /home/rootroot/14TB/versions/rk3576-linux20250618k7/device/rockchip/common/kconfig -f Makefile.br conf
make[1]: Entering directory '/home/rootroot/14TB/versions/rk3576-linux20250618k7/device/rockchip/common/kconfig'
gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -I/home/rootroot/14TB/versions/rk3576-linux20250618k7/output/kconf -DCONFIG_=\"\" -MM *.c > /home/rootroot/14TB/versions/rk3576-linux20250618k7/output/kconf/.depend 2>/dev/null || :
gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -I/home/rootroot/14TB/versions/rk3576-linux20250618k7/output/kconf -DCONFIG_=\"\" -c conf.c -o /home/rootroot/14TB/versions/rk3576-linux20250618k7/output/kconf/conf.o
gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -I/home/rootroot/14TB/versions/rk3576-linux20250618k7/output/kconf -DCONFIG_=\"\" -I. -c /home/rootroot/14TB/versions/rk3576-linux20250618k7/output/kconf/zconf.tab.c -o /home/rootroot/14TB/versions/rk3576-linux20250618k7/output/kconf/zconf.tab.o
gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -I/home/rootroot/14TB/versions/rk3576-linux20250618k7/output/kconf -DCONFIG_=\"\" /home/rootroot/14TB/versions/rk3576-linux20250618k7/output/kconf/conf.o /home/rootroot/14TB/versions/rk3576-linux20250618k7/output/kconf/zconf.tab.o -o /home/rootroot/14TB/versions/rk3576-linux20250618k7/output/kconf/conf
rm /home/rootroot/14TB/versions/rk3576-linux20250618k7/output/kconf/zconf.tab.c
make[1]: Leaving directory '/home/rootroot/14TB/versions/rk3576-linux20250618k7/device/rockchip/common/kconfig'
#
# configuration written to /home/rootroot/14TB/versions/rk3576-linux20250618k7/output/.config
#
Using current kernel version(6.1)
rootroot@rootroot-X99-Turbo:~/14TB/versions/rk3576-linux20250618k7$ ll
2、和飞凌的OK3576-C比对,很容易/根据经验/艰难得知:
Z:\orig3576-buildroot20250618k7\device\rockchip\.chips\rk3576\parameter.txt
Z:\OK3576_linux_source6.1.75\device\rockchip\.chips\rk3576\parameter.txt
直接替换整个device\rockchip\.chips\rk3576目录即可!
rootroot@rootroot-X99-Turbo:~$ rm kickpi3576_buildroot20250618k7/rk3576-linux-20250618.md^C
rootroot@rootroot-X99-Turbo:~$ rm kickpi3576_buildroot20250618k7/ -rf
rootroot@rootroot-X99-Turbo:~$ cd rk3576-linux20250618k7/
rootroot@rootroot-X99-Turbo:~/rk3576-linux20250618k7$ ll
total 254600
drwxrwxr-x 15 rootroot rootroot 4096 6月 19 09:12 ./
drwxr-xr-x 45 rootroot rootroot 4096 6月 19 13:39 ../
drwxrwxr-x 7 rootroot rootroot 4096 6月 19 09:08 app/
-rwxrwxr-x 1 rootroot rootroot 3115 6月 19 09:08 build_multi_dtb.sh*
drwxrwxr-x 17 rootroot rootroot 4096 6月 19 12:31 buildroot/
lrwxrwxrwx 1 rootroot rootroot 39 6月 19 09:08 build.sh -> device/rockchip/common/scripts/build.sh*
lrwxrwxrwx 1 rootroot rootroot 21 6月 19 09:08 Copyright_Statement.md -> docs/licenses/LICENSE*
drwxrwxr-x 9 rootroot rootroot 4096 6月 19 09:08 debian/
drwxrwxr-x 3 rootroot rootroot 4096 6月 19 09:08 device/
drwxrwxr-x 6 rootroot rootroot 4096 6月 19 09:09 docs/
lrwxrwxrwx 1 rootroot rootroot 27 6月 19 09:09 envsetup.sh -> buildroot/build/envsetup.sh
drwxrwxr-x 34 rootroot rootroot 4096 6月 19 09:09 external/
lrwxrwxrwx 1 rootroot rootroot 10 6月 19 09:09 kernel -> kernel-6.1/
drwxrwxr-x 26 rootroot rootroot 4096 6月 19 09:10 kernel-6.1/
-rw-rw-r-- 1 rootroot rootroot 241547380 6月 19 09:12 kernel-6.1b.tgz
lrwxrwxrwx 1 rootroot rootroot 31 6月 19 09:08 Makefile -> device/rockchip/common/Makefile
drwxrwxr-x 3 rootroot rootroot 4096 6月 19 09:10 prebuilts/
drwxrwxr-x 9 rootroot rootroot 4096 6月 19 09:10 rkbin/
lrwxrwxrwx 1 rootroot rootroot 41 6月 19 09:10 rkflash.sh -> device/rockchip/common/scripts/rkflash.sh*
drwxrwxr-x 5 rootroot rootroot 4096 6月 19 09:10 tools/
drwxrwxr-x 24 rootroot rootroot 4096 6月 19 09:10 u-boot/
-rw-rw-r-- 1 rootroot rootroot 19091886 6月 19 09:11 u-boot1.tgz
drwxrwxr-x 7 rootroot rootroot 4096 6月 19 09:10 ubuntu/
drwxrwxr-x 8 rootroot rootroot 4096 6月 19 09:10 yocto/
rootroot@rootroot-X99-Turbo:~/rk3576-linux20250618k7$
rootroot@rootroot-X99-Turbo:~/rk3576-linux20250618k7$ cd device/
rootroot@rootroot-X99-Turbo:~/rk3576-linux20250618k7/device$ ll
total 12
drwxrwxr-x 3 rootroot rootroot 4096 6月 19 09:08 ./
drwxrwxr-x 15 rootroot rootroot 4096 6月 19 09:12 ../
drwxrwxr-x 4 rootroot rootroot 4096 6月 19 09:09 rockchip/
rootroot@rootroot-X99-Turbo:~/rk3576-linux20250618k7/device$ cd rockchip/
rootroot@rootroot-X99-Turbo:~/rk3576-linux20250618k7/device/rockchip$ ll
total 20
drwxrwxr-x 4 rootroot rootroot 4096 6月 19 09:09 ./
drwxrwxr-x 3 rootroot rootroot 4096 6月 19 09:08 ../
lrwxrwxrwx 1 rootroot rootroot 13 6月 19 09:08 .chip -> .chips/rk3576/
drwxrwxr-x 3 rootroot rootroot 4096 6月 19 09:08 .chips/
drwxrwxr-x 13 rootroot rootroot 4096 6月 19 09:09 common/
-rw-rw-r-- 1 rootroot rootroot 24 6月 19 09:08 .gitignore
lrwxrwxrwx 1 rootroot rootroot 13 6月 19 09:09 rk3576 -> .chips/rk3576/
rootroot@rootroot-X99-Turbo:~/rk3576-linux20250618k7/device/rockchip$ cd .chips/
rootroot@rootroot-X99-Turbo:~/rk3576-linux20250618k7/device/rockchip/.chips$ ll
total 12
drwxrwxr-x 3 rootroot rootroot 4096 6月 19 09:08 ./
drwxrwxr-x 4 rootroot rootroot 4096 6月 19 09:09 ../
drwxrwxr-x 2 rootroot rootroot 4096 6月 19 09:08 rk3576/
rootroot@rootroot-X99-Turbo:~/rk3576-linux20250618k7/device/rockchip/.chips$ cd rk3576/
rootroot@rootroot-X99-Turbo:~/rk3576-linux20250618k7/device/rockchip/.chips/rk3576$ ll
total 80
drwxrwxr-x 2 rootroot rootroot 4096 6月 19 09:08 ./
drwxrwxr-x 3 rootroot rootroot 4096 6月 19 09:08 ../
-rw-rw-r-- 1 rootroot rootroot 1673 6月 19 09:08 boot4recovery.its
-rw-rw-r-- 1 rootroot rootroot 1430 6月 19 09:08 boot.its
-rw-rw-r-- 1 rootroot rootroot 477 6月 19 09:08 parameter-ab.txt
-rw-rw-r-- 1 rootroot rootroot 539 6月 19 09:08 parameter.txt
-rwxrwxr-x 1 rootroot rootroot 76 6月 19 09:08 rockchip_defconfig*
-rw-rw-r-- 1 rootroot rootroot 76 6月 19 09:08 rockchip_rk3576_evb1_v10_defconfig_
-rw-rw-r-- 1 rootroot rootroot 77 6月 19 09:08 rockchip_rk3576_industry_evb_v10_defconfig_
-rw-rw-r-- 1 rootroot rootroot 77 6月 19 09:08 rockchip_rk3576_iotest_v10_defconfig_
-rwxrwxr-x 1 rootroot rootroot 133 6月 19 09:08 rockchip_rk3576_ipc_evb1_v10_defconfig_*
-rwxrwxr-x 1 rootroot rootroot 76 6月 19 09:08 rockchip_rk3576_kickpi_k7_buildroot_defconfig*
-rwxrwxr-x 1 rootroot rootroot 126 6月 19 09:08 rockchip_rk3576_kickpi_k7_debian_defconfig*
-rwxrwxr-x 1 rootroot rootroot 125 6月 19 09:08 rockchip_rk3576_kickpi_k7_ubuntu_defconfig*
-rwxrwxr-x 1 rootroot rootroot 146 6月 19 09:08 rockchip_rk3576_multi_ipc_evb1_v10_defconfig_*
-rw-rw-r-- 1 rootroot rootroot 76 6月 19 09:08 rockchip_rk3576_test1_v10_defconfig_
-rw-rw-r-- 1 rootroot rootroot 76 6月 19 09:08 rockchip_rk3576_test2_v10_defconfig_
-rw-rw-r-- 1 rootroot rootroot 285 6月 19 09:08 rockchip-rk3576-vehicle-evb.conf
-rw-rw-r-- 1 rootroot rootroot 259 6月 19 09:08 rockchip_rk3576_vehicle_evb_v10_defconfig_
-rw-rw-r-- 1 rootroot rootroot 1429 6月 19 09:08 zboot.its
rootroot@rootroot-X99-Turbo:~/rk3576-linux20250618k7/device/rockchip/.chips/rk3576$ cd ..
rootroot@rootroot-X99-Turbo:~/rk3576-linux20250618k7/device/rockchip/.chips$ ll
total 12
drwxrwxr-x 3 rootroot rootroot 4096 6月 19 09:08 ./
drwxrwxr-x 4 rootroot rootroot 4096 6月 19 09:09 ../
drwxrwxr-x 2 rootroot rootroot 4096 6月 19 09:08 rk3576/
rootroot@rootroot-X99-Turbo:~/rk3576-linux20250618k7/device/rockchip/.chips$ rm rk3576/ -rf
rootroot@rootroot-X99-Turbo:~/rk3576-linux20250618k7/device/rockchip/.chips$ cd ~
rootroot@rootroot-X99-Turbo:~$
rootroot@rootroot-X99-Turbo:~$
rootroot@rootroot-X99-Turbo:~$ mv rk3576-linux20250618k7 orig3576-buildroot20250618k7
rootroot@rootroot-X99-Turbo:~$
rootroot@rootroot-X99-Turbo:~$ tar --use-compress-program=pigz -cvpf orig3576-buildroot20250618k7_1353.tgz orig3576-buildroot20250618k7/
精简的编译步骤:
3、编译步骤/过程:
rootroot@rootroot-X99-Turbo:~$
rootroot@rootroot-X99-Turbo:~$ cd orig3576-buildroot20250618k7/
rootroot@rootroot-X99-Turbo:~/orig3576-buildroot20250618k7$ ll
rootroot@rootroot-X99-Turbo:~/orig3576-buildroot20250618k7$ ll *.sh
-rwxrwxr-x 1 rootroot rootroot 3115 6月 19 09:08 build_multi_dtb.sh*
lrwxrwxrwx 1 rootroot rootroot 39 6月 19 09:08 build.sh -> device/rockchip/common/scripts/build.sh*
lrwxrwxrwx 1 rootroot rootroot 27 6月 19 09:09 envsetup.sh -> buildroot/build/envsetup.sh
lrwxrwxrwx 1 rootroot rootroot 41 6月 19 09:10 rkflash.sh -> device/rockchip/common/scripts/rkflash.sh*
rootroot@rootroot-X99-Turbo:~/orig3576-buildroot20250618k7$
rootroot@rootroot-X99-Turbo:~/orig3576-buildroot20250618k7$ ./build.sh lunch
Log colors: message notice warning error fatal
Parsing supported commands...
Log saved at /home/rootroot/orig3576-buildroot20250618k7/output/sessions/2025-06-19_14-01-49
Pick a defconfig:
1. rockchip_rk3576_evb1_v10_defconfig
2. rockchip_rk3576_industry_evb_v10_defconfig
3. rockchip_rk3576_iotest_v10_defconfig
4. rockchip_rk3576_ipc_evb1_v10_defconfig
5. rockchip_rk3576_multi_ipc_evb1_v10_defconfig
6. rockchip_rk3576_test1_v10_defconfig
7. rockchip_rk3576_test2_v10_defconfig
8. rockchip_rk3576_vehicle_evb_v10_defconfig
Which would you like? [1]: 1
Switching to defconfig: /home/rootroot/orig3576-buildroot20250618k7/device/rockchip/.chip/rockchip_rk3576_evb1_v10_defconfig
mkdir -p /home/rootroot/orig3576-buildroot20250618k7/output/kconf/lxdialog
make CC="gcc" HOSTCC="gcc" \
obj=/home/rootroot/orig3576-buildroot20250618k7/output/kconf -C /home/rootroot/orig3576-buildroot20250618k7/device/rockchip/common/kconfig -f Makefile.br conf
make[1]: Entering directory '/home/rootroot/orig3576-buildroot20250618k7/device/rockchip/common/kconfig'
gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -I/home/rootroot/orig3576-buildroot20250618k7/output/kconf -DCONFIG_=\"\" -MM *.c > /home/rootroot/orig3576-buildroot20250618k7/output/kconf/.depend 2>/dev/null || :
gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -I/home/rootroot/orig3576-buildroot20250618k7/output/kconf -DCONFIG_=\"\" -c conf.c -o /home/rootroot/orig3576-buildroot20250618k7/output/kconf/conf.o
gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -I/home/rootroot/orig3576-buildroot20250618k7/output/kconf -DCONFIG_=\"\" -I. -c /home/rootroot/orig3576-buildroot20250618k7/output/kconf/zconf.tab.c -o /home/rootroot/orig3576-buildroot20250618k7/output/kconf/zconf.tab.o
gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -I/home/rootroot/orig3576-buildroot20250618k7/output/kconf -DCONFIG_=\"\" /home/rootroot/orig3576-buildroot20250618k7/output/kconf/conf.o /home/rootroot/orig3576-buildroot20250618k7/output/kconf/zconf.tab.o -o /home/rootroot/orig3576-buildroot20250618k7/output/kconf/conf
rm /home/rootroot/orig3576-buildroot20250618k7/output/kconf/zconf.tab.c
make[1]: Leaving directory '/home/rootroot/orig3576-buildroot20250618k7/device/rockchip/common/kconfig'
#
# configuration written to /home/rootroot/orig3576-buildroot20250618k7/output/.config
#
Using current kernel version(6.1)
rootroot@rootroot-X99-Turbo:~/orig3576-buildroot20250618k7$
rootroot@rootroot-X99-Turbo:~/orig3576-buildroot20250618k7$ ll
rootroot@rootroot-X99-Turbo:~/orig3576-buildroot20250618k7$ ./build.sh
rootroot@rootroot-X99-Turbo:~/orig3576-buildroot20250618k7$ du -sh
52G .
rootroot@rootroot-X99-Turbo:~/orig3576-buildroot20250618k7$
3、编译步骤/过程:
rootroot@rootroot-X99-Turbo:~$
rootroot@rootroot-X99-Turbo:~$ cd orig3576-buildroot20250618k7/
rootroot@rootroot-X99-Turbo:~/orig3576-buildroot20250618k7$ ll
total 254600
drwxrwxr-x 15 rootroot rootroot 4096 6月 19 09:12 ./
drwxr-xr-x 45 rootroot rootroot 4096 6月 19 14:01 ../
drwxrwxr-x 7 rootroot rootroot 4096 6月 19 09:08 app/
-rwxrwxr-x 1 rootroot rootroot 3115 6月 19 09:08 build_multi_dtb.sh*
drwxrwxr-x 17 rootroot rootroot 4096 6月 19 12:31 buildroot/
lrwxrwxrwx 1 rootroot rootroot 39 6月 19 09:08 build.sh -> device/rockchip/common/scripts/build.sh*
lrwxrwxrwx 1 rootroot rootroot 21 6月 19 09:08 Copyright_Statement.md -> docs/licenses/LICENSE*
drwxrwxr-x 9 rootroot rootroot 4096 6月 19 09:08 debian/
drwxrwxr-x 3 rootroot rootroot 4096 6月 19 09:08 device/
drwxrwxr-x 6 rootroot rootroot 4096 6月 19 09:09 docs/
lrwxrwxrwx 1 rootroot rootroot 27 6月 19 09:09 envsetup.sh -> buildroot/build/envsetup.sh
drwxrwxr-x 34 rootroot rootroot 4096 6月 19 09:09 external/
lrwxrwxrwx 1 rootroot rootroot 10 6月 19 09:09 kernel -> kernel-6.1/
drwxrwxr-x 26 rootroot rootroot 4096 6月 19 09:10 kernel-6.1/
-rw-rw-r-- 1 rootroot rootroot 241547380 6月 19 09:12 kernel-6.1b.tgz
lrwxrwxrwx 1 rootroot rootroot 31 6月 19 09:08 Makefile -> device/rockchip/common/Makefile
drwxrwxr-x 3 rootroot rootroot 4096 6月 19 09:10 prebuilts/
drwxrwxr-x 9 rootroot rootroot 4096 6月 19 09:10 rkbin/
lrwxrwxrwx 1 rootroot rootroot 41 6月 19 09:10 rkflash.sh -> device/rockchip/common/scripts/rkflash.sh*
drwxrwxr-x 5 rootroot rootroot 4096 6月 19 09:10 tools/
drwxrwxr-x 24 rootroot rootroot 4096 6月 19 09:10 u-boot/
-rw-rw-r-- 1 rootroot rootroot 19091886 6月 19 09:11 u-boot1.tgz
drwxrwxr-x 7 rootroot rootroot 4096 6月 19 09:10 ubuntu/
drwxrwxr-x 8 rootroot rootroot 4096 6月 19 09:10 yocto/
rootroot@rootroot-X99-Turbo:~/orig3576-buildroot20250618k7$
rootroot@rootroot-X99-Turbo:~/orig3576-buildroot20250618k7$ ll *.sh
-rwxrwxr-x 1 rootroot rootroot 3115 6月 19 09:08 build_multi_dtb.sh*
lrwxrwxrwx 1 rootroot rootroot 39 6月 19 09:08 build.sh -> device/rockchip/common/scripts/build.sh*
lrwxrwxrwx 1 rootroot rootroot 27 6月 19 09:09 envsetup.sh -> buildroot/build/envsetup.sh
lrwxrwxrwx 1 rootroot rootroot 41 6月 19 09:10 rkflash.sh -> device/rockchip/common/scripts/rkflash.sh*
rootroot@rootroot-X99-Turbo:~/orig3576-buildroot20250618k7$
rootroot@rootroot-X99-Turbo:~/orig3576-buildroot20250618k7$ ./build.sh lunch
Log colors: message notice warning error fatal
Parsing supported commands...
Log saved at /home/rootroot/orig3576-buildroot20250618k7/output/sessions/2025-06-19_14-01-49
Pick a defconfig:
1. rockchip_rk3576_evb1_v10_defconfig
2. rockchip_rk3576_industry_evb_v10_defconfig
3. rockchip_rk3576_iotest_v10_defconfig
4. rockchip_rk3576_ipc_evb1_v10_defconfig
5. rockchip_rk3576_multi_ipc_evb1_v10_defconfig
6. rockchip_rk3576_test1_v10_defconfig
7. rockchip_rk3576_test2_v10_defconfig
8. rockchip_rk3576_vehicle_evb_v10_defconfig
Which would you like? [1]: 1
Switching to defconfig: /home/rootroot/orig3576-buildroot20250618k7/device/rockchip/.chip/rockchip_rk3576_evb1_v10_defconfig
mkdir -p /home/rootroot/orig3576-buildroot20250618k7/output/kconf/lxdialog
make CC="gcc" HOSTCC="gcc" \
obj=/home/rootroot/orig3576-buildroot20250618k7/output/kconf -C /home/rootroot/orig3576-buildroot20250618k7/device/rockchip/common/kconfig -f Makefile.br conf
make[1]: Entering directory '/home/rootroot/orig3576-buildroot20250618k7/device/rockchip/common/kconfig'
gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -I/home/rootroot/orig3576-buildroot20250618k7/output/kconf -DCONFIG_=\"\" -MM *.c > /home/rootroot/orig3576-buildroot20250618k7/output/kconf/.depend 2>/dev/null || :
gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -I/home/rootroot/orig3576-buildroot20250618k7/output/kconf -DCONFIG_=\"\" -c conf.c -o /home/rootroot/orig3576-buildroot20250618k7/output/kconf/conf.o
gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -I/home/rootroot/orig3576-buildroot20250618k7/output/kconf -DCONFIG_=\"\" -I. -c /home/rootroot/orig3576-buildroot20250618k7/output/kconf/zconf.tab.c -o /home/rootroot/orig3576-buildroot20250618k7/output/kconf/zconf.tab.o
gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -I/home/rootroot/orig3576-buildroot20250618k7/output/kconf -DCONFIG_=\"\" /home/rootroot/orig3576-buildroot20250618k7/output/kconf/conf.o /home/rootroot/orig3576-buildroot20250618k7/output/kconf/zconf.tab.o -o /home/rootroot/orig3576-buildroot20250618k7/output/kconf/conf
rm /home/rootroot/orig3576-buildroot20250618k7/output/kconf/zconf.tab.c
make[1]: Leaving directory '/home/rootroot/orig3576-buildroot20250618k7/device/rockchip/common/kconfig'
#
# configuration written to /home/rootroot/orig3576-buildroot20250618k7/output/.config
#
Using current kernel version(6.1)
rootroot@rootroot-X99-Turbo:~/orig3576-buildroot20250618k7$
rootroot@rootroot-X99-Turbo:~/orig3576-buildroot20250618k7$
rootroot@rootroot-X99-Turbo:~/orig3576-buildroot20250618k7$
rootroot@rootroot-X99-Turbo:~/orig3576-buildroot20250618k7$ ll
total 254604
drwxrwxr-x 16 rootroot rootroot 4096 6月 19 14:01 ./
drwxr-xr-x 45 rootroot rootroot 4096 6月 19 14:01 ../
drwxrwxr-x 7 rootroot rootroot 4096 6月 19 09:08 app/
-rwxrwxr-x 1 rootroot rootroot 3115 6月 19 09:08 build_multi_dtb.sh*
drwxrwxr-x 17 rootroot rootroot 4096 6月 19 12:31 buildroot/
lrwxrwxrwx 1 rootroot rootroot 39 6月 19 09:08 build.sh -> device/rockchip/common/scripts/build.sh*
lrwxrwxrwx 1 rootroot rootroot 22 6月 19 14:01 common -> device/rockchip/common/
lrwxrwxrwx 1 rootroot rootroot 21 6月 19 09:08 Copyright_Statement.md -> docs/licenses/LICENSE*
drwxrwxr-x 9 rootroot rootroot 4096 6月 19 09:08 debian/
drwxrwxr-x 3 rootroot rootroot 4096 6月 19 09:08 device/
drwxrwxr-x 6 rootroot rootroot 4096 6月 19 09:09 docs/
drwxrwxr-x 34 rootroot rootroot 4096 6月 19 09:09 external/
lrwxrwxrwx 1 rootroot rootroot 10 6月 19 09:09 kernel -> kernel-6.1/
drwxrwxr-x 26 rootroot rootroot 4096 6月 19 09:10 kernel-6.1/
-rw-rw-r-- 1 rootroot rootroot 241547380 6月 19 09:12 kernel-6.1b.tgz
lrwxrwxrwx 1 rootroot rootroot 31 6月 19 09:08 Makefile -> device/rockchip/common/Makefile
drwxrwxr-x 5 rootroot rootroot 4096 6月 19 14:02 output/
drwxrwxr-x 3 rootroot rootroot 4096 6月 19 09:10 prebuilts/
lrwxrwxrwx 1 rootroot rootroot 32 6月 19 14:01 README.md -> device/rockchip/common/README.md
drwxrwxr-x 9 rootroot rootroot 4096 6月 19 09:10 rkbin/
lrwxrwxrwx 1 rootroot rootroot 41 6月 19 09:10 rkflash.sh -> device/rockchip/common/scripts/rkflash.sh*
drwxrwxr-x 5 rootroot rootroot 4096 6月 19 09:10 tools/
drwxrwxr-x 24 rootroot rootroot 4096 6月 19 09:10 u-boot/
-rw-rw-r-- 1 rootroot rootroot 19091886 6月 19 09:11 u-boot1.tgz
drwxrwxr-x 7 rootroot rootroot 4096 6月 19 09:10 ubuntu/
drwxrwxr-x 8 rootroot rootroot 4096 6月 19 09:10 yocto/
rootroot@rootroot-X99-Turbo:~/orig3576-buildroot20250618k7$
rootroot@rootroot-X99-Turbo:~/orig3576-buildroot20250618k7$ ./build.sh
2025-06-19T16:01:21 >>> host-lz4 1.9.4 Extracting
2025-06-19T16:01:21 >>> host-lz4 1.9.4 Patching
2025-06-19T16:01:21 >>> host-lz4 1.9.4 Configuring
2025-06-19T16:01:21 >>> host-lz4 1.9.4 Building
2025-06-19T16:01:35 >>> host-lz4 1.9.4 Installing to host directory
2025-06-19T16:01:38 >>> host-lzo 2.10 Extracting
2025-06-19T16:01:38 >>> host-lzo 2.10 Patching
2025-06-19T16:01:38 >>> host-lzo 2.10 Configuring
2025-06-19T16:01:50 >>> host-lzo 2.10 Building
2025-06-19T16:01:52 >>> host-lzo 2.10 Installing to host directory
2025-06-19T16:01:55 >>> host-squashfs 4.6.1 Extracting
2025-06-19T16:01:55 >>> host-squashfs 4.6.1 Patching
2025-06-19T16:01:55 >>> host-squashfs 4.6.1 Configuring
2025-06-19T16:01:56 >>> host-squashfs 4.6.1 Building
2025-06-19T16:01:56 >>> host-squashfs 4.6.1 Installing to host directory
2025-06-19T16:01:59 >>> Finalizing host directory
2025-06-19T16:01:59 >>> Finalizing target directory
2025-06-19T16:01:59 >>> Sanitizing RPATH in target tree
2025-06-19T16:01:59 >>> Sanity check in overlay board/rockchip/common/base
2025-06-19T16:01:59 >>> Sanity check in overlay board/rockchip/rk3576/fs-overlay/
2025-06-19T16:01:59 >>> Copying overlay board/rockchip/common/base
2025-06-19T16:01:59 >>> Copying overlay board/rockchip/rk3576/fs-overlay/
2025-06-19T16:01:59 >>> Executing post-build script board/rockchip/common/post-build.sh
2025-06-19T16:01:59 >>> Copying board/rockchip/common/overlays/00-pm-utils
2025-06-19T16:01:59 >>> Ignored board/rockchip/common/overlays/10-weston
2025-06-19T16:01:59 >>> Ignored board/rockchip/common/overlays/11-weston-chromium
2025-06-19T16:01:59 >>> Ignored board/rockchip/common/overlays/20-wlan0
2025-06-19T16:02:01 >>> Running 01-hostname.sh for /home/rootroot/orig3576-buildroot20250618k7/buildroot/output/rockchip_rk3576_recovery/target (recovery init=busybox)...
2025-06-19T16:02:01 >>> Running 02-hardware.sh for /home/rootroot/orig3576-buildroot20250618k7/buildroot/output/rockchip_rk3576_recovery/target (recovery init=busybox)...
2025-06-19T16:02:01 >>> Start building kickpi hardware
2025-06-19T16:02:01 >>> Running 05-udev.sh for /home/rootroot/orig3576-buildroot20250618k7/buildroot/output/rockchip_rk3576_recovery/target (recovery init=busybox)...
2025-06-19T16:02:01 >>> Installing udev rule: external/rkscript/61-persistent-internal-storage.rules
2025-06-19T16:02:01 >>> Installing udev rule: external/rkscript/88-rockchip-camera.rules
2025-06-19T16:02:01 >>> Installing udev rule: external/rkscript/99-rockchip-permissions.rules
2025-06-19T16:02:01 >>> Running 10-os-release.sh for /home/rootroot/orig3576-buildroot20250618k7/buildroot/output/rockchip_rk3576_recovery/target (recovery init=busybox)...
2025-06-19T16:02:01 >>> Running 30-fstab.sh for /home/rootroot/orig3576-buildroot20250618k7/buildroot/output/rockchip_rk3576_recovery/target (recovery init=busybox)...
2025-06-19T16:02:01 >>> Running 40-busybox-reboot.sh for /home/rootroot/orig3576-buildroot20250618k7/buildroot/output/rockchip_rk3576_recovery/target (recovery init=busybox)...
2025-06-19T16:02:01 >>> Running 50-locale.sh for /home/rootroot/orig3576-buildroot20250618k7/buildroot/output/rockchip_rk3576_recovery/target (recovery init=busybox)...
2025-06-19T16:02:01 >>> Running 60-dirs.sh for /home/rootroot/orig3576-buildroot20250618k7/buildroot/output/rockchip_rk3576_recovery/target (recovery init=busybox)...
2025-06-19T16:02:01 >>> Running 90-overlay.sh for /home/rootroot/orig3576-buildroot20250618k7/buildroot/output/rockchip_rk3576_recovery/target (recovery init=busybox)...
2025-06-19T16:02:01 >>> Running 91-modules.sh for /home/rootroot/orig3576-buildroot20250618k7/buildroot/output/rockchip_rk3576_recovery/target (recovery init=busybox)...
2025-06-19T16:02:02 >>> Running 97-ldcache.sh for /home/rootroot/orig3576-buildroot20250618k7/buildroot/output/rockchip_rk3576_recovery/target (recovery init=busybox)...
2025-06-19T16:02:02 >>> Running 99-owner.sh for /home/rootroot/orig3576-buildroot20250618k7/buildroot/output/rockchip_rk3576_recovery/target (recovery init=busybox)...
2025-06-19T16:02:02 >>> chown: changing ownership of './res/images/icon_installing.png': Operation not permitted
2025-06-19T16:02:05 >>> Running build.sh - post-rootfs succeeded.
2025-06-19T16:02:05 >>> Generating root filesystems common tables
2025-06-19T16:02:05 >>> Generating filesystem image rootfs.cpio
2025-06-19T16:02:10 >>> Generating filesystem image rootfs.ext2
2025-06-19T16:02:10 >>> Generating filesystem image rootfs.squashfs
2025-06-19T16:02:11 >>> Generating filesystem image rootfs.tar
Done in 35min 47s
Log saved on /home/rootroot/orig3576-buildroot20250618k7/output/sessions/2025-06-19_14-03-09/br-rockchip_rk3576_recovery_2025-06-19_15-26-25.log
Generated images:
/home/rootroot/orig3576-buildroot20250618k7/output/recovery/images/rootfs.cpio
/home/rootroot/orig3576-buildroot20250618k7/output/recovery/images/rootfs.cpio.gz
/home/rootroot/orig3576-buildroot20250618k7/output/recovery/images/rootfs.ext2
/home/rootroot/orig3576-buildroot20250618k7/output/recovery/images/rootfs.ext4
/home/rootroot/orig3576-buildroot20250618k7/output/recovery/images/rootfs.squashfs
/home/rootroot/orig3576-buildroot20250618k7/output/recovery/images/rootfs.tar
Using kernel version(6.1) from environment
Toolchain for kernel:
/home/rootroot/orig3576-buildroot20250618k7/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-
==========================================
Start building recovery-kernel
==========================================
+ rm -rf /home/rootroot/orig3576-buildroot20250618k7/output/recovery-kernel
+ ln -rsf /home/rootroot/orig3576-buildroot20250618k7/kernel /home/rootroot/orig3576-buildroot20250618k7/output/recovery-kernel
+ cd /home/rootroot/orig3576-buildroot20250618k7/output/recovery-kernel
# Found kernel's basic config fragment: rk3576.config
+ make -C /home/rootroot/orig3576-buildroot20250618k7/kernel/ -j25 CROSS_COMPILE=/home/rootroot/orig3576-buildroot20250618k7/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu- ARCH=arm64 rockchip_linux_defconfig rk3576.config
make: Entering directory '/home/rootroot/orig3576-buildroot20250618k7/kernel-6.1'
#
# No change to .config
#
Using .config as base
Merging ./arch/arm64/configs/rk3576.config
#
# merged configuration written to .config (needs make)
#
#
# configuration written to .config
#
make: Leaving directory '/home/rootroot/orig3576-buildroot20250618k7/kernel-6.1'
+ make -C /home/rootroot/orig3576-buildroot20250618k7/kernel/ -j25 CROSS_COMPILE=/home/rootroot/orig3576-buildroot20250618k7/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu- ARCH=arm64 Image
make: Entering directory '/home/rootroot/orig3576-buildroot20250618k7/kernel-6.1'
SYNC include/config/auto.conf.cmd
CALL scripts/checksyscalls.sh
MODPOST vmlinux.symvers
make: Leaving directory '/home/rootroot/orig3576-buildroot20250618k7/kernel-6.1'
+ make -C /home/rootroot/orig3576-buildroot20250618k7/kernel/ -j25 CROSS_COMPILE=/home/rootroot/orig3576-buildroot20250618k7/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu- ARCH=arm64 rockchip/rk3576-evb1-v10-linux.dtb
make: Entering directory '/home/rootroot/orig3576-buildroot20250618k7/kernel-6.1'
make: Leaving directory '/home/rootroot/orig3576-buildroot20250618k7/kernel-6.1'
+ ln -rsf arch/arm64/boot/Image /home/rootroot/orig3576-buildroot20250618k7/output/recovery-kernel.img
+ ln -rsf arch/arm64/boot/dts/rockchip/rk3576-evb1-v10-linux.dtb /home/rootroot/orig3576-buildroot20250618k7/output/recovery-kernel.dtb
+ scripts/resource_tool arch/arm64/boot/dts/rockchip/rk3576-evb1-v10-linux.dtb logo.bmp logo_kernel.bmp
Pack to resource.img successed!
+ ln -rsf resource.img /home/rootroot/orig3576-buildroot20250618k7/output/recovery-resource.img
Running mk-kernel.sh - build_recovery-kernel succeeded.
Packing /home/rootroot/orig3576-buildroot20250618k7/output/recovery/ramboot.img...
FIT description: U-Boot FIT source file for arm
Created: Thu Jun 19 16:02:24 2025
Image 0 (fdt)
Description: unavailable
Created: Thu Jun 19 16:02:24 2025
Type: Flat Device Tree
Compression: uncompressed
Data Size: 273996 Bytes = 267.57 KiB = 0.26 MiB
Architecture: AArch64
Load Address: 0xffffff00
Hash algo: sha256
Hash value: b035088d2aa94824c6e8a2caf03b3e286a6fbf600dfe8c6766576b8e68efeebc
Image 1 (kernel)
Description: unavailable
Created: Thu Jun 19 16:02:24 2025
Type: Kernel Image
Compression: uncompressed
Data Size: 43418112 Bytes = 42400.50 KiB = 41.41 MiB
Architecture: AArch64
OS: Linux
Load Address: 0xffffff01
Entry Point: 0xffffff01
Hash algo: sha256
Hash value: 5649fed15264fff2b05ee6b91e25020c2a9653f19d43fa6a4b2c514d3bcef8ce
Image 2 (ramdisk)
Description: unavailable
Created: Thu Jun 19 16:02:24 2025
Type: RAMDisk Image
Compression: uncompressed
Data Size: 9258024 Bytes = 9041.04 KiB = 8.83 MiB
Architecture: AArch64
OS: Linux
Load Address: 0xffffff02
Entry Point: unavailable
Hash algo: sha256
Hash value: 0ff4b83d4a71975a88b1057797d1ad25fc3b458302cb9855b4929ba864de2fd0
Image 3 (resource)
Description: unavailable
Created: Thu Jun 19 16:02:24 2025
Type: Multi-File Image
Compression: uncompressed
Data Size: 312320 Bytes = 305.00 KiB = 0.30 MiB
Hash algo: sha256
Hash value: 69cdf66b77ab0ee160e4ba8e316b36b74791d9b9356b76be2b1856192841b1ff
Default Configuration: 'conf'
Configuration 0 (conf)
Description: unavailable
Kernel: kernel
Init Ramdisk: ramdisk
FDT: fdt
Running mk-recovery.sh - build_recovery succeeded.
==========================================
Start packing firmwares
==========================================
Linking /home/rootroot/orig3576-buildroot20250618k7/output/firmware/parameter.txt from /home/rootroot/orig3576-buildroot20250618k7/device/rockchip/.chip/parameter.txt...
Preparing partiton oem
Merging /home/rootroot/orig3576-buildroot20250618k7/device/rockchip/common/extra-parts/oem/normal into /home/rootroot/orig3576-buildroot20250618k7/output/extra-parts/oem
Packing /home/rootroot/orig3576-buildroot20250618k7/output/extra-parts/oem.img from /home/rootroot/orig3576-buildroot20250618k7/output/extra-parts/oem.fs
Using host tools in /home/rootroot/orig3576-buildroot20250618k7/buildroot/output/rockchip_rk3576/host (except for mke2fs)
Making /home/rootroot/orig3576-buildroot20250618k7/output/extra-parts/oem.img from /home/rootroot/orig3576-buildroot20250618k7/output/extra-parts/oem (auto sized)
Making /home/rootroot/orig3576-buildroot20250618k7/output/extra-parts/oem.img from /home/rootroot/orig3576-buildroot20250618k7/output/extra-parts/oem with size(14271KB)
mke2fs 1.45.5 (07-Jan-2020)
Creating regular file /home/rootroot/orig3576-buildroot20250618k7/output/extra-parts/oem.img
Creating filesystem with 3567 4k blocks and 3584 inodes
Allocating group tables: done
Writing inode tables: done
Creating journal (1024 blocks): done
Copying files into the device: __populate_fs: Could not allocate block in ext2 filesystem while writing file "game_test.gba"
mke2fs: Could not allocate block in ext2 filesystem while populating file system
Retring with increased size....(1/20)
Making /home/rootroot/orig3576-buildroot20250618k7/output/extra-parts/oem.img from /home/rootroot/orig3576-buildroot20250618k7/output/extra-parts/oem with size(18367KB)
mke2fs 1.45.5 (07-Jan-2020)
Creating regular file /home/rootroot/orig3576-buildroot20250618k7/output/extra-parts/oem.img
Creating filesystem with 4591 4k blocks and 4608 inodes
Allocating group tables: done
Writing inode tables: done
Creating journal (1024 blocks): done
Copying files into the device: done
Writing superblocks and filesystem accounting information: done
tune2fs 1.47.0 (5-Feb-2023)
Setting maximal mount count to -1
Setting interval between checks to 0 seconds
Generated /home/rootroot/orig3576-buildroot20250618k7/output/extra-parts/oem.img
Done packing /home/rootroot/orig3576-buildroot20250618k7/output/extra-parts/oem.img
Preparing partiton userdata
Merging /home/rootroot/orig3576-buildroot20250618k7/device/rockchip/common/extra-parts/userdata/normal into /home/rootroot/orig3576-buildroot20250618k7/output/extra-parts/userdata
Packing /home/rootroot/orig3576-buildroot20250618k7/output/extra-parts/userdata.img from /home/rootroot/orig3576-buildroot20250618k7/output/extra-parts/userdata.fs
Using host tools in /home/rootroot/orig3576-buildroot20250618k7/buildroot/output/rockchip_rk3576/host (except for mke2fs)
Making /home/rootroot/orig3576-buildroot20250618k7/output/extra-parts/userdata.img from /home/rootroot/orig3576-buildroot20250618k7/output/extra-parts/userdata (auto sized)
Making /home/rootroot/orig3576-buildroot20250618k7/output/extra-parts/userdata.img from /home/rootroot/orig3576-buildroot20250618k7/output/extra-parts/userdata with size(313KB)
mke2fs 1.45.5 (07-Jan-2020)
Creating regular file /home/rootroot/orig3576-buildroot20250618k7/output/extra-parts/userdata.img
Filesystem too small for a journal
Creating filesystem with 78 4k blocks and 64 inodes
Allocating group tables: done
Writing inode tables: done
Copying files into the device: __populate_fs: Could not allocate block in ext2 filesystem while writing file "piano2-CoolEdit.mp3"
mke2fs: Could not allocate block in ext2 filesystem while populating file system
Retring with increased size....(1/20)
Making /home/rootroot/orig3576-buildroot20250618k7/output/extra-parts/userdata.img from /home/rootroot/orig3576-buildroot20250618k7/output/extra-parts/userdata with size(4409KB)
mke2fs 1.45.5 (07-Jan-2020)
Creating regular file /home/rootroot/orig3576-buildroot20250618k7/output/extra-parts/userdata.img
Filesystem too small for a journal
Creating filesystem with 1102 4k blocks and 1120 inodes
Allocating group tables: done
Writing inode tables: done
Copying files into the device: done
Writing superblocks and filesystem accounting information: done
tune2fs 1.47.0 (5-Feb-2023)
Setting maximal mount count to -1
Setting interval between checks to 0 seconds
Generated /home/rootroot/orig3576-buildroot20250618k7/output/extra-parts/userdata.img
Done packing /home/rootroot/orig3576-buildroot20250618k7/output/extra-parts/userdata.img
Running mk-extra-parts.sh - build_extra_part succeeded.
Packed files:
MiniLoaderAll.bin(/home/rootroot/orig3576-buildroot20250618k7/u-boot/rk3576_spl_loader_v1.09.107.bin): 749K
boot.img(/home/rootroot/orig3576-buildroot20250618k7/kernel-6.1/boot.img): 42M
misc.img(/home/rootroot/orig3576-buildroot20250618k7/output/misc.img): 48K
oem.img(/home/rootroot/orig3576-buildroot20250618k7/output/extra-parts/oem.img): 18M
parameter.txt(/home/rootroot/orig3576-buildroot20250618k7/device/rockchip/.chips/rk3576/parameter.txt): 539
recovery.img(/home/rootroot/orig3576-buildroot20250618k7/output/recovery/ramboot.img): 51M
rootfs.img(/home/rootroot/orig3576-buildroot20250618k7/buildroot/output/rockchip_rk3576/images/rootfs.ext2): 858M
uboot.img(/home/rootroot/orig3576-buildroot20250618k7/u-boot/uboot.img): 4.0M
userdata.img(/home/rootroot/orig3576-buildroot20250618k7/output/extra-parts/userdata.img): 4.4M
Making update image...
==========================================
Start packing update image
==========================================
Generating package-file for update:
# NAME PATH
package-file package-file
parameter parameter.txt
bootloader MiniLoaderAll.bin
uboot uboot.img
misc misc.img
boot boot.img
recovery recovery.img
backup RESERVED
rootfs rootfs.img
oem oem.img
userdata userdata.img
Packing /home/rootroot/orig3576-buildroot20250618k7/output/firmware/update.img for update...
Android Firmware Package Tool v2.27
------ PACKAGE ------
Add file: ./package-file
package-file,Add file: ./package-file done,offset=0x800,size=0xe1,userspace=0x1
Add file: ./parameter.txt
parameter,Add file: ./parameter.txt done,offset=0x1000,size=0x227,userspace=0x1,flash_address=0x00000000
Add file: ./MiniLoaderAll.bin
bootloader,Add file: ./MiniLoaderAll.bin done,offset=0x1800,size=0xbb1f9,userspace=0x177
Add file: ./uboot.img
uboot,Add file: ./uboot.img done,offset=0xbd000,size=0x400000,userspace=0x800,flash_address=0x00004000
Add file: ./misc.img
misc,Add file: ./misc.img done,offset=0x4bd000,size=0xc000,userspace=0x18,flash_address=0x00006000
Add file: ./boot.img
boot,Add file: ./boot.img done,offset=0x4c9000,size=0x29f8200,userspace=0x53f1,flash_address=0x00008000
Add file: ./recovery.img
recovery,Add file: ./recovery.img done,offset=0x2ec1800,size=0x32cc800,userspace=0x6599,flash_address=0x00028000
Add file: ./rootfs.img
rootfs,Add file: ./rootfs.img done,offset=0x618e000,size=0x35a00000,userspace=0x6b400,flash_address=0x00078000
Add file: ./oem.img
oem,Add file: ./oem.img done,offset=0x3bb8e000,size=0x11ef000,userspace=0x23de,flash_address=0x01c78000
Add file: ./userdata.img
userdata,Add file: ./userdata.img done,offset=0x3cd7d000,size=0x44e000,userspace=0x89c,flash_address=0x01cb8000
Add CRC...
Make firmware OK!
------ OK ------
********rkImageMaker ver 2.23********
Generating new image, please wait...
Writing head info...
Writing boot file...
Writing firmware...
Generating MD5 data...
MD5 data generated successfully!
New image generated successfully!
/home/rootroot/orig3576-buildroot20250618k7/output/firmware/update-rk3576-evb1-v10-linux-buildroot-20250619-160236.img
Run 'make edit-package-file' if you want to change the package-file.
Running mk-updateimg.sh - build_updateimg succeeded.
Images under /home/rootroot/orig3576-buildroot20250618k7/output/firmware/ are ready!
Running mk-firmware.sh - build_firmware succeeded.
==========================================
Start building linux-headers
==========================================
# Found kernel's basic config fragment: rk3576.config
+ make -C /home/rootroot/orig3576-buildroot20250618k7/kernel/ -j25 CROSS_COMPILE=/home/rootroot/orig3576-buildroot20250618k7/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu- ARCH=arm64 rockchip_linux_defconfig rk3576.config
make: Entering directory '/home/rootroot/orig3576-buildroot20250618k7/kernel-6.1'
#
# No change to .config
#
Using .config as base
Merging ./arch/arm64/configs/rk3576.config
#
# merged configuration written to .config (needs make)
#
#
# configuration written to .config
#
make: Leaving directory '/home/rootroot/orig3576-buildroot20250618k7/kernel-6.1'
+ make -C /home/rootroot/orig3576-buildroot20250618k7/kernel/ -j25 CROSS_COMPILE=/home/rootroot/orig3576-buildroot20250618k7/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu- ARCH=arm64 Image
make: Entering directory '/home/rootroot/orig3576-buildroot20250618k7/kernel-6.1'
SYNC include/config/auto.conf.cmd
CALL scripts/checksyscalls.sh
make: Leaving directory '/home/rootroot/orig3576-buildroot20250618k7/kernel-6.1'
==========================================
Start packing linux-headers-amd64
==========================================
+ mkdir -p /home/rootroot/orig3576-buildroot20250618k7/output/linux-headers
+ rm -rf /home/rootroot/orig3576-buildroot20250618k7/output/linux-headers/linux-kbuild-amd64 /home/rootroot/orig3576-buildroot20250618k7/output/linux-headers/linux-headers-amd64.tar*
+ ln -rsf /home/rootroot/orig3576-buildroot20250618k7/kernel /home/rootroot/orig3576-buildroot20250618k7/output/linux-headers/linux-kbuild-amd64
+ cd /home/rootroot/orig3576-buildroot20250618k7/kernel
{
# Based on kernel/scripts/package/builddeb
find . arch/arm64 -maxdepth 1 -name Makefile\*
find include -type f -o -type l
find arch/arm64 -name module.lds -o -name Kbuild.platforms -o -name Platform
find $(find arch/arm64 -name include -o -name scripts -type d) -type f
find arch/arm64/include Module.symvers -type f
echo .config
} | tar --no-recursion --ignore-failed-read -T - -cf "/home/rootroot/orig3576-buildroot20250618k7/output/linux-headers/linux-headers-amd64.tar"
# Pack kbuild
tar -uf "/home/rootroot/orig3576-buildroot20250618k7/output/linux-headers/linux-headers-amd64.tar" -C "/home/rootroot/orig3576-buildroot20250618k7/output/linux-headers/linux-kbuild-amd64" scripts/ tools/
+ cd /home/rootroot/orig3576-buildroot20250618k7
Unpacking /home/rootroot/orig3576-buildroot20250618k7/output/linux-headers/linux-headers-amd64.tar ...
Debian control file:
Package: linux-headers-6.1-arm64
Source: linux-rockchip (6.1)
Version: 6.1-rockchip
Architecture: amd64
Section: kernel
Priority: optional
Multi-Arch: foreign
Maintainer: Tao Huang <huangtao@rock-chips.com>
Homepage: https://www.kernel.org/
Description: Kbuild and headers for Rockchip Linux 6.1 arm64 configuration
Packing linux-headers-6.1-arm64_amd64.deb...
Running mk-kernel.sh - linux-headers-amd64 succeeded.
==========================================
Start packing linux-headers-armhf
==========================================
+ mkdir -p /home/rootroot/orig3576-buildroot20250618k7/output/linux-headers
+ rm -rf /home/rootroot/orig3576-buildroot20250618k7/output/linux-headers/linux-kbuild-armhf /home/rootroot/orig3576-buildroot20250618k7/output/linux-headers/linux-headers-armhf.tar*
+ ln -rsf /home/rootroot/orig3576-buildroot20250618k7/device/rockchip/common/linux-kbuild/armhf/linux-kbuild-6.1 /home/rootroot/orig3576-buildroot20250618k7/output/linux-headers/linux-kbuild-armhf
+ cd /home/rootroot/orig3576-buildroot20250618k7/kernel
{
# Based on kernel/scripts/package/builddeb
find . arch/arm64 -maxdepth 1 -name Makefile\*
find include -type f -o -type l
find arch/arm64 -name module.lds -o -name Kbuild.platforms -o -name Platform
find $(find arch/arm64 -name include -o -name scripts -type d) -type f
find arch/arm64/include Module.symvers -type f
echo .config
} | tar --no-recursion --ignore-failed-read -T - -cf "/home/rootroot/orig3576-buildroot20250618k7/output/linux-headers/linux-headers-armhf.tar"
# Pack kbuild
tar -uf "/home/rootroot/orig3576-buildroot20250618k7/output/linux-headers/linux-headers-armhf.tar" -C "/home/rootroot/orig3576-buildroot20250618k7/output/linux-headers/linux-kbuild-armhf" scripts/ tools/
+ cd /home/rootroot/orig3576-buildroot20250618k7
Unpacking /home/rootroot/orig3576-buildroot20250618k7/output/linux-headers/linux-headers-armhf.tar ...
Debian control file:
Package: linux-headers-6.1-arm64
Source: linux-rockchip (6.1)
Version: 6.1-rockchip
Architecture: armhf
Section: kernel
Priority: optional
Multi-Arch: foreign
Maintainer: Tao Huang <huangtao@rock-chips.com>
Homepage: https://www.kernel.org/
Description: Kbuild and headers for Rockchip Linux 6.1 arm64 configuration
Packing linux-headers-6.1-arm64_armhf.deb...
Running mk-kernel.sh - linux-headers-armhf succeeded.
==========================================
Start packing linux-headers-aarch64
==========================================
+ mkdir -p /home/rootroot/orig3576-buildroot20250618k7/output/linux-headers
+ rm -rf /home/rootroot/orig3576-buildroot20250618k7/output/linux-headers/linux-kbuild-aarch64 /home/rootroot/orig3576-buildroot20250618k7/output/linux-headers/linux-headers-aarch64.tar*
+ ln -rsf /home/rootroot/orig3576-buildroot20250618k7/device/rockchip/common/linux-kbuild/aarch64/linux-kbuild-6.1 /home/rootroot/orig3576-buildroot20250618k7/output/linux-headers/linux-kbuild-aarch64
+ cd /home/rootroot/orig3576-buildroot20250618k7/kernel
{
# Based on kernel/scripts/package/builddeb
find . arch/arm64 -maxdepth 1 -name Makefile\*
find include -type f -o -type l
find arch/arm64 -name module.lds -o -name Kbuild.platforms -o -name Platform
find $(find arch/arm64 -name include -o -name scripts -type d) -type f
find arch/arm64/include Module.symvers -type f
echo .config
} | tar --no-recursion --ignore-failed-read -T - -cf "/home/rootroot/orig3576-buildroot20250618k7/output/linux-headers/linux-headers-aarch64.tar"
# Pack kbuild
tar -uf "/home/rootroot/orig3576-buildroot20250618k7/output/linux-headers/linux-headers-aarch64.tar" -C "/home/rootroot/orig3576-buildroot20250618k7/output/linux-headers/linux-kbuild-aarch64" scripts/ tools/
+ cd /home/rootroot/orig3576-buildroot20250618k7
Unpacking /home/rootroot/orig3576-buildroot20250618k7/output/linux-headers/linux-headers-aarch64.tar ...
Debian control file:
Package: linux-headers-6.1-arm64
Source: linux-rockchip (6.1)
Version: 6.1-rockchip
Architecture: aarch64
Section: kernel
Priority: optional
Multi-Arch: foreign
Maintainer: Tao Huang <huangtao@rock-chips.com>
Homepage: https://www.kernel.org/
Description: Kbuild and headers for Rockchip Linux 6.1 arm64 configuration
Packing linux-headers-6.1-arm64_aarch64.deb...
Running mk-kernel.sh - linux-headers-aarch64 succeeded.
Running mk-kernel.sh - linux-headers succeeded.
Running 99-all.sh - build_all succeeded.
rootroot@rootroot-X99-Turbo:~/orig3576-buildroot20250618k7$
rootroot@rootroot-X99-Turbo:~/orig3576-buildroot20250618k7$ du -sh
52G .
rootroot@rootroot-X99-Turbo:~/orig3576-buildroot20250618k7$
rootroot@rootroot-X99-Turbo:~/orig3576-buildroot20250618k7$
参考资料:
https://gitee.com/tanzhtanzh/kickpi-book/tree/master/rk3576/zh/02-%E5%85%A5%E9%97%A8%E5%BF%85%E8%AF%BB
【KickPi/乐晓电子】参考文档进行测试
https://pan.baidu.com/s/1rVVz7Z4-QYvkzQ8bAfBDig?pwd=3gxj#list/path=%2Fsharelink3817977128-164634158271441%2Frk3576_data%2F3-SoftwareData%2FPATCH%2FRK3576-ANDROID&parentPath=%2Fsharelink3817977128-164634158271441
4G 模块拨号用的
下载一下补丁 按照readme修改修改一下即可
RK3576的同行的开发板测试手册/在线文档:
https://vanxoak.yuque.com/wb353n/hd-rk3576-pi/zw4xqc5ixduxhm13
【万象奥科】命令行功能测试
https://forlinx-book.yuque.com/rh74yu/ok3576/ggcr8ntx3d1k9urh
【飞凌】03_OK3576平台界面功能使用及测试
https://doc.rpdzkj.cn/#/zh_cn/%E7%91%9E%E8%8A%AF%E5%BE%AE%E7%B3%BB%E5%88%97/rk3576/7.%E6%8E%A5%E5%8F%A3%E4%BD%BF%E7%94%A8
【荣品】接口使用